AI Agent Hub
Back to plugins
⚙️

dsh-rollback-withdraw

Workflow Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install dyhyfjn/dsh-rollback-withdraw

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run the command dsh plugin install dyhyfjn/dsh-rollback-withdraw, or visit its source code repository at https://github.com/dyhyfjn/dsh-rollback-withdraw.

About this plugin

When developing workflows in DeepSeek Harness Web, code generation often requires trial and error. If the AI generates incorrect code or responses, manual rollback is both time-consuming and frustrating. The dsh-rollback-withdraw plugin solves this by providing a simple 'undo' button for every completed conversation turn, allowing users to instantly restore their workspace to the previous state. Its core capability lies in automatically creating 'rollback points' at the end of each session. By clicking the undo icon next to a message, users can seamlessly restore their workspace code and reset the conversation history, including model memory and sub-agent trajectories. The plugin supports two efficient backend modes: the default Git mode (leveraging commits for version control) and the file snapshot mode (using hard links to save storage space), ensuring a smooth experience whether the underlying workspace is a Git repository or a local folder. This plugin is ideal for developers and workflow builders who want fine-grained control over AI interactions and safe experimentation with complex workflows. Its 'two-step confirmation' mechanism prevents accidental rollbacks, while deep integration with DSH sessions ensures that session branching and state remain consistent, making the post-rollback development experience seamless and efficient.

Use Cases

  • Correcting AI-generated code errors
  • Quickly rolling back the entire conversation context
  • Safely exploring multiple AI answer options

Best For

  • Software developers needing reliable code
  • Builders designing complex AI workflows
  • AI experimenters frequently needing to rollback context