dsh-session-delete
Run the following command in DeepSeek Harness:
dsh plugin install Yicijiuhaobala/dsh-session-delete
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Yicijiuhaobala/dsh-session-delete to install (source: https://github.com/Yicijiuhaobala/dsh-session-delete), then add dsh-session-delete to the bundles array in ~/.dsh/profiles/web/package.json and restart dsh web.
About this plugin
DeepSeek Harness ships with three session actions out of the box: rename, fork, and archive. Archiving, however, only hides a session from the sidebar -- every file under the session directory remains on disk forever. As your session library grows, actually deleting a session means dropping into the file system to rm directories by hand, an exercise that most users would rather never have to do.
dsh-session-delete adds a permanent "Delete Session" option directly into the row-level menu, rendered in the same red danger style used for other destructive controls. You must confirm twice before anything is touched, and only then are all on-disk records for that session irreversibly removed. The plugin wraps this in several safety rails: running or currently open sessions are blocked on both the browser and the host side, the target path is validated to be an exact match of the session ID to rule out path traversal, and the HTTP route accepts only same-origin POST requests.
This is aimed at DSH power users whose session folders have accumulated dozens or hundreds of entries and who want a clean, unambiguous way to say "this is gone for good" instead of relying on archive as a proxy for deletion. If you are the kind of person who dislikes the idea of stale logs sitting silently on disk, or who wants the distinction between "I am hiding this" and "I am destroying this" to be explicit, this small plugin closes that gap.
Use Cases
- Tidying up stale historical sessions you no longer need
- Permanently removing leftover session log directories from disk
- Eliminating the repetitive manual rm workflow each cleanup cycle
Best For
- DSH users whose session libraries have grown over time
- Developers who care about disk hygiene and clean state
- Users who want archive and delete to be unambiguous operations
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.