@tablation/crew 0.127.8 → 0.127.9
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.js +9 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11509,7 +11509,7 @@ var SandboxRunner = class {
|
|
|
11509
11509
|
rmSync14(tmp, { recursive: true, force: true });
|
|
11510
11510
|
}
|
|
11511
11511
|
}
|
|
11512
|
-
const withStubs =
|
|
11512
|
+
const withStubs = `${sandboxEnvExports()}PATH=${shQuote2(SANDBOX_STUB_DIR)}:"$PATH"; export PATH; `;
|
|
11513
11513
|
const command2 = viaUpload ? ["sh", "-c", `${withStubs}exec ${[harness, ...plan.args].map(shQuote2).join(" ")} < ${SANDBOX_PROMPT_PATH}`] : ["sh", "-c", `${withStubs}exec "$@"`, "sh", harness, ...plan.args];
|
|
11514
11514
|
const child = spawn3(cfg.bin, ["sandbox", "exec", "-n", name, "--no-login-shell", "--workdir", cfg.workDir, "--", ...command2], {
|
|
11515
11515
|
env: process.env,
|
|
@@ -13376,6 +13376,14 @@ var CREW_ENV = {
|
|
|
13376
13376
|
// A run cannot reach the download host, so an in-run update attempt is only noise.
|
|
13377
13377
|
DISABLE_AUTOUPDATER: "1"
|
|
13378
13378
|
};
|
|
13379
|
+
function sandboxEnvExports() {
|
|
13380
|
+
const vars = {
|
|
13381
|
+
...CREW_ENV,
|
|
13382
|
+
[SERENA_LANGUAGE_SERVERS_ENV]: `${SERENA_IMAGE_HOME}/language_servers`,
|
|
13383
|
+
UV_PYTHON_INSTALL_DIR: `${CREW_PREFIX}/uv/python`
|
|
13384
|
+
};
|
|
13385
|
+
return Object.entries(vars).map(([k, v]) => `${k}=${v}; export ${k}; `).join("");
|
|
13386
|
+
}
|
|
13379
13387
|
function claudeInstallCommand() {
|
|
13380
13388
|
const cases = Object.entries(SANDBOX_CLAUDE_SHA256).map(([arch, { platform: platform2, sha256: sha2562 }]) => `${arch}) p=${platform2}; sum=${sha2562};;`).join(" ");
|
|
13381
13389
|
return [
|
package/package.json
CHANGED