111222cjyq/dsh-branch-visualizer
Developer Preview: persistent DeepSeek Harness session branch visualizer with navigation, rename, archive, and compatibility adapters.
Project Overview项目介绍
This is a persistent branch visualization plugin for DeepSeek Harness. It renders native session and subagent relationships into a draggable tree diagram, and supports session navigation, renaming and archiving. Use it to map multi-branch session workflows. It is a developer preview, and DeepSeek Harness itself is experimental.
这是面向DeepSeek Harness的持久化分支可视化插件,可将原生会话与子代理关系展示为可拖拽树图,提供会话跳转、改名和归档操作,适合梳理多分支会话工作流使用,当前为开发者预览版,DeepSeek Harness本身仍处于实验阶段。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-branch-visualizer(111222cjyq/dsh-branch-visualizer)
仓库:https://github.com/111222cjyq/dsh-branch-visualizer
本站详情页:https://www.yhbd.top/plugins/111222cjyq-dsh-branch-visualizer/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-21 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 --profile web add github:111222cjyq/dsh-branch-visualizer
把 111222cjyq/dsh-branch-visualizer 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Branch Visualizer
一个面向 DeepSeek Harness 的持久化分支可视化插件。它把 Harness 原生会话与子代理关系展示为可拖拽树图,并在同一界面提供跳转、改名和归档操作。
当前状态:Developer Preview。本插件已按 2026-08-21 的 DeepSeek Harness
0.1.0-rc.8/master契约核对,但 Harness 本身仍处于实验阶段。适配策略与已知风险见 DSH_COMPATIBILITY_STRATEGY.md 和 KNOWN_LIMITATIONS.md。
功能
| 功能 | 说明 |
|---|---|
| 原生分支树 | 读取同一工作区的会话、父会话和子代理关系,自动生成树形布局 |
| 自由画布 | 支持拖动节点、框选、平移、缩放、自动布局和视图居中 |
| 紧凑显示 | 普通面板在有效缩放低于 0.6 时切换圆形节点;紧凑面板阈值为 0.85 |
| 会话跳转 | 双击普通节点打开会话;子代理节点使用 Harness 的 openSubagent 地址跳转 |
| 运行状态 | 区分 running、idle、cold,并监听 Agent 生命周期事件 |
| 标题修改 | 支持活跃会话直接改名;冷会话通过持久化事件追加并处理序列冲突 |
| 单项/批量归档 | 归档前校验工作区归属,批量结果逐项返回;父节点归档时收集其子代理后代 |
| 归档显示模式 | 默认不加载归档节点;可切换完整视图。隐藏归档链时用双虚线连接最近可见祖先 |
| 性能保护 | 快照 TTL/LRU、同键请求合并、全局重建并发上限、子代理 TTL/LRU 和轮询退避 |
| 兼容诊断 | /brvis/api/diagnostics 返回去敏的适配器版本、能力状态和缺失能力 |
安装
前置条件:
- DeepSeek Harness 支持 bundle/plugin profile;
- Node.js
^22.19.0或>=24.0.0; - 使用 Harness CLI 管理插件,不要手工复制构建产物。
从 GitHub 安装到指定 profile:
dsh plugin --profile <profile> add github:111222cjyq/dsh-branch-visualizer
然后重启对应的 Harness 进程。Cordis 动态包是进程内实例,源码或 lib 更新不会自动替换已经运行的插件实例。
Git 依赖会通过 prepare 自动构建。如果 pnpm 报告构建脚本被阻止,请让 Harness CLI 把精确包名 dsh-branch-visualizer 加入宿主项目的 pnpm.allowBuilds,不要全局放开任意依赖脚本。
更新或移除时仍通过同一个 profile 操作,并在操作后重启 Harness。CLI 参数以当前 Harness 版本的 dsh plugin --help 为准。
使用
- 打开任意会话。
- 点击会话标题栏中的“◈ 分支图”。
- 双击节点跳转;拖动节点调整布局;空格加左键平移画布。
- 选择一个或多个节点后执行改名或归档。
- 需要检查完整历史时开启“显示归档”。大工作区第一次加载完整历史可能明显慢于默认视图。
持久化与数据边界
这是标准 Harness bundle,不依赖临时注入器,也不把状态写入浏览器全局变量。安装关系由 package.json 的 dsh.bundle.patch 和根目录 cordis.patch.yml 声明;宿主和客户端由同一个包提供。
插件:
- 不包含遥测、广告、分析 SDK 或第三方网络请求;
- 只通过 Harness 同源
/brvis/api访问本地宿主; - 读取会话 ID、标题、父子关系、工作区归属、归档状态和 Agent 状态;
- 只有在用户明确点击时才改名或归档;
- 兼容诊断不返回路径、会话 ID、标题或用户内容;
- 源码和发布包通过隐私扫描,禁止提交本机用户目录、私钥和明显的硬编码令牌。
更完整的威胁模型见 SECURITY.md。
面向 Harness 大改的适配结构
业务核心不直接绑定 Harness 的服务名和槽位名:
DeepSeek Harness
│
├─ Host adapter: src/platform/adapters/dsh-preview-2026-08/host.ts
├─ Client adapter: src/platform/adapters/dsh-preview-2026-08/client.ts
│
├─ Stable contracts: src/shared/
│
├─ Host core: src/host/
└─ Client core: src/client/
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Nagi-ovo/dsh-visualize
omdsh-dev/dsh-data-agent
youdotcom-oss/agent-skills
Awu12277/dsh-stock-watch
dream12347/dsh-session-manager
yuezengwu/dsh-explain
merenguesL/dsh-tool-normalizer
1321928757/dsh-mysql