dsh-workspace-curator
Manifest validA Settings page for workspace and session housekeeping: add, rename, reorder or remove workspaces, and archive or permanently delete sessions, refusing open or still-active ones.
Workspace curator
A DeepSeek Harness (DSH) plugin that adds one Settings → Workspace curator page for workspace and session housekeeping.
Features
- Lists ungrouped sessions first, then every workspace with its canonical path and session count.
- Adds a workspace from an existing folder (system folder picker or typed path).
- Renames a workspace and moves it up or down in the registry order.
- Removes a workspace registration; its folder and sessions stay, and the sessions move to Ungrouped.
- Opens a session, archives or restores it, and permanently deletes it.
- Archiving a running session asks first, then stops its work and archives it.
- Shows archived, pinned, and running badges, and disables Delete with a visible reason when the Host cannot accept it.
Install
From the plugin market: search for Workspace curator, or install from npm:
dsh plugin --profile web add dsh-workspace-curator
Desktop users install through Settings → Plugins. Use the profile name your
Host actually runs instead of web when it differs.
Requires DSH 0.2.2-rc.1 or newer.
Permanent session deletion
DSH's session persistence seam has no delete verb, so this bundle ships a small Host endpoint. Before removing anything it:
- collects the session and its subagent descendants;
- refuses while any member is live in this Host process;
- refuses while a composed activity provider reports running work (a turn, subagent, background job, or reminder);
- validates every log directory against the persistence-reported layout;
- removes the session log directories;
- detaches the ids from workspace accounts, the archive set, and the pin set;
- announces removal so open pages drop the rows.
Only session logs are removed. Uploaded attachments, projection caches, and usage statistics are not reclaimed. Deletion is permanent; use Archive when you only want to hide a session.
A session opened during the current DSH run cannot be deleted until the Host restarts, because its live Agent still owns a write handle.
Endpoint trust
/api/workspace-curator is an exact Fetch route on DSH's shared /api channel.
The connection layer authenticates the browser cookie and applies its
Host/Origin fence before the handler runs. The handler additionally requires
x-workspace-curator: 1 and content-type: application/json on POST, which a
cross-site form or simple fetch cannot send. A request without a valid browser
session receives the connection layer's 401 and never reaches deletion.
Run a single DSH Host per session store. The lock file in a session directory is an empty placeholder and cannot distinguish an idle session from one another Host process is writing.
Development
The package is a plain ES module bundle; no build step is required.
index.js— Host route and request handling.session-delete.js— deletion tree, activity checks, and storage validation.client.js— Settings page registered through the Web client module table.cordis.patch.yml— inserts the plugin row.
License
MIT
Comments
Loading…
Similar plugins
A sidebar panel that moves, rebuilds, merges, renames and deletes whole workspaces: a move re-publishes each session log with the new directory in its header, repairs the workspace record, refreshes t
★ 0
dsh plugin --profile web add dsh-workspace-controlSession management for DSH: archive or delete one session, archive/delete all sessions in a workspace, and restore archived sessions from the settings page — archiving backs up workspace metadata and
★ 0
↓ 283/wk
dsh plugin --profile web add dsh-session-deleteby SunshineR04
Settings-page manager for archived DeepSeek Harness sessions: restore an archived session to its previous workspace position or permanently delete it (direct physical deletion, no backup layer). Adds
★ 1
↓ 3.8k/wk
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-session-managerAdds a Session without workspace entry to the DSH Workspace picker, creates isolated date-organized directories, and keeps started sessions resumable under Ungrouped.
★ 2
↓ 150/wk
MIT
TypeScript
dsh plugin --profile web add dsh-projectless-sessionby SUZUNAMI
Hide selected workspaces from the DSH sidebar without deleting anything: local-only, reversible, with a Settings management page.
★ 2
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-workspace-hideby 1052088090
Workspace & session cleanup for DeepSeek Harness: a settings page listing every workspace with its session count, plus a sidebar session menu row that really deletes a session log (into a recoverable
★ 0
MIT
JavaScript
Nov 3, 2026
dsh plugin --profile web add dsh-workspace-cleaner