Archived Chats settings page for DeepSeek Harness: browse, search, unarchive, and delete archived sessions in the Web UI, grouped by workspace.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-archived-chats
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Ultronen/dsh-archived-chats
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A settings page for DeepSeek Harness that brings archived chats back into view.
Once a conversation is archived in DeepSeek Harness it disappears from the sidebar, and there is no built-in way to browse it again — only the workspace store (~/.dsh/storages/workspace.json) still remembers it. This plugin adds an Archived Chats page under Settings where every archived session is visible, searchable, and manageable.
Install
dsh plugin --profile web add dsh-archived-chats
Restart DSH once after installing, then open Settings → Archived Chats.
Features
- Complete archived-session list, grouped by workspace (project) with a per-group count. Every group can be collapsed or expanded, and the state is remembered per browser.
- Search by title, plus two filters: type (all / regular / subagent) and project.
- Unarchive a single chat or a whole project group from the group's
⋯menu — restored chats reappear in the sidebar immediately. - Delete one chat, a project group, or everything (Delete All), each behind a confirmation dialog. Deletion is thorough: the session log is removed from disk, the session is detached from its workspace record, and the registry's in-memory header index is purged, so the sidebar drops the rows live.
- Sessions that are still resident in the background are parked permanently and physically removed on the next DSH start — nothing is left half-deleted, and parked sessions stay hidden meanwhile.
- Works in light and dark schemes; localized in English and 中文.
How it works
- Host half (
lib/index.js) registers the/plugins/dsh-archived-chats/*routes on the DSH web server:GET /state,POST /unarchive,POST /unarchive-all,POST /delete,POST /delete-all. Unarchiving writes through the workspace registry's own state path, so every connected client receives thehost/archived-sessions-changedpush. Mutating routes require a customx-dsh-archived-chats: 1header as CSRF hardening. - Pending-deletion store: deleting a live session takes a "park and defer" path — the agent is cancelled permanently (
cancel({ kind: 'disposed' })), the session stays archived and hidden, and the id is recorded in$DSH_HOME/plugin-data/archived-chats/pending-deletions.json. On the next boot the plugin sweeps the queue and completes the deletion through the ordinary delete path. Parked sessions are excluded from the listing; unarchiving one before the restart cancels its pending deletion. - Browser half (
lib/client.js) registers asettings.sectionslot entry (order 30) and renders the page with React and DSH design tokens.
Uninstall
dsh plugin --profile web remove dsh-archived-chats
The only leftover is the small pending-deletion store under $DSH_HOME/plugin-data/archived-chats/; uninstalling does not process the queue.
License
MIT
Links
More in this category
Anionex/dsh-turn-rewind★ 56
Rewind conversation and workspace state, powered by a persistent Change Ledger.
Nwflower/dsh-chat-import★ 35
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
whyihaveyou/dsh-suite#plugin-session-export★ 31
Export the append-only session log as human-readable Markdown or HTML, grouped by trajectory source.
Chinesezjc/dsh-interconnect★ 27
Cross-instance message and event handoff between DSH instances via an interconnect server.
Moeblack/dsh-message-edit★ 22
Branch-based message editing, reroll, retry, and a version timeline.
hellodigua/dsh-share★ 19
Share your conversations with one click.