liangmianya/dsh-synapse
liangmianya/dsh-synapseDeepSeek Harness 的可视化非线性对话工作区:把会话、追问与分支变成可浏览、可拖拽的对话地图。
收藏 AI 回复(备注/标签),跨会话收藏中心(搜索/筛选/跳回会话),一键导出 Markdown。
Bookmark assistant replies in DeepSeek Harness (DSH) Web UI: bookmark any finalized assistant reply with a note and tags, browse every bookmark from every session in one center panel, and export them to Markdown in one click.


dsh-bookmarks.md.Alt+B toggles the center from anywhere.dsh plugin --profile web add dsh-bookmarks
Then restart DSH (dsh web). The plugin appends itself to the profile bundle layer automatically; nothing else to configure.
For a local checkout:
# from the plugin repo
dsh plugin --profile web add file:./ # relative file spec, anchored to your cwd
The bundle row exposes three limits (all optional):
| Key | Default | Meaning |
|---|---|---|
maxNoteBytes | 4096 | Max UTF-8 bytes of one note ("" clears a note; omitting the field keeps it). |
maxSnippetChars | 300 | Max characters of the server-derived reply snippet. |
maxTags | 8 | Max tags per bookmark; each tag ≤ 32 chars, trimmed and deduplicated. |
Override them in the profile patch layer ($DSH_HOME/profiles/web/cordis.patch.yml):
- id: bookmarks
config:
maxNoteBytes: 2048
maxSnippetChars: 200
maxTags: 5
One npm package hosts both halves of the plugin:
lib/index.js) — the bookmarks Remote service (Typert), backed by a storage-domain table ($DSH_HOME/storages/bookmarks.json). put inspects the persisted session log to validate the target reply and derive its snippet, mirrors the official message-feedback durability barrier, and serializes mutations with per-item version tokens.src/client, bundled to lib/client.js) — mounts the Remote contribution through ctx.remote.$mount, then registers two UI slots: conversation.chat.assistant-actions (the per-message button) and sidebar.footer.action (the center toggle).npm install # zod + esbuild (dev only)
npm run build # bundles src/client into lib/client.js
lib/client.js is committed and shipped; no build step runs on install.
Alt+B when the sidebar is collapsed.This project is promoted on the LINUX DO community.