DSH Plugins
返回列表
dsh-backup

dsh-backup

记忆 更新于 2026.08.25

在终端中运行以下命令:

dsh plugin install a903067276-rgb/dsh-backup

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install a903067276-rgb/dsh-backup 即可安装,插件源码地址为 https://github.com/a903067276-rgb/dsh-backup

插件介绍

Once a DSH workspace has been running for a while, it accumulates session history, profile configuration, global conventions, and often a custom memory library. A single misstep or disk failure can wipe out weeks of accumulated context. dsh-backup bundles all of this into timestamped .zip archives so you never have to sift through dotfiles and copy things by hand.

Backups can fire on a schedule (every 6 hours by default, interval fully adjustable) or be triggered with one click from the Settings page. You can register any number of extra absolute paths—your memory library, a notes folder—so everything worth keeping lands in the same archive. Rotation trims the store to the latest N files (default 10), keeping disk use predictable. Restore is deliberately a manual, two-step operation: stop DSH, then extract the archive over its original paths. The plugin never overwrites data on its own. Under the hood the zip packer is a zero-dependency, pure-Node stream implementation, so it works inside the session sandbox without needing system zip or a shell, and runs on macOS, Linux, and Windows alike.

If you rely heavily on DSH session context, maintain a custom memory library, or simply want a local safety net that does not depend on cloud sync, dsh-backup is a lightweight, dependency-free option. It requires DSH 0.1.0-rc.6 or newer and Node.js 16.7+, both of which ship with current DSH releases.

截图预览

使用场景

  • 定期将 DSH 会话历史与配置文件打包为 zip 存档
  • 为自定义记忆库或笔记目录建立本地离线备份
  • 磁盘故障或误删后从最近存档手动恢复数据

适合人员

  • 重度依赖 DSH 会话上下文的日常开发者
  • 维护自定义记忆库或 AGENTS 约定的高级用户
  • 偏好本地备份而非云同步的隐私敏感工作流