dsh-rollback
TRAE-style conversation rollback — per-turn checkpoints (10-turn sliding window) roll back touched files and truncate model context in place, keeping the same session id. Human-initiated only: a /rollback command or a per-turn Web button (works on interrupted turns too), with a preview listing each affected file and its action — restore, recover, delete, or skip.
TRAE 式「回退到本轮对话发起前」插件:按轮次建立检查点(10 轮滑动窗口),同时回滚工作区文件与原位截断模型上下文,保持同一 session id。回退只能由人发起:/rollback 命令或每轮的 Web 回退按钮(被中断的轮次也可用),弹窗逐条列出受影响文件及其动作(恢复/找回/删除/跳过)。
How to install
dsh plugin add @domitor-syh/dsh-rollback About
🌐 语言 / Language: **中文** · English dsh-rollback · TRAE 式「回退」插件 为 DeepSeek Harness(DSH)Web 端提供一个 TRAE 式「回退到本轮对话发起前」的插件:按轮次建立检查点,一键把【工作区文件】和【模型上下文】同时回退到某一轮发起之前,保持同一会话 id。 是什么 dsh-rollback 忠实实现了 TRAE 回退功能的核心设计思想——**对话状态与文件状态对齐回滚**: 模型行为由「对话历史」和「工作区文件」共同决定,因此回退必须**同时**回滚两者,否则会出现幻觉延续或状态冲突。 回退 = 恢复该轮及之后触碰过的文件(修改→写回原内容,新建→删除)+ 原位截断对话历史(同一 session id,模型不再看到被截断的内容)。 功能特性 | 能力 | 说明 | | --- | --- | | 按轮次检查点 | 每轮发起前建立检查点,只记录该轮实际触碰的文件(Copy-before-Write 前置内容),非全量快照 | | 10 轮滑动窗口 | 借鉴 TRAE「仅最近 10 轮」,超出窗口的检查点被丢弃 | | 文件回退 | 修改过的文件写回本轮前内容;本轮新建的文件被删除;无法恢复的文件单独报告跳过 | | 原位截断 | 用 user/message 表层 replace(compaction 同…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-09-24
- Created
- 2026-09-09
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- conversation-rollback, deepseek-harness, dsh, dsh-plugin, dsh-plugins, dsh-rollback, rollback
Related plugins
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
Inline-edit and recall your own user messages in dsh web — lazily and seamlessly, with a version pager and per-session draft persistence.
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.
dsh-nested-followups
sluminositys/dsh-nested-followups
Keep branching from any completed answer at any depth while the main session stays untouched.
dsh-session-sync
PerryLink/dsh-session-sync
Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.