dsh-archived-sessions: An Archived Session Management Plugin for DeepSeek Harness
zalpha263/dsh-archived-sessions
DSH plugin for managing archived sessions in settings: instant list, restore to original workspace, permanent deletion with sub-session guard and cross-platform cleanup.
dsh-archived-sessions is a plugin built for DeepSeek Harness to manage archived sessions, solving the difficulty of handling them in DSH. It lets you view, restore, or permanently delete archived sessions directly from the 'Settings → Archived Sessions' page without manually parsing logs or touching the file system. The list loads instantly, deletion works across platforms, and it prevents session resurrection. Maintained by Zalpha263 under the MIT license.
How to Install
dsh plugin --profile web add github:zalpha263/dsh-archived-sessions- Category
- Sessions & Messages
- Platform
- DSH Plugin
- Author
- zalpha263
- Distribution
- Plugin
dsh-archived-sessions Key Features
dsh-archived-sessions Repo Summary
What Does It Do?
dsh-archived-sessions is a DSH plugin for DeepSeek Harness that manages archived sessions, solving the difficulty of handling archived sessions in DSH. It lets you view, restore, or delete archived sessions directly from the 'Settings → Archived Sessions' page without manually parsing logs or touching the file system. Core capabilities include an instantly loading session list, cross-platform permanent deletion, and protection against session resurrection, maintained by Zalpha263 under the MIT license.
Core Features
- Instant session list: zero log parsing, showing title, source workspace, last active time (absolute timestamp), and message count (background stats cached by log revision).
- Restore sessions: removes the archive record, returning the session to its original workspace position with automatic sidebar refresh.
- Permanent deletion: cleans up the log directory, workspace ownership, and archive record, with child-session interception, title confirmation, and post-deletion persistence verification.
- Cross-platform deletion: the log directory deletion command adapts to the platform (PowerShell on Windows, rm -rf on macOS/Linux).
- In-memory session protection: sessions in memory are clearly marked 'cannot delete', and become deletable after restarting DSH.
How to Use This Plugin?
After enabling it in DSH, go to the 'Settings → Archived Sessions' page to manage archived sessions. Browse the list to view, click restore to bring a session back, and for deletion, enter the session title to confirm (the confirmation value follows the chain 'persisted title → workspace directory name → session ID', with the UI hinting the exact input). If deletion fails, the UI echoes the expected title value for correction.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: zalpha263/dsh-archived-sessions. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
