dsh-usage-statistics-panel
Usage statistics settings panel: 26-week activity heatmap, daily token trend with a cache hit-rate curve, per-model donut and breakdown, time-range filters, summary cards, one-time historical backfill and lossless rebuild.
用量统计设置面板:26 周活跃热力图、按日 Token 趋势与缓存命中率曲线、模型用量环形图与明细、时间范围筛选、汇总卡片,支持历史会话回扫与无损重建。
How to install
dsh plugin add dsh-usage-statistics-panel About
DSH Usage Statistics Panel English | 中文 DSH web 插件的用量统计面板:按天 Token 趋势、GitHub 风格活跃热力图、缓存命中率曲线、按模型用量拆分(环形图 + 列表),在设置页新增一个"使用统计"页面。 所有图表均为手绘 SVG,不依赖图表库;配色使用 GitHub Primer 的 data-viz 双套色板(前 5 名模型各取一个等级色,其余归入灰色 "Other" 桶),并随 DSH 主题自适应。 预览 功能 **时间范围**:最近 7 / 14 / 30 / 90 天,或自定义起止日期 **汇总卡片**:Token 用量、会话数量(完成的 turn)、请求数量、活跃天数、平均缓存命中率、最常用模型 **26 周活跃热力图**:每日 token 用量的 GitHub 风格色阶,悬停查看当天明细 **按天 Token 趋势**:堆叠柱状图叠加平滑的缓存命中率曲线(Catmull-Rom 样条),悬停查看各模型拆分 **模型用量**:环形图 + 列表,前 5 名模型分色,其余折叠为可展开的 "Other" 明细 **历史回扫**:首次启用时枚举并回放既有会话日志;对挂载后才首次观测到的活跃会话,其挂载前的历史会在下一次启动时按事件序号边界回放补全,从安装日起尽量还原历史用量 **本地持久化**:数据写入 $DSH_HOME/s…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-08-24
- Created
- 2026-08-19
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- cordis, data-visualization, deepseek-harness, dsh-plugin, llm, plugin, react, settings-panel, svg-charts, token-meter, token-usage, typescript, usage-statistics
Related plugins
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-whale-report
SenmuuuuW/dsh-whale-report
DeepTrace — deterministic agent reports from session logs (daily/weekly/monthly/yearly/custom): cost & token breakdown, 8 insight rules, collaboration review, live provider balance, PDF/PNG/HTML export; read-only, never rewrites history.
dsh-opencode-go-usage
v587d/dsh-opencode-go-usage
OpenCode Go subscription usage (rolling/weekly/monthly windows with reset countdowns) in the composer dock, with a built-in credential editor.
dsh-cost-meter
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.