DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-archived-cleanup

S

dsh-archived-cleanup

Manifest valid

DeepSeek Harness plugin: list and permanently delete archived conversations, freeing their logs, cached projections, and workspace entries.

UI (client)hasBundlePatch

dsh-archived-cleanup

A DeepSeek Harness plugin that lists archived conversations and deletes them permanently — freeing their logs, cached projections, and workspace entries.

Archived conversations are hidden from the sidebar but their logs stay on disk forever, so ~/.dsh/sessions grows without bound. Harness ships no deletion API; this plugin adds one, with two callers over a single implementation: a settings page and an agent tool.

What it deletes

For each archived session, in this order:

StepTargetWhy this order
1Session log directory ~/.dsh/sessions/<project>/<session-id>/Physical bytes
2Projection cache record in the session_projcache domainDerived data
3Workspace accounting (detach from every workspace)UI grouping
4The archive-set entry itselfLast, so a partial failure never hides a session it failed to delete

Safety rules

  • Only archived sessions are touched. Passing allowNonArchived: true relaxes this.
  • A session with a live agent is always refused.
  • Before removing a directory, both the file name and the parent directory name are checked: the file must match session[.vN].jsonl[.zstd] and the directory must equal the session id. Anything else refuses as unsafe-path.
  • Deletion in the UI requires a second click to confirm.
  • One request deletes at most maxBatch (default 200) sessions.

Install

dsh plugin add /absolute/path/to/dsh-archived-cleanup

Or install the directory through Settings → Plugins → Add.

Use

Settings → Archived conversations (trash-can icon, after the plugin market). Tick conversations and confirm, or delete the whole set.

Or ask the agent — the archived_conversations tool takes:

{ "action": "list" }
{ "action": "delete", "sessionIds": ["session-..."] }
{ "action": "delete", "all": true }

Configuration

Set on the plugin's Loader row in cordis.patch.yml:

FieldDefaultMeaning
maxBatch200Largest number of conversations one request may delete
allowNonArchivedfalsePermit deleting conversations that are not archived
keepProjectionCachefalseKeep the derived projection-cache document

Requirements

DeepSeek Harness 0.2.2-rc.1 or later. Declares dsh.bundle and dsh.client in package.json; the Host half registers the routes and the tool, the Client half registers the settings page.

License

MIT

Comments

Loading…

Similar plugins

dsh-plugin-session-cleaner

by gcggcg

DeepSeek Harness sidebar plugin: permanently delete sessions (including opened ones) and show/hide archived sessions per workspace.

Development & InfrastructureManifest valid

★ 3

↓ 381/wk

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add @estelle-ge/dsh-plugin-session-cleaner

Delete conversations in DeepSeek Harness - session log to a restorable trash, projection cache + workspace bookkeeping cleaned in the same step (Cordis plugin)

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @liubaibuliuyan/dsh-session-delete

by Seelerc

Permanently delete archived DeepSeek Harness sessions along with their on-disk history and log directories.

UI & ExperienceManifest valid

★ 2

MIT

JavaScript

Oct 16, 2026

dsh plugin --profile web add dsh-plugin-delete-archived

by shrikantpardhi

DeepSeek Harness plugin: archive, pin and permanently delete chat sessions from Settings, with bulk actions and disk-usage totals.

Manifest valid

★ 0

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-session-manager

by Shihang-Hu

Unofficial DeepSeek Harness plugin: permanently purge sessions (disk logs, projection cache, workspace accounting, temp outputs, subagent cascade) and redact secrets in place in zstd session logs.

Manifest valid

★ 0

MIT

JavaScript

Nov 14, 2026

dsh plugin --profile web add dsh-session-purge

by chen1pengvincent

DSH (DeepSeek Harness) plugin: manage archived sessions — native unarchive, recoverable quarantine, permanent purge, search/filter/sort, retention. 归档会话管理插件。

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Nov 17, 2026

dsh plugin --profile web add dsh-archived-manager