YIYuNCU/dsh-rewind ↗★ 0

dsh-rewind

Per-turn file rewind for DeepSeek Harness. Stores file-tool before-images outside the worktree and forks the conversation instead of truncating it. 适合需要在代码调试中快速回滚文件状态和对话历史的开发者。

Package
dsh-rewind
Compatibility
Unverified
Harness peer range
>=0.1.0-rc.8 <0.2.0 || ^0.1.5-rc.1 || 0.2.0-rc.2
Cordis peer range
^4.0.1
Version
0.1.0
License
BSD-3-Clause
Last updated
Oct 14, 2026

Other repositories with this package name

Install

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

使用

每个用户回合末尾有 回退这一轮。打开后可以选择:

操作结果
回退代码和对话恢复文件,并另开一个会话
只回退代码只恢复文件,当前会话不动
只回退对话只另开会话,文件保持现状

没有可回退的文件时,仍然可以只回退对话。文件恢复失败时不会另开会话。同一工作区还有代理在跑时,默认不允许改文件。

设置在插件详情页,不在客户端的设置面板里。改完立即生效。