dsh-session-cleaner

Adds Delete to the DSH sidebar session menu, moving the session — and its whole descendant tree when it has subagents — into a recycle bin that relocates the directory on disk (an atomic rename, never a copy), plus a sidebar bin panel with title and full-text search, workspace filter, sorting, per-session chat-log viewer, restore and permanent delete. Deleting also clears the workspace slot, the pin, the archive flag and the projection-cache row, so a restore puts the session back at its original sidebar position; permanent deletion also clears the schedules bound to it and removes the emptied project directory. Verified on DeepSeek Harness 0.2.1-rc.2, with a whole-profile residue scan coming back clean.

Overview

Adds Delete to the DSH sidebar session menu, moving the session — and its whole descendant tree when it has subagents — into a recycle bin that relocates the directory on disk (an atomic rename, never a copy), plus a sidebar bin panel with title and full-text search, workspace filter, sorting, per-session chat-log viewer, restore and permanent delete. Deleting also clears the workspace slot, the pin, the archive flag and the projection-cache row, so a restore puts the session back at its original sidebar position; permanent deletion also clears the schedules bound to it and removes the emptied project directory. Verified on DeepSeek Harness 0.2.1-rc.2, with a whole-profile residue scan coming back clean.

Installation

Install from GitHub

dsh plugin --profile web add github:jackxiao17/dsh-session-cleaner

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Incompatible in the tested version
Tested Harness version
0.2.2-rc.1
Tested plugin version
Not reported
Test date

Fallback version

Fallback test result
Untested
View dependency version ranges
engines.dsh
>=0.2.2-rc.2 <0.3.0