Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ All notable changes to `@pi-vault/pi-usage` are documented here.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.1] - 2026-08-31

### Added

- Parsed Command Code rolling `5h` and weekly rate-limit windows from the live usage API and surfaced them in the Current Usage tab.

### Changed

- Split Command Code live usage parsing into `src/providers/command-code/usage-parser.ts` so the provider module focuses on HTTP and snapshot assembly.
- Strengthened Command Code numeric parsing with a `strictFinite` helper that rejects empty-string inputs and ignores non-finite values.
- Updated `@biomejs/biome` to `^2.5.11`, `@earendil-works/pi-coding-agent` to `^0.84.4`, `@earendil-works/pi-tui` to `^0.84.4`, `@types/node` to `^26.4.0`, `typebox` to `^1.3.22`, `typescript` to `^7.0.2`, and `vitest` to `^4.1.11`. The `biome.json` schema URL was updated to match the new biome version.

### Fixed

- Recognized the `minimax-openai` model provider string as a MiniMax usage provider so models such as `MiniMax-M3` exposed through a MiniMax OpenAI-compatible proxy are attributed correctly.

### Compatibility

- Public API unchanged: `/usage`, `/usage:refresh`, exported events, exported types all retain their previous surface.
- Peer dependencies unchanged: `@earendil-works/pi-coding-agent`, `@earendil-works/pi-tui`.
- Node.js requirement unchanged: `>=24.15.0`.

## [0.7.0] - 2026-07-28

### Changed
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.5/schema.json",
"$schema": "https://biomejs.dev/schemas/2.5.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
Loading