v0.2.0
ToS-compliant data sources (breaking change)
The OAuth usage poller is gone. Anthropic's Consumer Terms of Service prohibit reusing Claude Code's OAuth token in third-party tools, so Clawdometer now reads usage only from official Claude Code surfaces:
- Statusline hook — auto-installed by the HUD on first launch (never overwrites your own statusline); updates with every Claude Code response.
- Headless
claude -p --no-session-persistence /usage— runs about once a minute while no fresher statusline data is coming in, so usage from claude.ai web/mobile and the desktop app shows up too. Tray → Refresh usage forces one immediately.
Clawdometer itself makes zero network requests and never touches your credentials (enforced at build time by cargo-deny bans on all HTTP/TLS crates).
Other changes
- Windows past their reset time show 0% locally instead of a stale percentage.
--no-session-persistencekeeps the refresher from dumping session transcripts into~/.claude/projects/.- Hung
claudeprocesses are killed as a tree on timeout instead of leaking. - Fixed weekly usage disappearing when the reset time fell exactly on the hour ("10am" vs "10:00am").
Upgrading from v0.1.0
Just install over the old version — no other steps. v0.2.0 never reads .credentials.json or any other credential store. If you set up the statusline with the CLI install command before, it keeps working unchanged.