dsh-usage-panel v0.1.0
DeepSeek Harness 消耗统计插件:设置页展示 Token 用量 KPI、半年活跃热力图、按模型堆叠柱状图与模型环形图,只读重算会话日志。
Install
# from npm (recommended)
dsh plugin --profile web add dsh-usage-panel
# or from this release tarball
dsh plugin --profile web add ./dsh-usage-panel-0.1.0.tgzWhat's in this release
- Cumulative token KPIs (input / output split), session count, most-used model
- Half-year activity heatmap with quartile color levels
- Stacked per-model daily bars (7 / 14 / 30 days)
- Model donut with top-5 list and hover tooltips
- Light / dark theme support via
--dsw-*tokens - Warm-up scan + stale-while-revalidate caching — the page renders instantly
- Read-only: rescans session logs, writes nothing
See README.md for details.