Beautified archive-manager settings section listing archived sessions grouped by workspace, with a hover unarchive action and relative timestamps.
Install
# from npm (prebuilt)
dsh plugin --profile web add @tangzai/dsh-ui-archive-manager
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Neumannzc/dsh-archive-manager#path:/plugin
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
A beautified archive manager settings section for DeepSeek Harness (dsh): a flat list of archived sessions grouped by workspace, each row with a hover unarchive button, folder-style group headers, and relative timestamps (中文/English).
The package is a dual-half plugin: the node half restores the unarchive capability on stock npm dsh (the official 0.1.0-rc.6 ships archiveSession but not unarchiveSession — it was briefly published upstream then rolled back), and the browser half renders the settings section. No core packages are modified.
How it works
- Display: the section reads the framework's own feeds —
useSessions(archived sessions stay insession.list) anduseWorkspaces(WorkspaceListState.archivedSessionIds) — so no custom data plumbing is needed. - Unarchive action: the browser half POSTs to the plugin's own exact HTTP route on the official
webServercarrier; the node half patchesWorkspaceRegistry.unarchiveSession(idempotent — a future official release that adds the method wins) and applies the same durable, queue-serialized state update as the upstream implementation. The change then propagates to every client through the corearchived-sessions-changedframe.
Features
- 设置 → 归档管理 settings page (plugin-scoped id
archives-beautified, distinct from any officialarchivesid). - Archived sessions grouped by workspace, mirroring the sidebar grouping rules.
- Beautified UI: flat session rows, folder group headers, relative timestamps (
3min ago/3分钟前), hover-only unarchive icon button. - Trust fence on the unarchive route: mirrors
client-connection'sisTrustedApiRequest— DNS-rebinding defense via a mandatoryHostfence, cross-site refused, opaqueOrigin: nullrefused, LAN deployments add their bound authority to thetrustedHostslist; plus an 8 KiB body-size cap with two-layer defense (Content-Length precheck + streaming byte count).
Install
Requires dsh >= 0.1.0-rc.6 (archived-session feeds and the webServer carrier exist there) and pnpm.
dsh plugin --profile web add @tangzai/dsh-ui-archive-manager
Then restart the dsh profile (the plugin row mounts at next boot). Open 设置 → 归档管理 to see archived sessions and unarchive them.
Note: if your profile also runs the official
@deepseek-ai/dsh-client-ui-archive-managerrow, both sections render. Prefer one of them (either remove the official row, or uninstall this package).
Compatibility
| dsh version | status |
|---|---|
>= 0.1.0-rc.6 (npm) |
supported — unarchive provided by this plugin's node half |
< 0.1.0-rc.6 |
not supported (no archived-session feeds / webServer carrier) |
Development
pnpm install
pnpm run build # tsc node half + client type declarations + tsdown client bundle
pnpm run typecheck # tsc on node half, client half, and tests
pnpm run test # vitest: derive / relativeTime / locale completeness
Publish (maintainers)
pnpm publish --access public
The package declares dsh.bundle.patch, so dsh plugin add automatically joins it to the profile's bundle layers and mounts cordis.patch.yml (row id ui-archive-manager-beautified).
License
MIT — see LICENSE. Derived from deepseek-ai/deepseek-harness (MIT, © DeepSeek).
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8296
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8296
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 3968
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 3948
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 3877
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1413
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.