AI Agent Hub
Back to plugins
🖥️

plugin-session-delete

Client Updated 2026.08.18

Run the following command in DeepSeek Harness:

dsh plugin install cynch18/plugin-session-delete

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install cynch18/plugin-session-delete in your terminal to install; the source is available at https://github.com/cynch18/plugin-session-delete

About this plugin

DSH sessions can be renamed, forked, or archived, but truly erasing one means digging into the .dsh directory or hunting through Settings for a delete panel. This plugin brings deletion right back to where you look at sessions: a 🗑 button appears in the sidebar header. Click it, tick what you want gone, confirm, and the log files, projection cache, and workspace bookkeeping are all permanently removed. Running and current sessions are excluded automatically.

What makes it distinctive is the self-healing mechanism. The plugin operates through a small sidebar patch; when DSH upgrades and the patch is overwritten, the plugin detects the gap on the next page load, re-applies the patch, and refreshes the UI. The user never notices. Only if the auto-repair itself fails does a warning appear at the bottom of the sidebar. Even in that worst case, the Settings delete panel remains fully functional.

Built for DSH users who generate many sessions and want a quick, visible cleanup action without diving into directories or settings panels. The API trusts only local loopback requests and returns 403 when started with a remote host flag, keeping the security boundary explicit.

Use Cases

  • Sessions pile up and you need a quick bulk-permanent-delete without digging into .dsh
  • Clearing out stale sessions so archived files stop eating disk space
  • Worried the delete button disappears after a DSH upgrade, but self-healing keeps it alive

Best For

  • Heavy DSH users who accumulate many sessions over time
  • Users who prefer a one-click sidebar action over navigating into Settings
  • Disk-space-conscious users who clean up sessions on a regular schedule