xiajiajun516/dsh-config-manager
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
What it solves
DeepSeek Harness (DSH) is an AI assistant workbench that holds many settings, model providers, plugins, MCP servers, skills, agent presets, and workspaces. Moving that environment to a new machine or keeping it in sync across machines is tedious and error-prone without the right tools. This plugin acts as a "moving service" for DSH: it packages the entire configuration into a single ZIP for one-click export and import, syncs it across machines through Git, WebDAV, S3-compatible storage, or GitHub Gist, and schedules automatic backups. It also handles secrets safely—API keys and other sensitive values are not exported by default—and detects dead absolute paths, remapping them automatically during migration.
How it works
The plugin offers four main pages: Home (quick actions like Back up now, Export, Import, Remote sync), Library (all snapshots, backup files, remote snapshots, and marketplace configs), Sync (four channel cards: Git, WebDAV, object storage, Gist), and Environment (profile management and maintenance/diagnostics).
- Export: Reads your config, strips secrets, builds a manifest, computes checksums, and packs everything into a downloadable ZIP (e.g.,
dsh-config-<date>-<random>.zip). - Import: Runs a multi-step pipeline: select ZIP → validate file → check integrity → check schema → compatibility check → scan contents → build import plan → migration consult (verdict + evidence) → choose what to import → per-item conflict decisions → path mapping / secrets re-entry → confirm → auto-backup current config → apply → validate → done. A failed import automatically rolls back to the previous state.
- Scheduled backups: Set a cadence (6h/12h/24h/7d or custom weekly) from Home → Scheduled backup; secrets are never included, and a retention policy (last N + one per month + one per year) decides how many to keep.
- Sync: Push/pull portable config via private Git repo, WebDAV, S3-compatible object store, or GitHub Gist. Secrets do not sync by default; if you enable "Export secrets" with an encryption password, the credential file travels as scrypt + AES-256-GCM ciphertext.
- Marketplace: Browse the built-in official market for ready-made configurations (model providers, plugins, MCP servers, skills, etc.), preview a dry-run of what would be imported, and install with one click—with supply-chain warnings and per-item approval.
- Import from other AI agents: Read configs and chat history from Claude Code, Cursor, Codex, Hermes, Antigravity, etc., translate them into a standard bundle, and feed them through the same preview/conflict/rollback import flow. 30 sources are recognized, 29 of which can migrate chat history.
- Rewind: Every user message carries a "rewind to here" option that opens a new branch conversation from that point, archiving the original intact. Optionally revert workspace files with a per-file diff preview; a rescue point can undo the rewind.
Who it's for
People who use DeepSeek Harness and want to move their entire AI assistant setup to a new machine without manually reinstalling plugins, MCP servers, and skills, or who want to keep multiple machines synchronized. It's also useful for those migrating from another AI coding agent and wanting to preserve both configuration and chat history. The plugin is a standard DSH plugin installable via dsh plugin --profile web add dsh-config-manager@latest and works on Windows, macOS, and Linux.
Highlights
- One-click export/import of the complete DSH environment as a single ZIP
- Preview-before-write import flow: read the migration verdict and evidence, choose items, resolve conflicts per item (with bulk actions)
- Automatic path remapping for dead absolute paths, including batch prefix mapping
- Secrets excluded by default; encrypted backups can safely carry credentials (scrypt + AES-256-GCM)
- Scheduled full backups with configurable retention (GFS tiers)
- Remote sync via Git, WebDAV, S3-compatible object stores, or GitHub Gist
- Configuration marketplace: browse and one-click install community configs with supply-chain warnings
- Import from 30 other AI agents, including chat history
- Conversation rewind: branch off from any user message, archiving the original, with optional workspace file revert
- Profiles management: launch/stop independent DSH instances
- Agent tools to trigger backup/snapshot/restore/sync from within an agent session
- Disk usage report and one-click cleanup of regenerable caches and expired backups
Related
- Project
- Project
- Project
- Project