Skip to content

Releases: slkiser/opencode-quota

v3.1.1

21 Apr 13:43

Choose a tag to compare

Highlights

Patch release: adds Synthetic 5-hour quota display while consolidating report rendering.

Changes Made

  1. Refactored quota/report builders around a structured ReportDocument model so /quota, status/report formatting, and session-token sections render through shared layout logic instead of ad-hoc string assembly.
  2. 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

  1. Added support for Synthetic’s documented 5-hour subscription quota window.
  2. 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

21 Apr 01:49
d5aebba

Choose a tag to compare

Highlights

Minor release: adds Kimi Code and Synthetic quota support with configurable quota percentage display.

Changes Made

  1. Improved quota display and resilience with configurable remaining-vs-used percentages, shared used/limit summaries in toast/sidebar output, and stronger provider-availability handling.
  2. Expanded Anthropic quota probing with a Claude OAuth fallback plus clearer diagnostics and fallback-path test coverage.
  3. Refined configuration/docs/test coverage across formatting, Synthetic quota parsing, and status-report behavior.

New Features

  1. Added Kimi Code support, including auth resolution, quota fetching, registry/metadata wiring, docs, and tests via #51, thanks @overbit.
  2. Added Synthetic quota support with trusted API-key resolution, quota fetching, and /quota_status diagnostics.
  3. Added percentDisplayMode for toast/sidebar output so users can view quota as remaining or used.

Breaking Changes

  1. Firmware provider support was removed and replaced by Synthetic quota support.

Full Changelog: v3.0.2...v3.1.0

v3.0.2

18 Apr 23:51
9b6af80

Choose a tag to compare

Highlights

Patch release: fixes init config parsing so JSONC comments are preserved without crashing.

Changes Made

  1. Fixed init config parsing crashes while preserving JSONC comments via #48, thanks @capyBearista.

Full Changelog: v3.0.1...v3.0.2

v3.0.1

18 Apr 21:15

Choose a tag to compare

Highlights

Patch release: fixes npm/npx bin-path invocation for help and init commands.

Changes Made

  1. Fixed the opencode-quota CLI so npx @slkiser/opencode-quota --help and npx @slkiser/opencode-quota init work correctly when invoked through npm/npx symlinked bin paths.

Full Changelog: v3.0.0...v3.0.1

v3.0.0

18 Apr 00:29
7c65287

Choose a tag to compare

Highlights

Major release: adds the TUI sidebar plugin and interactive installer while tightening OpenCode compatibility, config, and auth behavior.

Changes Made

  1. Added a full Quota TUI sidebar panel and shipped the package as both a server plugin and a TUI plugin.
  2. Added npx @slkiser/opencode-quota init for append-only interactive setup of project/global config, toast/sidebar mode, providers, layout, and session-token display.
  3. Expanded /quota_status to cover TUI config detection, config source precedence, pricing snapshot health, storage diagnostics, and richer provider/account state.
  4. Hardened auth/config handling so trusted secrets come from env, user/global config, or documented auth.json entries—not repo-local config.
  5. Improved Google Antigravity integration by detecting companion package presence/compatibility and using companion credentials more reliably.
  6. Strengthened local-only slash-command handling so handled commands do not fall through into unintended prompt/model execution.

New Features

  1. New TUI Quota sidebar with quota rows and compact session-token summaries.
  2. New interactive installer CLI: npx @slkiser/opencode-quota init.
  3. New TUI-specific diagnostics in /quota_status, including sidebar config visibility and companion-plugin state.

Breaking Changes

  1. OpenCode >= 1.4.3 is now required.
  2. Sidebar setup now requires a tui.json / tui.jsonc plugin entry for dist/tui.tsx; opencode.json alone is not enough for the sidebar.
  3. formatStyle is now the canonical shared layout key; toastStyle is legacy-compatible on read but no longer the documented primary setting.
  4. 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

13 Apr 23:37
849ff82

Choose a tag to compare

Highlights

Minor release: canonical Cursor companion package naming, legacy alias compatibility, and scoped upstream plugin sync/review tooling.

Changes Made

  1. Canonicalized the Cursor companion package to @playwo/opencode-cursor-oauth across docs, synced upstream references, and package metadata.
  2. Kept legacy Cursor plugin aliases working so existing local configs still detect correctly.
  3. Hardened upstream update/review checks so same-version package or repo drift no longer appears falsely synced.

