AI Agent Hub
Back to plugins
🖥️

dsh-session-actions

Client Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install duanyunlun/dsh-session-actions

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

Run dsh plugin install duanyunlun/dsh-session-actions inside DeepSeek Harness to install the plugin; the source code is available at https://github.com/duanyunlun/dsh-session-actions

About this plugin

The DSH session list menu offers only rename, fork, and archive—and you must click the tiny ⋯ button at the end of each row to open it. No right-click, no double-click, no way to permanently delete a session. dsh-session-actions fills all four gaps without touching DSH source code: right-click anywhere on a session row to bring up the full menu, double-click to open the rename dialog directly, copy the session ID to the clipboard in one step, and—most importantly—permanently delete a session after a two-step confirmation, removing its disk data and stripping the row from the list immediately without re-fetching.\n\nDeletion goes deeper than hiding. The plugin scans each project bucket under sessions/ to locate the session directory, then clears workspace entries, logs, and metadata. Before broadcasting the official api-session/removed event, it fires conversation/deleted first so companion plugins (such as dsh-conversation-link) can drop their local references. Shared attachments, which are content-addressed by SHA-256, are deliberately left untouched to avoid collateral damage. If the session is already gone from disk but a stale row lingers in the list, the confirmation dialog tells you so and lets you remove the row in one click—no dead buttons, no silent failures.\n\nThis is for users who manage many sessions in the Web UI, want to reclaim disk space, or prefer right-click and double-click workflows. Sessions with a running agent turn are protected from deletion; open but idle sessions can be safely removed, with in-memory copies fully released on the next restart. Zero dependencies, MIT-licensed, no build step required.

Use Cases

  • Right-click or double-click to operate on sessions without hunting for the ⋯ button
  • Permanently delete unwanted sessions to free disk space and clear workspace references
  • Copy a session ID to the clipboard in one click for cross-app or cross-plugin use

Best For

  • DSH Web users who prefer right-click and double-click workflows
  • Administrators who need to reclaim disk space from stale sessions
  • Developers who reference session IDs across multiple plugins