DeepSeek Harness (DSH) plugin · token dashboard
apodemakeles/dsh-token-dashboard · skills
DeepSeek Harness (DSH) plugin: local daily/weekly token usage dashboard and heatmap.
★ 2GitHub stars
1Forks
2026-08-16Last updated
TypeScriptLanguage
MITLicense
Key features
- Host half — listens to live session/event, flushes through DSH's durability barrier, and sends minimal usage deltas to a persistent Worker.
- Projection database$DSH_HOME/data/token-dashboard/usage-v1.sqlite (default /.dsh).
- The Worker owns SQLite (nodesqlite), 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.
Requirements
- Projection is machine-localit reads sessions stored on this machine (/.dsh/sessions is the authority
- SQLite is a rebuildable projection).
Install command
dsh plugin --profile web add github:apodemakeles/dsh-token-dashboard