@namzu/sandbox 27.0.0 → 29.0.0
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/CHANGELOG.md +28 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @namzu/sandbox
|
|
2
2
|
|
|
3
|
+
## 29.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [bb67398]
|
|
8
|
+
- Updated dependencies [38d62f7]
|
|
9
|
+
- Updated dependencies [38d62f7]
|
|
10
|
+
- Updated dependencies [38d62f7]
|
|
11
|
+
- Updated dependencies [38d62f7]
|
|
12
|
+
- Updated dependencies [38d62f7]
|
|
13
|
+
- Updated dependencies [38d62f7]
|
|
14
|
+
- @namzu/sdk@54.0.0
|
|
15
|
+
|
|
16
|
+
## 28.0.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [7608640]
|
|
21
|
+
- Updated dependencies [7608640]
|
|
22
|
+
- Updated dependencies [7608640]
|
|
23
|
+
- @namzu/sdk@53.0.0
|
|
24
|
+
|
|
3
25
|
## 27.0.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -1024,7 +1046,7 @@ terminator`, reporting no `peerCloseMs` at all — the close in that case is the
|
|
|
1024
1046
|
host set one, fails with `ENOSPC` or is OOM-killed, where writing it to disk used
|
|
1025
1047
|
to succeed. Any workload that spills more than its memory budget into `/tmp`,
|
|
1026
1048
|
`/var/tmp` or `/workspace` is in that group.
|
|
1027
|
-
Everything the
|
|
1049
|
+
Everything the base image does keeps working: `/tmp` stays executable
|
|
1028
1050
|
(docker's own `--tmpfs` default is `noexec`, which would have turned
|
|
1029
1051
|
`gcc -o /tmp/a.out … && /tmp/a.out` into `Permission denied`), and `HOME` stays
|
|
1030
1052
|
writable, which is what LibreOffice, matplotlib and npm need.
|
|
@@ -2722,7 +2744,7 @@ progress in <a local notes directory>/...` — a runtime error
|
|
|
2722
2744
|
returns 404, to explain the doctor's protocol/runtime split. The split is now
|
|
2723
2745
|
explained in the sentence itself.
|
|
2724
2746
|
- `@namzu/sdk` source comments cited design documents by path. They cite the
|
|
2725
|
-
session by name instead, which is
|
|
2747
|
+
session by name instead, which is all such a citation was ever worth.
|
|
2726
2748
|
|
|
2727
2749
|
No API, type, or behaviour change. The `@namzu/sandbox` message text is the
|
|
2728
2750
|
only runtime string affected, and nothing asserts on it.
|
|
@@ -3222,7 +3244,7 @@ mkdir '/Users'` crash that hit sibling-container deployments.
|
|
|
3222
3244
|
branched on the env, only logged it; size grew with the skill
|
|
3223
3245
|
list). Only `NAMZU_SANDBOX_WORKSPACE` is forwarded today.
|
|
3224
3246
|
|
|
3225
|
-
The
|
|
3247
|
+
The image pre-creates **only the parent directories**
|
|
3226
3248
|
`/mnt`, `/mnt/user-data`, `/mnt/skills` — root-owned, mode 0555.
|
|
3227
3249
|
Leaf paths (`outputs/`, `uploads/`, `tool_results/`, `transcripts/`,
|
|
3228
3250
|
`<skill-id>/`) are intentionally NOT pre-created. When a bind is
|
|
@@ -3327,7 +3349,7 @@ test:smoke`) runs an opt-in docker integration test exercising the
|
|
|
3327
3349
|
four-tier taxonomy that mirrors how production agent platforms
|
|
3328
3350
|
actually deploy code-execution sandboxes:
|
|
3329
3351
|
|
|
3330
|
-
- `process` —
|
|
3352
|
+
- `process` — host-process isolation
|
|
3331
3353
|
(bubblewrap on Linux, Seatbelt on macOS, via Anthropic's
|
|
3332
3354
|
`@anthropic-ai/sandbox-runtime`). For agents that run on the
|
|
3333
3355
|
developer's own machine.
|
|
@@ -3354,10 +3376,9 @@ test:smoke`) runs an opt-in docker integration test exercising the
|
|
|
3354
3376
|
"Sandboxing and Workload Isolation" post and the original
|
|
3355
3377
|
Firecracker NSDI '20 paper are the canonical refs).
|
|
3356
3378
|
- Trusted-tenant → gVisor (GKE Sandbox, Modal, OpenAI Code
|
|
3357
|
-
Interpreter
|
|
3358
|
-
the reference).
|
|
3379
|
+
Interpreter).
|
|
3359
3380
|
- Single-user developer machine → bubblewrap / Seatbelt
|
|
3360
|
-
(
|
|
3381
|
+
(`anthropic-experimental/sandbox-runtime`).
|
|
3361
3382
|
- Single-tenant or co-trusted → plain Docker + seccomp default
|
|
3362
3383
|
profile.
|
|
3363
3384
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namzu/sandbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "29.0.0",
|
|
4
4
|
"description": "Pluggable sandbox provider for @namzu/sdk. Process-level isolation (bubblewrap on Linux, Seatbelt on macOS, via @anthropic-ai/sandbox-runtime) for developer dev loops; container-level isolation (HTTP worker + a loopback-bound egress proxy that allows by resolved address and brokers outbound credentials so they never enter the sandbox) for multi-tenant production. Backend selected at construction time; the SDK consumes both through the same SandboxProvider interface.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"engines": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"provenance": true
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@namzu/sdk": "^
|
|
55
|
+
"@namzu/sdk": "^54.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"ws": "8.21.3"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"typescript": "^5.5.0",
|
|
64
64
|
"vitest": "^4.1.11",
|
|
65
65
|
"yaml": "^2.9.0",
|
|
66
|
-
"@namzu/sdk": "^
|
|
66
|
+
"@namzu/sdk": "^54.0.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsc --build",
|