YeqingTang/dsh-session-flow
DSH 会话信息流重设计插件:跨会话档案柜,折叠时间线 / 血缘树 / 检索 / 双模式摘要 / ZIP 导出 / 实时跟踪。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that restructures raw DSH session data into a more manageable, foldable format with session-level summaries. Each session is stored as an individual archive card that users can review, search, and export across different DSH workspaces. To install the plugin, you can search for it directly in the DSH plugin marketplace, or run one of two CLI commands: dsh plugin add dsh-session-flow or dsh plugin add github:YeqingTang/dsh-session-flow.
After installation, you must restart the DSH web service and perform a hard refresh of your browser (using Ctrl+Shift+R on most Windows and Linux desktop browsers) to fully activate the plugin. If the installation completes successfully, a new entry labeled “Session Flow” will appear in DSH’s sidebar. This plugin is ideal for DSH users who work with many sessions over time and need an organized way to review or retrieve past work across different workspaces. The standard starting workflow is to click the sidebar entry to open the overview dashboard, where all sessions are displayed as sortable, filterable cards.
This plugin has clear environment requirements that must be met for it to work as intended. You must be running the latest stable version of the DSH Web GUI, and your system must have Node.js version 22.19 or newer installed. Because newer Node.js versions include built-in zstd decoding, no additional third-party dependencies are required to run this plugin. It is released under the open-source Apache 2.0 license, and retains all original license statements for any third-party code that was referenced during development.
这是一款专为 DSH 开发的原生插件,它会将 DSH 的原始会话消息流重构为可折叠信息流并生成会话级摘要,每个会话会被保存为一张档案卡片,支持跨工作区回顾、检索和导出。用户可以在 DSH 插件市场搜索 dsh-session-flow 安装,也可以通过 CLI 命令 dsh plugin add 安装该插件。
安装完成后,用户需要重启 DSH 服务并硬刷新浏览器,才能在侧边栏看到「会话流」入口。对于需要长期整理开发会话、跨多个工作区调试 DSH 任务运行记录的用户,这款插件提供了组织化的界面来快速定位历史会话。用户可通过侧边栏入口访问总览工作台,以卡片墙的形式浏览所有会话,还可以使用筛选和排序功能管理会话。
这款插件要求运行环境为最新稳定版 DSH Web GUI,且 Node.js 版本不低于 22.19,因为新版 Node.js 内置 zstd 解码,无需额外第三方依赖。它以 Apache 2.0 开源许可证发布,使用第三方代码时保留了原代码的许可声明。安装后必须完成重启和硬刷新才能正常激活插件功能。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-session-flow(YeqingTang/dsh-session-flow)
仓库:https://github.com/YeqingTang/dsh-session-flow
本站详情页:https://www.yhbd.top/plugins/yeqingtang-dsh-session-flow/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 4 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin add dsh-session-flow
把 YeqingTang/dsh-session-flow 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-session-flow — DSH 会话回顾与归档插件
中文 | English
把 DSH 会话的原始消息流重构成「可折叠的信息流 + 会话级汇总」:每个会话变成一张档案卡,跨工作区回顾、检索、导出。官方会话视图(Trajectory / Chat)长于正在发生的微观检查,本插件补足事后回顾 / 归档 / 洞察这一层。
界面一览
| 总览工作台 | 会话流标签页 |
|---|---|
![]() |
![]() |
| 会话卡片墙:标题、状态、结论摘要行、首个任务;hover ✎ 行内重命名 | 原生会话页内嵌「会话流」标签:当前会话直接回顾 |
| 轮次悬浮条 | 跨会话全文检索 |
|---|---|
![]() |
![]() |
| 对话页左侧轮次导航:收拢短横条 ⇄ 展开条目卡,一键跳转任意轮次 | 总览自由文本搜索触发全文模式:跨工作区召回,命中直达定位 |
| 详情并入右栏 | 折叠详情页 |
|---|---|
![]() |
![]() |
| 详情并入官方右侧面板:主对话与会话流并行,拖拽调宽 | 回合默认折叠,展开按真实时间序;右侧四标签导航 |
功能
| 能力 | 说明 |
|---|---|
| 总览工作台 | 会话卡片(状态/错误/耗时)+ 结论摘要行;排序、筛选、工作区 tabs |
| 结构化搜索 | tool: file: err: 前缀 + 自由文本 |
| 折叠详情页 | 回合折叠成「用户发言+结论」,展开按真实时间序;按需加载 |
| 四标签导航 | 用户发言 / 工具 / 错误 / 检索,点击定位高亮 |
| 血缘树 | 子代理派生关系树(离线档案 + 运行时实时双通道) |
| 双模式摘要 | 规则摘要(零开销实时组装)+ LLM 摘要(落盘复用、新对话提示重生成) |
| 实时跟踪 | 运行中会话 3 秒轮询,呼吸高亮 + 生成标志 |
| ZIP 导出 | 概览 + 时间线分卷 Markdown 报告 |
| 会话重命名 | 与官方标题同一数据源(log-backed),双向实时同步,随时改名 |
| 健康监控 | 活跃 / 工具执行中 / 静默中 / 疑似卡死四级分类;总览徽标 + 详情实时条 |
| 头部健康芯片 | 会话页顶栏模式标识右侧,竖条收拢 ⇄ 悬浮展开状态卡,点击直达详情 |
| 会话流标签页 | 原生会话页内嵌标签,与工作台互跳 |
| 轮次悬浮条 | 对话页左侧轮次跳转(仅对话页显示) |
| 跨会话全文检索 | 内容级召回,命中直达会话流标签页定位 |
| 详情并入右栏 | 与主对话双视角并行 |
| 缓存管理 | 索引/时间线缓存查看与清理(不影响 DSH 数据) |
安装
# 插件市场搜索 dsh-session-flow,或:
dsh plugin add dsh-session-flow
dsh plugin add github:YeqingTang/dsh-session-flow
安装后重启 DSH Web 服务并硬刷新浏览器(Ctrl+Shift+R),侧边栏出现「会话流」入口即成功。
环境要求:DSH Web GUI(最新稳定版);Node.js ≥ 22.19(内置 zstd 解码,零第三方依赖)。
使用
- 总览:侧边栏「会话流」→ 全部会话卡片。搜索支持
tool:/file:/err:前缀;自由文本 ≥2 字符自动追加跨会话全文检索结果。 - 详情:点卡片进入。回合默认折叠,点回合头展开;右侧四标签导航定位;顶部可生成 LLM 摘要、导出 ZIP、并入右栏、查看血缘。
- 原生会话页:会话顶部「会话流」标签直接回顾当前会话;对话页左侧轮次悬浮条跳转任意轮次;标题 hover ✎ 重命名(与官方标题实时同步)。
- 健康状态:顶栏模式标识右侧的健康芯片(竖条:绿=活跃 / 黄=工具执行中 / 红=疑似卡死),悬浮展开看详情,点击直达会话流详情页;总览卡片与详情实时条同步显示徽标。
- 实时:运行中会话点「实时」,3 秒自动刷新。
致谢
- DeepSeek Harness (dsh) —— 运行基础。
- @deepseek-ai/dsh-session-persistence-jsonl —— zstd 多帧扫描算法(
lib/archive.js借鉴,MIT 许可)。 - dsh-web-ui(@linxin666 全家桶) —— 侧边栏入口与面板挂载模式参照,未复制代码。
- dsh-webui-market-plugin —— 插件市场机制与分发渠道。
本插件遵循 Apache-2.0 许可,使用第三方代码时保留其原始许可声明。






Wine-Red/dsh-prompt-stash
reactive-resume/reactive-resume
vibeinging/dsh-desktop
PM-Shawn/Abu-Cowork
chokwinlee/deepseek-harness-desktop
ZSeven-W/dsh-android
WSK-build/DSHBox