feiyang-dev/dsh-vault ↗★ 4

@feiyang666/dsh-vault

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

パッケージ
@feiyang666/dsh-vault
互換性
未検証
バージョン
1.5.0
ライセンス
MIT
最終更新
2026/08/23

インストール

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

ドキュメント

README 全文を読む ↗

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