Introduction¶
DeepSeek Harness (DSH) comes with built-in session archiving: after archiving, data remains intact on the disk but is hidden from the active list. Native capabilities typically only offer filters like “hide archived / show all conversations / only archived.” Without a dedicated interface to combine “viewing, archiving, and cleaning,” archived sessions can easily accumulate on the disk over time.
Below is an introduction to the community plugin dsh-archive-manager (maintained by Joe-0202), categorized as a client plugin. It reuses the native DSH archiving mechanism and utilizes a dual-tab panel to place archiving, unarchiving, and permanent deletion side-by-side in the same row actions.
What is this¶
dsh-archive-manager is an archive management plugin for DeepSeek Harness: it manages both archived sessions and active sessions within a single panel. Each session row provides archiving operations and deletion entries side-by-side.
- Repository: github.com/Joe-0202/dsh-archive-manager
- Community Catalog: skillhub.cn plugin page
- License: MIT (see repository README)
- Current package version: 0.1.0; Node engine requirement:
>=22.13
The DSH ecosystem emphasizes “everything is a plugin”; directories like SkillHub are community sites and have no official affiliation with DeepSeek / High-Flyer.
Core Features¶
Sidebar Entry¶
An Archive Manager icon is added at the bottom of the sidebar (next to Settings). Clicking it opens the management panel.
Dual-Tab Panel¶
| Tab | Content | Per-row Actions |
|---|---|---|
| Archived | All archived sessions | [Unarchive] [Delete] |
| Active sessions | Current active sessions | [Archive] [Delete] |
Each record displays:
- Session title (“Untitled session” if no title)
- Session ID (monospace font)
- Bound workspace directory (clickable to open in file manager)
- Status badge:
session log/cache/data missing/running
Three Operations¶
- Archive: Calls the native DSH
archiveSession; the session is hidden from the active list, and data remains unchanged. - Unarchive: Calls the native
unarchiveSession; the session returns to the active list, as data was never moved. - Permanent delete: Deletes the session’s session log directory + projection cache (irrecoverable).
- The bound workspace directory will not be deleted (to prevent accidental deletion of project files).
- There is a confirmation dialog before the operation.
- The archive record enters a pending cleanup queue. The plugin automatically finalizes this on the next DSH startup, ensuring no “empty data sessions” appear in the active list after deletion.
Ghost Entries¶
If an archived list entry only has an archive record but the disk data has long been deleted, it is marked as data missing; executing a delete on this entry clears the residual record.
Agent Tools¶
Provides archive_list, archive_add, archive_remove, and archive_delete for natural language driving.
Installation and Activation¶
Replace <profile> with your profile name; the default for the desktop client is usually desktop. Restart DSH after installation, and the Archive Manager will appear at the bottom of the sidebar.
Method 1: Install from GitHub (Recommended in README)
dsh plugin --profile <profile> add github:Joe-0202/dsh-archive-manager
You can pin a version by adding a ref, for example:
dsh plugin --profile <profile> add github:Joe-0202/dsh-archive-manager#v0.1.0
Method 2: Install locally after downloading the Release source zip
- Download the corresponding Source code (zip) from Releases and extract it.
- Install using the absolute path of the extracted directory:
dsh plugin --profile <profile> add link:<absolute path of extracted directory>
Uninstall
dsh plugin --profile <profile> remove dsh-archive-manager
Uninstallation only removes the plugin itself; it will not delete any session data or archive records.
Typical Usage¶
- Click Archive Manager at the bottom of the sidebar to open the panel.
- In Active sessions, click [Archive] for sessions you do not plan to use temporarily; they will be hidden from the active list while data is preserved.
- Browse all archived sessions in Archived.
- Click [Unarchive] when you need to restore; the session returns to the active list.
- When you are certain you no longer need it, click [Delete] → confirm → permanent deletion (irrecoverable).
Use Cases and Notes¶
Who is it for
- Long-term DSH users with many archived sessions who want to review, restore, or clean up in a single interface.
- Developers who want to separate archiving from “complete session data deletion” and ensure project directories are not touched during deletion.
Security and Behavior (README Notes)
- Deletion is irrecoverable: a confirmation prompt appears first, followed by the deletion of the session log and projection cache.
- Archiving is zero-risk: it only writes a flag without moving or copying data; unarchiving is possible at any time.
- Session data paths are located by scanning
$DSH_HOME/sessions/*/and strictly matching the sessionId, reducing the risk of deleting the wrong directory. - Deletion is idempotent: if the target directory or cache already does not exist, it is treated as deleted without throwing an error.
Pre-installation Recommendations
The plugin runs with the permissions of the current DSH process. Before installing, please review the repository source code and the MIT license yourself to ensure it meets your environment and security requirements.
Conclusion¶
dsh-archive-manager does not reinvent archiving semantics; instead, it adds a dedicated UI on top of DSH’s native archiving: a dual-tab layout, inline archiving/unarchiving and deletion side-by-side, plus handling of post-deletion archive record cleanup and ghost entries. If you are troubled by the fact that “archiving can only be filtered, not managed,” you can follow the commands above to install and restart the client to try it out.
- Catalog Page: https://www.skillhub.cn/plugins/Joe-0202/dsh-archive-manager
- GitHub: https://github.com/Joe-0202/dsh-archive-manager