@deepseek-ai/dsh-sandbox-local 0.2.0-rc.1 → 0.2.1-alpha.1
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.i18n.yaml +8 -8
- package/README.md +3 -4
- package/README.zh.md +3 -4
- package/package.json +12 -12
package/README.i18n.yaml
CHANGED
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
en: f0c44248c2ca6acc
|
|
37
37
|
zh: 554e9f706671d222
|
|
38
38
|
/deepseek-ai-dsh-sandbox-local/understand-the-implementation/platform-profiles:
|
|
39
|
-
en:
|
|
40
|
-
zh:
|
|
39
|
+
en: 27bd0796772d59fd
|
|
40
|
+
zh: 6f2ece4182b220e1
|
|
41
41
|
/deepseek-ai-dsh-sandbox-local/understand-the-implementation/denial-and-runner-failure-dialects:
|
|
42
42
|
en: 62adfc9229c656cc
|
|
43
43
|
zh: 11b1534b6d61e5de
|
|
44
44
|
/deepseek-ai-dsh-sandbox-local/understand-the-implementation/source-map:
|
|
45
|
-
en:
|
|
46
|
-
zh:
|
|
45
|
+
en: 215bb6bac514b8b4
|
|
46
|
+
zh: 41e7777eea10a480
|
|
47
47
|
/deepseek-ai-dsh-sandbox-local/further-exploration:
|
|
48
|
-
en:
|
|
49
|
-
zh:
|
|
48
|
+
en: 4f8490b57aa528bc
|
|
49
|
+
zh: 4b3930cbb4f00303
|
|
50
50
|
/deepseek-ai-dsh-sandbox-local/model-experience:
|
|
51
51
|
en: 40d918676086c7fe
|
|
52
52
|
zh: d36023a60b28fd58
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
en: cc273320f6a1beaf
|
|
61
61
|
zh: 5c57a312ddc50651
|
|
62
62
|
/deepseek-ai-dsh-sandbox-local/known-limitations-and-deferred-work/dev-note/future-environment-coherent-groups:
|
|
63
|
-
en:
|
|
64
|
-
zh:
|
|
63
|
+
en: 30806aba33067e06
|
|
64
|
+
zh: 5c417e89d32a8eac
|
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ Selection is by platform first, probes second: each platform has a runner chain
|
|
|
72
72
|
|
|
73
73
|
### Platform profiles
|
|
74
74
|
|
|
75
|
-
The bwrap profile combines a read-only host root, a fresh `/dev`, and `/proc` from a private PID namespace — commands manage their descendants but cannot see host processes, so procfs magic links cannot bypass the mounts; `workspace-write` adds an ephemeral `/tmp` and a writable workspace bind. The [private-PID note](../../../.agents/notes/
|
|
75
|
+
The bwrap profile combines a read-only host root, a fresh `/dev`, and `/proc` from a private PID namespace — commands manage their descendants but cannot see host processes, so procfs magic links cannot bypass the mounts; `workspace-write` adds an ephemeral `/tmp` and a writable workspace bind. The [historical private-PID note](../../../.agents/notes/archived/bug-fix/2026-08-06-bwrap-private-pid-namespace.md) records the boundary.
|
|
76
76
|
|
|
77
77
|
The `@deepseek-ai/node-addon-system/landlock-run` API supplies the platform launcher, functional probe, and grant vocabulary; this provider maps mode to grants only, keeping path resolution and probe parsing with the versioned binary.
|
|
78
78
|
|
|
@@ -94,7 +94,6 @@ Each runner's kernel speaks its own denial dialect, carried on every wrap as `de
|
|
|
94
94
|
|---|---|
|
|
95
95
|
| [`src/index.ts`](src/index.ts) | Plugin entry: runner chain selection, functional probes, per-call wrap, ACL grant lifecycle |
|
|
96
96
|
| [`src/profiles.ts`](src/profiles.ts) | Per-platform profile builders: bwrap mounts, Landlock grants, Seatbelt SBPL |
|
|
97
|
-
| — | No runtime invariant companion is published; this package exposes no independent event sequence or mutable data relation beyond contracts enforced at its owning seam. |
|
|
98
97
|
|
|
99
98
|
</details>
|
|
100
99
|
|
|
@@ -109,7 +108,7 @@ Start with the subsystem reference for the shared vocabulary, then the seam cont
|
|
|
109
108
|
- [Sandbox seam package](../sandbox/README.md) — the service contract this provider implements.
|
|
110
109
|
- [Bash sandbox executor](../../shell/bash-sandbox/README.md) — the confined bash consumer.
|
|
111
110
|
- [Windows ACL restricted-token rung](../sandbox-windows-acl/README.md) — the win32 backend this provider mounts.
|
|
112
|
-
- [The subprocess sandbox decision](../../../.agents/notes/
|
|
111
|
+
- [The historical subprocess sandbox decision](../../../.agents/notes/archived/feature/2026-07-06-sandbox.md) — capability boundary and runner selection semantics.
|
|
113
112
|
|
|
114
113
|
-----
|
|
115
114
|
|
|
@@ -145,6 +144,6 @@ This Dev Note is working context for maintainers: undecided directions and open
|
|
|
145
144
|
|
|
146
145
|
#### Future: environment-coherent groups
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
An environment-coherent capability group example, such as bash plus fs against one container, remains undecided.
|
|
149
148
|
|
|
150
149
|
</details>
|
package/README.zh.md
CHANGED
|
@@ -72,7 +72,7 @@ kind: "package-reference"
|
|
|
72
72
|
|
|
73
73
|
### 平台 profile
|
|
74
74
|
|
|
75
|
-
bwrap profile 组合只读宿主根目录、全新 `/dev` 与私有 PID 命名空间中的 `/proc`——命令可管理其后代,但看不到宿主进程,因此 procfs 魔法链接无法绕过挂载;`workspace-write` 另加临时的 `/tmp` 与可写工作区绑定挂载。[
|
|
75
|
+
bwrap profile 组合只读宿主根目录、全新 `/dev` 与私有 PID 命名空间中的 `/proc`——命令可管理其后代,但看不到宿主进程,因此 procfs 魔法链接无法绕过挂载;`workspace-write` 另加临时的 `/tmp` 与可写工作区绑定挂载。[历史私有 PID 笔记](../../../.agents/notes/archived/bug-fix/2026-08-06-bwrap-private-pid-namespace.md)记录该边界。
|
|
76
76
|
|
|
77
77
|
`@deepseek-ai/node-addon-system/landlock-run` API 提供平台 launcher、功能探测与授权词汇;此提供方只做模式到授权的映射,把路径解析与探测解析保留在带版本的 binary 中。
|
|
78
78
|
|
|
@@ -94,7 +94,6 @@ Windows 档为每个工作区保留一个确定性写入 SID 和常驻 ACE,同
|
|
|
94
94
|
|---|---|
|
|
95
95
|
| [`src/index.ts`](src/index.ts) | 插件入口:runner 链选择、功能探测、逐调用包装、ACL 授权生命周期 |
|
|
96
96
|
| [`src/profiles.ts`](src/profiles.ts) | 各平台 profile 构建器:bwrap 挂载、Landlock 授权、Seatbelt SBPL |
|
|
97
|
-
| — | 不发布运行时不变式伴生入口;除所属 seam 强制执行的约定外,本包不公开独立的事件序列或可变数据关系。 |
|
|
98
97
|
|
|
99
98
|
</details>
|
|
100
99
|
|
|
@@ -109,7 +108,7 @@ Windows 档为每个工作区保留一个确定性写入 SID 和常驻 ACE,同
|
|
|
109
108
|
- [沙箱 seam 包](../sandbox/README.zh.md)——本提供方实现的服务约定。
|
|
110
109
|
- [Bash 沙箱执行器](../../shell/bash-sandbox/README.zh.md)——受限的 bash 消费方。
|
|
111
110
|
- [Windows ACL 受限令牌档](../sandbox-windows-acl/README.zh.md)——本提供方挂载的 win32 后端。
|
|
112
|
-
- [
|
|
111
|
+
- [历史子进程沙箱决策](../../../.agents/notes/archived/feature/2026-07-06-sandbox.md)——能力边界与 runner 选择语义。
|
|
113
112
|
|
|
114
113
|
-----
|
|
115
114
|
|
|
@@ -145,6 +144,6 @@ Windows 档为每个工作区保留一个确定性写入 SID 和常驻 ACE,同
|
|
|
145
144
|
|
|
146
145
|
#### 未来:环境一致的能力组
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
环境一致的能力组示例(例如 bash 加 fs 针对同一个容器)仍未决定。
|
|
149
148
|
|
|
150
149
|
</details>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-sandbox-local",
|
|
3
3
|
"description": "Local process-sandbox backends for the DeepSeek Harness sandbox seam: bwrap, the npm-distributed landlock-run launcher, macOS Seatbelt, or the Windows ACL restricted-token runner — functionally probed, fail-closed",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
31
|
-
"@deepseek-ai/dsh-sandbox": "0.2.
|
|
32
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
33
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
30
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
|
|
32
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
33
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-util-values": "0.2.0-rc.1",
|
|
36
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.1",
|
|
38
37
|
"@deepseek-ai/node-addon-system": "~0.1.2",
|
|
39
|
-
"@deepseek-ai/schemastery": "~3.18.
|
|
38
|
+
"@deepseek-ai/schemastery": "~3.18.5-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-sandbox-windows-acl": "0.2.1-alpha.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
43
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
42
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
43
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
|
|
44
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1",
|
|
45
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1"
|
|
46
46
|
}
|
|
47
47
|
}
|