Repository navigation
Releases
Releases · slkiser/opencode-quota
v4.10.5
Changes Made
- OpenCode Zen reads the active
opencode console loginsession (read-only) instead of a copiedconsoleSessionCookieandworkspaceId. Pick your organization withopencode console switch. Thanks @vmvarela (#294). - Zen prefers your organization's monthly budget from the Console, and falls back to account billing and daily usage.
- Pay-as-you-go Zen accounts with no monthly limit now see a "Monthly spend" row next to the balance, instead of balance only. Thanks @jkemp814 for the report (#216).
updatenow reports the old Zen cookie file andOPENCODE_WORKSPACE_ID/OPENCODE_AUTH_COOKIEas obsolete and points toopencode console login.
Breaking Changes
- OpenCode Zen no longer reads
opencode-quota/opencode.json(workspaceId/consoleSessionCookie). Runopencode console loginonce.
Full Changelog: v4.10.4...4.10.5
v4.10.4
Changes Made
npx @slkiser/opencode-quota@4 updatepins bare,@latest, and exact 4.x plugin entries to@slkiser/opencode-quota@4, shows it in the preview, and clears the verified@4package cache.initnow installs@slkiser/opencode-quota@4, and the README and guides use@4commands.- The OpenCode 2 feedback notice no longer calls 4.10.3 the last OpenCode 1 release.
New Features
- A maintainer notice tells OpenCode 1 users to run
npx @slkiser/opencode-quota@4 updateto stay on 4.x.
Full Changelog: v4.10.3...v4.10.4
v4.10.3
Changes Made
- OpenCode Zen reads billing from the new OpenCode Console after OpenCode's redesign, and still shows your balance if an optional Console route fails. Thanks @ransagy for mapping the Console routes, closes #288
- Ollama Cloud shows the new monthly usage pool on newer plans, closes #289
- Gemini CLI stays supported for Gemini Code Assist Standard/Enterprise (organization) accounts; the "deprecated" label and the v5.0.0 removal notice are gone
- Google AGY identifies as the current Antigravity CLI (1.2.10), and companion references are updated to agy-auth 1.2.10 and gemini-auth 2.0.1, closes #287, closes #290
Breaking Changes
- OpenCode Zen:
authCookieis replaced byconsoleSessionCookie. Paste your__Host-console_sessioncookie from the OpenCode Console. The old key now shows a setup error. - Qwen Code was removed because Qwen ended its OAuth free tier; use Alibaba Coding Plan.
- The old Google Antigravity provider was removed because its companion plugin is archived; use Google AGY. The
googleModelssetting and the/quota_statusoptions (refreshGoogleTokens,skewMs,force) were removed with it. - Gemini CLI no longer works with personal Google accounts because Google ended them on 2026-06-18; use Google AGY.
Full Changelog: v4.10.2...v4.10.3
v4.10.2
Changes Made
- Isolated Kimi Global and China credentials, endpoints, caches, diagnostics, and quota output while keeping legacy credentials and aliases China-only.
New Features
- Added separate Kimi Code Plan Global and China providers using work from #285, thanks @MemberIT, closes #284.
Full Changelog: v4.10.1...v4.10.2
v4.10.1
Changes Made
- Preserve symlinked OpenCode configuration files during safe writes, based on #266, thanks @Moret84, closes #265.
- Show OpenCode Go rate-limited windows as exhausted while keeping healthy windows visible, thanks @sconetto and @moisesfilho, closes #278.
- Report empty Synthetic quota responses without blaming credentials, thanks @graue70 and @reissbaker, closes #276.
- Add safe OpenRouter key-source and live-probe diagnostics, based on #277, thanks @graue70.
- Fix sidebar expansion, collapsed provider counts, and prompt-bar provider labels.
- Add isolated fake-data and connected OpenCode test environments.
- Require before-and-after evidence for visible changes.
New Features
- Add Alibaba Personal Token Plan through the official
bailian-clias the separatealibaba-token-planprovider, based on #269, thanks @lucasrochaqw and @niheaven.
Full Changelog: v4.10.0...v4.10.1
v4.10.0
Changes Made
- Preserve minute-level reset countdowns, handle expired resets, and include resets in compact status via #260, based on #239, thanks @MemberIT and @nixonaut, closes #238.
- Correct OpenRouter budget-window usage and accept
limit_remaining: nullonly for free-tier keys via #263, thanks @thomas-bw, and #245, thanks @log0u7, closes #262 and #244. - Keep rate-limited OpenCode Go windows and suppress refreshes for accounts without quota entitlement via #242, thanks @moisesfilho, and #258, closes #241 and #247.
- Accept Zhipu
CREDIT_LIMITwindows via #256, thanks @ConcealedBlade, closes #255, and calculate their remaining percentages from exact usage values via #282, closes #274. - Handle nested Ollama Cloud responses and report only the session and weekly usage fractions supported by its API via #243, thanks @christian-taillon.
- Improve quota output consistency across
/quota, CLI output, toasts, the sidebar, compact status, and the prompt bar.
New Features
- Add optional fixed-window
Runs outestimates withquotaProjection: "runway"via #267, closes #252. - Add bare percentage labels and configurable reset spacing via #264, carrying forward the useful display work from #239.
- Make readable spaced countdowns such as
2d 5h 14mthe zero-config default while preservingresetTimeSpaced: falsefor dense layouts via #283. - Show Claude Usage Credits via #251, thanks @kurbezz, and Anthropic Fable weekly quota via #259, closes #257.
Breaking Changes
- Ollama Cloud no longer shows unsupported per-model request rows; session and weekly usage fractions remain available.
- Default reset labels now preserve minute precision and include spaces, so output such as
2.5hor5dbecomes2h 14mor5d 16h 48m. Scripts that parse human-readable output may need adjustment.
Full Changelog: v4.9.0...v4.10.0
v4.9.0
Changes Made
- Isolated cached quota snapshots by account so concurrent sessions no longer show another account's quota, via #236, thanks @gitslim, closes #235.
- Fixed MiniMax Token Plan (CN) rendering and preserved structured usage and overage totals, via #233, thanks @niheaven, closes #232.
- Added retries for temporary provider failures, improved Anthropic OAuth detection, corrected OpenCode Go configuration resolution, and kept live local quota snapshots exportable.
- Made contributor verification portable to Windows, via #240, closes #234.
New Features
- Added provider-neutral structured accounting with the new
accountingDetailsetting across human quota displays. - Added a safer
updateworkflow with previews, confirmation, targeted JSON/JSONC migration, and verified package-cache cleanup. - Added
tuiSidebarPanel.opencodeGoPreferredWindowfor choosing the OpenCode Go row shown in the collapsed sidebar. - Added richer OpenCode Zen balance and automatic reload details, via #227, thanks @Sarctiann, closes #226.
Breaking Changes
- OpenCode Zen no longer reads
OPENCODE_WORKSPACE_IDorOPENCODE_AUTH_COOKIE. Move these credentials to the global OpenCode Quota configuration file.
Full Changelog: v4.8.2...v4.9.0
v4.8.2
v4.8.1
v4.8.0
New Features
- Added automatic OpenCode Go API-key detection through
OPENCODE_API_KEY, trusted global config, and OpenCodeauth.json.
Breaking Changes
- OpenCode Go no longer supports workspace IDs, browser cookies, or
opencode-go.json. Reconnect OpenCode Go with an API key.
Full Changelog: v4.7.0...v4.8.0