DSH Web composer stats strip
null5069/dsh-better-stats · enterprise
DSH Web composer stats strip: official CNY pricing with auto-synced peak/off-peak tiers, per-model accounting, live LLM/tool timers, agent-team tree merge, DeepSeek balance, budget alerts, streaming cost estimates.
★ 2GitHub stars
0Forks
2026-08-29Last updated
JavaScriptLanguage
MITLicense
Key features
- Balancehost queries api.deepseek.com/user/balance directly (the DEEPSEEK_API_KEY credential goes through the DSH credentials seam, never the browser), 15s cache
- The balance is the whole DeepSeek account (web chat, other programs and other machines sharing the key all deduct from it)
- the host has a 2s anti-flood cooldown).
- The hover popover shows the granted / topped-up split (degrades to the total when fields are missing), a days-left estimate (EWMA-smoothed from today's spend and the trailing daily history), and a recharge link from the warn tier down.
- Pricingofficial CNY price table (api-docs.deepseek.com/zh-cn/quick_start/pricing), re-synced by the host every 6h by mapping the official model-header columns, with a builtin fallback
Install command
dsh plugin --profile web add github:null5069/dsh-better-stats