Crayonnan/DeepSeek-harness-Extension
Crayonnan★ 0JavaScript最后同步: 2026-08-16
—
README 摘要
dsh-quota-bar English 中文 A lightweight quota bar plugin for the DeepSeek Harness web GUI — a pill in the session header showing your current quota, with a dashboard for usage, balance, cache-hit rate and per-model spend. Features - Quota pill (session header, right edge): OpenCode Go plan usage — worst-window remaining % — or DeepSeek API account balance. - Dashboard on click: - Quota row: OpenCode Go three usage windows (5h rolling / weekly / monthly, % used + progress bar + plan limit + reset time) or the DeepSeek balance card (total / topped-up / granted). - Session chips: cache-hit rate, input / output tokens, context occupancy (live from host projections). - Model spend : per-model tokens and estimated USD cost across all durable session logs, with horizontal cost-share bars and a total. - Provider auto-detected from the default model; API keys resolve through the DSH credentials seam and never leave the host. Design Dual-face Cordis plugin (no build step, plain ESM): Part File Role Host index.js TypertRemoteService with two RPC methods: status() fetches live quota/balance from the provider endpoints; usage() zstd-decodes every session log ( /.dsh/sessions/ /session.jsonl.zstd…
在 GitHub 查看完整 README →