AI Agent Hub
Back to plugins
🖥️

dsh-session-unarchive

Client Updated 2026.09.03

Run the following command in DeepSeek Harness:

dsh plugin install dylan121322/dsh-session-unarchive

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

Install this plugin in DeepSeek Harness by running the following command (source: https://github.com/dylan121322/dsh-session-unarchive): dsh plugin install dylan121322/dsh-session-unarchive

About this plugin

dsh's archive operation is one-way: once a session is archived, its id is written into the global store and disappears from every view, with no built-in way to bring it back. Archiving by accident or wanting to retrieve an old session later forces you to hand-edit ~/.dsh/storages/workspace.json — tedious and error-prone.

dsh-session-unarchive fills that gap. It adds an "Archived · n" button at the bottom of the sidebar (next to Settings). Clicking it opens a popover panel listing every archived session, with a title filter and a per-row Restore action. Restoring a session returns it to its original workspace position, and both the sidebar and the panel refresh instantly via dsh's native archived-sessions-changed event — no manual reload needed. The plugin ships with both zh-CN and en locales.

Under the hood, it uses a pure Cordis plugin architecture (host half + client half). The host side calls the workspace registry's runtime methods (enqueueOperation / requireState / setState) to remove the id from the archive set and persist the change. No file is ever written under the dsh install directory, so the plugin survives upgrades untouched. If a future release renames or drops those internal methods, the capability check fails and the endpoint returns a clear 500 instead of silently corrupting data.

Ideal for dsh Web GUI users who archive sessions regularly and want that operation to be reversible — no dsh source modifications required, just install and go.

Use Cases

  • Accidentally archived a session and want to bring it back
  • Multiple archived sessions pile up and need to filter and review
  • Prefer a UI button over hand-editing workspace.json to restore

Best For

  • Developers who manage sessions daily via dsh Web GUI
  • Users who want archiving to be reversible and fear losing sessions
  • Users who prefer plugin-based extensions over patching dsh source