@steerable/agent-shell 0.6.46 → 0.6.47
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.
|
@@ -508,11 +508,19 @@ export class SidecarSupervisor extends EventEmitter {
|
|
|
508
508
|
(allowResolver ? ' + resolver only (web tools egress via the per-host proxy)' : '') +
|
|
509
509
|
')');
|
|
510
510
|
this.sandboxPosture = { backend: 'seatbelt', enforcement: 'partial', reason: 'active' };
|
|
511
|
+
// macOS TMPDIR is /var/folders, which the Seatbelt profile does not
|
|
512
|
+
// allow. run_code / run_js materialize their workers there and fail
|
|
513
|
+
// with EPERM, so the model cannot list or read local folders.
|
|
514
|
+
const confinedTmp = join(writableRoots[0], 'tmp');
|
|
515
|
+
mkdirSync(confinedTmp, { recursive: true });
|
|
511
516
|
return {
|
|
512
517
|
command: SEATBELT_EXECUTABLE,
|
|
513
518
|
args: ['-p', profile, command, ...args],
|
|
514
519
|
env: {
|
|
515
520
|
PYTHONDONTWRITEBYTECODE: '1',
|
|
521
|
+
TMPDIR: confinedTmp,
|
|
522
|
+
TMP: confinedTmp,
|
|
523
|
+
TEMP: confinedTmp,
|
|
516
524
|
// macOS denies a nested sandbox_apply once the outer profile allows
|
|
517
525
|
// outbound network, so a layer-1-confined sidecar cannot wrap its own
|
|
518
526
|
// run_code child. The marker tells the sidecar to let that child
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerable/agent-shell",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.47",
|
|
4
4
|
"description": "Steerable framework — product-neutral Node HostRuntime and headless HTTP server shared by Tauri desktop and browser deployments; scenario packs extend it through @steerable/pack-sdk.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://steerableframework.com/",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"he": "^1.2.0",
|
|
56
56
|
"node-pty": "^1.1.0",
|
|
57
57
|
"semver": "^7.8.0",
|
|
58
|
-
"@steerable/
|
|
59
|
-
"@steerable/
|
|
60
|
-
"@steerable/agent-
|
|
58
|
+
"@steerable/pack-sdk": "0.6.47",
|
|
59
|
+
"@steerable/agent-harness": "0.6.47",
|
|
60
|
+
"@steerable/agent-protocol": "0.6.47"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/better-sqlite3": "^7.6.13",
|