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.

包名
@xiaokang6/dsh-config-sync
兼容性
待验证
Cordis 依赖范围
^4.0.2
版本
0.1.0
许可证
MIT
最近更新
2026年10月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaokang6/dsh-config-sync-xk

配置远端

坚果云 WebDAV(推荐)

  1. 坚果云网页 → 账户信息 → 安全选项 → 添加应用密码(不要用登录密码)。
  2. 设置页填:
    • Base URL:https://dav.jianguoyun.com/dav/
    • 用户名:坚果云账号邮箱
    • 应用密码:上一步生成的那串
    • 远端路径:dsh-config-sync/desktop(多台设备要用同一个)
  3. 「检测差异」→「双向同步」。

GitHub

  1. 建一个私有仓库;生成 fine-grained PAT,权限只需 Contents: Read and write(或 classic token 的 repo 权限)。
  2. 设置页填 owner / repo / branch(默认 main)/ 远端路径 / Token。

凭据只保存在本机 ~/.dsh/config-sync/remote.json(0600),不会写进 cordis.patch.yml,因此不会跟着同步走;每台设备各自填一次。