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)

AI 분석

核心用途是实现工作区级别的对话数据便携化与备份。适合需要在多台设备间无缝迁移工作区、或希望将对话历史与项目代码一同管理的用户。

패키지
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.