AI Agent Hub
Back to plugins
🖥️

dsh-archive-manager

Client Updated 2026.08.14

Run the following command in DeepSeek Harness:

dsh plugin install zimixvx/dsh-archive-manager

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

Run dsh plugin install zimixvx/dsh-archive-manager in DeepSeek Harness to install the plugin; the source is available at https://github.com/zimixvx/dsh-archive-manager .

About this plugin

In the DeepSeek Harness web interface, the sidebar gradually fills with archived sessions. Archiving is merely a registry flag, however; the JSONL logs and session-local files on disk continue to occupy space. dsh-archive-manager turns the cleanup of those sessions from a manual filesystem hunt into a single click: a new sidebar footer action opens a modal listing every archived session that still has a summary (title, working directory, last-updated time), and one press of the trash icon followed by an explicit second confirmation permanently removes the session directory.

The deletion targets only the session directory under $DSH_HOME/sessions, removing the JSONL log and any session-local files inside it. The workspace registry, archived markers, projection cache, and content-addressed attachments in the shared store are all left completely untouched. Uninstalling the plugin simply means removing it from the bundle list; no residual state is written behind.

On the safety side, the backend endpoint accepts only IDs present in workspaceRegistry.archivedSessionIds, returns HTTP 409 for live sessions, and requires the persistence backend to advertise supportsRawArtifacts with a resolvable path, otherwise answering 501. This plugin is ideal for power users who have accumulated a large number of archived sessions in the web UI and want a safe, confirmed-before-deletion way to reclaim disk space without modifying the DSH core installation or any profile configuration.

Use Cases

  • The sidebar has accumulated many archived sessions and you want to reclaim disk space in bulk
  • Safely delete specific session directories without affecting the workspace registry or shared attachments
  • Avoid manually navigating into the sessions directory to find and delete JSONL files one by one

Best For

  • Users running DeepSeek Harness via the web UI with a large number of archived sessions
  • Intermediate users who prefer GUI operations over command-line tools for managing local session files
  • Users who value data safety and require explicit double confirmation before any destructive action