yumusb/dsh-opencode-go-usage

yumusb★ 0JavaScript最后同步: 2026-08-14

在 GitHub 打开

README 摘要

dsh-opencode-go-usage English 中文 ⚡ Get an OpenCode GO plan : buycodingplan.com A DSH (DeepSeek Harness) plugin that watches your OpenCode GO plan quota — the $10/month subscription that gives you usage limits on open-source models (rolling 5-hour, weekly, and monthly windows). Features - Sidebar widget — a live widget pinned at the bottom of the DSH web sidebar ( sidebar.footer.action slot) showing three usage bars: rolling (5h), weekly, and monthly, each with a relative countdown to its window reset. When the sidebar is collapsed it shrinks to a compact percentage badge. - /opencode-go chat command — prints the same numbers as text inside any conversation. - Same-origin proxy — the host registers GET /opencode-go/usage , forwards to the official GO gateway with your API key. The key never reaches the browser and no CORS is involved. How it works The plugin is a dual-half DSH package : half file role host (Node) lib/index.js registers the /opencode-go/usage web route ( ctx.webServer ) and the /opencode-go command ( ctx.commands ); resolves the key through DSH credentials; caches the upstream call (30 s) browser lib/client.js a hand-authored window. ModuleLoader .load({ id, factory …

在 GitHub 查看完整 README →
Tools / Devdeepseekdeepseek-harnessdshdsh-plugindsh-pluginsopencodeopencode-gosidebar

分类