Introduction¶
In DeepSeek Harness (DSH), session archiving is a built-in host capability: placing temporarily unused conversations into the Archive keeps the main list clean. A common pain point after accumulating archives is being unable to “find, manage, or delete” them—the native sidebar lacks systematic retrieval by workspace or name, and there is no unified interface for bulk unarchiving or truly permanently deleting cold sessions from disk. While there are similar community plugins focusing on interaction or permanent deletion research, the positioning of @takboo/dsh-session-bin (repository takboo/dsh-session-bin) is: Directly managing the Harness native Archive collection. It allows searching, filtering, and unarchiving within a single panel, and performs single, bulk, or empty-all permanent deletions under strict conditions. The maintainer is takboo, and the SkillHub category is “Memory”; the current npm version is 0.2.4, licensed under MIT.
The following sections introduce the plugin’s capabilities, installation methods, typical usage, and the boundaries of permanent deletion—all facts are derived from the project README and package.json declarations.
What is this¶
DSH Session Bin is a Native archived-session management plugin for DSH. It does not create a separate set of “fake archives”; instead, it reads and writes to the Archive already existing in the host. Records created by using the native “Archive Session” in Harness will also appear in the “Session Bin” after the plugin is installed. The semantics of archiving and unarchiving still follow the host; what the plugin adds is a centralized UI, search and filtering, bulk operations, and a permanent deletion process with confirmation and progress logs.
Core Features¶
Browsing and Filtering¶
- Grouped by Workspace by default.
- Supports searching and filtering by Session Name and workspace-related metadata.
Unarchiving¶
- Unarchive single items or in bulk; sessions return to the native session list.
Permanent Deletion (Controlled)¶
- Single permanent deletion, bulk permanent deletion of a fixed selection, and permanent deletion of all archives at the moment when clicking “Empty”.
- A concise confirmation is required before deletion; the “Confirm before permanently deleting sessions” setting can be globally disabled (enabled by default). When disabled, single deletion, delete selected, and empty all will start permanent deletion immediately.
- Bulk operations display progress and logs; brief statistics and failed items are retained upon completion. After interruption or disconnection, the results can be checked to decide whether to continue.
Scope Notes (Key points from the original README):
- “Empty all archives” includes all archives at the moment of clicking; the current search and workspace filters will not narrow the scope of emptying.
- Bulk deletion is fixed to the objects at the start; sessions newly archived during the operation will not be added to the current batch.
Permanent deletion is irreversible. It is only allowed for cold sessions that are archived, inactive, and have no unreleased read/write references; the plugin will release target Agents activated by the API Session and confirmed idle before reviewing again. Active tasks, Agents owned by others, and unreleased read/write references will still prevent deletion. The clearing scope covers session logs and declared session metadata/indexes; shared attachments, external copies, and independent forks are retained. The plugin does not provide shared attachment garbage collection or secure erasure guarantees, nor does it support automatic periodic clearing, cross-device sync, or multi-Host coordination. Permanent deletion can be disabled via Host configuration permanentDeletion: false (see repository Host Lifecycle for details).
Interface and Language¶
- Chinese and English interfaces, using host controls, supporting light and dark themes.
Compatibility and Version¶
- Plugin
0.2.4is adapted for DSH0.2.1-rc.2(engines.dshinpackage.jsonis also this version);0.2.4fixes the issue where the built-in runtime in the macOS ARM64 desktop version refused permanent deletion. - Please retain plugin
0.2.1when using DSH0.2.1-rc.1; the old host0.2.0-rc.2corresponds to plugin0.2.0. - Permanent deletion is only enabled under the exact runtime, single Host, and verified JSONL raw/zstd storage combinations listed in the README table; it will be explicitly rejected if conditions are not met. Windows ARM64, unverified desktop architectures/versions, standard Node
24.21.0(combinations not listed in the table), etc., are not supported. For full admission criteria, see Host Lifecycle.
Node Engine: 24.18.1 || 24.21.0.
Installation and Enablement¶
The release package is a pre-compiled bundle (including Host and Client), requiring no local TypeScript compilation during installation.
Assuming DSH 0.2.1-rc.2 is installed, install to the web profile:
dsh plugin --profile web add @takboo/dsh-session-bin@0.2.4
Verified macOS ARM64 Desktop Version: Install the same npm package on the plugin management page of the desktop profile, and restart the host of that profile. After startup or restart, open “Session Bin” from the sidebar.
Uninstall the plugin from the same profile:
dsh plugin --profile web remove @takboo/dsh-session-bin
You can also download the attachment from v0.2.4 Release, verify SHA256SUMS, and install locally:
dsh plugin --profile web add ./dsh-session-bin.tgz
If you have previously installed the early unscoped development package dsh-session-bin, you need to uninstall that package from the same profile first, then install @takboo/dsh-session-bin to avoid duplicate registration; native archives and existing operation records will be retained.
Typical Usage¶
- Use the native “Archive Session” in Harness to archive the target session.
- Open “Session Bin”, search or filter existing archives; select one or more items to perform Unarchive.
- When permanent deletion is required, verify the objects and potential blocking reasons in the confirmation window before confirming execution. If deletion confirmation is disabled in the settings, permanent deletion will start immediately after clicking.
- View progress and logs during bulk operations; handle based on statistics and failed items after completion. If some fail or the connection is interrupted, check the operation status first before deciding whether to continue.
Use Cases and Notes¶
Who it is for: Developers who archive large numbers of sessions in DSH over the long term and need to retrieve them by workspace/name, batch restore, or carefully clean up cold sessions; especially when using 0.2.1-rc.2 and the environment falls within the README permanent deletion acceptance matrix, they can rely on the controlled deletion path provided by the plugin.
Ecosystem Background: DSH emphasizes “Everything is a plugin”; community sites like the SkillHub Directory Page are independent of DeepSeek / High-Flyer and are not official app stores.
Security and Permissions: The plugin runs with the current DSH process permissions, and permanent deletion modifies local session storage. Before installation, you should read the source code, the MIT License, and Host configuration instructions to ensure compliance with your own requirements.
Conclusion¶
DSH Session Bin consolidates the Harness native Archive into a single panel: search and filtering, unarchiving, and permanent deletion with confirmation and logs, while explicitly stating unsupported scopes (attachment GC, cross-device sync, etc.). If your host version and operating environment match the README, you can install it via the command above and use Session Bin in the sidebar.
- Directory Page: https://www.skillhub.cn/plugins/takboo/dsh-session-bin
- Source Code and Documentation: https://github.com/takboo/dsh-session-bin