dsh-session-isolation: Assigning independent working directories for each new session in the workspace
**dsh-session-isolation is a DSH local bundle (v1.2.0) maintained by wangwuli-AAA. Without adding new workspaces, it automatically creates _sessions/<session-id> and switches the working-directory projection for new sessions (startup/clear) within configured workspaces. The Browser provides a title-bar button to open the session directory; starting with v1.2.0, file preview URLs based on the workspace root are fixed. Requires DSH Desktop 0.2.1-rc.2+. Install the bundle via a folder and edit the workspaces in cordis.patch.yml. Failures only warn and do not block the session.**
Read Moredsh-session-isolation: Multi-session Write Isolation in the Same Workspace
When multiple DeepSeek Harness sessions share a working directory, file tools may overwrite each other. dsh-session-isolation assigns each session an output directory under .sessions/<short-id>/, injects write boundaries at the pre-step phase, and uses ctx.tools.guard to reject overwriting files occupied by other live sessions. It does not change the cwd and does not intercept bash; ownership is released when a session ends or restarts. Install: dsh plugin --profile web add with a local absolute path. Adjust behavior via DSH_SESSION_ISOLATION and other environment variables (guard/advise/off). MIT licensed with zero third-party dependencies.
Read Moredsh-session-isolation: Assign isolated working directories to DSH sessions
By default, DSH allows multiple sessions within the same Workspace to write to the same directory, often causing parallel Agents to overwrite each other's files. dsh-session-isolation is a workflow-type Cordis plugin by sweet-boby that addresses this issue. Once isolation is enabled in a directory, a writable sandbox (session-<id>) is assigned to each new session, while the project root remains a read-only shared space. It supports the .dsh-isolate marker, a web settings page, the session_isolation tool, and a host API. Installation requires Node.js 22+ and has been verified with DSH 0.1.6-alpha.2. Add it via GitHub or the GUI and restart the host. Released under the MIT license; please review the source code and permissions before installation.
Read More