Preface¶
The official implementation of DeepSeek Harness (DSH) primarily provides session archiving capabilities and lacks a direct method to delete sessions. The documentation for dsh-session-persistence explicitly states “No deletion or retention API”. As a DSH plugin, dsh-session-delete-ui fills this gap by adding a “Delete Session” option to the “⋯” menu on the session row in the sidebar. It integrates disk cleanup with workspace record purging within a confirmation dialog.
Core Features¶
- Adds a “Delete Session” item to the session row “⋯” menu (order 500).
- Permanently deletes local log directories, projection caches, and workspace records.
- The confirmation dialog displays an irreversible warning, the count of cascading subagents, and the disk space occupied.
- Performs active work checks; if work is active, offers a “Stop and Delete” option.
- Cascading deletion for subagent sessions (origin: subagent); forked sessions remain unaffected.
Installation¶
This plugin is installed via a bundle. The target directory must be specified as an absolute path:
Settings → Plugins → Install bundle, enter the absolute path to this directory as the target: D:\path\to\dsh-session-delete-ui
Usage¶
- Select “Delete Session” from the “⋯” menu on the session row.
- View the list of active tasks and select “Stop and Delete”.
Notes¶
- There is no recycle bin; deletion is irreversible.
- Only cleans up files and records relevant to this plugin; does not clean up third-party plugin ledgers.
- Maximum cascading depth is limited to 6 levels.
- Requires restarting DSH if the Host side is modified.
- Process may still hold memory instances after deletion, potentially resulting in “ghost rows”.
Ecosystem Information¶
- Repository: https://github.com/ant404/dsh-session-delete-ui
- Category: Client
- License: MIT