DeepSeek Harness Plugin

ChuShiZ/dsh-archive-manager

Stars ★ 11 Downloads (30d) 3,296 Category Sessions & Messages Added 2026-08-26 npm @chushiz/dsh-archive-manager

Archived-session manager for DSH Web: workspace-grouped list, FTS5 full-text search over session content with per-session snippets, restore-and-open, and hard delete.

Install

# from npm (prebuilt)

dsh plugin --profile web add @chushiz/dsh-archive-manager

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:ChuShiZ/dsh-archive-manager

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

English · 中文

DSH can archive a session but cannot undo it. This plugin adds the missing side under Settings > Archived Sessions: browse, search, restore, and delete archived sessions, plus optional automatic archiving for old conversations you no longer use.

Features

  • Browse — archived sessions grouped by project, with collapsible groups. The list opens fast because it only reads session headers.
  • Search — look through conversation content, titles, and folders. Matches are highlighted, and you can filter by user message, assistant reply, or tool call.
  • Preview — click a title to see the latest messages without restoring the session.
  • Restore & open — un-archive a session and continue the conversation.
  • Batch delete — select several sessions and delete them together. Deleting removes the conversation for good, so it cannot be undone.
  • Automatic archiving — archive old sessions by idle days or by how many sessions a project keeps. Pinned and in-use sessions are never archived, and a restored session will not be archived again right away.
  • Settings in the Plugins page — open Plugins → dsh-archive-manager to change the automatic archiving options; changes apply immediately with no config-file editing.

Search: type filters + keyword highlighting

Preview: latest messages without restoring

Install

Install dsh-archive-manager from the DSH plugin market, or run:

dsh plugin --profile web add @chushiz/dsh-archive-manager

Refresh the page after installing; restart DSH if it does not show up.

Usage

Open Settings > Archived Sessions to browse, search, preview, restore, or delete archived sessions.

Automatic archiving

Open Plugins → dsh-archive-manager and turn on "Enable automatic archiving". It is off by default.

You can set:

Setting Default Meaning
Idle days 5 Archive sessions unused for this many days; 0 means don't archive by time
Keep per project 0 Keep at most this many unarchived sessions per project, archiving the oldest extras; 0 means no limit
Safety window (days) 1 Sessions used within this many days are never archived
Check interval (minutes) 60 How often to check
First check delay (ms) 60000 How long after startup the first check runs

Sessions matching either rule are archived and can always be restored from Settings > Archived Sessions. To run a check right away, click "Scan now" (you'll be asked to confirm).

Compatibility

DSH version Status
0.2.2-rc.1 ✅ tested locally
0.2.1-rc.5 ✅ tested
0.2.1-rc.3 ✅ tested
0.2.0-rc.2 ✅ tested
other 0.2.x likely works; prefer the versions above

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.