DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-delete-plugin

d

dsh-delete-plugin

Manifest valid

Sidebar session deletion and workspace pinning for DeepSeek Harness: a Delete action behind a consent dialog permanently removes a session's log, workspace accounting and live state (refusing running

UI (client)hasBundlePatch
dsh-delete-plugin

dsh-delete-plugin

English | 中文

language license node dsh tests runtime

A DeepSeek Harness plugin that adds two sidebar powers dsh does not ship together: permanently deleting a session from the session row menu, and pinning a workspace to the top of the workspace list (dsh only pins sessions today).

It does two things:

  • Delete session — a danger item on the session row menu opens a risk-consent dialog naming exactly what will be removed (the session log, its workspace accounting, and live runtime state). On confirmation the host tears down an idle live session, physically removes the session directory, and re-checks persistence so the chat is gone for good. A session with a running turn is refused — stop it first.
  • Pin workspace — a Pin/Unpin item on the workspace row menu. Pinned workspaces are surfaced ahead of the rest and wear a small pin badge; drag pinned workspaces up or down to reorder them and the order is saved. The pin set is durable and survives restarts. Unpinning returns the workspace to the unpinned group.

Install

From npm:

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

Or straight from GitHub:

dsh plugin --profile web add github:adithyanraj03/dsh-delete-plugin

Or from the release tarball (in the profile directory):

pnpm add https://github.com/adithyanraj03/dsh-delete-plugin/releases/latest/download/plugin.tgz

then add dsh-delete-plugin to dsh.profile.bundles and restart the host.

In the desktop app

Open Plugins (settings, left sidebar) → Add plugin, paste the repository address, click Install:

https://github.com/adithyanraj03/dsh-delete-plugin

The host half loads at startup, so restart the app after installing or upgrading. The package has no lifecycle scripts — there is nothing to approve with pnpm approve-builds.

Never install the published package into a profile that already links a local copy of this plugin — you get two rows with the id session-delete.

What you get

Delete session

Right-click a session row (or open its … menu) → Delete session. The consent dialog lists what will be removed; Cancel keeps everything, Delete removes it permanently. If the session is mid-turn the host refuses with session-running and nothing is touched. After a successful delete the sidebar drops the row without a refresh; if it was the open session, the next one opens.

Pin workspace

Right-click a workspace header (or open its … menu) → Pin workspace. The workspace moves to the top of the list and shows a pin badge; the menu item becomes Unpin workspace. Drag pinned workspaces up or down to reorder them — that order is persisted (it no longer snaps back to the order you pinned them in). Pins are stored in the plugin's own durable storage domain and are independent of dsh's session pins.

Disclosure

  • Halves. A host half (the deletion + the durable pin set, exposed as one sessionDelete remote service) and a browser half (the two menu items, the consent dialog, the pin badge and ordering). Both mount from one package.
  • No network, no telemetry. The plugin makes no network calls and collects no telemetry of its own. Deletion runs locally through dsh's subprocess service; the pin set lives in local durable storage.
  • Deletion is permanent and gated. Nothing is removed until you confirm the dialog. The host refuses sessions with a running turn, and only ever removes a directory owned by the named session (the session id must appear as a whole path segment).
  • Permissions. The host acts with the user's own permissions through dsh's sanctioned services (sessions, sessionPersistence, subprocess, workspaceRegistry, storageDomain). The browser half only contributes menu items and calls the host RPC.
  • Uninstall. Removing the plugin removes both menu actions immediately. The local pin set is inert without the plugin.

Compatibility

HostStatus
dsh 0.2.2-rc.1 (web profile + desktop)Built against its session/workspace services. Host half verified mounting on a clean profile; the delete and pin RPCs verified against real services (storage round-trip, running-turn refusal, unknown-id validation).
older hosts without these servicesThe row degrades or cannot activate; nothing else is affected.

Development

npm test                     # wiring harness: name agreement + every shipped file exists
python scripts/make-banner.py  # regenerate the README banners (Pillow)

Layout: src/index.js (host: delete + pin remote service), src/client.js (browser: menus, consent dialog, badge, ordering), cordis.patch.yml (one insert row, id session-delete), locale/ (en + zh plugin-manager metadata), scripts/test-harness.mjs.

Prior art

Session deletion already exists in the ecosystem (dsh-delete-session, dsh-session-delete, dsh-session-cleaner on npm). This is an independent implementation that also adds workspace pinning; the deletion teardown follows the same agent-factory teardown sequence dsh itself uses.

License

MIT © 2026 Adithya N Raj

Comments

Loading…

Similar plugins

dsh-plugin-session-delete

by Adolanium

Permanent session removal for DeepSeek Harness: a Delete action in the sidebar, a confirmation dialog, and a Host purge of the log, projection cache, and workspace accounting. Community plugin, not official.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-plugin-session-delete

by rhl88

Deletes a session from the sidebar session menu after a confirmation dialog, removing its log directory, projection-cache record and workspace/pin/archive accounting; registry calls are timeout-guarde

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-session-remove

by reverse-PAI

Permanently delete a DeepSeek Harness session: a sidebar session-row "..." menu item plus a hover button, a risk-consent dialog, and an authenticated Host route that removes the session log, its projection-cache row and its archive mark.

Development & InfrastructureSessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-minimal-session-delete

by OliYogSothoth

Delete DeepSeek Harness sessions for good — via a recycle bin: move, restore, then the next start wipes the log, projection cache, spill files and workspace accounting.

Development & InfrastructureSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Nov 5, 2026

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

by Linusteller

DeepSeek Harness 插件:侧栏会话菜单「删除会话」(永久删除,非归档)

Development & InfrastructureSessions & MessagesManifest valid

★ 5

↓ 425/wk

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-delete-sessions

by 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

Manifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-workspace-cleaner