dsh-workspace-autoclaim: Reattach Existing Sessions to Workspaces with Matching cwd on Startup

Introducing the client plugin dsh-workspace-autoclaim: upon DSH Host startup, it reads session headers, resolves the cwd via realpath, and compares the result against the workspace registry; if the paths match, it attaches automatically. The process is idempotent and does not alter the session's cwd. The document explains why non-UI sessions lack a sidebar, details the dependencies on workspaceRegistry and sessionPersistence, specifies the DSH 0.2.2-rc.1 and Node >= 22.12 requirements, outlines the link-dependency setup and cordis.patch.yml installation steps, and covers known limitations, including the risk of mis-attachment that requires manual unbinding.

Read More