Skip to content

Releases

v0.1.0 — session deletion + workspace pinning

Choose a tag to compare

@adithyanraj03 adithyanraj03 released this 12 Nov 14:19
68442e1

Delete sessions and pin workspaces from the sidebar

First release of dsh-delete-plugin: 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). Deletion is gated by an explicit risk-consent dialog and refuses sessions with a running turn; the workspace pin set is durable and survives restarts. The plugin makes no network calls and collects no telemetry of its own.

Installing

  1. Add the plugin: dsh plugin --profile web add github:adithyanraj03/dsh-delete-plugin, or the tarball below. In the desktop app: Plugins → Add plugin, paste https://github.com/adithyanraj03/dsh-delete-plugin, click Install.
  2. Restart dsh. The plugin row session-delete mounts; there is nothing to approve — the package has no lifecycle scripts.
  3. Delete a session: right-click a session row (or open its … menu) → Delete session. The consent dialog names exactly what will be removed (session log, workspace accounting, live state). Cancel keeps everything; Delete removes it permanently and the row drops without a refresh. A session mid-turn is refused with session-running — stop it first.
  4. Pin a workspace: right-click a workspace header (or open its … menu) → Pin workspace. It moves to the top of the list and shows a pin badge; the item becomes Unpin workspace. Pins are stored in the plugin's own durable storage domain, independent of dsh's session pins.
  5. Disable or uninstall the plugin and both menu actions disappear immediately.

Also in this version

  • Host half: one sessionDelete Typert remote service exposing deleteSession, pinWorkspace, unpinWorkspace and getPinnedWorkspaces; the pin set lives in its own session_delete storage domain.
  • Deletion follows dsh's own agent-factory teardown (cancel → scope dispose → agent/session detach), removes only the directory owned by the named session (the id must appear as a whole path segment), tries several OS removal interpreters, and re-checks persistence so the chat is gone for good.
  • Browser half contributes through dsh's context-menu registry (no DOM scraping of the built-in menus), with a themed bilingual consent dialog (English / 中文), self-healing pinned-first workspace ordering, and a pin badge on pinned headers.
  • Bilingual README (English / 中文), GitHub Pages site, en + zh plugin-manager metadata, 512×512 icon and light/dark banners.
  • Dependency-free wiring test (npm test): package-name agreement across the three places it lives, plus every shipped file present.

File | Use it if

File Use it if
plugin.tgz you want the built plugin. In the profile: 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.
github:adithyanraj03/dsh-delete-plugin you want the repository head between releases: dsh plugin --profile web add github:adithyanraj03/dsh-delete-plugin.

Requires a DeepSeek Harness host with the session and workspace services (sessions, sessionPersistence, subprocess, workspaceRegistry, storageDomain); built against 0.2.2-rc.1, web profile or desktop app. The host half was verified mounting on a clean profile, and the delete and pin RPCs were verified against real services (storage round-trip, running-turn refusal, unknown-id validation).