Repository navigation
v0.1.0
First DSH release. This is a port of pi-session-cleanup, not a continuation of that package's 1.x line.
Install:
dsh plugin --profile pi-tui add dsh-session-cleanupAdded
- Native DSH plugin that lists sessions through
sessionPersistence.listSnapshots()+locate()and deletes them with the host cleanup chain: stop/flush/detach, remove the session directory and sidecar (Trash on macOS,rm -rfelsewhere), then clear projection cache and workspace accounting. - Compiled
lib/dsh-entry.jsso DSH can load the plugin fromnode_modules. /session-cleanup delete <id...>plus a user-questions multi-select flow when that service is mounted.- Native DSH
/nix,/nix agent [preset], and/nix quit.
Fixed
- Default
/session-cleanuplists only orphaned sessions, and accepts an explicitorphanedscope. - Fall back to the basic selector when
ctx.ui.custom()is a no-op. - Refuse Pi trash/unlink against DSH
session.jsonl.zstdartifacts.
Changed
- Deletion is the whole session directory and sidecar, not a single
session.jsonl.zstdfile.