xueayi/dsh-opencode-go-usage

xueayi★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

OpenCode Go plan usage monitor for DeepSeek Harness: real-time 5h-rolling / weekly / monthly quota in a floating web dock

README excerpt

dsh-opencode-go-usage OpenCode Go plan usage monitor for DeepSeek Harness: a floating dock in the web GUI showing the 5h-rolling / weekly / monthly quota windows with live reset countdowns. Data comes from the official quota API ( GET https://opencode.ai/zen/go/v1/usage , Bearer API key; no workspace id, no cookie). Install Restart the profile afterwards ( dsh web for the browser UI). Configure Recommended : pick the official-channel OpenCode Go provider in Web Settings → Models and enter the API key there; nothing else is needed. The API key is resolved per refresh through ctx.credentials under the apiKeyEnv reference (default OPENCODE GO API KEY ) — it can also be stored manually in /.dsh/.credentials.yaml or an environment variable: Field Type Default Meaning apiKeyEnv string OPENCODE GO API KEY credential reference apiKey string — direct key fallback (discouraged) endpoint string https://opencode.ai/zen/go/v1/usage quota endpoint refreshMs number 60000 auto-refresh interval timeoutMs number 10000 per-request timeout Usage dock A glassy floating dock at the bottom-right corner (the web shell owns no bottom-right slot; mounted through a body portal): - Badge (collapsed) : three m…

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-pluginopencodequota-monitor

Category