dsh-rollback
TRAE-style conversation rollback — per-turn checkpoints (10-turn sliding window) restore both touched files and truncate model context in place, keeping the same session id. Triggered via model tool, /rollback command, or a per-turn Web button with affected-file diff preview.
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-14
- Created
- 2026-09-09
Links
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
deja-vu
vshulcz/deja-vu
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, including months of sessions from before you installed it. No LLM, no embeddings, one local Go binary.
dsh-turn-rewind
Anionex/dsh-turn-rewind
Rewind conversation and workspace state, powered by a persistent Change Ledger.
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-message-edit
Moeblack/dsh-message-edit
Branch-based message editing, reroll, retry, and a version timeline.