dsh-undo-savepoint
DSH undo/rollback system: snapshot config files on change, undo/redo the last action from the WebUI or by chat, and roll back broken plugin trees without reinstalling. Works even when DSH fails to boot (offline CLI + GUI).
What it is
DSH undo/rollback system: snapshot config files on change, undo/redo the last action from the WebUI or by chat, and roll back broken plugin trees without reinstalling. Works even when DSH fails to boot (offline CLI + GUI).
How to install
Run this in the DSH web profile, then refresh the page.
$ dsh plugin --profile web add dsh-undo-savepoint@0.5.1
DSH versions accepted
>=0.0.1-0 || >=0.1.0-rc.2 || >=0.1.1-rc.1 || >=0.1.2-alpha.2 || >=0.1.2-rc.1 || >=0.1.5-rc.1 || >=0.1.5-rc.2 || >=0.2.0-rc.2 || >=0.2.1-0 || >=0.2.2-0
Author and traction
lire1131 · ★ 202 · Updated 2026-11-08
About this plugin
dsh-undo-savepoint DSH 安全管家(撤销 / 回退 / 崩溃自愈) 中文 | English | 更新日志
为 DeepSeek Harness (DSH) 打造的安全管家。改设置自动存档,一键撤销 / 恢复 / 回退到任意版本;DSH 起不来时,局外 WebUI / GUI / CLI 依然可用。
主动检查,有异常才说话。DSH 版本变化时先打升级保险快照,崩溃后给出最后正常快照。 预览 核心能力 平台支持 安装
前置:已安装 DSH(@deepseek-ai/dsh)与 Node.js。DSH 0.2.2 及以后版本的宿主要求 Node.js ≥24.9;本插件的离线 CLI / GUI 只要求 ≥20。 桌面端安装(推荐)
桌面端是主要使用场景,走 desktop profile。先启动一次桌面端完成初始化,再完全退出桌面客户端后执行安装。
GitHub 直装。默认装默认分支的最新提交,需要固定版本时在末尾加 #vX.Y.Z。
npm 源安装。默认装 npm 上的 latest,需要固定版本时在包名后加 @X.Y.Z。
安装完成后重启 DSH 即生效。DSH 0.2.0-rc.2 起的桌面版遇到致命错误会弹官方恢复窗,第三个按钮会摘掉第三方插件的 bundles 条目,并把补丁备份为 cordis.patch.yml.bak- ,包本体保留。被禁用后不需要重装,恢复挂载声明即可。桌面形态下 safe-mode 默认拒绝执行,带 confirmDesktop 的显式确认会先落前置快照再写文件;官方恢复窗第三个按钮仍是首选逃生路径。 Web profile 安装
把 profile 换成 web。需要固定版本时按上面的方式自行加 tag 或版本号。
安装期环境自检
安装钩子会检查外部 Node.js、PowerShell、平台与 DSH home 可写性。设置 DSH_UNDO_SKIP_ENV_CHECK=1 可跳过整个自检。 使用 撤销:头部「撤销」按钮 / Ctrl+Alt+Z / 对 AI 说「撤销上一步」。 恢复:「恢复」按钮 / Ctrl+Alt+Y(仅当撤销后没有新操作)。 手动保存:面板「手动保存」/ 对 AI 说「保存快照」。 回退到指定版本:面板里点快照行「回退到此版本」。 删除快照:面板里点「删除」。 消息级撤销:对话头部「对话撤回」,选择消息批次撤回其文件改动。 设置:通用页可改自动保存、防抖、保留数、两个快照目录与跟踪工作区目录。 DSH 起不来时
运行局外 WebUI,不依赖 DSH。
Similar plugins
dsh-purge
让 AI 更专注地辅助学习与动手实验:DSH 附加组件,提供状态自检、提示词与规则管理、本机备份与回滚。
dsh-unrestricted
Toggleable unrestricted mode for DeepSeek Harness: fuses execution rules into the active standard, ptc, cordis, minimal,…
dsh-univer-office
DSH × Univer integration with a bundled collaboration Gateway and Viewer: inline previews, live floating Worktree window…