DeepSeek Harness Plugin

liangmianya/dsh-synapse

Stars ★ 505 Category Sessions & Messages Added 2026-08-26

Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:liangmianya/dsh-synapse

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

把同一工作区中的会话、追问和分支组织成一张可浏览、可拖拽、可缩放的地图,同时保留 DSH 原生会话作为唯一事实来源。

Synapse 会话地图:链条、分支和右侧详情

快速安装

需要 DeepSeek Harness >= 0.1.7-rc.2(本插件依赖该版本的 Host 会话与 Client 服务接口)、Node.js >= 22.19.0,以及 web profile。

兼容性提示: 本版本包含破坏性变更,仅支持 DeepSeek Harness >= 0.1.7-rc.2,不再兼容更早版本。

corepack pnpm dsh plugin --profile web add dsh-synapse
corepack pnpm dsh web

启动后,在 DSH 顶部切换到 会话地图。Synapse 复用现有的 DSH Web Server,不会启动第二个应用或代理系统。

它解决什么问题

能力 说明
对话地图 把连续追问、分支和不同会话放到同一张可操作的画布上。
保留真实分支 按 DSH 原生 fork 关系连接卡片,不制造另一套会话历史。
追问更顺手 选中回答中的文字可直接带入新的追问;常用补充词可编辑。
双向同步 在地图或 DSH 原生对话中切换会话,当前上下文保持一致。

从原生对话进入

在 DSH 原生对话中,通过顶部的 会话地图 进入 Synapse;返回 对话 后,仍是同一个 DSH 会话。

DSH 原生对话与会话地图入口

文档

文档 内容
中文指南 安装、启动、配置、使用、卸载和限制。
English guide Installation, configuration, usage, cleanup, and limitations.
开发与发布 本地验证、GitHub Actions、版本标签和 npm 发布。
架构与边界 会话归属、投影、数据存储和模型影响。

与 DSH 的边界

  • DSH session log 保存真实会话内容;Synapse 只投影已提交的事件。
  • Synapse 的画布布局数据保存在 $DSH_HOME/synapse/,删除它不会删除 DSH 会话。
  • 插件不修改 prompt、模型请求、工具 schema、provider 路由或可复用 KV-cache 前缀。
  • 内置 patch 仅支持 DSH 的 web profile。

开发

corepack pnpm install --frozen-lockfile
corepack pnpm run build
corepack pnpm test

完整的贡献、CI/CD 和发布流程见开发与发布指南。

许可证

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.