dsh-session-delete
Run the following command in DeepSeek Harness:
dsh plugin install akira399/dsh-session-delete
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install akira399/dsh-session-delete in the DeepSeek Harness terminal to install this plugin; the source repository is https://github.com/akira399/dsh-session-delete , and restart dsh web after installation.
About this plugin
The official DSH client can only archive a session, which hides it from the sidebar while leaving the log files sitting on disk, fully retrievable through search or export. If you need a conversation to be truly gone from the machine, archiving is not enough. dsh-session-delete fills that gap by adding a Delete session entry right below Archive in each conversation row's menu. Once you confirm, the session log directory is recursively removed from the file system with no way to recover it.
The deletion pipeline handles several edge cases that commonly trip people up. If the target session is still actively running, the plugin first cancels the in-progress turn and then detaches the in-memory representation through the official store, preventing memory-level logs from resurrecting data after the files are gone. After deletion, the workspace seat and the global archive set in workspace.json are cleaned up in one pass, and the sidebar row disappears instantly without a page refresh. On the security side, requests are restricted to localhost, session IDs are strictly validated to block path traversal, and cross-session shared attachments are left intact. The plugin ships with zero third-party runtime dependencies, relying solely on Node built-ins and services injected by DSH.
It is a natural fit for three scenarios: clearing out experimental or throwaway conversations to reclaim disk space, removing sessions that contain sensitive content so the logs are genuinely erased from the machine, or any workflow where archiving (which is essentially hiding) does not satisfy the need for a permanent, irrecoverable removal.
Use Cases
- Clean up experimental or throwaway conversations to reclaim disk space
- Remove sessions with sensitive content to ensure logs are permanently erased
- When archiving (hiding) is not enough and true permanent deletion is required
Best For
- DSH users who prioritize privacy and want to fully erase sensitive records
- Developers managing many sessions who need to reclaim disk space regularly
- DSH Web users who need true physical deletion beyond archiving
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.