drscrewdriver/dsh-seatbelt-sandbox
dsh-seatbelt 沙箱增强尝试使用非 exec 工具直接对接系统 seatbelt 相关 API
catalog 简介:dsh-seatbelt 方面沙箱增强尝试使用非exec工具直接对接系统seatbelt相关api
安装
# 1. 获取源码
# git clone git@github.com:drscrewdriver/dsh-seatbelt-sandbox.git && cd dsh-seatbelt-sandbox
# 2. 安装依赖 + 构建(git 安装后 node_modules/、lib/、bin/ 三者全部缺失,缺一不可)
npm install # node_modules/
npm run build # lib/(tsc 编译;缺了它插件 main 指向的 lib/index.js 不存在,加载直接失败)
npm run build:native # bin/darwin-<arch>/seatbelt-run(含 Mach-O 校验)
./bin/darwin-$(uname -m)/seatbelt-run --self-test && echo OK # 自检:libsandbox 可用
# 3. 完整测试(12 单元 + 5 macOS e2e,无 skip)
npm test
# 4. 接入 dsh(完整步骤见下节「dsh plugin 命令组装」)
dsh plugin --profile web add /absolute/path/to/dsh-seatbelt-sandbox
# (或 git 安装:dsh plugin --profile web add git+ssh://git@github.com/drscrewdriver/dsh-seatbelt-sandbox.git)
dsh web --dump-config | grep -B1 -A3 'sandbox-seatbelt' # 确认官方行 disabled + 本插件新行
node examples/verify-dsh-boot.mjs # 真实 boot 8 项断言,全绿即装配正确
kill <正在运行的 dsh web PID> && dsh web # 重启使新装配生效(必做:运行中实例不热载 bundle 层)
把 drscrewdriver/dsh-seatbelt-sandbox 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
GanyuanRan/Aegis
dsh-market/dsh-market
toby-bridges/api-relay-audit
ysr666/dsh-vision-router