dream-fish69/dsh-session-workspace-organizer

Moves a DSH workspace to a new path and rewrites the session logs' cwd to match, then gives every new session its own output folder.

DSH binds every session of a workspace to the same directory, so scripts, logs, downloads and screenshots from unrelated conversations pile up together. Three additions without patching DSH: relocate a workspace to another path or disk, rewriting the cwd inside each session log's first zstd frame while keeping later frames byte-identical and re-registering the workspace from the new path; give every new or resumed session its own folder under sessions/, telling the model through a session-scoped prompt to write artifacts there and asking for confirmation when a write targets the workspace root; and manage idle sessions. Sessions this process cannot attach yet are recorded in pending-attach.json and attached after a restart.

Files & Data ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add github:dream-fish69/dsh-session-workspace-organizer

The GitHub install line from the README, which also lists an npm form and a local link: variant. Read the safety notes before using the move: the whole directory including sessions/ is moved and the old path is deleted, with no junction or symlink left behind. A cross-disk move copies first and verifies file by file, keeping the source until it matches.

Compatibility

The README states DSH 0.2.x, in Web and Desktop profiles that include dsh-base and dsh-web-app. Busy-handle handling keys off Windows error codes, with the copy fallback acting as the normal path elsewhere. Movement runs as a command in an open conversation, so a session must be open and must not belong to the workspace being moved.

Details

Alternatives

omdsh-dev/dsh-session-health · bwndlct/dsh-session-export · zoahdev/dsh-readme-forge

More plugins in Files & Data

Browse more in Files & Data

Guides for Files & Data plugins