dsh-webui-perf
awa-123-cw
DeepSeek Harness WebUI 性能优化开关插件:长代码流式渲染/历史加载/高亮缓存优化,设置面板一键开关(with official-package patches)
PROJECT TOPICS
PROJECT README
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.


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.GET /api/token-dashboard/snapshot per open/refresh/page change.dsh-token-dashboard status|verify|rebuild|backups|restore|cleanup for local maintenance.From GitHub:
dsh plugin --profile web add github:apodemakeles/dsh-token-dashboard
Then restart dsh web. Open any project session and click the Token entry in the sidebar.
The npm package is not currently published; use the GitHub installation above.
$DSH_HOME/data/token-dashboard/usage-v1.sqlite (default ~/.dsh).inputTokens + outputTokens + cacheReadTokens (cache reads count into the headline).listSnapshots, inspect, readFrom, flush, or backfill.ready.git clone https://github.com/apodemakeles/dsh-token-dashboard.git
cd dsh-token-dashboard
pnpm install && pnpm build
dsh plugin --profile web add link:$(pwd)
See .scratch/dsh-token-dashboard/map.md for the project map (planning tracker), docs/durable-usage-architecture.md for the architecture contract, and docs/dev-loop.md for the full dev loop.
~/.dsh/sessions is the authority; SQLite is a rebuildable projection).node:sqlite); the plugin checks capability at startup and does not hide the warning globally.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。