23swccp/dsh-undo

DeepSeek Harness (dsh) plugin: conversation rollback via Shadow Git snapshots + archive task management (resto

Conversation-undo for DeepSeek Harness: a single /undo rolls the workspace files and the conversation together back to before the latest completed message. Rolled-back sessions land in Settings → Archive Tasks (view / restore / permanent delete / delete all), and a 'revoke rollback' strip above the composer fully restores a mistake. Four trigger points: a rollback icon on the qualified user message, the session-header rollback button, the /undo slash command, and the composer strip. File rollback uses a plugin-private Shadow Git snapshot (own GIT_DIR, never your .git); the conversation is forked into a new Session whose seed is the complete event prefix before the target message.

Coding & Development ★ 2 updated 2026-08-24 ⚠️ needs adapt
View on GitHub ↗

Install

dsh plugin --profile web add dsh-undo-plugin

npm package dsh-undo-plugin 0.1.0-rc.8 (registry-verified 2026-08-28): dsh plugin --profile web add dsh-undo-plugin — the entry package is published on npm and the seven internal @dsh-undo/ packages install automatically as dependencies. Node.js ^22.19 || >=24 and dsh 0.1.0-rc.6/7/8. Installable bundle: standalone workspace, no dsh patches, uses only public @deepseek-ai/dsh- APIs.

Compatibility

DeepSeek Harness 0.1.0-rc.6/rc.7/rc.8. Node.js ^22.19 || >=24. Web profile (browser half needs the dsh-web-app surface).

Details

Recent updates

one-command /undo rolls workspace + conversation; shadow Git file snapshots; session forking; archive + revoke-rollback; four trigger points.

FAQ

What does /undo roll back?
Both the workspace files (from a plugin-private Shadow Git snapshot, never your .git) and the conversation — forked into a new Session seeded with the event prefix before the target message.
Can I undo a rollback?
Yes — the 'revoke rollback' strip above the composer fully restores it; rolled-back sessions land in Settings → Archive Tasks.
Does it patch dsh?
No — it ships as an installable bundle that never patches the dsh codebase and uses only the public @deepseek-ai/dsh-* APIs published on npm.

Alternatives

lire1131/dsh-undo-plugin · lire1131/dsh-undo-savepoint · dingyi222666/dsh-session-notification

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins