Skip to content

Add github.com/charmbracelet/x/term package used in ThunderID CLI - #36

Merged
omindu merged 1 commit into
mainfrom
add-charmbracelet-x-term
Aug 14, 2026
Merged

Add github.com/charmbracelet/x/term package used in ThunderID CLI#36
omindu merged 1 commit into
mainfrom
add-charmbracelet-x-term

Conversation

@brionmario

Copy link
Copy Markdown
Member

1. Purpose of Dependency

Please describe the core functionality of the requested dependency:
Used by the ThunderID CLI (tools/cli) to detect the terminal width for its interactive terminal experience.

  • github.com/charmbracelet/x/term - queries the terminal's size (term.GetSize), used to decide between the CLI's full ASCII-art banner and a compact banner layout on narrow terminals.

2. Technical Justification

The Go standard library provides no cross-platform terminal-size query. This package is also already a transitive dependency of the previously-approved charm.land terminal UI packages (bubbletea, bubbles, huh, lipgloss, glamour) used by this CLI; internal/ui/banner.go imports it directly for the banner-layout decision, so it is a direct dependency for go.mod purposes even though it ships as part of the same Charm ecosystem.

3. Dependency Health & Security Validation

By checking the boxes below, you confirm that you have evaluated the dependency against WSO2 engineering standards:

  • Active Maintenance: The repository demonstrates active maintenance (e.g., recent commits, regular releases, and responsive maintainers).
  • License Compliance: The dependency utilizes an Apache 2.0-compatible open-source license (e.g., MIT, BSD, Apache 2.0).
  • Security Posture: I have verified that there are no known, unpatched vulnerabilities (CVEs) within this dependency or its transitive dependency tree.

Signed-off-by: Brion <info@brionmario.com>
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@brionmario, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 33 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ecc68170-3b10-4170-9012-db7c9f3c6614

📥 Commits

Reviewing files that changed from the base of the PR and between f9d1018 and 6735e9d.

📒 Files selected for processing (1)
  • dependency-registry/go.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Dependency Registry Analysis Report

Summary

Total Registry Entries Changed: 1
Added: 1 | Updated: 0 | Removed: 0
Security Status: All dependencies are secure with no active vulnerabilities
Licenses Found: MIT (Apache 2.0 compatible)

See detailed analysis for more information

github.com/charmbracelet/x/term: >=v0.2.2 - New

Added Entry:

module: github.com/charmbracelet/x/term
version: ">=v0.2.2"
allowed_scopes: ["thunderid"]
  • License: MIT (Apache 2.0 compatible)
  • Version status: Latest version (v0.2.2, released October 31, 2025)
  • Security: No known CVEs
  • Transitive Dependencies: 1 dependency analyzed, all secure
References

Analysis Details: This is a newly-registered terminal utility package from the Charm ecosystem that provides cross-platform terminal size detection and TTY management. The package is MIT-licensed (fully compatible with Apache 2.0), has no known security vulnerabilities, and shows active maintenance with recent commits. The sole transitive dependency (golang.org/x/sys v0.47.0) is secure and well-maintained by the Go team.


Analysis completed on 2026-08-14
Analyzed PR #36 | Repository: wso2/engineering-governance

@omindu
omindu merged commit fdc7bd5 into main Aug 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants