dsh-usage-plus
v0.1.1
Published
Token usage stats for DeepSeek Harness: settings-page dashboard with fixed-period cards, all-time metrics, and a GitHub-style heatmap, per model × day
Maintainers
Readme
dsh-usage-plus
DeepSeek Harness(dsh)插件:在 Web 设置页新增「统计」章节,按模型 × 日期统计 Token 消耗。
功能
- 固定周期卡:今天 / 近 7 天 / 近 30 天调用量,副行显示请求次数。
- 热力图:近半年日历热力图,标题行内联累计调用量 / 单日峰值 / 活跃天数,悬停查看单日总量与缓存命中率。
- 模型下拉:全部模型或单个模型视图,页面数字随筛选联动。
- 中英文:跟随 DSH 语言设置。
安装
dsh plugin --profile web add dsh-usage-plus
dsh web # 打开 设置 → 统计(导航图标自动为柱状图;dsh 升级后下次启动自动补回)卸载
dsh plugin --profile web remove dsh-usage-plus如需清除统计数据,删除 ~/.dsh/storages/dsh_usage_plus 后重启 dsh。
License
MIT
