Two-way sync of DSH sessions, workspace mappings, settings and patches between machines through your own private GitHub repo (API keys stay machine-local).
Install
# from npm (prebuilt)
dsh plugin --profile web add @dpskk2/dsh-chatsync
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:dpskk2/dsh-chatsync
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.
ChatSync 是 DeepSeek Harness(DSH) 的多设备同步插件。把常用的会话、附件、项目分组和文件夹同步到另一台电脑,在原来的项目里接着工作。
数据存放在你自己的私有 Git 仓库。可以使用 GitHub 默认仓库,也可以连接 Gitee、GitLab 等托管站上的已有私有仓库。

同步后的工作区与设置页,使用示例数据。
安装与首次同步
需要 DSH 0.2.0-rc.1 或更新版和 Git。支持 DSH 网页端及 Windows、macOS 桌面端。GitHub 仓库还需要 GitHub CLI。
- 安装。 在 DSH 打开「插件 → 添加插件」,搜索
chatsync,安装后重新打开 DSH。已安装@dpskk2/dsh-chatsync的用户可沿用原包名更新。 - 连接并同步。 从侧栏打开「同步」,按页内提示连接私有仓库,再勾选要同步的内容并点「立即同步」。
- 换台电脑。 安装 ChatSync,连接同一个仓库并同步,即可取回已同步的内容。不同电脑的项目目录可在「同步设置」中调整。
可以同步什么
| 内容 | 同步范围 |
|---|---|
| 会话与聊天附件 | 对话记录、项目归属、聊天中上传的图片和文件 |
| 设置 | 支持共享的模型、界面和插件偏好 |
| 项目文件 | 项目目录中的文档、代码等文件,支持指定每台电脑的保存位置 |
| 指令与技能(实验性) | 可选同步全局 AGENTS.md 和 skills/ 文件夹 |
每类内容可单独选择。模型密钥、代理和本机路径配置保留在各自电脑上。Windows 与 macOS 混用时,原会话的工作目录可能影响打开或续聊。完整同步范围 · 跨系统换机说明
日常使用
- 手动或自动同步。 随时点「立即同步」。在「插件」里打开已安装的「同步」详情可切换自动同步和侧边栏入口。启动和退出时是否同步,可在「同步设置」里分别选择。
- 处理会话冲突。 两台电脑各自向同一会话新增消息时,可并排查看差异、保留两个版本,或只保留当前版本。另存的会话由 DSH 写入并核对项目归属,项目登记失败时可以重试。舍弃的版本可在「历史冲突会话备份」中查看。
- 查看存储与恢复记录。 在「管理存储」查看同步仓库、本机存储和同步前留存的原件。
Links
More in this category
ranxianglei/billion-context★ 8035
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4612
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 735
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
MichengAI/dsh-archive-manager★ 383
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 324
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
SiriLee/dsh-rewind★ 292
Conversation rewind: one click back to any earlier user message, in the same window — no new branch, no leftover copy; the target message is refilled into the composer, with optional workspace-file restore — the full Claude Code /rewind semantics.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.