feiyang-dev/dsh-vault3

@feiyang666/dsh-vault

数据保险箱:为 DeepSeek Harness 提供备份、清空检测与一键恢复。备份触发时机:启动备份、意外关闭备份、手动备份(不再按会话落盘或定时全量备份,避免大量任务运行时卡死)。自动备份 ~/.dsh 的聊天记录(sessions)、工作区数据(storages)、设置(settings.yaml)、凭据与 profile 配置到用户主目录 ~/.dsh-backups(最多保留 10 份),检测数据被清空并支持按范围恢复与删除备份。设置页提供「备份管理」界面(Host+Client 双面插件)。

AI Analysis

用于安全备份 DSH 聊天记录、设置和配置,优化了备份时机以防运行卡死。适合需要高可靠性数据备份、支持按需恢复和删除备份的 DSH 用户。

Package
@feiyang666/dsh-vault
Version
1.3.2
License
MIT
Last updated
Aug 16, 2026

Install

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

Usage 1: Settings page "Backup Manager" (Web)

After installing and restarting, open Settings → "Backup Manager":

  • Top shows backup directory, last backup time, backup count, and data-integrity status
  • "Back Up Now" button triggers a manual backup
  • The "Backup History" list offers "Restore" (scope: All / chat history only / workspace settings only) and "Delete" (with confirmation) per item

Usage 2: backup_vault tool (TUI / Web universal)

The plugin registers the backup_vault model tool — just tell the assistant "back me up / check backup status / restore chat history from the latest backup / delete that old backup":

  • action: status — backup directory, last backup, backup list, whether a wipe was detected
  • action: backup — back up now
  • action: list — list all backups
  • action: restore (name + scope: all/sessions/data) — restore
  • action: delete (name) — delete a backup
  • action: make_script — generate a one-click restore script