Jaylor-Wang/dsh-tool-session-delete
A permanent Delete session action that actually makes the row disappear — with a dialog that reports the log size and live work first.
Adds the irreversible counterpart to DSH's reversible Archive action. Before you confirm, the modal reports whether the session is still open on this machine (it cannot be reopened afterwards), the log size about to be removed, the running turns, subagents, background jobs and reminders bound to it, and how many reminders go with it. Confirming stops the work, unlinks the session directory and projection checkpoint, and releases the id from every registry that would otherwise keep listing it. The README explains why this is not just deleting a directory: the host's session corpus is the union of persistence and live state, so a naive delete makes the row come back on the next refresh, which is why deleting several sessions in a row used to resurrect earlier ones and why archived rows got stuck in Archived forever. Release therefore detaches agents first and then sessions, also unarchives, unpins and detaches the session from its workspace, retries the log delete with progressive backoff to survive Windows file locks, and keeps a client-side retired set so rows stay retired until the host agrees.
Install
dsh plugin --profile web add dsh-tool-session-deleteInstalls from npm. The row appears in the per-session menu in the left sidebar, after Pin / Rename / Fork / Archive. There is no undo and no trash folder, and the confirmation dialog says so before you confirm.
Compatibility
DSH with the sidebar session menu and the host session-teardown API this plugin hooks. Confirming stops the session's work first — running turns, subagents, background jobs and reminders bound to that session are reported in the dialog and are removed with it.
Details
- Repo: Jaylor-Wang/dsh-tool-session-delete
- Category: Sessions & Messages
- Stars: 1
- Version: 1.2.0 (npm)
Alternatives
mathangler/dsh-archived-session-delete · wsnmm3/dsh-session-keeper · JayYuen666/dsh-session-rescue