dsh-session-dashboard
Manifest validRead-only session dashboard for DeepSeek Harness over the local ~/.dsh data: a sidebar overview of every session (tokens, estimated cost, turns, tool calls, model mix, daily activity, searchable and s
dsh-session-dashboard — Session dashboard
A real DeepSeek Harness plugin that turns any local DSH session and conversation into a read-only dashboard.
- Sidebar entry “Session dashboard”: totals for every session — tokens, estimated cost, turns, tool calls, model mix, daily activity, plus a searchable/sortable session table.
- In-conversation “Dashboard” view: an extra View tab on any session with the live turn-by-turn timeline, per-turn tokens/cost/timing/tools, and model/tool breakdowns.


Data is read-only from local ~/.dsh (session projection cache + session logs). Nothing is written outside the plugin's own data/ cache, and there is no network access.
Install
Requires DeepSeek Harness >= 0.2.0 and Node >= 20 (verified on desktop 0.2.2-rc.1).
Install it from the Plugins page in DSH, or from a shell:
# from GitHub source
dsh plugin --profile web add github:349840432m-dev/dsh-session-dashboard
# or the prebuilt release tarball (no build step, no build approval)
dsh plugin --profile web add https://github.com/349840432m-dev/dsh-session-dashboard/releases/latest/download/dsh-session-dashboard.tgz
# or a local checkout
dsh plugin --profile <profile> add link:/absolute/path/dsh-session-dashboard
Restart DSH once so the Host half's JavaScript module is loaded fresh (the Web half only needs a page refresh). The sidebar then shows “会话仪表盘” and every conversation gains a “仪表盘” View tab.
On DSH Desktop the profile is managed by the app's own plugin manager — install from Settings → Plugins. A CLI install only writes into the profile you name.
Data & pricing
- Session projection cache supplies authoritative token totals, titles, models and turn counts.
- Session logs (multi-frame zstd) supply turn prompts/replies, per-call usage, tools, timing and daily buckets.
- Cost uses the official DeepSeek price table with peak/off-peak pricing based on each call's timestamp; sessions without logs are estimated from a machine-wide blended price and marked.
- The desktop host ships Node 24.21, whose
zstdDecompressSyncdecodes only the first frame; this plugin walks zstd frames per RFC 8878, so it works on both the host and standalone Node, and tolerates a partially written last frame.
Read-only endpoints
GET /session-dashboard-api/health, GET /session-dashboard-api/overview?range=7|30|all, GET /session-dashboard-api/session/<sessionId> — GET only, no CORS header, no writes.
Development
node build.mjs
node verify/engine.test.mjs
node verify/routes.test.mjs
node verify/client.test.mjs
See README.zh-CN.md for the full Chinese documentation.
License
MIT — see LICENSE.
Comments
Loading…
Similar plugins
by mike-lee0120
Cost dashboard for DeepSeek Harness: aggregates model input/output/cache tokens across all local sessions, prices them with a builtin table (including DeepSeek peak/off-peak), and shows daily trends p
★ 4
JavaScript
Sep 25, 2026
dsh plugin --profile web add dsh-cost-dashboardSession and turn wall-clock timing for the DeepSeek Harness Web UI: per-session total, per-turn duration, and period aggregates.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-session-timingby huangxp12
Recent sessions across every workspace in one panel for DeepSeek Harness (DSH) - plus deferred notes that come back when you reopen the conversation.
★ 2
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-recent-sessionsby zhujiuyi
Token usage dashboard in the DeepSeek Harness sidebar: daily totals from session logs with a 12-month heatmap, per-provider breakdown over today/7d/30d/all (hourly for today), and a per-session rankin
★ 2
↓ 49/wk
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add @zhujiuyi/dsh-token-dashboardby ShallBay
Token usage dashboard for the whole harness: billed tokens from every session are rolled up per session and turn (uncached input, cache read, cache write and output) with a peak/off-peak CNY cost esti
★ 1
MIT
HTML
Oct 22, 2026
dsh plugin --profile web add @deepseek-ai/dsh-token-statsby 863683348
Focus board for DeepSeek Harness agents: durable, model-maintained notes in the session workspace that pin the objective, constraints, and decisions across compaction and sessions, with automatic cont
★ 1
↓ 118/wk
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-plugin-focus