markzhang12345/dsh-opencode-go-usage

markzhang12345★ 1JavaScriptLast synced: 2026-08-17

Open on GitHub

A DeepSeek Harness web plugin that shows your OpenCode Go plan usage live in the chat composer dock (5h/weekly/monthly %), auto-refreshing every 60s.

README excerpt

dsh-opencode-go-usage English 中文 A DeepSeek Harness web plugin that shows your OpenCode Go coding-plan usage as a live, number-only readout in the chat composer dock — OpenCode Go 5h 39% Weekly 15% Monthly 13% — refreshed every 60 seconds. It auto-enables only while the current default model provider is opencode-go , and hides otherwise. Features - Live readout in the chat composer dock band ( conversation.composer.dock ): 5h rolling / weekly / monthly percentages with reset times on hover - Refreshes every 60s - Auto-enabled only when the current model provider is opencode-go - Also usable in conversation: ask "查一下 opencode go 用量" to get the numbers directly - No progress bars, plain numbers only Install In your dsh profile (here web ): Add the plugin row to your profile's patch layer ( $DSH HOME/profiles/web/cordis.patch.yml ): Restart dsh web so the host half and the served client bundle are picked up. Configuration Host-side tunables live on the plugin row in cordis.yml : Key Default Meaning baseUrl https://opencode.ai/zen/go/v1/usage The usage endpoint. timeoutMs 15000 Fetch timeout in milliseconds. The usage endpoint is the Anthropic-compatible OpenCode Go key ( sk-opencode-……

View full README on GitHub →
Agentsai-agentscordisdshdsh-plugin

Category