Releases: tylercrosse/cc-usage-bar
Releases · tylercrosse/cc-usage-bar
1.2 — Codex support, threshold notifications, refreshed UI
First release on this fork. Builds on upstream 1.1.1 with Codex support, structured parsing, notifications, and a UI refresh.
What's new
Codex support
- Stacked Claude Code + OpenAI Codex usage in one popover, each driven by its own CLI session
Providerabstraction holding all provider-specific CLI driving config — additional CLIs are pluggable without rewriting the flow- Codex is driven on timers rather than string detection (ratatui's char-by-char cursor positioning breaks banner matching; see
docs/CODEX_INTEGRATION_NOTES.mdfor the full writeup)
Structured parsing & UI
/usageand/statusoutput parsed into native metrics (percent used, reset times, credits) with raw terminal output as a fallback- Calmer violet / amber / coral palette with subtle vertical-gradient progress bars (replaces system green/orange/red)
- Adaptive popover styling that follows the system appearance (light/dark)
- Per-provider header links to the web usage pages
Notifications
- macOS notifications when usage crosses 60% / 80% / 100% per metric
- Per-metric state keyed by a stable
resetIdentifierso a new reset window re-arms the thresholds instead of reusing stale state
Refresh behavior
- Caching with stale-while-revalidate and a 5-minute background refresh timer
- Reset details show relative time ("Resets in 4h 30m at 1:30pm …") for time-based windows, plus relative days for weekly windows
Build
build.shfor building and relaunching without Xcode (Command Line Tools only)- Parser tests
Install
Download CCUsageBar.zip below, unzip, and move CCUsageBar.app to /Applications.
Note: Not notarized — Gatekeeper will block first launch. Right-click → Open → Open, or run
xattr -d com.apple.quarantine /Applications/CCUsageBar.app.
Requirements
- macOS 14 Sonoma or later
claudeon your PATH (required)codexon your PATH (optional — the Codex panel shows a setup hint if absent)