@feiyang666/dsh-vault
提供数据备份、清空检测与一键恢复功能 适合需要备份聊天记录、工作区和设置,防止数据意外丢失或损坏的用户。
安装
$
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 detectedaction: backup— back up nowaction: list— list all backupsaction: restore(name+scope: all/sessions/data) — restoreaction: delete(name) — delete a backupaction: make_script— generate a one-click restore script