CCUsage Monitor v1.0.6
Critical percentage calculation fix
🐛 CRITICAL FIX
- Fixed percentage mismatch - Now shows correct percentage when quota exceeded
- Uses ccusage's percentUsed - Matches CLI output exactly
- Proper over-limit handling - Shows 114% when exceeding quota (not 62%)
- Clean codebase - Squeaky clean 195-line Swift file
📊 What Was Fixed
Before: App showed 62% when user had no quota left
- App calculated:
(currentTokens / limit) × 100 = 62%
After: App shows 114% correctly indicating quota exceeded
- Now uses:
ccusage.percentUsed = 114%(includes projection)
🚀 Your Features
- Show Percentage - Now matches ccusage CLI exactly
- Show Time - Display time remaining until reset
- Show Tokens - Display token usage information
- Show Money - Display cost information
- Smart toggle - Single toggle for left vs used
- Reset time - Actual reset time shown in menu
- Real-time updates - Live tracking every few seconds
📦 Installation
Homebrew (Recommended)
brew tap joachimbrindeau/ccusage-monitor
brew install ccusage-monitorNow shows the correct percentage that matches ccusage CLI!