dsh-command-delete
DSH plugin: slash commands to delete sessions and workspaces (projects)
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 18, 2026
- Updated
- Aug 18, 2026
Introduction
dsh-command-delete
DSH commands for removing a project registration and deleting a persisted session.
Web UI
The Web bundle adds a trash icon in the sidebar footer. It opens a management panel with project and session lists. Every destructive action has a confirmation dialog.
Project deletion removes only the DSH workspace registration; the directory and session logs remain. Session deletion permanently removes the persisted session log and refuses live/open sessions.
Commands
/delete-project <workspaceId>
/delete-workspace <workspaceId>
/delete-session <sessionId>
/delete-workspace is an alias for /delete-project.
Project deletion uses DSH's workspace registry. It removes only the DSH project/workspace registration. The project directory and all session logs remain on disk.
Session deletion removes the persisted JSONL session directory. It refuses to remove a session that is still owned by a live Agent. The current DSH release does not expose a public session-delete lifecycle, so live/open sessions are intentionally not deleted by this plugin.
Install from this checkout
From the directory that contains this package:
dsh plugin --profile default add .
Use the profile name you normally run with instead of default when needed. Restart DSH after installing the bundle.
With no id, each command prints the available IDs:
/delete-project
/delete-session