Pre-flight checks
OpenCode version tested
1.14.48
opencode-quota version tested
v3.8.0
Bug summary
using OpenCode with opencode-gemini-auth@latest and setup opencode-quota with the following quota-toast.json configuration:
{
"enableToast": true,
"showSessionTokens": true,
"enabledProviders": ["copilot", "google-gemini-cli"],
"formatStyle": "allWindows",
"percentDisplayMode": "remaining",
"tuiSidebarPanel": {
"enabled": true
},
"tuiCompactStatus": {
"enabled": true,
"homeBottom": true,
"sessionPrompt": true,
"suppressWhenNativeProviderQuota": true
}
}
The google-gemini-cli setup does not work and always returns Gemini CLI: Unavailable (not detected).
Steps to reproduce
quota-toast.json configuration:
{
"enableToast": true,
"showSessionTokens": true,
"enabledProviders": ["copilot", "google-gemini-cli"],
"formatStyle": "allWindows",
"percentDisplayMode": "remaining",
"tuiSidebarPanel": {
"enabled": true
},
"tuiCompactStatus": {
"enabled": true,
"homeBottom": true,
"sessionPrompt": true,
"suppressWhenNativeProviderQuota": true
}
}
Delete cache via rm -rf ~/.cache/opencode to be sure to start "clean" before running opencode.
Start opencode and run /quota_status returns Gemini CLI: Unavailable (not detected).
Expected behavior
Gemini CLI quotas are returned.
Actual behavior
Gemini CLI: Unavailable (not detected)
Relevant logs/output
# Quota Status (opencode-quota v3.8.0) (/quota_status) 10:29 12/05/2026
toast:
- configSource: files
- configPaths: /home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json)
- precedence: global defaults -> workspace overrides
- global_config_paths: /home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json)
- workspace_config_paths: (none)
- setting_sources: enableToast<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | formatStyle<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | percentDisplayMode<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | enabledProviders<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | showSessionTokens<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | tuiSidebarPanel.enabled<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | tuiCompactStatus.enabled<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | tuiCompactStatus.homeBottom<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | tuiCompactStatus.sessionPrompt<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json) | tuiCompactStatus.suppressWhenNativeProviderQuota<=/home/anthony/.config/opencode/opencode-quota/quota-toast.json (opencode-quota/quota-toast.json)
- enabledProviders: copilot,google-gemini-cli
- onlyCurrentModel: false
- currentModel: (error: session.get returned no modelID)
tui:
- workspace_root: /home/anthony/whatsapp_analyzer_app
- config_root: /home/anthony/whatsapp_analyzer_app
- config_configured: true
- inferred_selected_config_path: /home/anthony/.config/opencode/tui.jsonc
- present_config_paths: /home/anthony/.config/opencode/tui.jsonc
- candidate_config_paths: /home/anthony/.config/opencode/tui.json | /home/anthony/.config/opencode/tui.jsonc | /home/anthony/whatsapp_analyzer_app/tui.json | /home/anthony/whatsapp_analyzer_app/tui.jsonc | /home/anthony/whatsapp_analyzer_app/.opencode/tui.json | /home/anthony/whatsapp_analyzer_app/.opencode/tui.jsonc
- quota_plugin_configured: true
- quota_plugin_paths: /home/anthony/.config/opencode/tui.jsonc
- providers:
- anthropic: disabled unavailable
- copilot: enabled available
- openai: disabled unavailable
- cursor: disabled unavailable
- qwen-code: disabled unavailable
- alibaba-coding-plan: disabled unavailable
- synthetic: disabled unavailable
- chutes: disabled unavailable
- crof: disabled unavailable
- google-antigravity: disabled unavailable
- google-gemini-cli: enabled unavailable
- zai: disabled unavailable
- zhipu: disabled unavailable
- nanogpt: disabled unavailable
- minimax-coding-plan: disabled unavailable
- minimax-china-coding-plan: disabled unavailable
- kimi-for-coding: disabled unavailable
- opencode-go: disabled unavailable
paths:
- opencode_dirs: data=/home/anthony/.local/share/opencode config=/home/anthony/.config/opencode cache=/home/anthony/.cache/opencode state=/home/anthony/.local/state/opencode
- auth.json: preferred=/home/anthony/.local/share/opencode/auth.json present=/home/anthony/.local/share/opencode/auth.json candidates=/home/anthony/.local/share/opencode/auth.json
- qwen oauth auth configured: false
- qwen_oauth_source: (none)
- qwen_local_plan: (none)
- alibaba auth configured: false
- alibaba_api_key_source: (none)
- alibaba_api_key_checked_paths: /home/anthony/.config/opencode/opencode.jsonc
- alibaba_api_key_auth_paths: /home/anthony/.local/share/opencode/auth.json
- alibaba coding plan fallback tier: lite
- alibaba_coding_plan: (none)
...
google_gemini_cli:
- auth_state: present
- auth_source: google
- account_count: 1
- valid_account_count: 1
- companion_package_state: missing
- companion_package_path: (none)
- companion_error: Install opencode-gemini-auth separately to enable Gemini CLI quota
...
Pre-flight checks
OpenCode version tested
1.14.48
opencode-quota version tested
v3.8.0
Bug summary
using OpenCode with
opencode-gemini-auth@latestand setupopencode-quotawith the followingquota-toast.jsonconfiguration:The google-gemini-cli setup does not work and always returns
Gemini CLI: Unavailable (not detected).Steps to reproduce
quota-toast.jsonconfiguration:Delete cache via
rm -rf ~/.cache/opencodeto be sure to start "clean" before running opencode.Start opencode and run
/quota_statusreturnsGemini CLI: Unavailable (not detected).Expected behavior
Gemini CLI quotas are returned.
Actual behavior
Gemini CLI: Unavailable (not detected)
Relevant logs/output