dsh-sandbox-tune:在 DSH 沙箱内跑通 go build 与 npm install

DSH 的 workspace-write 沙箱常因 Go/npm 等缓存写在工区外而触发提权弹窗。dsh-sandbox-tune 通过缓存重定向(redirect/in-place)、可写目录授权与可选命令自动批准,替换默认 sandbox 执行链,使 go build、npm install 等尽量在沙箱内完成。需 DSH 0.2.1-rc.2+,推荐 tarball 安装并重启;全局与会话级配置支持热更新。插件 MIT 开源,安装前请审阅源码与权限边界。

阅读全文