dsh-session-recycle-tools

Adds two entries to the DSH web sidebar above the settings row: a batch picker that groups sessions by workspace, filters them by a search box and moves the selected ones into a recycle bin, and a recycle bin that restores sessions one by one or all at once, or permanently deletes them. The recycle bin keeps its own list in browser storage and hides its sessions by wrapping the host session-visibility check, so it does not use the host archive; a moved session keeps its log on disk until it is permanently deleted. Sessions that are currently running are refused and reported instead of being moved.

Overview

Adds two entries to the DSH web sidebar above the settings row: a batch picker that groups sessions by workspace, filters them by a search box and moves the selected ones into a recycle bin, and a recycle bin that restores sessions one by one or all at once, or permanently deletes them. The recycle bin keeps its own list in browser storage and hides its sessions by wrapping the host session-visibility check, so it does not use the host archive; a moved session keeps its log on disk until it is permanently deleted. Sessions that are currently running are refused and reported instead of being moved.

Installation

Install from GitHub

dsh plugin --profile web add github:4wgtty4zm7-a11y/dsh-session-recycle-tools

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.