Repository navigation
Releases: mtrojnar/pi-usage
Releases · mtrojnar/pi-usage
Release list
v0.2.0
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
v0.1.6
What's changed
- Run provider authentication and usage checks concurrently behind independent deadlines.
- Keep healthy provider results flowing when another provider stalls or times out.
- Show completed providers while slower usage checks are still pending.
- Report partial timeout failures without cancelling successful checks.
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's changed
- Bind resolved provider credentials to their effective API origin.
- Restrict usage checks and model probes to same-origin endpoints.
- Reject redirects on authenticated requests to prevent credential forwarding.
- Add regression coverage for custom proxies, foreign model endpoints, ambiguous provider origins, and redirects.
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's changed
- Keep development dependencies current with reproducible installs, weekly Dependabot updates, and CI coverage for Node.js 22 and 24.
- Clarify the npm package description.
- Confirm compatibility with current dependency APIs and remove a stale pi version reference.
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Full Changelog: https://github.com/mtrojnar/pi-usage/commits/v0.1.3