Skip to content

v0.1.0

Choose a tag to compare

@hyein-cbio hyein-cbio released this 19 Aug 06:04
· 65 commits to main since this release
b3703f4

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-cleanup

Added

  • 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 -rf elsewhere), then clear projection cache and workspace accounting.
  • Compiled lib/dsh-entry.js so DSH can load the plugin from node_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-cleanup lists only orphaned sessions, and accepts an explicit orphaned scope.
  • Fall back to the basic selector when ctx.ui.custom() is a no-op.
  • Refuse Pi trash/unlink against DSH session.jsonl.zstd artifacts.

Changed

  • Deletion is the whole session directory and sidecar, not a single session.jsonl.zstd file.