xiaokang6/dsh-config-sync-xk ↗★ 0
@xiaokang6/dsh-config-sync
Sync a DeepSeek Harness profile's configuration across devices through Nutstore WebDAV or GitHub, with hash-based conflict detection, optional AES-256-GCM encryption, and a settings-page UI.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaokang6/dsh-config-sync-xkドキュメント
README 全文を読む ↗配置远端
坚果云 WebDAV(推荐)
- 坚果云网页 → 账户信息 → 安全选项 → 添加应用密码(不要用登录密码)。
- 设置页填:
- Base URL:
https://dav.jianguoyun.com/dav/ - 用户名:坚果云账号邮箱
- 应用密码:上一步生成的那串
- 远端路径:
dsh-config-sync/desktop(多台设备要用同一个)
- Base URL:
- 「检测差异」→「双向同步」。
GitHub
- 建一个私有仓库;生成 fine-grained PAT,权限只需
Contents: Read and write(或 classic token 的repo权限)。 - 设置页填 owner / repo / branch(默认
main)/ 远端路径 / Token。
凭据只保存在本机 ~/.dsh/config-sync/remote.json(0600),不会写进
cordis.patch.yml,因此不会跟着同步走;每台设备各自填一次。