Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

DeepSeek Harness Rewind Plugin: Recover a Deleted File and Undo the Rewind

说明与用途

dsh‑filesnap 插件可在 DeepSeek Harness 中恢复已删除文件并回滚对话,并可通过 redo 命令撤销错误的 rewind。

问题

A coding agent deletes a needed file and the conversation must be restored to a prior state without losing the original dialogue.

结果

The plugin restores deleted files and conversation state, and allows reversing an incorrect rewind, all without a Git repository.

工作流

  • Install dsh-filesnap via dsh plugin --profile web add dsh-filesnap and restart the profile.
  • Create a file, edit it, then delete it in a disposable workspace.
  • Run /rewind or /rewind <turn> to restore the workspace to a captured point before the deletion.
  • Verify the file exists and contains the expected text.
  • If the checkpoint was too early, run /redo in the child conversation to revert the rewind and return to the original conversation state.
  • Check both the file contents and the active conversation after each step.

证据

FileSnap needs an earlier capture to recover that version. Installing it after a deletion cannot recover a historical state it never captured.

来源

Redo reverses the rewind using the rescue state recorded before restoration. It returns the original conversation as the continuation target.

来源

  • 记录日期: 2026-09-15T17:30:22.481Z