Preface¶
During daily development in DeepSeek Harness (DSH), the sidebar often accumulates a large number of historical sessions. The official default only allows archiving sessions (hiding them from the list while keeping logs on disk). Accessing archived entries requires digging through “View Options,” making it inconvenient to restore or thoroughly clean them up. If you wish to truly delete session logs from the menu and manage archived sessions centrally in a dedicated panel, chymzxs/dsh-archive-workbench (Archive Workbench) is a client-side plugin tailored for these requirements.
What is this¶
dsh-archive-workbench is published by the maintainer CHYMZXS and categorized as a client-side plugin in the SkillHub community directory. The directory page marks the current version as v1.1.2 (updated on 2026-10-22). The plugin registers deletion logic on the Host side and extends the sidebar menu and main area panel in the Web client, without modifying the DSH core source code.
In short: it provides permanent deletion in the session “…” menu and offers an Archived Sessions Panel, allowing one-click restoration or re-deletion of archived sessions.
Core Features¶
The following capabilities have been verified by cross-referencing the SkillHub plugin details and the repository README.
Sidebar: Permanent Session Deletion¶
A Delete Session option is added to the bottom of the “…” menu for any session row (after “Copy Session ID”, with a divider line). Upon confirmation, it will:
- Delete the log directory for that session located at
~/.dsh/sessions/<project>/<sessionID>/; - Clean up the projection cache at
~/.dsh/storages/session_projcache/sessions/<sessionID>.json; - Remove the ID from archive/pinned sets and the workspace session order;
- Notify the frontend to remove the row immediately; if the deleted session is currently open, the main area will revert to the new session page.
Archived sessions can also be deleted from the menu.
Archived Sessions Panel¶
An archive entry is added to the icon bar at the bottom of the sidebar, displaying a list of Archived Sessions in the main area. Each row shows the title, session ID, and associated workspace, providing Restore Archive (calling the official unarchiveSession) and Delete (reusing the same confirmation dialog) options. The list is sorted with the most recently archived at the top; when there are more than 6 archived items, you can search by title, ID, path, or workspace.
Host Configuration (Optional)¶
The plugin provides a configuration schema on the Host side, all with default values. Common items include: idleTimeoutMs (default 8000), settleAttempts (default 6), settleDelayMs (default 250), maxBodyBytes (default 4096), sessionsRoot (if left empty, uses DSH_HOME/sessions or ~/.dsh/sessions). These control the waiting and re-check behavior when deleting lingering sessions.
Installation and Activation¶
SkillHub generates an installation plan with a precise commit for the plugin (installability: verified). If you are using the web profile, you can execute the following command based on the directory page’s installation plan:
dsh plugin --profile web add github:chymzxs/dsh-archive-workbench#8760b15daf68142cde9e54d2dabf732fc2e3de82
After installation, restart as suggested by the installation plan:
dsh --profile web
The README also states: you can search for dsh-archive-workbench in DSH Settings → Plugins to install it; or use dsh plugin add dsh-archive-workbench / specify the GitHub repository address. Since the plugin contains Host-side code, a restart of DSH is required after the first installation to take effect.
The package.json declares the DSH engine range as >=0.2.1-0 <0.3.0, and Node >=20 is required. The license is MIT.
Typical Usage¶
After the installation and restart mentioned above, follow these steps:
- Clean up a single session: Select “Delete Session” from the “…” menu of the target session in the sidebar, and confirm in the pop-up. This applies to any session in the archived or active lists.
- Bulk manage archives: Click the archive icon at the bottom of the sidebar to open the “Archived Sessions” panel; click “Restore Archive” for sessions you want to keep, and “Delete” for those you are certain you no longer need.
- Search: When there are more than 6 archived items, use the search box at the top of the panel to filter by title, session ID, or workspace.
If deleting a session that is still resident in memory during the current run, the plugin will first attempt archiveSession({ stopActivity: true }) and wait for it to become idle before deleting the file; if the log is still being rebuilt, it will error out and roll back the archive state. The README suggests: for sessions that were “just used,” restarting the app before deleting is safer.
Use Cases and Notes¶
Who it is for: Developers who run agents in DSH long-term, have a high volume of sessions, and need to truly free up disk space rather than just hide history.
Permissions & Security: The plugin runs with the current dsh process permissions, and deletion operations write to the local session directory and storage. Before installation, verify the source code, dsh.bundle.patch (cordis.patch.yml), and the MIT license on the GitHub repository. Although the deletion route goes through the Host’s connection.requestRejection and JSON validation, it still irreversibly deletes session logs.
Other Limitations (from README): Shared attachments in ~/.dsh/attachments/ are not deleted along with the session; sub-agent sessions do not appear in the sidebar and cannot be deleted via the UI. The GitHub star count is 0 (based on SkillHub sync data).
Further Reading¶
The Archive Workbench consolidates “disk deletion” and “archive management” into two entry points in the sidebar, filling the gap in the official archive model where direct operations were inconvenient. For more instructions and screenshots, refer to the community directory and repository:
- SkillHub Directory Page: https://www.skillhub.cn/plugins/CHYMZXS/dsh-archive-workbench
- GitHub: https://github.com/CHYMZXS/dsh-archive-workbench
SkillHub is an independent community site and has no official affiliation with DeepSeek / High-Flyer. The DSH ecosystem itself follows an “everything is a plugin” extension approach, allowing you to select client-side plugins from the directory as needed.