dsh-state-sync
v0.1.0 · 2 天前发布
DSH web plugin: one-click DSH state pack & sync — export portable state (settings, profile plugin manifests, lockfiles, skills, optional sessions) to a tar.gz under $DSH_HOME/backups, and restore with per-profile plugin reinstall. Settings page (Settings
README
dsh-state-sync
给 DeepSeek Harness(dsh)提供一键状态打包与同步:把可移植的 dsh 状态导出为一个 .tar.gz,在新机器上恢复并按 profile 重装插件。
/dsh-state export|import|list|home,可在输入框直接使用。scripts/dsh-state-export.sh / scripts/dsh-state-restore.sh,不装插件也能用。打包内容
| 路径 | 是否打包 | 说明 |
| --- | --- | --- |
| settings.yaml | ✅ | 偏好设置(主题 / 语言 / 模型 / 各插件设置) |
| profiles/*/package.json | ✅ | 插件依赖 + dsh.profile.bundles 激活列表 |
| profiles/*/cordis.patch.yml | ✅ | 每个 profile 的用户覆盖层 |
| profiles/*/pnpm-lock.yaml | ✅ | 依赖锁文件 |
| profiles/*/pnpm-workspace.yaml | ✅ | profile 的 pnpm 配置 |
| 全局 cordis.patch.yml | ✅ | 存在时打包 |
| skills/ | ✅ | 自定义技能 |
| sessions/ | 可选 | --with-sessions 或设置页勾选 |
| .credentials.yaml | ❌ | 永不打包 — 请单独、加密复制 |
| `profi
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-state-sync
- Repo
- —
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}}