Releases: slkiser/opencode-quota
Releases · slkiser/opencode-quota
v3.4.0
Changes Made
- Improved OpenCode Go quota rendering with stable rolling/weekly/monthly ordering, clearer
5hlabeling, partial-window tolerance, and missing-window diagnostics. - Improved Gemini CLI quota reporting by aggregating buckets by quality tier and improving companion/plugin resolution.
- Improved provider/runtime plumbing so CLI, plugin, and TUI surfaces use the resolved provider set more consistently.
- Improved quota cache correctness by persisting package version in provider cache entries.
- Expanded tests for OpenCode Go windows (#65, #62), Gemini CLI aggregation (#61), provider discovery, model matching, quota cache behavior, and grouped rendering.
New Features
- Added
opencode-quota showfor a terminal-only quota glance, including--provider <provider-id>filtering. - Added configurable OpenCode Go window selection via
experimental.quotaToast.opencodeGoWindows. - Added OpenCode config/provider discovery helpers for companion provider detection and runtime provider selection.
- Added Google account display formatting helpers used by Google/Gemini-related providers.
Full Changelog: v3.3.0...v3.4.0
v3.3.0
Changes Made
- Added stricter quota config validation and
/quota_statusreporting for invalid config values. - Unified runtime root/config root resolution across toast, sidebar, and slash command surfaces.
- Added config provenance diagnostics for global/workspace config paths, precedence, and effective setting sources.
- Added
npm run build:checkfor build plus package dry-run verification.
New Features
- Added Gemini CLI quota support through the
google-gemini-cliprovider andopencode-gemini-authcompanion plugin. - Added Gemini CLI auth, companion-package, live-probe, and quota diagnostics to
/quota_status. - Added layered config precedence where workspace config can override ordinary settings while trusted/global sources remain available for sensitive provider setup.
Full Changelog: v3.2.0...v3.3.0
v3.2.0
Changes Made
- Reworked quota caching and presentation plumbing so provider snapshots stay stable across toast, sidebar, and command surfaces.
- Split session-token rendering by display style so compact and detailed quota views present token data differently.
- Updated quota display configuration/install surfaces around the new canonical style naming.
New Features
- Added canonical quota format styles for quota displays
singleWindowandallWindows, with existingclassicandgroupedconfigs still accepted as compatibility aliases. - Added keyed persistent quota state/presentation handling for more reliable multi-surface quota rendering.
- Added style-aware session-token sections that adapt to compact versus detailed quota layouts.
Full Changelog: v3.1.4...v3.2.0
v3.1.4
Changes Made
- Fixed shared quota render-data mutation so sidebar/toast weekly quota rows keep the correct usage and percent values instead of drifting to stale defaults.
- Added regression coverage for quota render snapshots, sidebar runtime forwarding, and classic/grouped sidebar weekly rendering.
- Refactored test suites onto shared harness helpers.
Full Changelog: v3.1.3...v3.1.4
v3.1.3
Changes Made
- Improved Claude quota probing with more robust OAuth credential parsing, diagnostics, and macOS credential-source handling.
- Updated Synthetic quota handling to match the current API response shape, including weekly credit parsing and rounded usage summaries.
- Refreshed README guidance and test coverage for the Anthropic and Synthetic changes; fixes #52. No open follow-up issue is noted in this unreleased range.
New Features
- Added macOS Keychain fallback for Claude OAuth credentials before falling back to the local Claude credentials file.
- Added Synthetic Weekly quota reporting alongside the 5h window.
- Added support for Synthetic weekly credit values returned as dollar strings such as
$24.00and$2.02.
Full Changelog: v3.1.2...v3.1.3
v3.1.2
Changes Made
- Made
/quota_statusfetch fresh deterministic live probe data in classic format, bypassing stale cached status results. - Hardened status-output sanitization so provider/network text strips terminal escape/control sequences before display.
- Expanded tests and README coverage for probe placement, no-data/error handling, freshness behavior, and handled-command safety; no issue/PR closures were noted in the unreleased commits.
New Features
/quota_statusnow shows compactlive_probe,live_entry_*, andlive_error_*rows for all enabled and available supported providers, not just Synthetic.- Added dedicated compact probe sections for
qwen_codeandalibaba_coding_plan. - Providers with no reportable live quota data now show a clean
live_probe: no_datastate instead of noisy output.
Full Changelog: v3.1.1...v3.1.2
v3.1.1
Changes Made
- Refactored quota/report builders around a structured
ReportDocumentmodel so/quota, status/report formatting, and session-token sections render through shared layout logic instead of ad-hoc string assembly. - Reworked grouped quota normalization and report rendering helpers, with expanded test coverage to keep existing plain-text/markdown output stable while preparing for additional renderers.
New Features
- Added support for Synthetic’s documented 5-hour subscription quota window.
- Synthetic quota output now maps that window into grouped mode (
5h:/Synthetic 5h) or the classic single-row Synthetic display, depending on layout.
Full Changelog: v3.1.0...v3.1.1
v3.1.0
Changes Made
- Improved quota display and resilience with configurable remaining-vs-used percentages, shared
used/limitsummaries in toast/sidebar output, and stronger provider-availability handling. - Expanded Anthropic quota probing with a Claude OAuth fallback plus clearer diagnostics and fallback-path test coverage.
- Refined configuration/docs/test coverage across formatting, Synthetic quota parsing, and status-report behavior.
New Features
- Added Kimi Code support, including auth resolution, quota fetching, registry/metadata wiring, docs, and tests. Closes PR #51 by @overbit.
- Added Synthetic quota support with trusted API-key resolution, quota fetching, and
/quota_statusdiagnostics. - Added
percentDisplayModefor toast/sidebar output so users can view quota as remaining or used.
Breaking Changes
- Firmware provider support was deprecated.
Full Changelog: v3.0.2...v3.1.0
v3.0.2
Changes Made
- fix(init): resolve config parsing crash and preserve jsonc comments by @capyBearista in #48
Full Changelog: v3.0.1...v3.0.2
v3.0.1
Changes Made
- Fixed the
opencode-quotaCLI sonpx @slkiser/opencode-quota --helpandnpx @slkiser/opencode-quota initwork correctly when invoked through npm/npx symlinked bin paths.
Full Changelog: v3.0.0...v3.0.1