dsh-migrate-codex
Manifest validSecurely migrate the Codex environment between two machines (prepare/verify/restore), and guide the Codex configuration to align with the DeepSeek Harness.
dsh-migrate-codex
A DeepSeek Harness plugin for safely migrating a Codex environment between machines.
Capabilities
/migrate-codex prepare <dir>: package the whitelisted repos and dirty snapshots;/migrate-codex verify <dir>: verify SHA256SUMS, bundle integrity, and credential exclusions;/migrate-codex restore <dir>: restore onto a new machine (aborts if the target exists);/migrate-codex restore-worktree <dir> <slug>: recreate one dirty worktree on demand;- Skill
codex-migration: teaches the agent the full workflow, the safety red lines, and how to align Codex configuration with DeepSeek Harness.
Install
dsh plugin --profile <name> add <repo URL or npm package>
# restart the Profile to take effect
Usage
Ask in a DSH session: "verify and restore the codex-migration bundle on my desktop", or run:
/migrate-codex verify ~/Desktop/codex-migration
/migrate-codex restore ~/Desktop/codex-migration
Custom whitelist
The published version ships placeholder examples only (example-primary, ...). Put your real table in bin/whitelist.local.tsv (gitignored, never committed), four columns per row:
slug<TAB>role<TAB>source-path<TAB>required
my-main-repo primary ~/my-main-repo yes
CODEX_MIGRATE_TABLE: path to a whitelist file;CODEX_MIGRATE_MAIN_SLUG: slug of the worktree-bearing main repo (defaultexample-primary).
Safety design
- Whitelisted repositories only;
- git bundles carry commits but never
.git/config(no remote credentials leave the machine); - SHA256SUMS integrity checks;
- credential exclusion list (auth.json / .env* / private keys / certs / SQLite);
- restore never overwrites an existing target and leaves no half-restored state on failure.
Roadmap
- Turn hardcoded old-machine paths into runtime arguments;
- Platform detection.
License
MIT
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 64/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 12.7k
↓ 278k/wk
MIT
TypeScript
Nov 17, 2026
dsh plugin --profile web add dshmarketby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 10.5k
↓ 15.7k/wk
MIT
TypeScript
Nov 17, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby kingcharleslzy-ai
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
★ 9.6k
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-purge-communityby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 8.2k
NOASSERTION
Python
Nov 17, 2026
dsh plugin --profile web add treg-dshby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injector