Introduction¶
DeepSeek Harness (DSH) adopts a plugin-based architecture, but the core ui-workspace package explicitly states: “No Session deletion — sessions can be archived but never deleted”. This causes the archive directory to accumulate over long-term use, occupying disk space and making cleanup difficult.
The dsh-desktop-archive-manager plugin fills this gap. Running on a standard desktop installation or any web-capable profile, it provides the ability to browse, restore, and permanently delete archived sessions without patching the Harness core.
Plugin Overview¶
- Name: dsh-desktop-archive-manager
- Maintainer: baom1ng
- Function Description: Provides an archive session management panel for DeepSeek Harness Desktop, supporting batch operations and thorough cleanup.
- License: MIT
Core Features¶
The plugin provides the following verified features:
* Manage Archived Sessions: View and manage all archived sessions in the Archives panel provided by the plugin.
* Browse, Restore, and Delete: Supports viewing logs, restoring sessions, and permanently deleting sessions.
* Cross-Platform Support: Compatible with DeepSeek Harness Desktop apps (0.2.0-rc.2) or any web-capable profiles.
* No Core Patching Required: Operates based on the existing architecture without modifying Harness core code.
* Batch Operations: Supports batch restoring or batch deleting multiple sessions.
* Filter and Select All: Supports filtering and selecting all archived sessions in the panel.
* Menu Deletion: Execute delete operations via menu items in the session list rows.
Installation and Activation¶
Install the plugin using the DSH command-line tool.
dsh plugin add dsh-desktop-archive-manager
After installation, the plugin takes effect automatically without requiring an application restart.
Typical Usage¶
- View Archives: After installing the plugin, a new Archives panel icon appears in the sidebar. Click it to browse archived session logs.
- Single Restore/Delete: In the session list, use the options in the session row menu to restore or permanently delete a session.
- Batch Processing: Use the filter and select-all functions within the panel to select multiple sessions, then perform batch restore or batch delete operations.
Use Cases and Notes¶
- Environment Requirements: Requires DeepSeek Harness Desktop application (version 0.2.0-rc.2) or any web-capable profile.
- Limitations: Currently only valid for “currently archived” session IDs. Attempts to delete unarchived sessions will be rejected.
- Runtime Status Check: If a session is running (has active workflows or Agent states), the plugin will refuse to delete that session.
- Permissions: The plugin runs with the permissions of the current DSH process. Please ensure you check the source code and license before installation.
Conclusion¶
dsh-desktop-archive-manager solves the problem of DeepSeek Harness core not providing permanent session deletion. By managing archives in batches and performing thorough cleanup, it helps developers better maintain their local storage environment. For more details, please refer to the community catalog or the project’s GitHub page.