DSH Archive Manager
DSH Archive Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
What you can do
Put inactive conversations away and find them again when needed, keeping everyday task lists tidy.
- Archive conversations: put away one chat or all unarchived chats in a workspace.
- Find past work: search titles, filter by project, and sort by time or title.
- Restore tasks: restore one chat, selected chats, a project group, or all archives.
- Clean up records: permanently delete unwanted archived conversations after confirmation.
Screenshots
Archive a chat from the sidebar session menu:
Archive a session from the session menu
Find, restore, and clean up chats in Settings → Archived sessions:
Archived sessions settings page
Prerequisites
- A working DeepSeek Harness Web installation with
dsh available in your terminal.
- Supported DSH versions:
0.1.0-rc.8, 0.1.1-rc.2, 0.1.2-rc.1, 0.1.5-rc.1, 0.1.5-rc.2, 0.1.6-alpha.1, and 0.1.6-alpha.2. Other versions are not currently supported.
- Node.js matching
^22.19.0 || >=24.0.0. Source installation also requires pnpm.
Installation
Examples use the web profile. Replace it with the profile you actually use.
Ask an agent to install it
Send this prompt to an agent that can run terminal commands on your computer:
Install the latest @michengai/dsh-archive-manager into my local DSH web profile using the official npm registry. Check the plugin configuration afterward, then explain how to reload DSH and open archived session management.
Install manually
Run in PowerShell:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh plugin --profile web add @michengai/dsh-archive-manager@latest --registry=https://registry.npmjs.org/
Restart DSH Web, then hard-refresh your browser with Ctrl+Shift+R. Open Settings → Archived sessions to get started.
Usage
| Goal | Action |
|---|
| Archive one chat | Open its sidebar menu and choose Archive session |
| Archive a workspace | Open the workspace menu and choose the option to archive its chats |
| Find an archive | Open Settings → Archived sessions, then search titles or filter by project |
| Change the order | Sort by update time, creation time, or title |
| Restore one chat | Click Restore beside the session |
| Archive a project or ungrouped chats | On Unarchived, open the group’s … menu and confirm archiving all chats in that group, regardless of search filters |
| Archive across projects | Switch to Unarchived, select sessions across projects, then click Archive and confirm |
| Restore or delete in bulk | Select chats and use the bulk actions, or use the project menu or page-wide actions |
The page opens on Archived, with Unarchived on the right. Switching tabs clears selections; changing search or project filters preserves them. Check the hidden selection count before applying bulk actions, or clear your selection first.
Restore all / Delete all remain on the Archived tab and apply to archived sessions across all projects, regardless of filters. Unarchived excludes subagents and blank placeholders and supports sorting by update time or title.
Settings and sidebar batch archive/restore call the single-session APIs serially: official ctx.workspaces.archiveSession on every supported host, official ctx.workspaces.unarchiveSession on DSH 0.1.6+, and this plugin's workspaceRegistry.unarchiveSession on older hosts.
View and continue archived conversations
Available starting with 0.1.40:
- Open session: open the native DSH session to view messages, attachments, and tool details. Continue chatting while keeping the session archived.
- Restore and open: unarchive the session and open it to resume work.
Updates
Click Check for updates in the archive management page header. DSH CLI or Desktop environments with automatic update support can update directly; other environments provide a manual command for the current profile. You can also rerun the installation command above.
FAQ
Why is the entry missing after installation?
Restart DSH Web and hard-refresh your browser. Make sure you installed into the profile you are using. If the entry is still missing, run:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh --profile web --dump-config
The configuration should include workspace-archive-manager and ui-workspace-archive-manager. On DSH 0.1.6+, official ui-settings-unarchive-sessions should be disabled: true so Settings keeps only this plugin's Archived sessions page. If you previously set the official ui-workspace to disabled: true in your profile's cordis.patch.yml, remove that disabling override and restart.
How is archiving different from deletion?
Archiving puts a conversation away so you can restore it later. Permanent deletion cannot be undone and may also remove that session's attachments. It does not delete your project working directory. Deletion requires confirmation.
Can I use it with Codex UI?
Yes. Codex UI keeps its sidebar appearance and interactions. Archive management remains available in Settings → Archived sessions.
For other problems, open an issue with your DSH and plugin versions, reproduction steps, and error details.
Install from source
Expand for development or testing unreleased changes
Run these commands in a directory of your choice. For local changes that have not been pushed, use the existing working copy.
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
git clone https://github.com/MichengAI/dsh-archive-manager.git
Set-Location .\dsh-archive-manager
pnpm install --frozen-lockfile
pnpm build
dsh plugin --profile web add .
Restart DSH Web and hard-refresh your browser afterward. Edit src, not the generated lib directory. Run pnpm test to validate changes or pnpm verify for the full checks.
DSH product ecosystem
For a desktop workbench, download DSH Codex Desktop. Existing DeepSeek Harness installations can add plugins as needed by following each project's README. Below are 11 first-party plugins; consult the corresponding desktop release notes and bundled catalog for what that version includes.
| Plugin | What you can do |
|---|
| Codex UI | Organize projects and conversations, search tasks, and navigate chat turns |
| Agency Agents | Choose and summon specialists for your task |
| Skills Manager | Find, enable, create, and import local skills |
| Archive Manager | Search, restore, or clean up archived conversations |
| IM Connect | Send tasks and receive replies through messaging platforms |
| Automation | Schedule tasks and review each run |
| BTW | Ask side questions without interrupting the main task |
| Simplify | Use /simplify to improve code within your Git changes |
| PUA | Guide the Agent to try new approaches after failures, investigate causes, and verify results before completion |
| Code Review | Use /review to request an independent Agent code review and receive the report in the current conversation |
| Codex Pet | View conversation notifications and respond to tool approvals and questions through a desktop pet |
License
Licensed under Apache License 2.0.