AI Agent Hub
Back to plugins
🖥️

dsh-session-delete

Client Updated 2026.08.18

Run the following command in DeepSeek Harness:

dsh plugin install yhPrime/dsh-session-delete

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

Run dsh plugin install yhPrime/dsh-session-delete in your terminal to install this plugin; the source is available at https://github.com/yhPrime/dsh-session-delete and it takes effect after restarting the Web client.

About this plugin

Deleting a session in DeepSeek Harness Web usually means navigating to the sidebar, finding the right conversation, clicking the ellipsis menu, and choosing delete. The catch: that sidebar row menu is hardcoded by the product and exposes no slots for third-party plugins, so there is no safe point of attachment for an add-on. dsh-session-delete closes that gap by placing a single red trash-can button in the officially extensible conversation.session.header.utilities slot, right next to the Session log export button, without obscuring or replacing any native interface.

Clicking the icon triggers a confirmation dialog that follows the current UI language. Upon confirmation it calls the official ctx.workspaces.archiveSession client API: the session is persisted as archived, removed from the sidebar list instantly, and—if it was the active session—the view resets to a blank new-conversation state. A brief "Deleting…" loading indicator keeps the action transparent, and any failure surfaces a clear error message.

The entire plugin runs in the browser, writes nothing to the host side, and disappears completely on uninstall. It is a good fit for DeepSeek Harness users who create sessions frequently and want a quick, safe, one-click way to clean up old conversations without touching host code or risking UI conflicts.

Use Cases

  • Delete the current session directly from the header without navigating the sidebar
  • Quickly clean up old conversations when creating sessions frequently
  • Access a visual delete entry in the session header to shorten the action path

Best For

  • DeepSeek Harness users who frequently create sessions and need quick cleanup
  • Developers enhancing the web UI without modifying host-side code
  • Users who value UX consistency and prefer progressive-disclosure interactions