dsh-multi-workspace
其他 活跃维护

dsh-multi-workspace

somnusovis/dsh-multi-workspace

作为多工作区沙箱扩展工具,新工作区完成注册后自动开放全部文件写入权限,无需手动逐个配置授权,简化多工作区协作场景下的文件操作流程,降低权限配置成本。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
Other
主要语言
MIT
开源协议
7 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:somnusovis/dsh-multi-workspace
git clone https://github.com/somnusovis/dsh-multi-workspace.git
git clone git@github.com:somnusovis/dsh-multi-workspace.git
README.md main

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:

  1. Wraps sandboxPolicy.resolve() to attach workspace paths
  2. 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