dsh-workspace-folders

为某个工作区登记的额外文件夹会被当作真正的工作区根目录:会话运行时上下文会列出它们,workspace_roots 工具给出每个根目录的顶层结构、git 分支与 AGENTS.md/README/清单文件,文件工具在这些目录里读写、打补丁、移动、删除都不再弹审批。入口是侧栏工作区行的悬停按钮或设置页。Windows 上系统沙箱无法给进程追加可写目录,因此 pwsh 仍限制在工作区内。

插件介绍

为某个工作区登记的额外文件夹会被当作真正的工作区根目录:会话运行时上下文会列出它们,workspace_roots 工具给出每个根目录的顶层结构、git 分支与 AGENTS.md/README/清单文件,文件工具在这些目录里读写、打补丁、移动、删除都不再弹审批。入口是侧栏工作区行的悬停按钮或设置页。Windows 上系统沙箱无法给进程追加可写目录,因此 pwsh 仍限制在工作区内。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:melody12311/dsh-workspace-folders

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。