- Home
- Plugins
- Sessions & Messages
- dsh-retry
dsh-retry
tyronexie/dsh-retry
Retry or edit any earlier user message in place, restoring images and optionally workspace files.
Install
dsh plugin --profile web add github:tyronexie/dsh-retryREADME
dsh-retry
A DeepSeek Harness plugin: one-click retry or edit-and-resend for any earlier user message.
Rewinds to that message (images restored too); ⟳ resends it as-is automatically, ✏ brings the original text back to the composer for editing — Codex / Claude Code style message-level retry.
English | 中文
Features
Every user message row carries two quick actions:
- ⟳ Retry from here — one click rewinds to that message and resends it as-is: everything after the target is withdrawn (model context and UI), the original text and images return to the composer, and the message is sent again. No dialogs.
- ✏ Edit and resend — rewinds to that message, puts the original text and images back into the composer, and focuses it; edit and send yourself.
Advanced: the /rewind (alias /undo) command keeps the full rewind flow — optionally restoring workspace files changed by DSH's file-editing tools (Claude Code checkpoint semantics).
At a glance
| Capability | Description |
|---|---|
| One-click retry | Rewind + image restore + auto-resend in a single click |
| Edit in place | Rewind + composer refill; you edit and send |
| Images survive | Withdrawn images are fully restored to the composer |
| In-place rewind | Same window, no forks, no leftover copies |
| File restore | /rewind can also restore workspace file changes |
| Safety model | Session log is append-only, auditable, never rewritten |
Preview
The actions row of every user message: copy · ⟳ retry from here · ✏ edit and resend


Install
CLI:
dsh plugin --profile <name> add dsh-retry
GUI: Plugins page → Add plugin → enter dsh-retry → Install.
Requires DSH >=0.2.2-rc.1 <0.3.0-0.
Usage
- Find the user message to retry.
- Click ⟳ to resend as-is; or ✏ to edit it in the composer first.
- To rewind files along with the conversation, use
/rewindand pick "Rewind conversation and files".
How it works
Conversation rewind follows dsh-rewind's "mask, never delete" design: a standard marker is appended to the session log, withdrawing everything after the target from both context and UI, while the log stays append-only and auditable. File restore is driven by lightweight local checkpoints that track only DSH file-edit changes.
Snapshot management
File checkpoints live under <dsh home>/rewind-snapshots/, keeping the latest 100 checkpoints per session. Turn off "Snapshot backups" in the plugin's settings card if you don't need file restore. See upstream docs: Snapshot auto cleanup.
Credits
Built on SiriLee/dsh-rewind (MIT) — the rewind engine and checkpoint mechanism come from upstream; this repo adds the message-level retry/edit interactions. Upstream continues to be maintained independently; give the original a star.
License
Related plugins
billion-context
ranxianglei/billion-context
dsh-web-ui (dsh-chat-recovery)
zhu1090093659/dsh-web-ui
dsh-synapse
liangmianya/dsh-synapse
EduWork (dsh-message-edit)
ecnu/eduwork