fountunt/dsh-session-cleaner
Deletes DSH sessions from a running web runtime — files, live store and workspace records — without restarting dsh web.
Adds the missing session.delete path to the web runtime: it removes the session files, its rows in the live store and the workspace records, so the sidebar drops it immediately without a restart. A client half contributes the sidebar menu action and a host half performs the deletion and refresh.
Install
dsh plugin --profile web add dsh-session-cleanerThe npm line (the README also offers a github: form and a file: checkout form). Restart dsh web afterwards, because a running instance does not hot-load new bundles. After that a Delete session item sits at the bottom of the sidebar session row menu.
Compatibility
The current running conversation can never be deleted, and the menu item is greyed out while a session is running; sessions opened in the UI are stopped first and then deleted. The item is skipped entirely when the sidebar row title is ambiguous, which is the duplicate-title case. Deleted sessions can linger as stale rows until the next restart. This exists because the official web API offers only workspace.archiveSession, which hides a session rather than deleting it.
Details
- Repo: fountunt/dsh-session-cleaner
- Category: Sessions & Messages
- Stars: 7
- Version: 1.0.2 (npm)
Alternatives
wuxiangru915/dsh-session-manager · Motues/dsh-session-curator · vonaaron567/dsh-session-recycle