From 34f0a3cd492bac33772671c74bfe71053e18eaa0 Mon Sep 17 00:00:00 2001 From: Anthony Hausman Date: Fri, 15 May 2026 09:17:33 +0200 Subject: [PATCH 1/2] fix(gemini-cli): surface missing companion error By removing the companion presence validation from the provider's availability probe, we allow the provider to attempt a fetch when auth is configured. This delegates companion validation to the query phase, correctly surfacing the descriptive "missing plugin" error instead of the generic "Unavailable (not detected)" state. --- src/lib/google-gemini-cli.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/google-gemini-cli.ts b/src/lib/google-gemini-cli.ts index 8dc662e..d1ea6f0 100644 --- a/src/lib/google-gemini-cli.ts +++ b/src/lib/google-gemini-cli.ts @@ -7,7 +7,6 @@ import { } from "./google-token-cache.js"; import { clearGeminiCliCompanionCacheForTests as clearGeminiCliCompanionResolutionCacheForTests, - inspectGeminiCliCompanionPresence, resolveGeminiCliClientCredentials, type GeminiCliConfiguredCredentials, } from "./google-gemini-cli-companion.js"; @@ -265,15 +264,11 @@ export async function inspectGeminiCliAuthPresence(client?: ConfigClient): Promi } export async function hasGeminiCliQuotaRuntimeAvailable(client?: ConfigClient): Promise { - const [authPresence, companionPresence] = await Promise.all([ - inspectGeminiCliAuthPresence(client), - inspectGeminiCliCompanionPresence(), - ]); + const authPresence = await inspectGeminiCliAuthPresence(client); return ( authPresence.state === "present" && - authPresence.validAccountCount > 0 && - companionPresence.state === "present" + authPresence.validAccountCount > 0 ); } From 09dcd785751060e7844a37d255a883996d714ac9 Mon Sep 17 00:00:00 2001 From: Anthony Hausman Date: Fri, 15 May 2026 09:20:20 +0200 Subject: [PATCH 2/2] chore(release): sync package version to 3.8.4 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a7ac183..8ba6365 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@slkiser/opencode-quota", - "version": "3.8.3", + "version": "3.8.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@slkiser/opencode-quota", - "version": "3.8.3", + "version": "3.8.4", "license": "MIT", "dependencies": { "@clack/prompts": "^1.2.0", diff --git a/package.json b/package.json index bd5e2cb..b0a1659 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@slkiser/opencode-quota", - "version": "3.8.3", + "version": "3.8.4", "description": "OpenCode quota & tokens usage with zero context window pollution. Supports GitHub Copilot, OpenAI (Plus/Pro), Qwen Code, Chutes AI, Synthetic, Google Antigravity, Z.ai coding plan and more.", "type": "module", "main": "./dist/index.js",