dsh-usage-analytics
Local-first personal usage insights in Settings, with 1/7/30-day token heatmaps and a 30-day calendar, token composition, model mix, and skill-call status.
在设置页提供本机个人用量分析:1/7/30 天 Token 热力图与 30 天日历视图、Token 构成、模型分布和技能调用状态。
How to install
dsh plugin add github:3361805598-gif/dsh-usage-analytics About
dsh-usage-analytics DeepSeek Harness 的本机个人分析插件:在「设置 → 个人分析」展示 1 天、7 天、30 天 Token 热力图、Token 分类、模型分布和技能调用状态。 0.2.0 版本重点重构了核心架构与前端,提升统计同步可靠性、页面可读性和异常状态反馈。 截图 **设置 → 个人分析总览(近 7 天)**:总 Token、模型 / 技能调用、活跃天数,以及按小时的 Token 使用时段热力图。 **近 30 天视图**:切换统计窗口后展示 30 天总 Token 与「每一天的使用节奏」日历。 **按日明细**:点击日历中的日期查看当天用量明细;色阶按每日总量比较,缺少用量不估算。 功能 设置页新增「个人分析」分区,按 1 / 7 / 30 天切换统计窗口; 今日小时柱图、7 天小时热力图、30 天可点击日历;日期和小时明细按本机时区归类; Token 构成条与分类占比,推理用量作为输出子集单独说明; 模型分布:显示提供方、调用次数、Token 与用量占比,支持展开完整列表; 技能调用:区分自动 / 显式来源,显示成功、失败、未完成数量及成功率; 「重建统计缓存」只删除本插件的派生索引,再从原始 DSH 会话重新归集。 数据边界 插件只写入自己的派生索引(时间戳、数值型 Token 用量、模型标识、技能名、调用来源和结果)。不写入提示词…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 2
- mo. downloads
- –
- Last push
- 2026-09-06
- Created
- 2026-09-04
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- analytics, deepseek-harness, dsh-plugin, local-first
Related plugins
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
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-usage-statistics-panel
HaoyueQin/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.
dsh-all-usage
ParticleLight/dsh-all-usage
Analyze usage across models, providers, workspaces, and time ranges — including custom start/end dates over the full retained history — with live cache-hit visibility and separate model and provider breakdowns. Includes hourly single-day trends, daily cross-day trends, a 53-week GitHub-style heatmap, usage streaks, model and workspace Token-share donut charts with Token, cost, and percentage details, independent combinable filters, cache-efficiency trends, DeepSeek account balance, workspace aliases, CSV export, and a durable ledger that preserves successfully flushed usage after session deletion — and after a workspace is deleted, where its recorded usage is summed into one Deleted row — and rebuilds incrementally — on restart, unchanged sessions are applied from the ledger without re-reading their logs (a per-session log revision is the change signal), and only changed/new events are folded. The workspace registry is kept fresh automatically through the DSH domain/changed probe: only added/removed workspaces are reprocessed incrementally, unchanged workspaces reuse their computed aggregates and ledger with zero rescan, and usage is strictly limited to DSH-registered workspaces (unregistered cwds are ignored). After a scan, lightweight revision status fetches full history only when the Host/data state changes and exposes non-sensitive sync health (revision reuse, rereads, ledger recovery, and failures). Token accounting is explicit: input is fresh (cache read/write and reasoning are separate buckets) and zero-usage replays never overwrite recorded usage. Chinese uses local time, English uses UTC; API access is loopback-only.