dsh-vault
DeepSeek Harness plugin: persist every conversation and log inside the workspace folder so copying that folder to a new machine restores all sessions (including the workspace name)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:XiaoWind/dsh-vault说明文档
阅读完整 README ↗Usage
The vault runs automatically — no setup required. A /vault slash command
provides visibility and manual control:
| Command | Result |
|---|---|
/vault status | Show vaulted workspaces and per-workspace session counts. |
/vault restore | Import vaulted sessions/titles for known workspaces now. |
/vault export | (Re)write vault files from current persistence now. |
/vault help | Show help. |
How it behaves
- Continuous mirroring. As a session appends events, they are written to
the workspace's
.dsh-vault/sessions/.jsonlin order. On session disposal the file is rewritten as a clean snapshot. - Automatic restore. At boot, and whenever a workspace is opened, the plugin imports any vault session missing from DSH persistence and applies the vaulted title. On a brand-new machine, opening the copied folder as a workspace triggers the same restore.
- Portable paths. Session
cwds are rebound to the workspace's current absolute path on import, so a folder copied to a different location restores cleanly. - Idempotent. Sessions already in persistence are never re-imported, and attaching/renaming is a no-op when nothing changed.
Configuration
No configuration is required. The plugin inserts with an empty config; the
vault directory name (.dsh-vault) and the JSONL format are fixed so vaults
stay interchangeable across machines.