Skip to content

v0.1.1 — reliable session moves

Latest

Choose a tag to compare

@reinocheong reinocheong released this 15 Aug 11:53

v0.1.1 — reliable session moves

Three reliability fixes so a move never leaves a session stranded:

  • Projection cache follows the moveidentity.cwd in the session projection cache is rewritten together with the header and the log directory, so the web session list resolves the correct storage slug immediately (no ENOENT on cold sessions, no "Ungrouped" residue after a move).
  • Boot reconciliation — on startup the plugin audits every stored projection-cache record against its on-disk header and repairs stale identity.cwd entries left behind by earlier half-applied moves or manual reorgs, so the list shows real session titles from the first render instead of the folder placeholder.
  • Live-session moves — a session loaded in memory has a frozen header snapshot; the plugin now detaches it from the live agents store before re-attaching it to the target workspace, so the attach validation never sees a stale cwd (previously the physical move could succeed while the session silently landed in "Ungrouped").

Each fix is fail-soft: if a repair can't run, the plugin logs a warning and leaves the state untouched.

Install:

dsh plugin --profile web add https://github.com/reinocheong/dsh-session-move/archive/refs/tags/v0.1.1.tar.gz