Skip to content

Releases: llblab/pi-claude-usage

0.2.5: Reactive Quota Indicators

Choose a tag to compare

@github-actions github-actions released this 29 Oct 22:01
  • Added an immediate quota-display response to the specific native Anthropic subscription account-limit error. At most one window with strictly less than 5% remaining is inferred exhausted; when both are near-empty, an empirical weekly-to-five-hour budget ratio of 6:1 selects the smaller equivalent balance, preferring five-hour on ties. An already exhausted measured window leaves the other untouched. The shared signal makes no extra quota requests and preserves measured data, leadership and retry deadlines; a successful refresh started after the signal restores authoritative values. Other providers, proxies, API-key models, generic throttling and Fast credit errors do not trigger it.
  • Changed shared quota polling from every three minutes to every two minutes, with follower takeover after two minutes and thirty seconds. Shared usage-endpoint failure backoff is preserved.

0.2.4: Quota Polling Hotfix

Choose a tag to compare

@github-actions github-actions released this 29 Oct 05:18
  • Reduced shared quota polling from once a minute to once every three minutes to lower request pressure on Anthropic's usage endpoint. Follower takeover now waits three minutes and thirty seconds so multiple instances preserve the slower cadence. Shared HTTP 429 backoff and local reset countdown updates remain in place.

0.2.3: Empty Quota Bar Hotfix

Choose a tag to compare

@github-actions github-actions released this 22 Oct 19:45
  • Aligned quota bars with rounded remaining percentages: when either window rounds to 0%, its final segment disappears and the whole dual bar uses the error background, while the other half retains its quota. The 5-hour reset countdown follows the same zero boundary; near-full quota still rounds to the nearest 5% step.

0.2.2: Windows CI Validation

Choose a tag to compare

@github-actions github-actions released this 14 Oct 08:48
  • Added Linux and Windows GitHub Actions validation that runs the full release check suite (typecheck, tests, extension import, dependency audit and package dry-run) on every push to main and pull request, so the shared-refresh SQLite mutex, atomic state writes and path handling are exercised on Windows. The extension runtime is unchanged from 0.2.1.

0.2.1: Telegram Fast Status

Choose a tag to compare

@github-actions github-actions released this 03 Oct 15:40
  • The optional Telegram status row now appends lowercase fast for the active eligible Opus model, or shows fast alone when quota is unavailable. It rereads the per-model preference at menu render time, so toggles and model changes do not wait for quota refresh. Unsupported Claude families ignore stale Fast overrides. Quota polling, auth, request adaptation and terminal behavior are unchanged; isolated tests cover eligibility, model/provider changes and unreadable configuration.

0.2.0: Shared Fast Mode and Pi 1.0 Baseline

Choose a tag to compare

@github-actions github-actions released this 02 Oct 06:49
  • Split the monolithic extension into cohesive lib/ domains matching Codex Usage: composition, status lifecycle, shared state, OAuth query, quota normalization, formatting, Telegram and Fast. index.ts now only re-exports the unchanged public API; tests follow domain owners. Quota/auth/leadership, mutex/fencing/backoff, status redraw and Fast behavior are preserved.
  • Added an argument-free /fast provider handler through @llblab/pi-command-fast@^0.1.0, sharing exactly one command with Codex Usage across load orders, duplicate dependency copies, independent sessions and reloads. Claude eligibility is restricted to the Opus family without a version allowlist; other families receive Fast mode is supported only for Opus without writes or quota requests, and stale unsupported overrides do not decorate status or activate the request bridge. Generic command dispatch and Codex eligibility are unchanged.
  • Persisted speed: "fast" solely in the current Anthropic model override; OFF deletes it. The shared JSONC helper preserves comments and unrelated configuration with atomic replacement.
  • Requires Pi ≥1.0.0 across coding-agent, AI and agent-core peers: older Anthropic transports do not expose the same assembled beta payload contract. Adapted native payloads with Fast speed and additive fast-mode-2026-02-01 beta, preserving explicit speed and Pi-generated/configured betas through actual HTTP assembly. No provider replacement or header-default suppression.
  • Appended dim lowercase fast at the final terminal status boundary, including loading/error/n/a paths, with immediate silent redraw and no quota request. OAuth quota polling, SQLite mutex, claim fencing, stale display, retry/backoff, and Telegram remain unchanged. Tests now live in tests/.

0.1.1: Trusted CI Publication

Choose a tag to compare

@github-actions github-actions released this 01 Oct 17:46
  • Releases use the configured npm Trusted Publisher for GitHub Actions, with provenance and workflow-owned GitHub Release creation. Public-package verification now allows approximately 30 minutes for npm processing, with a 35-minute step limit, while retaining exact commit and package-inventory checks.
  • Quota polling, OAuth authentication, shared-state coordination, and statusline behavior are unchanged from 0.1.0.