Add github.com/charmbracelet/x/term package used in ThunderID CLI - #36
Conversation
Signed-off-by: Brion <info@brionmario.com>
|
Warning Review limit reached
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 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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. Comment |
Dependency Registry Analysis ReportSummaryTotal Registry Entries Changed: 1 See detailed analysis for more information
|
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.landterminal UI packages (bubbletea, bubbles, huh, lipgloss, glamour) used by this CLI;internal/ui/banner.goimports it directly for the banner-layout decision, so it is a direct dependency forgo.modpurposes 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: