liangmianya/dsh-synapse ↗★ 114
dsh-synapse
A visual, non-linear conversation workspace plugin for DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liangmianya/dsh-synapse说明文档
阅读完整 README ↗配置
插件通过 profile 的 cordis.patch.yml 注入,以下键可在你自己的 patch 中按行 id synapse 覆盖(整体替换 config):
| 键 | 默认值 | 说明 |
|---|---|---|
dataFile | $DSH_HOME/synapse/workspaces.json | 画布元数据持久化路径 |
autoProjection | true | 是否自动把已提交的 DSH 会话事件投影为画布卡片 |
projectionWorkspaceTitle | DSH 任务 | 投影工作区的标题 |
trustedHosts | [] | 额外放行的 Host(主机名或 主机:端口);localhost 与 127.0.0.1 始终放行。局域网访问需在此加入你的主机 |
### 使用方式
1. 在 DSH 中选择工作目录,或打开一个已有会话。
2. 点击顶部"会话地图"进入画布。
3. 浏览画布卡片:点击卡片或侧边栏会话即可切换当前会话(原生页同步跟随);"分支"操作保留一条替代路径。
4. 点击卡片底部"详情"查看完整对话记录;点击顶部"对话"切换或卡片"在 DSH 中打开",回到原生对话。
### Configuration
The plugin is injected through the profile's `cordis.patch.yml`. Override any key in your own patch by targeting the row id `synapse` (the whole `config` is replaced):
| Key | Default | Description |
|---|---|---|
| `dataFile` | `$DSH_HOME/synapse/workspaces.json` | Canvas metadata persistence path |
| `autoProjection` | `true` | Automatically project committed DSH session events into canvas cards |
| `projectionWorkspaceTitle` | `DSH 任务` | Title of the projection workspace |
| `trustedHosts` | `[]` | Extra authorities (host or host:port) the `/synapse` Host check accepts; `localhost` and `127.0.0.1` are always allowed. LAN access must add your host here |
```yaml
### Usage
1. Select a working directory or open an existing DSH session.
2. Open "Session Map" from the top switch.
3. Browse the canvas: clicking a card or a sidebar session switches the current session (the native page follows); the "branch" action keeps an alternative path.
4. Open "Details" at the bottom of a card for the full conversation; return to the native chat with the top "Dialogue" switch or a card's "Open in DSH" button.