feiyang-dev/dsh-vault3

@feiyang666/dsh-vault

数据保险箱:提供备份、清空检测与一键恢复,优化备份触发时机以避免大量任务运行时卡死,支持 Web 界面与工具调用。

AI 分析

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

包名
@feiyang666/dsh-vault
版本
1.3.2
许可证
MIT
最近更新
2026年8月16日

安装

$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