dsh-rewind
In-window conversation rewind with workspace file restore
What it is
In-window conversation rewind with workspace file restore
How to install
Run this in the DSH web profile, then refresh the page.
$ dsh plugin --profile web add dsh-rewind-plugin@0.21.2
DSH versions accepted
>=0.2.2-rc.1 <0.3.0-0
Author and traction
SiriLee · ★ 248 · Updated 2026-11-07
About this plugin
dsh-rewind
DeepSeek Harness 插件:一键就地回退对话到任意更早的用户消息。 同窗口内完成,不新建分支、不换窗口,可一并还原工作区文件——即完整的 Claude Code /rewind 语义。
English | 中文
刻意聚焦、保持极简,只做一件事:就地回退到任意远的用户消息,还能顺手还原改过的文件。 就地消息回退——目标消息及其之后的内容同时从模型上下文和渲染对话中撤回,目标消息文本自动回填输入框。始终在原会话内完成,不新建分支、不残留副本。 轻量备份还原——对齐 Claude Code:追踪写类工具编辑过的文件,回退时一并还原,已跟踪文件的外部变更也能还原。局部追踪、写前备份、不变不存,不依赖 git。 安全保障——会话日志仅追加回退标记,从不删改;文件备份与还原经安全加固;完备测试,随 DSH 升级长期维护。安全模型:docs/security-model.md。 效果预览
每条用户消息的操作行都有一个 ↶ 回退 按钮。点击后弹出模式选择浮层——「仅回退对话」或「回退对话和文件」,后者会先展示文件变更清单再确认。还可以通过 /rewind 和 /undo 命令便捷地选择和回退。
用户消息旁的 ↶ 回退按钮 模式选择浮层 「回退对话和文件」影响清单 /rewind 候选面板 安装
命令行:
图形界面:侧栏「插件」页 →「添加插件」→ 填 dsh-rewind-plugin → 安装 → 重启 DSH。
默认安装 latest,它适配 DSH 最新稳定版本。若使用的是旧版或内测版 DSH,请在 Releases 页面找到适配的插件版本,并指定版本安装。 [!WARNING] npm 上的 dsh-rewind 属于其他作者,请用 dsh-rewind-plugin 安装。 使用
1. 在对话中找到要回退的那条用户消息,或输入 /rewind(或其别名 /undo)打开候选列表选择。 2. 选中它。 小浮层提供两种模式——「仅回退对话」或「回退对话和文件」。 3. 回退立即生效:对话回到目标消息当时的样子,目标消息的文本自动回填输入框——改完直接重发。
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…