Skip to content

Releases: slkiser/opencode-quota

v3.8.0

11 May 21:38

Choose a tag to compare

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 from PR #78, including env/config/auth fallback, toast/TUI, /quota, and /quota_status support.
  2. Added MiniMax Coding Plan (CN) support with separate auth, endpoint selection, provider matching, docs, and diagnostics.
  3. Added cached input token breakout from PR #80 across session token summaries and quota displays.

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

v3.7.1

07 May 14:51

Choose a tag to compare

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

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

v3.6.2

03 May 12:03
89c87e1

Choose a tag to compare

Changes Made

  1. Updated the tracked opencode-gemini-auth upstream companion snapshot from 1.4.10 to 1.4.12.
  2. Refreshed Gemini companion reference behavior for proxy-aware fetches, user-agent handling, quota classification, and request normalization.

New Features

  1. Crof.ai now accepts CROFAI_API_KEY in addition to CROF_API_KEY.
  2. Copilot Free tier quota parsing now supports the /copilot_internal/user response shape used for free accounts (#77).

Full Changelog: v3.6.1...v3.6.2

v3.6.1

03 May 00:20

Choose a tag to compare

New Features

  1. Crof.ai provider support.

Full Changelog: v3.6.0...v3.6.1

v3.6.0

02 May 23:34

Choose a tag to compare

Changes Made

  1. Fixed relative OPENCODE_CONFIG_DIR handling so paths resolve from the worktree root (#73).
  2. Clarified quick start, manual setup, terminal show, sidebar, provider setup, and OpenAI OAuth docs.
  3. Added contributor/provider PR guidance to keep README auth/setup wording tied to implementation and tests.
  4. Added a strict provider template for API-key/token providers with config, provider, and test starter files.
  5. Expanded tests around config loading, request timeout behavior, provider wrappers, diagnostics, and quota surface parity.

New Features

  1. Added requestTimeoutMs configuration for remote provider quota requests.
  2. Added a full README configuration reference for shared, toast, sidebar, and provider-specific settings.
  3. Added contributor tooling/docs for starting new API-key/token providers from contributing/provider-template/.

Full Changelog: v3.5.0...v3.6.0

v3.5.0

30 Apr 22:42

Choose a tag to compare

Changes Made

  1. Increased quota HTTP request timeout from 3s to 5s to reduce transient provider timeout failures.
  2. Fixed TUI sidebar rendering so formatStyle: "allWindows" is respected instead of showing only the most restricted window.
  3. Fixed fresh TUI sessions with onlyCurrentModel: true so the sidebar waits for model metadata instead of showing bare Unavailable.
  4. Added sidecar config support at opencode-quota/quota-toast.json, read before legacy experimental.quotaToast.
  5. Preserved legacy experimental.quotaToast as a fallback when no sidecar config exists.
  6. Changed the installer to write quota settings to the sidecar by default, with explicit opencode-quota init --sync-legacy-config support for also writing legacy OpenCode config.
  7. Normalized quota window labels and compact reset text, including 5h and Weekly.
  8. Improved Copilot quota handling for unlimited and percent_remaining responses.

New Features

  1. Added durable plugin-owned quota settings storage for installer-managed config.
  2. Added opencode-quota init --sync-legacy-config for users who also want experimental.quotaToast written.
  3. Added clearer compact quota window/reset formatting across quota surfaces.

Full Changelog: v3.4.0...v3.5.0

v3.4.0

28 Apr 23:07
c5b5d1f

Choose a tag to compare

Changes Made

  1. Improved OpenCode Go quota rendering with stable rolling/weekly/monthly ordering, clearer 5h labeling, partial-window tolerance, and missing-window diagnostics.
  2. Improved Gemini CLI quota reporting by aggregating buckets by quality tier and improving companion/plugin resolution.
  3. Improved provider/runtime plumbing so CLI, plugin, and TUI surfaces use the resolved provider set more consistently.
  4. Improved quota cache correctness by persisting package version in provider cache entries.
  5. Expanded tests for OpenCode Go windows (#65, #62), Gemini CLI aggregation (#61), provider discovery, model matching, quota cache behavior, and grouped rendering.

New Features

  1. Added opencode-quota show for a terminal-only quota glance, including --provider <provider-id> filtering.
  2. Added configurable OpenCode Go window selection via experimental.quotaToast.opencodeGoWindows.
  3. Added OpenCode config/provider discovery helpers for companion provider detection and runtime provider selection.
  4. Added Google account display formatting helpers used by Google/Gemini-related providers.

Full Changelog: v3.3.0...v3.4.0

v3.3.0

26 Apr 01:04

Choose a tag to compare

Changes Made

  1. Added stricter quota config validation and /quota_status reporting for invalid config values.
  2. Unified runtime root/config root resolution across toast, sidebar, and slash command surfaces.
  3. Added config provenance diagnostics for global/workspace config paths, precedence, and effective setting sources.
  4. Added npm run build:check for build plus package dry-run verification.

New Features

  1. Added Gemini CLI quota support through the google-gemini-cli provider and opencode-gemini-auth companion plugin.
  2. Added Gemini CLI auth, companion-package, live-probe, and quota diagnostics to /quota_status.
  3. 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

24 Apr 01:45
657cbf3

Choose a tag to compare

Changes Made

  1. Reworked quota caching and presentation plumbing so provider snapshots stay stable across toast, sidebar, and command surfaces.
  2. Split session-token rendering by display style so compact and detailed quota views present token data differently.
  3. Updated quota display configuration/install surfaces around the new canonical style naming.

New Features

  1. Added canonical quota format styles for quota displays singleWindow and allWindows, with existing classic and grouped configs still accepted as compatibility aliases.
  2. Added keyed persistent quota state/presentation handling for more reliable multi-surface quota rendering.
  3. Added style-aware session-token sections that adapt to compact versus detailed quota layouts.

Full Changelog: v3.1.4...v3.2.0