Releases: slkiser/opencode-quota
Releases · slkiser/opencode-quota
v3.8.0
Changes Made
- Refreshed the vendored Gemini auth plugin reference and upstream sync/sanitization handling.
- Hardened session token rendering so cached-input hints preserve the legacy
in/outlayout. - Updated README provider setup, diagnostics, metadata, and tests for the new quota behavior.
New Features
- Added Zhipu Coding Plan quota support from PR #78, including env/config/auth fallback, toast/TUI,
/quota, and/quota_statussupport. - Added MiniMax Coding Plan (CN) support with separate auth, endpoint selection, provider matching, docs, and diagnostics.
- 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
v3.7.0
Changes Made
- Improved compact status formatting with cleaner text-only provider labels.
- Fixed compact status install behavior so selecting Compact status enables both home-bottom and chat/session prompt surfaces by default.
- Polished home-bottom compact status layout so it appears centered below the home controls with a blank spacer line.
- Updated README setup, configuration, and troubleshooting docs for Sidebar panel and Compact status behavior.
- Added focused test coverage for TUI runtime gating, installer config writes, compact formatting, native quota suppression, and TUI slot rendering.
New Features
- Added an opt-in TUI Sidebar
Quotapanel. - Added an opt-in Compact status line for home-bottom and chat/session prompt locations.
- Added multiselect installer support for choosing Toast, Sidebar, Compact status, or terminal-only quota UI surfaces.
- Added config options for
tuiSidebarPanelandtuiCompactStatus, including native provider-quota suppression.
Full Changelog: v3.6.2...v3.7.0
v3.6.2
Changes Made
- Updated the tracked
opencode-gemini-authupstream companion snapshot from 1.4.10 to 1.4.12. - Refreshed Gemini companion reference behavior for proxy-aware fetches, user-agent handling, quota classification, and request normalization.
New Features
- Crof.ai now accepts
CROFAI_API_KEYin addition toCROF_API_KEY. - Copilot Free tier quota parsing now supports the
/copilot_internal/userresponse shape used for free accounts (#77).
Full Changelog: v3.6.1...v3.6.2
v3.6.1
v3.6.0
Changes Made
- Fixed relative
OPENCODE_CONFIG_DIRhandling so paths resolve from the worktree root (#73). - Clarified quick start, manual setup, terminal
show, sidebar, provider setup, and OpenAI OAuth docs. - Added contributor/provider PR guidance to keep README auth/setup wording tied to implementation and tests.
- Added a strict provider template for API-key/token providers with config, provider, and test starter files.
- Expanded tests around config loading, request timeout behavior, provider wrappers, diagnostics, and quota surface parity.
New Features
- Added
requestTimeoutMsconfiguration for remote provider quota requests. - Added a full README configuration reference for shared, toast, sidebar, and provider-specific settings.
- 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
Changes Made
- Increased quota HTTP request timeout from 3s to 5s to reduce transient provider timeout failures.
- Fixed TUI sidebar rendering so
formatStyle: "allWindows"is respected instead of showing only the most restricted window. - Fixed fresh TUI sessions with
onlyCurrentModel: trueso the sidebar waits for model metadata instead of showing bareUnavailable. - Added sidecar config support at
opencode-quota/quota-toast.json, read before legacyexperimental.quotaToast. - Preserved legacy
experimental.quotaToastas a fallback when no sidecar config exists. - Changed the installer to write quota settings to the sidecar by default, with explicit
opencode-quota init --sync-legacy-configsupport for also writing legacy OpenCode config. - Normalized quota window labels and compact reset text, including
5handWeekly. - Improved Copilot quota handling for
unlimitedandpercent_remainingresponses.
New Features
- Added durable plugin-owned quota settings storage for installer-managed config.
- Added
opencode-quota init --sync-legacy-configfor users who also wantexperimental.quotaToastwritten. - Added clearer compact quota window/reset formatting across quota surfaces.
Full Changelog: v3.4.0...v3.5.0
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