cute-baobao/dsh-usage-meter
DeepSeek Harness 使用记录器插件:按模型统计每小时 Token 使用量(输入/输出/缓存命中),并在 Web 界面中以堆叠柱状图仪表盘展示。
catalog 简介:DeepSeek Harness usage recorder plugin: per-model hourly token usage (input/output/cache hits) with a stacked bar chart dashboard in the Web GUI.
安装
pnpm dsh plugin --profile web add @dsh-usage-meter/usage
把 cute-baobao/dsh-usage-meter 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
dsh-usage-meter
DeepSeek Harness 用量统计插件:自动记录模型调用的 token 用量,按「模型 × 小时」聚合,在 Web GUI 设置页以堆叠柱状图展示(每小时一根柱子,按模型分色)。
🌐 English · 中文

安装
pnpm dsh plugin --profile web add @dsh-usage-meter/usage
刚发布当天若解析失败,显式钉版本(如
@dsh-usage-meter/usage@0.3.0)即可。
重启 dsh web,设置 → 用量统计 即可查看。
卸载
pnpm dsh plugin --profile web remove @dsh-usage-meter/usage
数据
记录在 $DSH_HOME/usage-meter/usage.jsonl,启动时按小时重新聚合;界面中英双语,跟随 GUI 语言。
许可
MIT
tt-a1i/archify
zhu1090093659/dsh-web-ui
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
agentrq/agentrq
GanyuanRan/Aegis