dsh-trace-narrator
在终端中运行以下命令:
dsh plugin install xiangyun0519/dsh-trace-narrator
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中运行 dsh plugin install xiangyun0519/dsh-trace-narrator 即可安装,完整源码地址为 https://github.com/xiangyun0519/dsh-trace-narrator。
插件介绍
After a DSH session, the raw trajectory is long, noisy, and hard to summarize. Answering "what actually happened, where it failed, and which steps deserve to be handed off" usually means scrolling through logs by hand. dsh-trace-narrator collapses that into a single command and a readable, self-contained report.
It first applies strict redaction to the trajectory, validates the LLM output against a schema, and then emits a self-contained HTML, Markdown, or JSON document. Built-in perspectives include summary, postmortem, tutorial, debug, and executive views. No third-party scripts are loaded. When DSH agent or inbox capabilities are available, the plugin also asks the conversation model to restate key findings and suggest next actions in the following turn; in headless or trimmed environments it simply returns the local report without extra network calls. Viewer upload is fully opt-in and restricted to HTTPS; with it disabled, no data leaves the machine.
It is aimed at developers running DSH for production or research work who need to hand off a session to a colleague or turn it into teaching material, and at teams that want structured post-mortems in CI or headless pipelines without pulling in a cloud dependency. Reports land locally by default, and the security model is explicit: no collection, no multi-session merging, no public knowledge base required.
使用场景
- 会话结束后一条命令生成脱敏复盘报告用于团队交接
- 将长轨迹压缩为教学或调试材料供新人快速上手
- 在无网络或 headless 环境产出自包含 HTML 报告离线查阅
适合人员
- 使用 DSH 进行生产或研究开发的工程师
- 需要结构化 postmortem 的 DevOps 或 SRE 团队
- 在无云依赖环境中运行 DSH 的开发者