@deepseek-ai/dsh-sandbox 0.2.0-rc.2 → 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 +6 -6
- package/README.md +2 -3
- package/README.zh.md +2 -3
- package/package.json +8 -8
package/README.i18n.yaml
CHANGED
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
en: 0fc96495c192b513
|
|
40
40
|
zh: 38b51b9b3c208012
|
|
41
41
|
/deepseek-ai-dsh-sandbox/understand-the-implementation/source-map:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: f58b67217cbc147a
|
|
43
|
+
zh: b2cbde0342f3f8aa
|
|
44
44
|
/deepseek-ai-dsh-sandbox/understand-the-implementation/escalation-choreography:
|
|
45
45
|
en: 1b418d41f571ab3d
|
|
46
46
|
zh: 62b289cdd6f4d272
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
en: 956d3195cf7a35f8
|
|
49
49
|
zh: f83d8342e22bb7cd
|
|
50
50
|
/deepseek-ai-dsh-sandbox/further-exploration:
|
|
51
|
-
en:
|
|
52
|
-
zh:
|
|
51
|
+
en: 33d09277fb15d59f
|
|
52
|
+
zh: 920ffe66671b56f3
|
|
53
53
|
/deepseek-ai-dsh-sandbox/model-experience:
|
|
54
54
|
en: 215e7ba838619b7b
|
|
55
55
|
zh: a311da3843709f90
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
en: cc273320f6a1beaf
|
|
88
88
|
zh: 5c57a312ddc50651
|
|
89
89
|
/deepseek-ai-dsh-sandbox/known-limitations-and-deferred-work/dev-note/future-consumers-and-environments:
|
|
90
|
-
en:
|
|
91
|
-
zh:
|
|
90
|
+
en: f5fb77e6f7fd03ed
|
|
91
|
+
zh: fc4e28f6c04198ea
|
package/README.md
CHANGED
|
@@ -93,7 +93,6 @@ This section explains the design decisions behind the contract and points at the
|
|
|
93
93
|
| [`src/index.ts`](src/index.ts) | Plugin entry: `SandboxProvider` service, mode/enforcement/policy types, fail-closed error |
|
|
94
94
|
| [`src/escalation.ts`](src/escalation.ts) | Escalation vocabulary: wider-mode ladder, argument validation, denial and hint markers, approval choreography |
|
|
95
95
|
| [`src/roots.ts`](src/roots.ts) | Writable-root derivation shared by the Seatbelt profile and the in-process fs fence |
|
|
96
|
-
| — | No runtime invariant companion is published; this package exposes no independent event sequence or mutable data relation beyond contracts enforced at its owning seam. |
|
|
97
96
|
|
|
98
97
|
### Escalation choreography
|
|
99
98
|
|
|
@@ -113,7 +112,7 @@ The ladder is a closed table — `read-only` may escalate to `workspace-write` o
|
|
|
113
112
|
Start with the subsystem reference for the exhaustive contract, then the backends, consumers, and policy source that realize it.
|
|
114
113
|
|
|
115
114
|
- [Process sandbox subsystem](../../../docs/subsystems/sandbox.md) — the complete vocabulary, per-call policy, and classification dialects.
|
|
116
|
-
- [The subprocess sandbox decision](../../../.agents/notes/
|
|
115
|
+
- [The historical subprocess sandbox decision](../../../.agents/notes/archived/feature/2026-07-06-sandbox.md) — capability boundary, escalation design, and deferred phases.
|
|
117
116
|
- [Local sandbox backends](../sandbox-local/README.md) — the per-platform runners behind `ctx.sandbox`.
|
|
118
117
|
- [Bash sandbox executor](../../shell/bash-sandbox/README.md) — the confined bash consumer.
|
|
119
118
|
- [Sandbox policy package](../sandbox-policy/README.md) — where the per-call mode and workspace root come from.
|
|
@@ -180,6 +179,6 @@ This Dev Note is working context for maintainers: undecided directions and open
|
|
|
180
179
|
|
|
181
180
|
#### Future: consumers and environments
|
|
182
181
|
|
|
183
|
-
|
|
182
|
+
An optional `subagent-acp` consumer that confines child agents with an unconfined default, and environment-coherent capability group examples, remain undecided. Windows confinement is provided by the ACL restricted-token backend of `sandbox-local`.
|
|
184
183
|
|
|
185
184
|
</details>
|
package/README.zh.md
CHANGED
|
@@ -93,7 +93,6 @@ kind: "package-reference"
|
|
|
93
93
|
| [`src/index.ts`](src/index.ts) | 插件入口:`SandboxProvider` 服务、模式/强制执行/策略类型、故障关闭错误 |
|
|
94
94
|
| [`src/escalation.ts`](src/escalation.ts) | 升权词汇:更宽模式阶梯、参数校验、拒绝与提示标记、审批编排 |
|
|
95
95
|
| [`src/roots.ts`](src/roots.ts) | 可写根目录推导,Seatbelt profile 与进程内 fs 栅栏共享 |
|
|
96
|
-
| — | 不发布运行时不变式伴生入口;除所属 seam 强制执行的约定外,本包不公开独立的事件序列或可变数据关系。 |
|
|
97
96
|
|
|
98
97
|
### 升权编排
|
|
99
98
|
|
|
@@ -113,7 +112,7 @@ kind: "package-reference"
|
|
|
113
112
|
先从子系统参考文档了解穷尽式约定,再看实现它的后端、消费方与策略来源。
|
|
114
113
|
|
|
115
114
|
- [进程沙箱子系统](../../../docs/subsystems/sandbox.zh.md)——完整词汇、逐调用策略与分类方言。
|
|
116
|
-
- [
|
|
115
|
+
- [历史子进程沙箱决策](../../../.agents/notes/archived/feature/2026-07-06-sandbox.md)——能力边界、升权设计与延期阶段。
|
|
117
116
|
- [本地沙箱后端](../sandbox-local/README.zh.md)——`ctx.sandbox` 背后的各平台 runner。
|
|
118
117
|
- [Bash 沙箱执行器](../../shell/bash-sandbox/README.zh.md)——受限的 bash 消费方。
|
|
119
118
|
- [沙箱策略包](../sandbox-policy/README.zh.md)——逐调用模式与工作区根目录的来源。
|
|
@@ -180,6 +179,6 @@ sandbox mode "<mode>" is requested but no sandbox backend is usable on this host
|
|
|
180
179
|
|
|
181
180
|
#### 未来:消费方与环境
|
|
182
181
|
|
|
183
|
-
|
|
182
|
+
可选的 `subagent-acp` 消费方(隔离子 agent,默认不隔离)与环境一致的能力组示例仍未决定。Windows 隔离由 `sandbox-local` 的 ACL 受限令牌后端提供。
|
|
184
183
|
|
|
185
184
|
</details>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-sandbox",
|
|
3
3
|
"description": "Abstract process-sandbox seam (ctx.sandbox) for the DeepSeek Harness: same-world confinement vocabulary and the SandboxProvider contract",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
31
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
32
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
30
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
|
|
32
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
36
|
-
"@deepseek-ai/dsh-
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
35
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
36
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.1",
|
|
37
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@deepseek-ai/dsh-util-values": "0.2.
|
|
40
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.1"
|
|
41
41
|
}
|
|
42
42
|
}
|