Skip to content

Releases: slkiser/opencode-quota

v3.8.7

18 May 15:33

Choose a tag to compare

Highlights

Patch release: fixes MiniMax China Token Plan quota normalization so used and remaining percentages display correctly, closes #94.

Changes Made

  1. Treat MiniMax quota counts by endpoint: China /v1/token_plan/remains now interprets current_*_usage_count as used counts, while the older international Coding Plan endpoint keeps remaining-count behavior.
  2. Preserve shared quota display behavior: percentRemaining, percentDisplayMode, toast/sidebar/TUI formatting, and /quota semantics remain unchanged.
  3. Add MiniMax China regressions for zero-used, depleted, low-used, over-quota, and multi-model selection cases.

Full Changelog: v3.8.6...v3.8.7

v3.8.6

17 May 15:32
2ee9f77

Choose a tag to compare

Highlights

Patch release: fixes Gemini CLI and Google Antigravity companion auth discovery when OpenCode caches plugins in nested node_modules.

Changes Made

  1. Fixed companion plugin resolution for cached opencode-gemini-auth and opencode-antigravity-auth installs under nested node_modules, via #93, thanks @anthonyhaussman.
  2. Switched maintainer/contributor tooling to pnpm 11, updating CI, publish workflows, Husky hooks, and contributor docs.

Full Changelog: v3.8.5...v3.8.6

v3.8.5

15 May 20:41

Choose a tag to compare

Highlights

Patch release: fixes single-window quota sidebar label truncation for provider/account labels.

Changes Made

  1. Fixed classic/single-window quota formatting so labels like [Copilot] (personal) are no longer cut off when they fit within the sidebar width.
  2. Added regression coverage for shared formatting, sidebar rendering, and compact status behavior.

Full Changelog: v3.8.4...v3.8.5

v3.8.4

15 May 11:42
4cae5ca

Choose a tag to compare

Highlights

Patch release: Gemini CLI now reports the actionable missing companion-package error instead of a generic unavailable status.

Changes Made

  1. Fixed Gemini CLI availability detection so configured auth can reach the query phase and surface the specific companion install error via #92, thanks @anthonyhaussman.
  2. Synced package metadata for the 3.8.4 release.

Full Changelog: v3.8.3...v3.8.4

v3.8.3

14 May 23:29

Choose a tag to compare

Highlights

Patch release: fixes grouped TUI labels, improves reset countdown display, and hardens Gemini/Antigravity companion detection without breaking changes.

Changes Made

  1. Preserved explicit grouped quota labels in toast/sidebar/compact output so rows like Quota, Requests, API, and Gemini model tiers no longer collapse to Quota window.
  2. Hardened Gemini CLI and Google Antigravity companion resolution by probing OpenCode runtime package roots and detecting export-blocked companion packages more accurately, closes #91.
  3. Improved grouped/sidebar/compact test coverage for Gemini CLI model tiers, explicit non-duration provider labels, Google Antigravity fallback rows, and companion package resolution edge cases.

New Features

  1. More readable reset countdowns using half-hour granularity with upward rounding where applicable, via #90, thanks @tim-hilde.
  2. Better diagnostics for companion packages that are installed but blocked by package exports.

Full Changelog: v3.8.2...v3.8.3

v3.8.2

12 May 14:28
0d60230

Choose a tag to compare

Highlights

Patch release: fixes companion plugin detection for Gemini CLI and Google Antigravity when OpenCode installs auth packages under per-package cache directories.

Changes Made

  1. Fixed Gemini CLI companion detection when OpenCode installs opencode-gemini-auth under per-package cache directories like ~/.cache/opencode/packages/opencode-gemini-auth@latest/... via #86, thanks @anthonyhaussman.
  2. Hardened Google Antigravity companion resolution with the same package-cache directory scanning via #86, thanks @anthonyhaussman.

Full Changelog: v3.8.1...v3.8.2

v3.8.1

12 May 12:32

Choose a tag to compare

Highlights

Patch release: hardens Gemini CLI and Google Antigravity companion resolution and improves companion package state reporting.

Changes Made

  1. Hardened Google Gemini CLI companion credential resolution for root-only bundles, compiled JS artifacts, runtime cache paths, and package-root fallbacks.
  2. Hardened Google Antigravity companion resolution for OpenCode runtime cache installs, package export changes, package.json/root fallbacks, and bundled constants parsing.
  3. Improved companion package state handling so found-but-unusable packages report invalid while truly absent packages remain missing.

Full Changelog: v3.8.0...v3.8.1

v3.8.0

11 May 21:38

Choose a tag to compare

Highlights

Minor release: adds Zhipu and MiniMax Coding Plan support, cached input token breakout, and updated provider docs/diagnostics.

Changes Made

  1. Refreshed the vendored Gemini auth plugin reference and upstream sync/sanitization handling.
  2. Hardened session token rendering so cached-input hints preserve the legacy in/out layout.
  3. Updated README provider setup, diagnostics, metadata, and tests for the new quota behavior.

New Features

  1. Added Zhipu Coding Plan quota support, including env/config/auth fallback, toast/TUI, /quota, and /quota_status support via #78, thanks @mengfanbo123.
  2. Added MiniMax Coding Plan (CN) support with separate auth, endpoint selection, provider matching, docs, and diagnostics.
  3. Added cached input token breakout across session token summaries and quota displays via #80, thanks @MRNAQA.

Full Changelog: v3.7.1...v3.8.0

v3.7.1

07 May 14:51

Choose a tag to compare

Highlights

Patch release: switches npm publishing to Trusted Publishing/OIDC.

Changes Made

  1. Switched npm publishing to Trusted Publishing/OIDC.

Full Changelog: v3.7.0...v3.7.1

v3.7.0

06 May 00:40

Choose a tag to compare

Highlights

Minor release: adds opt-in TUI Sidebar and Compact status quota surfaces with installer and config support.

Changes Made

  1. Improved compact status formatting with cleaner text-only provider labels.
  2. Fixed compact status install behavior so selecting Compact status enables both home-bottom and chat/session prompt surfaces by default.
  3. Polished home-bottom compact status layout so it appears centered below the home controls with a blank spacer line.
  4. Updated README setup, configuration, and troubleshooting docs for Sidebar panel and Compact status behavior.
  5. Added focused test coverage for TUI runtime gating, installer config writes, compact formatting, native quota suppression, and TUI slot rendering.

New Features

  1. Added an opt-in TUI Sidebar Quota panel.
  2. Added an opt-in Compact status line for home-bottom and chat/session prompt locations.
  3. Added multiselect installer support for choosing Toast, Sidebar, Compact status, or terminal-only quota UI surfaces.
  4. Added config options for tuiSidebarPanel and tuiCompactStatus, including native provider-quota suppression.

Full Changelog: v3.6.2...v3.7.0