Skip to content

feat(ai-statusline): add rate limit usage display#6

Merged
charlesjones-dev merged 1 commit intomainfrom
feat/ai-statusline-rate-limits
Mar 20, 2026
Merged

feat(ai-statusline): add rate limit usage display#6
charlesjones-dev merged 1 commit intomainfrom
feat/ai-statusline-rate-limits

Conversation

@charlesjones-dev
Copy link
Copy Markdown
Owner

@charlesjones-dev charlesjones-dev commented Mar 20, 2026

Summary

  • ai-statusline v1.2.1 → v1.2.2: Added SHOW_RATE_LIMITS option (default: on) that displays 5-hour and 7-day rate limit usage percentages with color-coded thresholds (green <50%, yellow 50-79%, red 80%+)
  • Reads rate_limits.five_hour.used_percentage and rate_limits.seven_day.used_percentage from Claude Code 2.1.80+'s new statusline JSON field; gracefully hidden on older versions
  • Updated Bash and PowerShell script templates, wizard/edit skill question flows, config tables, and examples
  • Updated model name references from Opus 4.5 to Opus 4.6
  • Marketplace v2.0.1 → v2.0.2: Version bumps, CHANGELOG, README badge, marketplace.json description

Test plan

  • Run /statusline-wizard and verify rate limit option appears in feature selection
  • Run /statusline-edit and verify rate limit toggle appears with correct default
  • Verify generated Bash script includes rate limit section with color thresholds
  • Verify generated PowerShell script includes rate limit section with color thresholds
  • Confirm rate limits display is hidden when SHOW_RATE_LIMITS=false
  • Confirm graceful fallback on Claude Code versions < 2.1.80 (no rate_limits field)

🤖 Generated with Claude Code

Add SHOW_RATE_LIMITS option displaying 5-hour and 7-day rate limit
percentages with color-coded thresholds (green <50%, yellow 50-79%,
red 80%+). Requires Claude Code 2.1.80+, gracefully hidden on older
versions. Updated Bash and PowerShell templates, wizard/edit skills,
and model name references to Opus 4.6. Marketplace bumped to v2.0.2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@charlesjones-dev charlesjones-dev merged commit 42dc139 into main Mar 20, 2026
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.

1 participant