All plugins

DSH / BUNDLE / CLIENT-UI

@nianchu/dsh-rollback

v0.4.1ZhaoZeW / dsh-rollback31369a6dad

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

@nianchu/dsh-rollback

TRAE-style conversation rollback for DeepSeek Harness: per-turn checkpoints, file restore + in-place conversation truncation, a /rollback command, and a Web rollback button with an affected-file diff preview.

README / EN

Package documentation

Registry summary

TRAE-style conversation rollback for DeepSeek Harness: per-turn checkpoints, file restore + in-place conversation truncation, a /rollback command, and a Web rollback button with an affected-file diff preview.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **无法恢复的文件被跳过,而不是中止整次回退**:能恢复的照做、对话照样截断,跳过项在预览里就标着「跳过」,其记录保留以便下次重试。 - **超出保留范围的回退目标被拒绝**:检查点是 10 轮滑动窗口,更早的状态无法重建。 - **聊天轨迹仍保留已回退的消息**:日志 append-only 且表层 `replace` 只作用于模型上下文,界面隐藏由日志里的持久标记驱动。 - **模型会读到一行检查点文字**(约 34 token),词表由字符预算测试钉住。 - **shell 新建的文件、以及从未被文件工具碰过的文件不在回退范围**:插件只从 `write`/`edit` 的结果捕获改动,并在轮次边界复查已登记路径。 - **边界重扫的未变判定只比较 size + mtime**:同一尺寸、同一毫秒内的改写会被漏检(真实操作间隔远大于 1ms,风险极低)。 - **回退不可撤销**:执行即替换历史,不提供 redo。 - **新建文件删除与空目录清理走本地文件系统**:文件系统抽象层没有删除原语,因此仅对本地后端可靠。