AlfredChaos/dsh-usage-panel
AlfredChaos★ 0JavaScriptLast synced: 2026-08-15
DeepSeek Harness 消耗统计插件:设置页 Token 用量 KPI、半年活跃热力图、按模型堆叠柱状图与模型环形图(dsh-plugin)
README excerpt
dsh-usage-stats Token usage statistics for DeepSeek Harness, shown as a page under Settings → Usage in the web GUI. The plugin rescans persisted session logs and never writes anything back. 简体中文 · What it shows - Cumulative totals (all time) — input and output tokens, session count, and the most-used model with its share. - Activity heatmap — the last six months in a GitHub-contribution layout (weeks as columns, weekdays as rows). Days are colored by quartile over non-zero usage. - Daily stacked bars — per-model token usage, switchable between the last 7, 14, or 30 days. - Model donut — all-time share per model, with the top 5 listed beside it and the rest folded into "other". Hovering a bar or a donut segment shows the exact breakdown: Bar tooltip Donut tooltip Dark theme Install The plugin ships as a bundle: dsh plugin add appends it to the profile's bundle list, and the patch row activates the host half. Restart dsh --profile web and open Settings → Usage . The package contains plain JavaScript under lib/ — there is no build step, so git installs work without pnpm build allowances. To remove it: Where the numbers come from The host half rescans persisted session logs through the…
View full README on GitHub →