zzh799/dsh-opencode-usage
zzh799★ 0TypeScript最后同步: 2026-08-18
—
README 摘要
dsh-opencode-usage A dsh web GUI plugin that shows your OpenCode Zen balance and Go usage windows right in the composer tool row: a concentric-ring button (rolling 5h / weekly / monthly) that opens a usage panel. - Host half ( src/index.ts → lib/index.js ): resolves config from env vars and $DSH HOME/ocgo-usage.json , fetches the opencode.ai SSR pages, and serves same-origin JSON endpoints with caching + failure cooldown. - Browser half ( src/client.tsx → lib/client.js ): renders the concentric-ring composer button and usage panel, and the config editor (cookie values are only ever shown masked — the full cookie never leaves the host). Features - Rolling 5-hour / weekly / monthly usage rings on a single composer button - Usage panel with window details and a manual refresh - Built-in config editor in the panel (masked cookie tails only) - Smart cookie normalization: paste the raw auth token, a full header, or anything in between - Server-side cache (default 5 min) + 60 s failure cooldown so the poller never spams opencode.ai - Optional peak-clock display ( showPeakClock ) Install cordis.patch.yml inserts the plugin as opencode-usage ; it requires the webServer service. Configuratio…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 183,476
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,499
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 18,022