@clawos-dev/clawd 0.2.151-beta.319.24d7cf9 → 0.2.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +29 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -35695,7 +35695,35 @@ var DEFAULT_PERSONAS = [
|
|
|
35695
35695
|
model: "opus",
|
|
35696
35696
|
iconKey: "doc",
|
|
35697
35697
|
public: false,
|
|
35698
|
-
|
|
35698
|
+
// 与 app-builder 对齐"调用阿里云的工作方式"(owner 2026-06-17 要求):开发型 profile —— 放开文件/web
|
|
35699
|
+
// 工具 + node/pnpm 工具链精确路径 + 出站 TLD 通配白名单。html-slides 需要联网(git clone frontend-slides
|
|
35700
|
+
// skill、调阿里云 CLI/SDK)。
|
|
35701
|
+
// 阿里云凭证:**复用共享 deploy-kit 单源**($HOME/.clawd/deploy-kit/.secrets/aliyun.env,全 FC persona 共用、
|
|
35702
|
+
// seedDeployKit 每次安装都铺),不在 persona 目录另存一份。app-builder 的 FC 部署走 daemon 侧脚本(沙箱外)
|
|
35703
|
+
// 故其 profile 无需 carve 这个路径;html-slides 没有 daemon 侧流程、要在 cc 沙箱内直接 `set -a; . $HOME/.clawd/
|
|
35704
|
+
// deploy-kit/.secrets/aliyun.env; set +a` 后调 aliyun CLI(env 凭证绕过沙箱外的 ~/.aliyun/),所以这里**额外**把
|
|
35705
|
+
// 这个凭证文件加进 allowRead(denyRead '~/' 之上的精确凿洞,单文件、最小暴露,同 ~/.npmrc 先例)。
|
|
35706
|
+
sandboxProfile: {
|
|
35707
|
+
permissions: {
|
|
35708
|
+
defaultMode: "bypassPermissions",
|
|
35709
|
+
allow: ["Read", "Edit", "Write", "Glob", "Grep", "WebFetch", "WebSearch"]
|
|
35710
|
+
},
|
|
35711
|
+
sandbox: {
|
|
35712
|
+
filesystem: {
|
|
35713
|
+
allowRead: ["~/.npmrc", "~/Library/Preferences/pnpm", "~/.nvm", "~/Library/pnpm", "~/.local/share/pnpm", "~/.local/state/pnpm", "~/.npm", "~/.pnpm-store", "~/.clawd/deploy-kit/.secrets/aliyun.env"],
|
|
35714
|
+
allowWrite: ["~/Library/pnpm", "~/.local/share/pnpm", "~/.local/state/pnpm", "~/.npm", "~/.pnpm-store"]
|
|
35715
|
+
},
|
|
35716
|
+
network: {
|
|
35717
|
+
allowedDomains: ["*.com", "*.org", "*.io", "*.net", "*.dev", "*.app", "*.cn", "*.co", "*.chat", "*.ai"],
|
|
35718
|
+
allowLocalBinding: true
|
|
35719
|
+
}
|
|
35720
|
+
}
|
|
35721
|
+
},
|
|
35722
|
+
codexSandbox: {
|
|
35723
|
+
writableRoots: ["~/Library/pnpm", "~/.local/share/pnpm", "~/.local/state/pnpm", "~/.npm", "~/.pnpm-store"],
|
|
35724
|
+
denyRead: [".secrets/**"],
|
|
35725
|
+
network: true
|
|
35726
|
+
}
|
|
35699
35727
|
}
|
|
35700
35728
|
];
|
|
35701
35729
|
function bundleSiblingFromArgv(argv1, sibling) {
|
package/package.json
CHANGED