1HelloMan1/dsh-usage-dashboard-plus
DeepSeek Harness 使用仪表板,包含 API 余额、每日支出、外部视觉调用核算、按模型统计、调用日志、缓存率、TTFT 及 CSV 导出。
Project Overview项目介绍
This is a native DeepSeek Harness (DSH) plugin that adds a persistent sidebar footer widget to the DSH web UI, built exclusively for DSH and maintained as an actively developed fork of the original dsh-usage-dashboard. It displays your current DeepSeek API account balance and estimated daily spending, pulled from your local DSH session logs. Unlike the original version, this fork adds support for tracking spending from external vision model calls made by plugins like dsh-vision-fallback, which are not logged in default DSH session records. It already bundles a pre-configured pricing entry for the Mimo V2.5 vision model, so those calls get cost estimates immediately without extra setup.
The plugin is intended for DSH users who want to keep a close eye on their DeepSeek API spending, especially users who regularly call vision models outside DSH's core inference pipeline. After installation, the plugin automatically scans local DSH session logs to calculate total daily estimated spending based on the model per-token pricing you configure. It lets you view detailed usage metrics broken down by model and provider, including call count, latency, throughput, input, output and cache token counts, and you can export filtered call logs to a CSV file for offline analysis.
The plugin is released under the open source MIT license, and it requires no local build step to install. You can install it directly via the DSH CLI with the command dsh plugin --profile web add dsh-usage-dashboard-plus, then restart the dsh web process and hard refresh your browser to see the widget. Do not enable multiple usage statistics plugins at the same time in the same DSH profile, as this will cause duplicate counting and skewed statistics. All configuration options are hot-reloaded, and can be edited directly in your ~/.dsh/settings.yaml file.
这是专为 DeepSeek Harness (DSH) 开发的原生使用统计面板插件,是原 dsh-usage-dashboard 的活跃维护分支,已合并原 dsh-stats-dashboard 的全部功能。它会在 DSH 网页端侧边栏底部添加一个小部件,显示当前 DeepSeek API 的账户余额和当日预估消费,点击可打开完整详情面板。它额外支持统计外部视觉模型调用的消费,这是基础版没有的功能。
适合需要追踪自己 DeepSeek API 调用消费、尤其是经常使用外部视觉模型调用插件的 DSH 用户。安装后,插件会自动读取 DSH 本地存储的会话日志,按照配置的模型单价计算当日预估总消费,还支持分模型、分供应商查看调用次数、延迟、吞吐量、Token 使用量等详细指标。你也可以将筛选后的调用日志导出为 CSV 文件做进一步分析。
插件以 MIT 协议开源,不需要本地构建步骤,可通过 DSH 的插件命令直接安装。安装后需要重启 dsh web 服务并硬刷新浏览器页面,才能在设置页旁边看到侧边栏底部部件。同一 DSH 配置文件不要同时启用多个统计类插件,否则会导致统计数据重复计算,所有配置支持热重载。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-usage-dashboard-plus(1HelloMan1/dsh-usage-dashboard-plus)
仓库:https://github.com/1HelloMan1/dsh-usage-dashboard-plus
本站详情页:https://www.yhbd.top/plugins/1helloman1-dsh-usage-dashboard-plus/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-usage-dashboard-plus
把 1HelloMan1/dsh-usage-dashboard-plus 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-usage-dashboard-plus
A fork of dsh-usage-dashboard with external vision-call accounting: a sidebar-footer widget for DeepSeek Harness (dsh) showing your DeepSeek API balance and today's spend, estimated from session logs.
This is now the only actively maintained usage-dashboard repository. The former dsh-stats-dashboard implementation has been fully merged into Plus; do not install both statistics plugins in the same profile.
What "Plus" adds
- Counts external vision-model calls (e.g.
dsh-vision-fallback's Mimo V2.5 requests) into the today-spend stats via an optional JSONL usage log — the base package only counts calls recorded in DSH session logs. - Bundles a pricing entry for
mimo-v2.5(opencode Zen GO rates) so those calls get a cost estimate out of the box (override viaprices).
Features
- API balance — resolves the DeepSeek key through the DSH credentials service and queries the balance endpoint (cached).
- Today's spend (est.) — scans session logs (and the external usage log) for today's token usage × price table.
- Sidebar footer widget —
余额 ¥xx · 今日 ¥xx, click to open a detail card (calls, tokens, per-model breakdown, pricing notes). - Peak/off-peak pricing schedule — date-gated DeepSeek rate tables (2026-08-17 onward).
- Full usage dashboard — per-provider/per-model calls, latency, TTFT, throughput, input/output/cache tokens, cache rate, and estimated cost.
- Call-log analysis — filter and search by session, provider, and model; inspect recent calls and export filtered rows as CSV.
- Inherited Stats implementation — the
usageDashboardsession projection, 500-row call-log cap, whole-session model aggregates, and replay-safe historical statistics are included in Plus. - No build step — host half (
lib/index.js) + browser bundle (lib/client.js) via thedsh.clientmechanism.
Migrating from dsh-stats-dashboard
- Remove or disable the old
dsh-stats-dashboardplugin from thewebprofile. - Install
dsh-usage-dashboard-plus. - Restart
dsh weband hard-refresh the Settings page.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
WSL043/dsh-codex-subscription
Stormycry-cryp/dsh-AuthInOne
welsione/dsh-mmx-bridge
hackerFish/dsh-video-studio
54xkeee/dsh-vision
peterwangze/dsh-agent-router