apodemakeles/dsh-token-dashboard
apodemakeles★ 2TypeScript最后同步: 2026-08-16
DeepSeek Harness (DSH) plugin: local daily/weekly token usage dashboard and heatmap
README 摘要
@apodemakeles/dsh-token-dashboard English 中文 A DeepSeek Harness (DSH) web GUI plugin: a token-consumption heatmap panel. It shows your total token usage per day / per week across all projects on this machine, GitHub-contributions style. Usage facts are projected into a local SQLite database by a persistent Worker, so opening the panel never scans session logs. Status: released v0.2.0 — GitHub distribution is live. The package is not currently published to npm. Screenshots Weekly heatmap Daily view What it does - Host half — listens to live session/event , flushes through DSH's durability barrier, and sends minimal usage deltas to a persistent Worker. The Worker owns SQLite ( node:sqlite ), commits facts/checkpoints atomically, and serves one consistent snapshot endpoint. - Client half — registers a Token entry in the sidebar and opens a dedicated panel rendering the heatmap (weekly grid + daily view). It fetches a single GET /api/token-dashboard/snapshot per open/refresh/page change. - CLI — dsh-token-dashboard status verify rebuild backups restore cleanup for local maintenance. Installation From GitHub: Then restart dsh web . Open any project session and click the Token entry in t…
在 GitHub 查看完整 README →