Repository navigation
What's changed
- Add OpenRouter daily spending, per-key budget usage with reset countdowns, and optional account credit balances to the footer and widget. Accounting uses read-only endpoints without paid model probes; balance permission failures do not hide key usage.
- Read Kimi Coding's rolling and weekly quotas from its dedicated usage endpoint before falling back to model probing.
- Refresh expired quota windows independently per provider, with debouncing, and mark expired values as stale until refreshed. Passive-only mode remains free of automatic checks.
- Prevent ordinary successful responses from indefinitely deferring quota refreshes, and preserve newer passive status during concurrent checks.
- Validate usage-endpoint payloads and reject incomplete, timed-out, or cancelled response bodies instead of displaying misleading unused quota.
- Require pi v0.85.0 or newer and use its current agent API.
Full Changelog: v0.1.6...v0.2.0