@deepseek-ai/dsh-sandbox-local
@deepseek-ai/dsh-sandbox-local 是 dsh 的一个沙箱后端:本地沙箱后端:bwrap、npm 分发的 landlock-run 启动器、macOS Seatbelt,或 Windows ACL 受限令牌。运行时探测,探测失败就拒绝执行。
这个包发布在 npm 上,当前版本 0.0.1-rc.1,安装位置是 $DSH_HOME/profiles/<名字> 的依赖列表。
安装
插件管理会把参数转发给 profile 目录里的 pnpm,这条命令的行为和 pnpm add 一致。
dsh plugin --profile web add @deepseek-ai/dsh-sandbox-local它在 profile 里做什么
本地沙箱后端:bwrap、npm 分发的 landlock-run 启动器、macOS Seatbelt,或 Windows ACL 受限令牌。运行时探测,探测失败就拒绝执行。当前版本 0.0.1-rc.1。想知道它是否已经在你的 profile 里,看 $DSH_HOME/profiles/<名字>/package.json 的依赖,或用 --dump-config 读合成后的树。
常见问题
装错了怎么卸掉?
用 dsh plugin --profile <名字> remove @deepseek-ai/dsh-sandbox-local,和装的时候对称。
版本不匹配会怎样?
插件通过 engines.dsh 或 DSH 的 peer 依赖声明兼容区间。不在区间内时命令行会跳过它并打印要求,而不是启动一个可能崩的组合。