zhengjy01/dsh-backup-migrator0

dsh-backup-migrator

基于 GitHub 的 DeepSeek Harness 插件环境备份与迁移工具,支持一键导出和恢复插件清单、配置及本地开发源码。

AI 分析

核心用途是跨机器同步和备份 DSH 的插件环境与配置。适合拥有多台工作设备、需要快速迁移或备份 DSH 插件生态的用户。需要配置 GitHub 仓库。

包名
dsh-backup-migrator
版本
0.1.3
许可证
MIT
最近更新
2026年9月10日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhengjy01/dsh-backup-migrator

Usage

ToolPurpose
dshbackup_backupscan profiles → build manifest + configs + packed local plugins → commit → push
dshbackup_restorepull/clone the backup repo → reinstall all plugins → restore configs
dshbackup_verifypreflight before backup or restore (source reachability, git remote, secrets warning)
dshbackup_listbackup history (git log) + latest manifest summary
dshbackup_configview/change backupDir, repoUrl, includeSecrets

Config is stored at ~/.dsh/dsh-backup-migrator.json (mode 0600).

Backup repo layout

/
├── manifest.json                # machine + profile + plugin + config index
├── README.md                    # human-readable summary (auto-generated)
├── profiles//cordis.patch.yml   # user patch layer (if any)
├── profiles//packages/*.tgz     # locally-sourced plugins (npm pack)
└── configs/...                  # ~/.dsh/dsh-*.json + dsh-* dirs (0600)

On a new machine

1. install DSH, launch once (web/headless profiles are auto-created)
2. install this plugin, then:
   dshbackup_config backupDir: 
   dshbackup_config repoUrl: 
   dshbackup_restore        # clone + reinstall + restore configs
3. restart the GUI