Archived-session manager for DSH Web: workspace-grouped list, FTS5 full-text search over session content with per-session snippets, restore-and-open, and hard delete.
Install
# from npm (prebuilt)
dsh plugin --profile web add @chushiz/dsh-archive-manager
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ChuShiZ/dsh-archive-manager
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 — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English · 中文
DSH can archive a session but cannot undo it. This plugin adds the missing side under Settings > Archived Sessions: browse, search, restore, and delete archived sessions, plus optional automatic archiving for old conversations you no longer use.
Features
- Browse — archived sessions grouped by project, with collapsible groups. The list opens fast because it only reads session headers.
- Search — look through conversation content, titles, and folders. Matches are highlighted, and you can filter by user message, assistant reply, or tool call.
- Preview — click a title to see the latest messages without restoring the session.
- Restore & open — un-archive a session and continue the conversation.
- Batch delete — select several sessions and delete them together. Deleting removes the conversation for good, so it cannot be undone.
- Automatic archiving — archive old sessions by idle days or by how many sessions a project keeps. Pinned and in-use sessions are never archived, and a restored session will not be archived again right away.
- Settings in the Plugins page — open Plugins → dsh-archive-manager to change the automatic archiving options; changes apply immediately with no config-file editing.


Install
Install dsh-archive-manager from the DSH plugin market, or run:
dsh plugin --profile web add @chushiz/dsh-archive-manager
Refresh the page after installing; restart DSH if it does not show up.
Usage
Open Settings > Archived Sessions to browse, search, preview, restore, or delete archived sessions.
Automatic archiving
Open Plugins → dsh-archive-manager and turn on "Enable automatic archiving". It is off by default.
You can set:
| Setting | Default | Meaning |
|---|---|---|
| Idle days | 5 | Archive sessions unused for this many days; 0 means don't archive by time |
| Keep per project | 0 | Keep at most this many unarchived sessions per project, archiving the oldest extras; 0 means no limit |
| Safety window (days) | 1 | Sessions used within this many days are never archived |
| Check interval (minutes) | 60 | How often to check |
| First check delay (ms) | 60000 | How long after startup the first check runs |
Sessions matching either rule are archived and can always be restored from Settings > Archived Sessions. To run a check right away, click "Scan now" (you'll be asked to confirm).
Compatibility
| DSH version | Status |
|---|---|
| 0.2.2-rc.1 | ✅ tested locally |
| 0.2.1-rc.5 | ✅ tested |
| 0.2.1-rc.3 | ✅ tested |
| 0.2.0-rc.2 | ✅ tested |
| other 0.2.x | likely works; prefer the versions above |
License
MIT
Links
More in this category
ranxianglei/billion-context★ 8284
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4698
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 746
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
MichengAI/dsh-archive-manager★ 391
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 329
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.
SiriLee/dsh-rewind★ 296
Conversation rewind: one click back to any earlier user message, in the same window — no new branch, no leftover copy; the target message is refilled into the composer, with optional workspace-file restore — the full Claude Code /rewind semantics.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.