ninglovegithub/dsh-workspace-combiner ↗★ 0
dsh-workspace-combiner
DSH 工作区组合器:左侧边栏管理多工作空间,每个绑定一个主目录(工作区锚点/文档区)+ 若干代码项目;新建向导自动识别 Java/Vue/React/Python/Go 等项目并支持多选,新建会话在主目录打开,把所有项目绝对路径注入 system prompt,联动 @chaoset/sandbox-extra-roots 放开读写白名单。 适合需要同时管理多个代码项目,并向AI注入完整工作区上下文的开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ninglovegithub/dsh-workspace-combinerUsage
- Open the Workspace Combiner tab in the sidebar.
- Select an existing workspace or create one via the New workspace wizard.
- Add directories (native-workspace pick / directory picker / manual path), set each directory's access / group, and set the workspace mode and load mode.
- Optionally save a snapshot of the directory configuration.
- Click New session — the primary directory is opened and a new session is created; the plugin then injects all active directories (with the chosen load mode) into the system prompt and syncs the sandbox writable roots.
- Check the Context monitor card to see the file counts and estimated token budget.
⚠️ Directory changes only affect newly created sessions; already-open sessions are not re-loaded.
Injected prompt (appended to the system prompt)
## Configuration (optional)
No schema; configure via `cordis.patch.yml`:
~~~yaml
workspace-combiner:
enabled: true # master switch
announceToAgent: true # inject the multi-workspace prompt section