dsh-one-click-archive
Manifest validOne-click time-based conversation archiving for the DeepSeek Harness Web GUI
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
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 18.3k
CC0-1.0
Python
Oct 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.2k
CC0-1.0
Python
Oct 10, 2026
by pax-beehive
Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub
★ 450
MIT
TypeScript
Oct 6, 2026
by xiajiajun516
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
★ 176
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-config-managerby yjh051108
推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。
★ 164
TypeScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby jigjoy-ai
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.
★ 124
MIT
TypeScript
Oct 2, 2026