Repository navigation
Releases: wayner6/pi-usage
Release list
Pi Usage v0.6.2 (GitHub)
Fixes
- Scope cached and in-flight queries to origin, credentials and model configuration; unfinished requests cannot repopulate a cleared cache.
- Preserve account errors and filter current-model detail metrics consistently with the footer.
- Keep Codex windows unknown without explicit duration and reject invalid percentages.
- Isolate provider failures, redact cached errors and support fractional timeout settings.
- Remove redundant cache scans, model wrappers, rendering and schema checks.
Verification
TypeScript checks (including unused code checks), all 48 tests and package-content checks passed.
Update
Update the GitHub-installed extension in pi-web and reload the session. Recommended server plugin: pi-usage-cpa v0.2.4. No npm package was published.
Pi Usage v0.6.1 (GitHub)
Fixes
- Match OpenAI GPT models, including gpt-6.1-sol, to Codex rather than Antigravity’s Claude/GPT-OSS quota pool.
- Preserve Antigravity matching for Claude and GPT-OSS and keep routing-account-unknown protection for genuinely ambiguous accounts.
- Cover the regression, missing windows and multiple Codex accounts; TypeScript checks and all 40 tests pass.
Update
Update the GitHub-installed extension in pi-web, then reload the session. The server plugin does not need another update for this fix. npm latest remains 0.3.0; this release is GitHub only.
Pi Usage v0.6.0 (GitHub)
Pi Usage GitHub v0.6.0 reads per-account quota windows from pi-usage-cpa v0.2.0 for Antigravity, Claude, Codex, Kimi, xAI, Devin and Meta. Explicit provider/model matching prevents mixing unrelated quota pools. Unknown windows and missing quota stay unavailable; no fabricated 5h/7d. Requires matching CPA server plugin; npm latest remains 0.3.0 and does not support this route. Tested locally with npm run verify (39/39); real CPA v8 and production credential responses have not been verified. xAI paid health probes are not quotas.
Pi Usage v0.2.0
What's new
- Add local usage counts for every Skill discovered by Pi through
/usage skills. - Count explicit
/skill:namecommands and successful Skill entry-file loads once per agent run. - Show installed Skills with zero uses and store only the Skill name and timestamp locally.
- Keep
/usageas the only registered command and remove the/quotaalias. - Rewrite the English and Chinese documentation and add Pi terminal and pi-web screenshots.
Reliability and security
- Tighten provider-domain validation and reject lookalike hostnames.
- Prevent unknown models from borrowing unrelated proxy quota pools.
- Improve configuration validation, cancellation handling, and provider error states.
- Remove unused configuration, matching, metric, and session-statistics code.
Verification
- 38 tests passing
- TypeScript checks passing
- npm package dry-run passing
- npm audit reports no vulnerabilities