DeepSeek Harness Plugin

ChuShiZ/dsh-archive-manager

Stars ★ 9 Downloads (30d) 1,307 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 · 中文

A DeepSeek Harness Web GUI plugin for managing archived sessions, under Settings > 归档会话. The harness's built-in "archive" is one-way: it only hides a session, with no un-archive. This plugin adds browse, restore, and true delete:

  • Browse — archived sessions grouped by workspace.
  • Full-text search — searches session content: user messages, assistant replies, and tool-call commands and output, plus title / cwd / id / preset matching. Highlighted, keyword-centered snippets, up to 5 hits per session, filterable by type.
  • Batch ops — checkboxes + top-bar batch delete; live agents are cancelled before removal.
  • Preview — click the title to expand the last 4 user/assistant messages without restoring.
  • Restore & open — un-archive and open, so you can view history and continue the conversation.
  • Delete — physically removes the session's log directory. Irreversible.

Search: type filters + keyword highlighting

Preview: last 4 user/assistant messages on title click

Install

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

Refresh the page after installing (Cmd/Ctrl+Shift+R); restart dsh if it does not show up. On Desktop, install it from the plugin market in Settings (设置 → 插件市场).

Compatibility

dsh version status
0.2.0-rc.2 ✅ tested locally: list, search and preview work
other versions ⚠️ not tested

Security

  • Delete has no recycle bin: a node -e command rmSyncs that session's own directory (<sessions>/<workspace>/<session id>/). Irreversible.
  • That command runs in the danger-full-access sandbox mode by default (a caller may pass workspace-write to tighten it), applies only to archived sessions, and cancels any still-running agent for that session first.
  • The web routes /archive-manager/api/* use the same trust fence as the host's /api: a mandatory Host header (DNS-rebinding defense), cross-site origins refused, an 8 KiB body cap.

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.