somnusovis/dsh-multi-workspace
Multi-workspace sandbox: grants file-write access to every registered workspace automatically — add a workspace, write to it immediately, no config or escalation needed.
Listed
0
Tools
Bundle verified
What it does
Multi-workspace sandbox: grants file-write access to every registered workspace automatically — add a workspace, write to it immediately, no config or escalation needed.
Best for
- DSH users who work across several registered workspaces and need immediate file-write access in each one.
- Workflows that frequently add or switch workspaces and want permissions to follow the live workspace registry automatically.
- Agents that otherwise require repeated sandbox escalation when editing files outside the session working directory.
Not ideal for
- Single-workspace setups where the default writable session directory is sufficient.
- Environments that do not want every registered workspace to become a writable root automatically.
- Workflows outside DeepSeek Harness, since the plugin extends DSH sandbox policy and file tools.
README
dsh-multi-workspace
Multi-workspace sandbox for DeepSeek Harness (DSH).
Automatically grants file-write access to ALL registered workspaces — add a workspace in the UI, write to it immediately, no config needed.
Problem
By default, DSH file sandbox only allows writes to one workspace directory (the session cwd). Writing to other directories requires sandbox escalation.
Solution
This plugin reads the live workspace registry on every sandbox policy check and injects every registered workspace path as an additional writable root.
How it works
Two layers:
- Wraps sandboxPolicy.resolve() to attach workspace paths
- Wraps fs.writeText/editText with retry fallback on each workspace root
Installation
dsh plugin --profile web add github:somnusovis/dsh-multi-workspace
# Or from npm (once published)
dsh plugin --profile web add dsh-multi-workspace
Restart DSH web service and refresh browser.
License
MIT
Frequently Asked QuestionsFAQ
Use the verified command dsh plugin --profile default add github:somnusovis/dsh-multi-workspace in a DSH-enabled shell. The command resolves the public package metadata and keeps the plugin attached to the catalog identity shown on this page.
Compatibility follows the bundle and profile status shown above. If a profile is not detected, keep the plugin disabled there and check the repository documentation before enabling it in production.
The GitHub link and activity metadata are the source of truth for releases and maintenance. Revisit this page after a new release to confirm the catalog has observed the latest version.