插件目录 / UI & Skins / dsh-one-click-archive
dsh-one-click-archive
已验证 · 实测可装 sujiu222
功能简介
One-click time-based conversation archiving for the DeepSeek Harness Web GUI
可用 — 实测通过,早期项目
One-click time-based conversation archiving for the DeepSeek Harness Web GUI 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-one-click-archive
A DeepSeek Harness Web GUI plugin that previews and archives old conversations in one click.

Features
- Choose an age threshold: 1/6/12 hours, 1/3/7/14/30/90 days.
- Preview the exact candidate count and a sample before changing anything.
- Optional inclusion of blank sessions.
- Automatically skips running, recently active, and already archived sessions.
- Recalculates candidates immediately before archiving to avoid stale-preview mistakes.
- Uses DSH's official
workspaceRegistry.archiveSession()API. Conversation logs are retained and remain restorable. - Loopback-only host routes and a confirmation dialog before mutation.
- English and Simplified Chinese UI.
Install
dsh plugin --profile <your-web-profile> add github:sujiu222/dsh-one-click-archive
Restart that DSH Web profile, refresh the browser, then open Settings → One-click archive.
For local development:
npm install
npm run check
dsh plugin --profile <your-web-profile> add /absolute/path/to/dsh-one-click-archive
Client plugin updates hot-reload only when the DSH checkout's pnpm run dev:web watcher is running. Otherwise rebuild/reinstall, restart the host when the host plugin changes, and refresh the page.
API
The plugin exposes loopback-only same-origin routes:
GET /api/dsh-one-click-archive/healthPOST /api/dsh-one-click-archive/previewPOST /api/dsh-one-click-archive/archive
Request body:
{ "ageMs": 86400000, "includeBlank": false }
Accepted ages range from one hour to ten years.
Safety
Archiving is non-destructive: it only adds session IDs to DSH's global archive set. It does not remove session logs or workspace accounting. Use an archive-management plugin or DSH's archive UI to restore sessions.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-one-click-archive」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:sujiu222/dsh-one-click-archive Headless(CLI)profile:
dsh plugin --profile headless add github:sujiu222/dsh-one-click-archive 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。