DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-archive-manager

N

dsh-archive-manager

Identified

归档管理插件:DSH 设置页按工作区展示归档会话并支持取消归档(Archive manager settings section for DeepSeek Harness)

dsh-archive-manager

A beautified archive manager plugin for DeepSeek Harness (dsh): a 设置 → 归档管理 settings page listing archived sessions grouped by workspace, each row with a hover unarchive action and relative timestamps.

npm version License: MIT

中文简介:为 DeepSeek Harness(dsh)的 Web 界面提供美化版归档管理设置页——按工作区分组展示已归档会话,悬停取消归档,附相对时间。官方 npm 版 dsh(0.1.0-rc.6)只含 archiveSession(unarchiveSession 曾被短暂发布后回滚),本插件的 node half 自带取消归档实现,无需改动 dsh 核心。

Features

  • 设置 → 归档管理 settings page (plugin-scoped id archives-beautified, distinct from any official archives id).
  • 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.
  • Self-contained unarchive: the plugin's node half patches WorkspaceRegistry.unarchiveSession when the official release lacks it (idempotent — a future official method wins) and exposes it to the browser over the official webServer carrier; state changes propagate to every tab through the core archived-sessions-changed frame.
  • Trust fence on the unarchive route: mirrors client-connection's isTrustedApiRequest — DNS-rebinding defense via a mandatory Host fence, cross-site refused, opaque Origin: null refused, LAN deployments add their bound authority to the trustedHosts list; 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 and pnpm.

dsh plugin --profile web add @tangzai/dsh-ui-archive-manager

Restart the dsh profile, then open 设置 → 归档管理.

If your profile also runs the official @deepseek-ai/dsh-client-ui-archive-manager row, both sections render — prefer one of them.

Compatibility

dsh versionstatus
>= 0.1.0-rc.6 (npm)supported — unarchive provided by the plugin's node half
< 0.1.0-rc.6not supported

Repository layout

pathwhat
plugin/The published npm package (@tangzai/dsh-ui-archive-manager): node half (src/index.ts), browser half (src/client/), build config, cordis.patch.yml
PUBLISHING.md / PUBLISHING.en.mdPublish / npm-search / maintenance guide (中文 source of truth, English mirror)
packages/ … apps/The upstream dsh monorepo snapshot this feature was developed in (the archive-manager settings section, incl. workspace.unarchiveSession core work, later rolled back upstream)

Development

cd plugin
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

License

MIT — see LICENSE. Derived from deepseek-ai/deepseek-harness (MIT, © DeepSeek).

Comments

Loading…

Similar plugins

dsh-archive-viewer

by keepermttl

DeepSeek Harness 归档会话管理插件:查看/恢复已归档会话(回到原工作区分组)+ 右上角一键关闭 dsh。MIT 许可,欢迎收录到任何插件合集,注明出处即可。

Sessions & MessagesManifest valid

★ 4

MIT

TypeScript

Sep 26, 2026

dsh plugin --profile web add @dsh-external/dsh-archive-viewer

by MuWinds

DeepSeek Harness 插件-归档会话管理,支持释放、清除归档会话

Sessions & MessagesManifest valid

★ 8

MIT

TypeScript

Sep 12, 2026

dsh plugin --profile web add @muwinds/dsh-archived-sessions

by xiyue718

DSH 归档会话管理插件:查看、恢复、永久删除归档会话。 / Manage archived DSH sessions: list, restore, and permanently delete from Settings.

Manifest valid

★ 0

TypeScript

Sep 20, 2026

dsh plugin --profile web add @dsh-external/ui-archive-manager

by swxs

DSH 归档会话管理插件,支持查看归档列表、原位恢复与跨区迁移,Web 侧边栏一键管理

Manifest valid

★ 0

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add @swxs/archive-restore

by Momojie-S

DSH 插件: 归档会话定期清理 —— 物理归档堆与页面归档会话超保留期(页面可配天/小时,cron 调度)自动物理删除

Sessions & MessagesManifest valid

★ 0

MIT

TypeScript

Sep 12, 2026

dsh plugin --profile web add @momojie-s/dsh-archive-retention

by lanlandeli

DeepSeek Harness 会话管理插件|归档与恢复、批量操作、工作区分组、子代理关系、活动详情、记录目录与安全文件清理

Sessions & MessagesManifest valid

★ 2

↓ 53/wk

NOASSERTION

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-conversation-manager