Introduction

The DeepSeek Harness plugin system emphasizes “everything is a plugin.” If archived sessions lack a unified entry point, viewing, reopening, and cleanup operations become scattered. dsh-archived-panel provides an “Archived” panel in the sidebar: viewing and reopening does not require modifying DSH; unarchiving and permanent deletion require Host support or applying the corresponding patch.

What is it

dsh-archived-panel is a DeepSeek Harness plugin maintained by chensl139-ok, licensed under MIT. Its purpose is to: view and open archived sessions in the sidebar, and unarchive or permanently delete them when the Host supports it.

The plugin is distributed as a DSH bundle: cordis.patch.yml mounts Host entries, and browser-side functionality is loaded by the dsh.client bundle.

Feature Scope

  • Provides an “Archived” panel in the sidebar, displaying the title, workspace, and relative time of archived sessions.
  • Click or select a session to reopen it.
  • When the Host supports unarchiveSession, unarchiving is possible.
  • When the Host supports deleteSession, permanently deleting archived sessions is possible; a confirmation dialog is shown before deletion.
  • When the Host has not installed the patch, corresponding action buttons are hidden automatically; viewing and opening functions are not affected.

Installation to web profile

Compatibility is as follows:

Component Compatibility
DeepSeek Harness >=0.1.0-rc.7 <0.2.0
Node.js ^22.19.0 || >=24.0.0
pnpm 11; git installation requires allowing the prepare script

Install from GitHub:

dsh plugin --profile web add github:chensl139-ok/dsh-archived-panel

Install from a local checkout to the web profile:

dsh plugin --profile web add ./dsh-archived-panel
dsh --profile web

If pnpm version 10 or higher blocks dependency build scripts, add the corresponding package to the profile’s pnpm-workspace.yaml:

allowBuilds:
  dsh-archived-panel: true

Then run the installation command again.

Integration Method

dsh.client declares that it will inject @deepseek-ai/dsh-client-runtime and @deepseek-ai/dsh-client-ui-slots, with platform set to web. cordis.patch.yml is responsible for mounting Host entries, and browser-side functionality is loaded by the dsh.client bundle.

Enabling Unarchiving

Viewing and opening functions do not require modifying DSH. To enable unarchiving, the unarchiveSession patch must be applied to a matching DeepSeek Harness 0.1.0-rc.7 source checkout, and the host and client must be rebuilt.

Execute the following in the deepseek-harness repository root directory:

git apply --check /path/to/dsh-archived-panel/patches/unarchiveSession.diff
git apply --check /path/to/dsh-archived-panel/patches/unarchiveSession.tests.diff
git apply /path/to/dsh-archived-panel/patches/unarchiveSession.diff
git apply /path/to/dsh-archived-panel/patches/unarchiveSession.tests.diff

pnpm run build:lib:host
pnpm run build:lib:client

After the steps above, the unarchive operation in the panel will only be available once unarchiveSession is exposed on the Host side.

Enabling Deletion

Deletion is a destructive operation: it will permanently delete session persistence logs and remove the session from the workspace and archive set; ongoing sessions will be rejected and return a session-live error.

To enable deletion, the delete patch must be applied to a DeepSeek Harness 0.1.0-rc.7 source checkout that already has the unarchive patch applied:

git apply --check /path/to/dsh-archived-panel/patches/deleteSession.diff
git apply --check /path/to/dsh-archived-panel/patches/deleteSession.tests.diff
git apply /path/to/dsh-archived-panel/patches/deleteSession.diff
git apply /path/to/dsh-archived-panel/patches/deleteSession.tests.diff

pnpm run build:lib:host
pnpm run build:lib:client

Local Development

You can execute the following commands for local development:

pnpm install
pnpm run build
pnpm run pack:check

Applicable Scenarios and Notes

This plugin is suitable for DSH usage scenarios that require centralized viewing and recovery of archived sessions:

  1. Only need to view and open: Install the plugin, no need to modify DSH.
  2. Need to unarchive: Apply the unarchiveSession patch and build.
  3. Need permanent deletion: First have the unarchive patch, then apply the delete patch and build.
  4. Deletion operations remove persistence logs; be sure to confirm the session is no longer needed before executing.

The plugin source code and license should be checked before installation. The plugin runs under the permissions of the current dsh process. The directory introduced here is the community plugin directory and does not represent the official app store of DeepSeek or Hypothesis.

Conclusion

The value of dsh-archived-panel is relatively focused: putting archived sessions in the sidebar makes viewing and opening ready to use out of the box; unarchiving and deletion are enabled on demand, while retaining confirmation dialogs and live session protection.