Releases: slkiser/opencode-quota
v3.1.1
Highlights
Patch release: adds Synthetic 5-hour quota display while consolidating report rendering.
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
Highlights
Minor release: adds Kimi Code and Synthetic quota support with configurable quota percentage display.
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 via #51, thanks @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 removed and replaced by Synthetic quota support.
Full Changelog: v3.0.2...v3.1.0
v3.0.2
Highlights
Patch release: fixes init config parsing so JSONC comments are preserved without crashing.
Changes Made
- Fixed
initconfig parsing crashes while preserving JSONC comments via #48, thanks @capyBearista.
Full Changelog: v3.0.1...v3.0.2
v3.0.1
Highlights
Patch release: fixes npm/npx bin-path invocation for help and init commands.
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
v3.0.0
Highlights
Major release: adds the TUI sidebar plugin and interactive installer while tightening OpenCode compatibility, config, and auth behavior.
Changes Made
- Added a full
QuotaTUI sidebar panel and shipped the package as both a server plugin and a TUI plugin. - Added
npx @slkiser/opencode-quota initfor append-only interactive setup of project/global config, toast/sidebar mode, providers, layout, and session-token display. - Expanded
/quota_statusto cover TUI config detection, config source precedence, pricing snapshot health, storage diagnostics, and richer provider/account state. - Hardened auth/config handling so trusted secrets come from env, user/global config, or documented
auth.jsonentries—not repo-local config. - Improved Google Antigravity integration by detecting companion package presence/compatibility and using companion credentials more reliably.
- Strengthened local-only slash-command handling so handled commands do not fall through into unintended prompt/model execution.
New Features
- New TUI Quota sidebar with quota rows and compact session-token summaries.
- New interactive installer CLI:
npx @slkiser/opencode-quota init. - New TUI-specific diagnostics in
/quota_status, including sidebar config visibility and companion-plugin state.
Breaking Changes
- OpenCode
>= 1.4.3is now required. - Sidebar setup now requires a
tui.json/tui.jsoncplugin entry fordist/tui.tsx;opencode.jsonalone is not enough for the sidebar. formatStyleis now the canonical shared layout key;toastStyleis legacy-compatible on read but no longer the documented primary setting.- User/global config is now authoritative for automatic or network-affecting settings, while project config is mainly for display-oriented overrides.
Full Changelog: v2.17.0...v3.0.0
v2.17.0
Highlights
Minor release: canonical Cursor companion package naming, legacy alias compatibility, and scoped upstream plugin sync/review tooling.
Changes Made
- Canonicalized the Cursor companion package to
@playwo/opencode-cursor-oauthacross docs, synced upstream references, and package metadata. - Kept legacy Cursor plugin aliases working so existing local configs still detect correctly.
- Hardened upstream update/review checks so same-version package or repo drift no longer appears falsely synced.
New Features
/quota_statusnow shows the canonical Cursor package name for easier setup and debugging.- Upstream plugin sync/check tooling now handles scoped npm package metadata and URLs for Cursor.
- Added regression coverage for Cursor package/repo drift, scoped-package metadata, and runtime/spec consistency.
Full Changelog: v2.16.0...v2.17.0
v2.16.0
Highlights
Minor release: adds OpenCode Go quota support, trusted config API-key fallbacks, and startup compatibility fixes.
Changes Made
- Added OpenCode Go quota support with dashboard scraping, config diagnostics,
/quota_statusreporting, and provider registry wiring via #41, thanks @vmvarela, closes #36. - Added trusted env/global OpenCode config API-key fallback for Alibaba Coding Plan, MiniMax Coding Plan, and Z.ai, plus clearer diagnostics and README updates.
- Fixed plugin-loading/startup compatibility issues, including avoiding startup interference with other plugins via #40, thanks @vmvarela, closes #39.
New Features
- New
opencode-goquota provider with workspace/auth-cookie config detection and live usage scraping. - Alibaba, MiniMax, and Z.ai can now resolve API keys from env vars or trusted global OpenCode config before
auth.json. /quota_statusnow shows richer source/path diagnostics for these providers and OpenCode Go config errors.
Full Changelog: v2.15.0...v2.16.0
v2.15.0
Highlights
Minor release: adds Z.ai quota support, metadata-backed provider detection, stronger auth diagnostics, and a five-hour quota key rename.
Changes Made
- Refactored quota analytics to reuse shared token-bucket helpers and reduce duplicated config logic.
- Added a provider metadata model and switched more availability checks to canonical, metadata-backed runtime IDs.
- Improved auth handling and diagnostics across OpenAI, Qwen Code, Google Antigravity, MiniMax, Alibaba, and Z.ai.
- Added atomic JSON writes and consolidated local key-resolution patterns across multiple providers.
- Cleaned up quota status/report formatting and aligned provider detection with runtime aliases.
New Features
- Added Z.ai auth resolution, diagnostics, and quota reporting support.
- Added OpenAI, Qwen Code, and Google auth presence detection with richer quota-status diagnostics.
- Added canonical provider metadata and runtime ID mapping for safer provider availability checks.
- Added an atomic JSON writer for local cache/state writes.
- Updated README auth/quota tables and setup notes to reflect the new provider/auth behavior.
Breaking Changes
- Z.ai quota output renamed the prior
hourlywindow tofiveHour/5h. - Quota status/report output now uses the
five_hour_remainingkey instead of the old hourly field.
Full Changelog: v2.14.0...v2.15.0
v2.14.0
Highlights
Minor release: adds session-tree token reporting for current sessions and descendant child/subagent sessions.
Changes Made
- Added
/tokens_session_allto report tokens and deterministic cost for the current session plus descendant child/subagent sessions. - Hardened local session-history reads so large session trees do not fail on SQLite parameter limits.
- Improved token-report error handling and docs for session-scoped reporting.
New Features
- Session-tree token reporting for nested OpenCode sessions.
- Dedicated session-tree formatting in local token reports.
- User-readable handled diagnostics when a requested session is missing from local storage.
Full Changelog: v2.13.0...v2.14.0
v2.13.0
Highlights
Minor release: adds MiniMax Coding Plan quota support with live quota windows and status diagnostics.
Changes Made
- Added MiniMax Coding Plan quota support with live 5-hour and weekly quota reporting via #33, thanks @Zuz666.
- Added MiniMax auth resolution, provider registry/metadata wiring,
/quota_statusdiagnostics, and exported MiniMax types. - Tightened MiniMax auto-detection so it only activates when the OpenCode provider is actually configured, and expanded tests/docs.
New Features
- Auto-detect MiniMax Coding Plan from OpenCode provider config
auth.json. - Show MiniMax quota in grouped/classic toast output and
/quota. - Report MiniMax auth state, live quota windows, and endpoint errors in
/quota_status.
Full Changelog: v2.12.0...v2.13.0