Releases: leeguooooo/claude-code-usage-bar
v2.5.3 - uv install-path hotfix
What's fixed
- Fix auto-update for uv installs by upgrading through
uv tool install --upgradeinstead of assuming pip or pipx - Make the web installer prefer uv's canonical tool binary when writing Claude Code
statusLine.command - Add updater regression tests for uv, pipx, and pip install-channel detection
Why this matters
This patch fixes a failure mode where Claude Code could be configured with a stale executable path, causing the custom status line to disappear entirely.
Verification
PYTHONPATH=src python -m pytestpython -m buildpython -m twine check dist/claude_statusbar-2.5.3*
v2.5.2 - Pet toggle and threshold tuning
What's new
- Add --hide-pet and CLAUDE_STATUSBAR_HIDE_PET=1 to remove the ASCII pet on narrow terminals
- Add --warning-threshold / --critical-threshold and matching env vars to tune color transitions
- Document the new options in the README
- Add regression coverage for CLI parsing and threshold rendering
Verification
- PYTHONPATH=src python -m pytest
- PYTHONPATH=src python -m claude_statusbar.cli --help
- python -m compileall src
- python -m build
- python -m twine check dist/*
v2.2.4 - Fix duplicate context in model name
Strip redundant (1M context) from display name when context usage is shown: Opus 4.6(58.8k/1.0M)
v2.2.3 - Seamless session start
Use cached rate limits on session start — no more --% or upgrade warnings when opening a new conversation.
v2.2.2 - Fix session start warning
Fix misleading upgrade warning on session start. Now shows placeholders until rate limit data arrives.
v2.2.1 - Compact context display
Context window now shows inline with model name: Opus 4.6(13.4k/1.0M) instead of a separate progress bar.
v2.2.0 - Context Window Usage
What's New
Context Window Usage Display
The status bar now shows your current context window usage alongside rate limits:
[███████░░░] 5h 68% | [█░░░░░░░░░] 7d 5% | [████░░░░░░] ctx 42% | ⏰0h21m | Opus 4.6
This helps you see at a glance how much of your context window is used in the current conversation — especially useful with the 1M context models.
Closes #1
Upgrade
pip install --upgrade claude-statusbarv2.1.2 - Disable auto-update option
Add --no-auto-update flag and CLAUDE_STATUSBAR_NO_UPDATE=1 env var to disable automatic update checks.
Closes #5
v2.1.1 - Time range format
Show promo window as 🔥x2[03:00~21:00] time range format (auto local timezone)
v2.1.0 - 2x Promo Time Window
What's New
🔥 2x Promo Time Window Display
Status bar now shows when the 2x/1x transition happens in your local timezone — no configuration needed.
| Scenario | Display |
|---|---|
| Weekday off-peak, before peak | 🔥x2 →1x@21:00 |
| Weekday off-peak, after peak | 🔥x2 →1x@tmr21:00 |
| Weekday peak hours | 1x →🔥x2@03:00 |
| Saturday | 🔥x2 all wknd |
| Sunday | 🔥x2 →1x@Mon21:00 |
| Friday after peak | 🔥x2 →Mon |
| Promo expired | (hidden) |
Times shown above are examples in JST (UTC+9). Your status bar will show times in your local timezone.
Other Changes
- Fixed promo end time to match official schedule (March 28, 11:59 PM PT)
- Added stdin debug dump (
~/.cache/claude-statusbar/last_stdin.json) for troubleshooting
Upgrade
pip install --upgrade claude-statusbarAnthropic 2x Promotion runs through March 28, 2026. Off-peak weekday hours and all weekend hours get 2x usage. Bonus usage does NOT count against 7-day limits.