zerobox 0.1.9 → 0.1.10
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/README.md +9 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -26,7 +26,9 @@ Lightweight, cross-platform process sandboxing powered by [OpenAI Codex](https:/
|
|
|
26
26
|
- **Single binary:** No Docker, no VMs, ~10ms overhead
|
|
27
27
|
|
|
28
28
|
<p align="center">
|
|
29
|
-
<
|
|
29
|
+
<a href="https://www.youtube.com/watch?v=wZiPm9BOPCg" target="_blank" title="Watch the video">
|
|
30
|
+
<img alt="Zerobox Sandbox Flow" src="packages/zerobox/assets/flow.svg" alt="Watch the video" style="width: 100%; max-width: 1135px;" />
|
|
31
|
+
</a>
|
|
30
32
|
</p>
|
|
31
33
|
|
|
32
34
|
## Install
|
|
@@ -93,6 +95,12 @@ const sandbox = Sandbox.create({
|
|
|
93
95
|
const output = await sandbox.sh`node agent.js`.text();
|
|
94
96
|
```
|
|
95
97
|
|
|
98
|
+
## Architecture
|
|
99
|
+
|
|
100
|
+
<p align="center">
|
|
101
|
+
<img src="https://raw.githubusercontent.com/afshinm/zerobox/refs/heads/main/packages/zerobox/assets/sandbox-flow.png" alt="Zerobox architecture" width="800" />
|
|
102
|
+
</p>
|
|
103
|
+
|
|
96
104
|
## Secrets
|
|
97
105
|
|
|
98
106
|
Secrets are API keys, tokens, or credentials that should never be visible inside the sandbox. The sandboxed process sees a placeholder in the environment variable and the real value is substituted at the network proxy level only for requested hosts:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zerobox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Sandbox any command with file, network, and credential controls.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"dist/"
|
|
41
41
|
],
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@zerobox/cli-darwin-arm64": "0.1.
|
|
44
|
-
"@zerobox/cli-darwin-x64": "0.1.
|
|
45
|
-
"@zerobox/cli-linux-arm64": "0.1.
|
|
46
|
-
"@zerobox/cli-linux-x64": "0.1.
|
|
47
|
-
"@zerobox/cli-linux-arm64-musl": "0.1.
|
|
48
|
-
"@zerobox/cli-linux-x64-musl": "0.1.
|
|
43
|
+
"@zerobox/cli-darwin-arm64": "0.1.10",
|
|
44
|
+
"@zerobox/cli-darwin-x64": "0.1.10",
|
|
45
|
+
"@zerobox/cli-linux-arm64": "0.1.10",
|
|
46
|
+
"@zerobox/cli-linux-x64": "0.1.10",
|
|
47
|
+
"@zerobox/cli-linux-arm64-musl": "0.1.10",
|
|
48
|
+
"@zerobox/cli-linux-x64-musl": "0.1.10"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^22.0.0",
|