dpskk2/dsh-chatsync
DSH 接着聊:换台电脑,聊天和项目一起接着做。通过自己的 GitHub 私有仓库同步会话、附件、工作区文件和设置。
Project Overview项目介绍
DSH 接着聊 (@dpskk2/dsh-chatsync) is a backup and sync plugin built specifically for the web profile of DeepSeek Harness (DSH), storing conversations, attachments, model and interface settings, the plugin manifest, and optionally the project files of opened workspaces inside a private GitHub repository that the user owns. It is installed via DSH's built-in command line by running dsh plugin --profile web add @dpskk2/dsh-chatsync and then restarting DSH, after which a new "同步" (Sync) pane appears in Settings. The package declares DSH ≥ 0.1.5-rc.3 and Node.js ≥ 20 (with 24 recommended for compressed sessions) and is published on npm under an MIT license.
The intended workflow is a single user alternating between two or more personal machines. Each computer must first install Git and the GitHub CLI separately, then install this plugin and authenticate with the same GitHub account by running gh auth login --hostname github.com --git-protocol https --web, which opens a one-time browser flow; on first sync the plugin will create or reuse a private repository named dsh-sync automatically, or the user can supply a custom address and branch. Daily operation is just opening DSH and clicking the "⟳ 同步" sidebar button before and after a session, or enabling the automatic mode in sync preferences that runs every five minutes and reacts to chat activity, while moving to another computer simply means repeating the same three preparation steps there. It targets individuals who want continuity of DSH chats and project context across devices, not team collaboration.
Beyond DSH and Node.js, the plugin depends on the user having a GitHub account plus local installations of Git and the GitHub CLI. Model API keys are kept in a separate credentials file that is deliberately excluded from sync, so every new machine must be configured with its own key, and any additional plugins or project dependencies must be reinstalled locally. Synchronization propagates deletions as well as edits, and although the credentials file itself is not uploaded, keys that the user has pasted into chats, attachments, or project files can still travel, so users are advised to review the sync scope, configure exclusion rules, and keep independent backups of important material. The plugin is updated through dsh plugin --profile web update @dpskk2/dsh-chatsync.
DSH 接着聊(@dpskk2/dsh-chatsync)是一款专为 DeepSeek Harness(DSH)web profile 设计的同步插件,把会话、附件、模型与界面设置、插件清单以及可选的工作区项目文件,存放到用户自己的 GitHub 私有仓库中,由用户掌握数据。安装通过 DSH 自带命令完成,在终端执行 dsh plugin --profile web add @dpskk2/dsh-chatsync 后重启 DSH,即可在「设置 → 同步」中调用;日常仅需点击侧栏「⟳ 同步」按钮。仓库本身只针对 DSH,声明支持 DSH ≥ 0.1.5-rc.3,并要求 Node.js ≥ 20(建议 24 用于压缩会话),属于原生的 DSH 备份插件。
典型场景是多台个人电脑交替工作:在每台机器上分别安装 Git、GitHub CLI 与本插件,使用 gh auth login --hostname github.com --git-protocol https --web 完成账号绑定,插件自动创建或复用名为 dsh-sync 的私有仓库;随后每次开工前与收工后各点一次同步,或在偏好里开启默认 5 分钟间隔的自动同步,新电脑只需重复第 1–3 步即可拉回历史会话与附件。它适合需要跨设备延续 DSH 对话与项目上下文的个人用户,而不是团队协作场景。
依赖方面除 DSH 与 Node.js 外,还需要 Git、GitHub CLI 以及一个 GitHub 账号;模型 API 密钥使用专用凭据文件保存、不会随仓库同步,新电脑必须单独配置,其他插件与项目依赖也要在本机重新安装。同步会同时传播删除与错误修改,专用凭据文件外的会话与项目文件中可能含用户写入的密钥,首次上传前应检查同步范围并配置排除规则。授权协议为 MIT,以 npm 包形式发布,可在终端用 dsh plugin --profile web update 命令升级。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-chatsync(dpskk2/dsh-chatsync)
仓库:https://github.com/dpskk2/dsh-chatsync
本站详情页:https://www.yhbd.top/plugins/dpskk2-dsh-chatsync/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-10-02 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 @dpskk2/dsh-chatsync
把 dpskk2/dsh-chatsync 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH 接着聊
换台电脑,接着聊、接着做。
把 DeepSeek Harness(DSH)的会话、附件、设置和项目文件同步到你的其他电脑。
数据存放在你自己的 GitHub 私有仓库中。
- 会同步: 会话、附件、模型与界面设置,以及工作区里的项目文件。
- 需要另行准备: 新电脑的模型 API 密钥、其他插件和项目依赖。
- 怎样同步: 原电脑先同步,新电脑再同步。每次同步都会取回远端数据并上传本机改动。
使用前准备
准备:DSH ≥ 0.1.5-rc.3 能正常打开,已安装 Git 和 GitHub CLI,能访问 GitHub。
安装插件
在 PowerShell 中,按使用的端执行;两端都用就分别安装。
Web 端:
dsh plugin --profile web add @dpskk2/dsh-chatsync
桌面端(Windows 默认安装位置):
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add @dpskk2/dsh-chatsync
桌面端先打开一次,再完全退出(含托盘)后安装;自定义安装位置或安装报错见桌面安装详解。
更新插件
桌面端先完全退出应用(含托盘)。更新后重新启动 DSH。
Web 端:
dsh plugin --profile web update @dpskk2/dsh-chatsync
桌面端:
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop update @dpskk2/dsh-chatsync
卸载插件
桌面端先完全退出应用(含托盘)。卸载后重新启动 DSH。
Web 端:
dsh plugin --profile web remove @dpskk2/dsh-chatsync
桌面端:
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove @dpskk2/dsh-chatsync
登录 GitHub
gh auth login --hostname github.com --git-protocol https --web
按提示完成浏览器授权;询问是否让 Git 使用此账号时选 Yes。
第一次使用
安装后重新启动 DSH,打开 设置 → 同步,按设置页的四步完成。先在原电脑操作,再接入新电脑。
① 连接同步仓库
- 第一次使用: 仓库地址留空,保持「地址留空时自动创建或复用私有仓库」勾选,分支保留
main。同步时会尝试创建或复用账号下的dsh-sync私有仓库。 - 已有同步仓库: 填写仓库地址和分支;接入新电脑时,使用原电脑显示的地址和分支。
点击 保存连接,继续第 2 步。
注意: 保存只写入设置,不代表已连接成功;第③步才会检查连接并传输数据。
② 选择同步内容和方式
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
extracurricular-ai/dsh-filesnap
SenmuuuuW/dsh-whale-report
SnowCrescenter-tech/dsh-milestone
PerryLink/dsh-checkpoint-rewind
XieZongChen/dsh-md-notes
TencentCloud/tencentcloud-agentobs-sdk-dsh