Repository navigation
v2.0.0
What's New in v2.0.0
Major enhancements to ClaudeUsage:
- Structured error handling —
UsageErrorenum with specific menu bar indicators (key?,net?,auth?,http?,json?) - Async keychain access — background queue via
withCheckedThrowingContinuationto avoid blocking the main thread - Ephemeral URLSession — prevents disk caching of API responses
- Usage rate tracking — snapshots with %/hr rate and estimated time to limit
- Threshold alerts — UserNotifications at 80% and 90% usage
- Centralized DisplayThresholds — single configuration for all percentage-based thresholds
- Stale data indicator — appends "(stale)" when last fetch exceeds 2× refresh interval
- Test Display submenu — preview color thresholds at 10/40/75/85/95%
- Copy Usage — copy all usage stats to clipboard
- Open Dashboard — quick link to Anthropic usage console
- Launch at Login — via SMAppService (macOS 13+)
- Configurable refresh intervals — 1, 5, 15, 30, or 60 minutes
- Nullable API field handling — graceful handling of optional fields in API responses