dsh-session-manager

Delete one session at a time from Settings instead of deleting the whole workspace: every session is listed by workspace with a lock toggle, a move-to-workspace picker and a delete button. Deletion lands in a recycle bin after a second confirm, and the session log is moved out of the sessions directory so the row leaves the sidebar rather than greyed out. The picker really relocates the log folder and rewrites the session header cwd, since DSH derives workspace membership from that cwd; when the system refuses a file operation the panel lists both real paths first and offers a registration-only fallback. Deleting or moving a locked session is refused by the Host, not just disabled in the UI. Recoverable for a configurable window of 0-720 hours; expired entries are deleted for real, logs included. Its routes answer loopback callers only: the socket address, the Host header and Sec-Fetch-Site are each checked.

Overview

Delete one session at a time from Settings instead of deleting the whole workspace: every session is listed by workspace with a lock toggle, a move-to-workspace picker and a delete button. Deletion lands in a recycle bin after a second confirm, and the session log is moved out of the sessions directory so the row leaves the sidebar rather than greyed out. The picker really relocates the log folder and rewrites the session header cwd, since DSH derives workspace membership from that cwd; when the system refuses a file operation the panel lists both real paths first and offers a registration-only fallback. Deleting or moving a locked session is refused by the Host, not just disabled in the UI. Recoverable for a configurable window of 0-720 hours; expired entries are deleted for real, logs included. Its routes answer loopback callers only: the socket address, the Host header and Sec-Fetch-Site are each checked.

Installation

Install from npm

dsh plugin --profile web add @psyduck25/dsh-session-manager

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:psyduck25/dsh-session-manager

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands