XiaoWind/dsh-vault0

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)

包名
dsh-vault
版本
0.1.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:XiaoWind/dsh-vault

Usage

The vault runs automatically — no setup required. A /vault slash command provides visibility and manual control:

CommandResult
/vault statusShow vaulted workspaces and per-workspace session counts.
/vault restoreImport vaulted sessions/titles for known workspaces now.
/vault export(Re)write vault files from current persistence now.
/vault helpShow help.

How it behaves

  • Continuous mirroring. As a session appends events, they are written to the workspace's .dsh-vault/sessions/.jsonl in 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.