New Features

  1. /quota_status now shows the canonical Cursor package name for easier setup and debugging.
  2. Upstream plugin sync/check tooling now handles scoped npm package metadata and URLs for Cursor.
  3. 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

13 Apr 00:41

Choose a tag to compare

Highlights

Minor release: adds OpenCode Go quota support, trusted config API-key fallbacks, and startup compatibility fixes.

Changes Made

  1. Added OpenCode Go quota support with dashboard scraping, config diagnostics, /quota_status reporting, and provider registry wiring via #41, thanks @vmvarela, closes #36.
  2. 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.
  3. Fixed plugin-loading/startup compatibility issues, including avoiding startup interference with other plugins via #40, thanks @vmvarela, closes #39.

New Features

  1. New opencode-go quota provider with workspace/auth-cookie config detection and live usage scraping.
  2. Alibaba, MiniMax, and Z.ai can now resolve API keys from env vars or trusted global OpenCode config before auth.json.
  3. /quota_status now shows richer source/path diagnostics for these providers and OpenCode Go config errors.

Full Changelog: v2.15.0...v2.16.0

v2.15.0

11 Apr 01:05

Choose a tag to compare

Highlights

Minor release: adds Z.ai quota support, metadata-backed provider detection, stronger auth diagnostics, and a five-hour quota key rename.

Changes Made

  1. Refactored quota analytics to reuse shared token-bucket helpers and reduce duplicated config logic.
  2. Added a provider metadata model and switched more availability checks to canonical, metadata-backed runtime IDs.
  3. Improved auth handling and diagnostics across OpenAI, Qwen Code, Google Antigravity, MiniMax, Alibaba, and Z.ai.
  4. Added atomic JSON writes and consolidated local key-resolution patterns across multiple providers.
  5. Cleaned up quota status/report formatting and aligned provider detection with runtime aliases.

New Features

  1. Added Z.ai auth resolution, diagnostics, and quota reporting support.
  2. Added OpenAI, Qwen Code, and Google auth presence detection with richer quota-status diagnostics.
  3. Added canonical provider metadata and runtime ID mapping for safer provider availability checks.
  4. Added an atomic JSON writer for local cache/state writes.
  5. Updated README auth/quota tables and setup notes to reflect the new provider/auth behavior.

Breaking Changes

  1. Z.ai quota output renamed the prior hourly window to fiveHour / 5h.
  2. Quota status/report output now uses the five_hour_remaining key instead of the old hourly field.

Full Changelog: v2.14.0...v2.15.0

v2.14.0

07 Apr 19:09

Choose a tag to compare

Highlights

Minor release: adds session-tree token reporting for current sessions and descendant child/subagent sessions.

Changes Made

  1. Added /tokens_session_all to report tokens and deterministic cost for the current session plus descendant child/subagent sessions.
  2. Hardened local session-history reads so large session trees do not fail on SQLite parameter limits.
  3. Improved token-report error handling and docs for session-scoped reporting.

New Features

  1. Session-tree token reporting for nested OpenCode sessions.
  2. Dedicated session-tree formatting in local token reports.
  3. User-readable handled diagnostics when a requested session is missing from local storage.

Full Changelog: v2.13.0...v2.14.0

v2.13.0

01 Apr 14:41
11030d5

Choose a tag to compare

Highlights

Minor release: adds MiniMax Coding Plan quota support with live quota windows and status diagnostics.

Changes Made

  1. Added MiniMax Coding Plan quota support with live 5-hour and weekly quota reporting via #33, thanks @Zuz666.
  2. Added MiniMax auth resolution, provider registry/metadata wiring, /quota_status diagnostics, and exported MiniMax types.
  3. Tightened MiniMax auto-detection so it only activates when the OpenCode provider is actually configured, and expanded tests/docs.

New Features

  1. Auto-detect MiniMax Coding Plan from OpenCode provider config auth.json.
  2. Show MiniMax quota in grouped/classic toast output and /quota.
  3. Report MiniMax auth state, live quota windows, and endpoint errors in /quota_status.

Full Changelog: v2.12.0...v2.13.0