Introduction¶
When managing conversations in DeepSeek Harness (DSH), the official method only provides “Archive”: the session is hidden from navigation, but logs and caches remain on the local disk. Relying solely on archiving is insufficient when performing local cleanup, deleting sensitive sessions before switching machines, or simply wanting to avoid leaving archive clutter behind.
The community plugin dshx-session-delete (Maintainer: callaumyan-design, Category: Client) adds “Delete Conversation” to the “…” menu for each session in the sidebar. It provides a deletion interface on the host side that DSH itself lacks, clearing archived data from the disk. The following sections cover what it does, how to install and use it, and its behavior when deletion fails.
What is this¶
dshx-session-delete is a DSH client-side plugin: written in pure JavaScript with no build step required. It injects menu items into the workspace UI under the Web / Desktop profiles and registers POST /dshx-session-delete/delete. The host stops any residual activities and then permanently deletes the session log directory and projection cache.
The DSH ecosystem emphasizes “everything is a plugin”; plugin directories are displayed on community sites such as SkillHub, and are not officially affiliated with DeepSeek or Hyperion. Before installing, it is recommended to review the GitHub repository source code and MIT license yourself—the plugin runs with the permissions of the current dsh process.
Core Features¶
- Sidebar Access: Adds “Delete Conversation” to the ”…” menu of each session (supplementing the official feature which only offers archiving).
- Two-step Deletion Process (after user confirmation):
- First, it stops and archives the session via the official workspace API, removing it from navigation;
- Then, it requests
POST /dshx-session-delete/delete, where the host side cleans up and permanently deletes the log directory and projection cache.
- Safe Behavior on Failure: If step 2 fails, the session remains in the Archived state and can be recovered via “Show Archived.” There will be no intermediate state of being “half-deleted and unfindable.”
- Irrecoverable: Deletion is permanent, with no recycle bin (explicitly warned in the README).
Developed and used on DeepSeek Harness 0.2.0-rc.2 (desktop / web profile); the current version in package.json is 1.2.2.
Installation and Enablement¶
Choose a command based on the profile you are using (you must use the complete command from the documentation, including --profile):
# Web profile
dsh plugin --profile web add github:callaumyan-design/dshx-session-delete
# Desktop (Use the dsh command bundled with DSH Desktop; fully quit Desktop from the tray before installation)
dsh plugin --profile desktop add github:callaumyan-design/dshx-session-delete
Restart DSH after installation (marketplace metadata indicates requiresRestart: true).
Uninstallation:
dsh plugin --profile <profile> remove dshx-session-delete
Replace <profile> with web or desktop.
Typical Usage¶
No additional configuration files or environment variables are needed; simply install, restart, and operate via the UI.
- Find the session to be deleted in the sidebar and open the ”…” menu next to it.
- Select “Delete Conversation” and confirm in the dialog (please be aware that deletion is irrecoverable).
- The plugin first archives the session, then calls the host deletion interface; if the deletion interface fails, the session can still be found under “Show Archived”.
Host-side deletion is handled by the POST /dshx-session-delete/delete registered by the plugin. General users only need to operate via the menu and do not need to write HTTP requests manually.
Scenarios and Notes¶
Suitable for: Users who need to thoroughly remove a specific DSH conversation and its disk traces locally; it complements the default capability of “archiving only, not deleting from disk.”
Notes:
- Deletion is permanent; there is no recycle bin. Mistakes cannot be recovered through DSH.
- The plugin accesses the file system with the permissions of the
dshprocess in which it is installed; do not install untrusted plugins casually—review the source code first. - If step 2 fails, the data remains in the archived state; you can attempt deletion again or manually handle the archived session.
- The GitHub star count is 0 (as of the data capture time), which does not represent a conclusion on quality, but serves only as a reference for ecosystem scale.
Conclusion¶
dshx-session-delete uses a sidebar menu item and a host deletion endpoint to separate “hiding from the list” and “wiping from disk,” yet string them together into a reliable flow: archive first as a fallback, then delete permanently; if it fails, it remains in the archive where it can be recovered.
- Community Directory Page: https://www.skillhub.cn/plugins/callaumyan-design/dshx-session-delete
- Source Code & Documentation: https://github.com/callaumyan-design/dshx-session-delete