dsh-rewind: Restore selected wheel file and continue in a new DSH session
dsh-rewind is a session rollback plugin for DSH, designed to implement file recovery and session continuation in non-Git workspaces. It utilizes SHA256 snapshot technology to recover file additions, deletions, modifications, and permission changes step-by-step. It allows continuing a conversation in a new session from a specific user message via `sessions.fork` or `create`, and supports rolling back parent sessions along the lineage chain. Installation requires executing the `dsh plugin` command and restarting the service. Users can perform rollback operations via the rollback button in the browser interface or the `/rewind` command in the terminal (supporting subcommands such as `list` and `dry-run`). By default, the plugin archives the original session to isolate risks, though this can be configured to retain the session. Its core advantage lies in its independence from Git status, making it suitable for non-version-controlled workspaces or script environments.
Read More@xsj/dsh-rewind: DSH Session Rewind to Arbitrary User Messages
@xsj/dsh-rewind is a DSH session rewind plugin maintained by XSJUSTC, released under the MIT license with no npm dependencies. This plugin allows users to reorganize input from any user message, truncating that message and its subsequent content from both the chat view and the model context, while preserving the append-only nature of the original session log. Its core features include: providing a rewind entry point in the user message action row, enabling immediate interruption of the model's ongoing thinking or output; automatically filling the truncated message text into the input box for editing, with a "cancel rewind" option available during this period to restore the original state; after sending, the rewind takes effect and the truncated content no longer enters the model context. The plugin ensures consistent hidden state across restarts on both the UI and model sides by recording hook/invoked events and replaying them after process restarts. Installation requires Nod
Read More