zhengjy01/dsh-backup-migrator0

dsh-backup-migrator

Backup and migrate DeepSeek Harness plugin environments via GitHub: one command exports the installed plugin manifest, plugin configs and locally-developed plugin sources into a git repository, and another restores everything on a new machine (VSCode-settings-sync style).

包名
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