dsh-archived-sessions: A Session Manager Plugin for DeepSeek Harness
zephyr-vibe/dsh-archived-sessions
A DSH plugin that brings a Session Manager to Settings for archiving, restoring, and safely deleting all local conversations.
Manage all conversations in one place within DeepSeek Harness settings, with archive, restore, safe delete, and open record folder support.
dsh plugin --profile web add github:zephyr-vibe/dsh-archived-sessions- Category
- Sessions & Messages
- Platform
- DSH-Plugin
- Author
- zephyr-vibe
- Distribution
- Plugin
dsh-archived-sessions Key Features
dsh-archived-sessions Repository

dsh-archived-sessions Repo Summary
dsh-archived-sessions is a session management plugin (DSH plugin) for DeepSeek Harness (DSH), providing a unified session manager in Settings to manage every conversation on this machine in one place. It solves the problems of archiving, restoring, safely deleting, and locating record folders, allowing batch operations in a single interface to avoid accidental data loss. Maintained by Zephyr-vibe under the MIT license, written in JavaScript, and last updated in 2026-08.
What session management capabilities does the dsh-archived-sessions DSH plugin offer?
The plugin provides two tabs (All conversations and Archived), with view modes as a flat list or grouped by workspace (sessions without a workspace fall back to "Ungrouped"). Browse conversations by title and relative time, newest first. Supports checkbox, drag-to-select, select-all, batch archive (records kept), and batch delete (permanent, with a confirmation modal). Unarchive from the Archived tab. Each row can be expanded for details (collapsed by default): size on disk, last update, produced/downloaded files, parent and child (fork) sessions. Subagent sessions are shown nested under their parent conversation (indented, with a "subagent" badge); when the parent is deleted or missing they surface as top-level rows. Deleting a parent session does NOT cascade: subagent children, forks, and downloaded/produced files are kept unless explicitly selected. The currently open session shows a "Current" badge and cannot be deleted.
How to install dsh-archived-sessions?
The recommended way is tarball install:
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main
If pnpm blocks build scripts, append --ignore-scripts:
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main --ignore-scripts
Alternatively, let a DSH agent install it by telling it "帮我把这个项目安装为插件:https://github.com/zephyr-vibe/dsh-archived-sessions". The agent downloads the repo, places it into the profile's node_modules, and registers it in dsh.profile.bundles. After installing, restart the web app — the Session Manager appears in Settings automatically.
What DeepSeek Harness versions and platforms does dsh-archived-sessions support?
The plugin is zero-configuration: no setup and no core patches required, works out of the box on a stock Harness. Session record directories are derived automatically from the official DSH layout ($DSH_HOME/sessions/<project-key>/<session-id>/). Archive/unarchive works on stock Harness using the same registry state primitives as the official archiveSession. Deletion uses workspaceRegistry.deleteSession / sessionPersistence.remove when available, otherwise removes the directory via its physical location. Open record folder is cross-platform via explorer / open / xdg-open. Deletion is non-cascading; live running sessions are rejected (409), and open-but-idle sessions on a stock Harness ask you to switch away or restart first.