AI Agent Hub
Back to plugins
dsh-session-delete preview

dsh-session-delete

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install pepsi-ai/dsh-session-delete

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

Run dsh plugin install pepsi-ai/dsh-session-delete (source: https://github.com/pepsi-ai/dsh-session-delete) in the DeepSeek Harness plugin manager, then restart the profile to apply.

About this plugin

One of the most frustrating gaps in the DeepSeek Harness web interface is the inability to truly delete a session: archiving merely hides the conversation, and once you edit the harness, out-of-sync or corrupted sessions become impossible to remove. dsh-session-delete steps in to close exactly that gap. It places a trash-can button at the top of each conversation and injects a Delete session entry into every sidebar row's menu. Clicking either opens a risk-consent dialog that requires you to tick I understand the consequences before the confirm button becomes active, so every deletion is a deliberate choice.

Once confirmed, the plugin follows a full cleanup chain: the session log, the projection cache, and the workspace accounting records are all removed through the active storageDomain, keeping in-memory state and on-disk data consistent. If the target session is still running, a warning appears first; if you proceed anyway, the session is stopped and then deleted, preventing partial-deletion artefacts from stranding a row under Ungrouped. The plugin also registers a workbench_session_delete tool, giving agents the ability to delete sessions mid-conversation and handing session-lifecycle control over to your automation flows.

If you work in the Harness web UI or any web-shell-based client, have built up a backlog of stale conversations, or want your agents to manage the session list autonomously, this is the lightweight patch you need. Restart your profile after installing and you are ready to go, with no extra configuration required.

Screenshots

Use Cases

  • Clear out stale or mistyped conversations piling up in the web sidebar
  • Remove corrupted or out-of-sync sessions created by harness edits
  • Let agents autonomously delete sessions they no longer need mid-conversation

Best For

  • Users working in the Harness web UI or any web-shell-based client
  • Users who need true deletion of session logs and caches rather than just archiving
  • Developers who want agents to manage session lifecycle end-to-end