DeepSeek Harness plugin

dsh-stats-board

统计看板 StatsBoard for DeepSeek Harness Web: suppress the shipped composer-dock stats line, add a third '统计' view tab beside 对话/轨迹 that visualizes session stats with floating cards, small tables, and

Jump to install

Source facts

Repository
PastSheep/dsh-stats-board
Latest update
Aug 17, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/PastSheep/dsh-stats-board
Plugin: dsh-stats-board
Author: PastSheep

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

@deepseek-ai/dsh-stats-board

统计看板(DeepSeek Harness Web / dsh 宿主)。在自带「对话 / 轨迹」之外新增第三个 「统计」视图标签:用浮动卡片、小表格与手写 SVG 图表可视化会话统计;同时压制自带 composer-dock 的统计行。

StatsBoard for DeepSeek Harness Web: suppress the shipped composer-dock stats line, add a third 「统计」view tab beside 对话/轨迹 that visualizes session stats with floating cards, small tables, and hand-rolled SVG charts.

功能 Features

  • 第三个视图标签 — 注册进 conversation.view slot(order 20,标签「统计」),与对话/轨迹并排切换
  • 会话总览 KPI — 总轮次 / 总步数 / LLM 耗时 / 工具耗时 / 平均 TTFT / 输出速度 / 输入输出 tokens / 缓存命中率 / 上下文占用
  • Token 构成环形图 — 系统 / 工具 / 消息(上下文构成投影)或未缓存输入 / 缓存读写 / 输出(计费桶)两种模式
  • 每轮输入 / 输出柱状图 — 最近 16 轮,输入(蓝)/ 输出(紫)
  • 累计输出折线图 — 输出 tokens 随轮次累计
  • 每轮明细表 — 轮次 / 步数 / LLM 耗时 / 平均 TTFT / 速度 / 输出 / 工具数
  • 工具调用表 — 按调用次数与总耗时排序
  • composer-dock 压制 — 在 conversation.composer.dock 注册空组件,隐藏自带统计行
  • 免构建 — 手写 JS(React.createElement + 内联 SVG),file: 或 npm 安装均可直接使用

安装 Install

dsh plugin --profile web add @deepseek-ai/dsh-stats-board

未发布时可用本地目录:

dsh plugin --profile web add file:C:/path/to/dsh-stats-board

然后重启 DeepSeek Harness。安装后在对话视图右上出现「统计」标签,点击查看当前会话的统计看板。

卸载:

dsh plugin --profile web remove @deepseek-ai/dsh-stats-board

数据来源 Data sources

  • 会话节点:useSession((s) => s.chat.legacy.nodes) 推导每轮步数 / LLM 耗时 / TTFT / tokens / 工具调用
  • 投影:useProjection('sessionStats') / 'tokenUsage' / 'contextPressure' / 'contextBreakdown'

License

MIT