
Token usage heatmap, per-model breakdowns, and DeepSeek account balance for the DeepSeek Harness Web GUI (dsh web).
Install Dsh Usage Stats
Installs straight from git: plain JavaScript that needs no build step, so no build allowance is required.
The one-line version
dsh plugin --profile my-profile add github:Ychris12138/dsh-usage-statsThis bundle is not on npm, so it installs straight from git. Its build output is already committed to the repository (or it needs no build at all), so it loads without a build step.
From GitHub — artifacts are already committed, nothing is built locally
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:Ychris12138/dsh-usage-stats
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePin a commit — github:Ychris12138/dsh-usage-stats#<commit-sha> — if you want the code you reviewed to be the code you keep getting.
Before you run it
- A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
- Installing from git resolves a moving branch. Pin a commit —
github:Ychris12138/dsh-usage-stats#<commit-sha>— so the code you reviewed is the code you install.
Prerequisites
- API key
- Required — see the repository README for which provider.
- Network access
- Not required at runtime.
- Language
- JavaScript — a git install pulls this source, not build output.
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | missing | warn | `dsh-usage-stats` is not published to npm |
| build requirement | pass | info | plain JavaScript — loads from source without a build |
- Verdict reason
- git-only but needs no build
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 网页端提供多供应商账户监测与 Token 用量分析。 Provider balances, subscription quotas, and token-usage analytics for the DeepSeek Harness Web GUI (`dsh web`). > 展示图使用脱敏演示数据;插件不会把 API Key、Cookie、管理 PAT 或上游原始响应发送到浏览器。 | | 能力 | 说明 | | --- | --- | --- | | 💳 | 统一账户卡片 | API 供应商显示余额,Token Plan 显示分窗口额度;面板一次只呈现当前供应商 | | 📊 | Token 用量分析 | 今日、本月、累计、缓存命中率、月历热图,以及按日期/供应商/模型下钻 | | 🔄 | 后台监测 | 服务端启动即刷新,之后每五分钟更新全部已配置账户与本地 Token 聚合 | | 🧩 | 可扩展适配器 | 支持 New API、Sub2API、通用余额模板,以及声明式 JSON Pointer 自定义查询 | | 🔒 | 本机安全边界 | 五个端点仅接受回环 GET;凭据只在服务端解析并发往校验后的供应商地址 | 界面支持中文和英文。浏览器只请求当前选择的 provider;后台刷新与面板是否打开无关。手动刷新会更新用量、供应商列表,并强制刷新当前账户,不会批量强制请求其他供应商。 需要 DeepSeek Harness `web` profile(`@deepseek-ai/dsh >= 0.1.0-rc.6`)。
Topics
GitHub topics on this repository
More in Account Balance Session Cost
Ranked by similarity inside the cluster, not alphabetically
Dsh Balance Meter
Ghost011118
DeepSeek account balance and session cost readout for the DeepSeek Harness Web GUI
Dsh Balance Eta
fzlong
DeepSeek Harness 极简余额插件:余额 + 今日消耗 + 可用时长预测 + 低余额告警(仅 CNY,价格无关免维护)
Dsh Api Balance
9Epuuuu
DeepSeek account balance readout for DSH Web (dsh-plugin)
Dsh Plugin Balance
pythonshiyi
余额显示插件(DeepSeek Harness 网页端):会话头部实时账户余额 | Live account balance for DeepSeek Harness web UI
Dsh Token Stats
Ouye-UE
Sidebar token-stats panel for DeepSeek Harness: live session tokens, cache-hit rate, mixed model x period cost estimate, real account balance, and context-occupancy bar.
Dsh Balance
deepforce
DSH plugin: /balance command, composer-dock balance readout with top-up link, session-cost estimate