SiriLee/dsh-rewind65

dsh-rewind-plugin

DSH 插件:真正便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(完整 Claude Code /rewind 语义)。 · DSH plugin: genuinely effortless in-window conversation rewind — never forking a new session; ships a lightweight workspace backup that restores files together with the rewind (full Claude Code /rewind semantics).

包名
dsh-rewind-plugin
版本
0.12.1
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SiriLee/dsh-rewind

使用

  1. 在对话中找到要回退的那条用户消息,或输入 /rewind(或其别名 /undo)打开候选列表选择。
  2. 选中它。 小浮层提供两种模式——「仅回退对话」或「回退对话和代码」。
  3. 回退立即生效:对话回到目标消息当时的样子,目标消息的文本自动回填输入框——改完直接重发。

键盘操作:候选列表与模式浮层均支持 ↑↓ 移动、Enter 确认、Esc 取消/返回。

边界说明

  • 回退可以反复进行——没有阶段或次数限制。
  • 回退本身无法撤销,但被撤回的内容仍保留在会话日志中。
  • 插话也能回退——模型尚未读取的 steering 插话消息,同样可作为回退目标。
  • 回退会打断当前正在运行的回合——确保回退的安全执行。