dsh-message-revert: Revert Sent Messages and Restore Workspace in DSH Conversations
dsh-message-revert is a DSH client plugin (MIT, v1.1.1) maintained by imcaibaicai that adds a revert button to every sent user message. Upon confirmation, it supports single-step rollback, safe forking, or resetting the first screen; it refills text and attachments into the input box and restores workspace files based on a snapshot captured before the write/edit operation. The /dsh-revert/rpc endpoint enforces same-origin validation. Install via `dsh plugin --profile web add -w dsh-message-revert`; a DSH restart is required after installation. The plugin only covers tool-side changes made post-installation and depends on the official DOM and session APIs.
Read More