@deepseek-ai/dsh-bash-sandbox 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 +4 -4
- package/README.md +1 -2
- package/README.zh.md +1 -2
- package/package.json +14 -14
package/README.i18n.yaml
CHANGED
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
en: e1b1ac62e94ce535
|
|
40
40
|
zh: 5fa7a0353fbf777d
|
|
41
41
|
/deepseek-ai-dsh-bash-sandbox/understand-the-implementation/source-map:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: 8963005b41bfc3c6
|
|
43
|
+
zh: 7df1436563c10a19
|
|
44
44
|
/deepseek-ai-dsh-bash-sandbox/understand-the-implementation/main-flow:
|
|
45
45
|
en: 731878f592fa79c6
|
|
46
46
|
zh: 3187f4c6907a13c2
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
en: 0b6c6d7e216e1d23
|
|
49
49
|
zh: 15f94cfccf4fa242
|
|
50
50
|
/deepseek-ai-dsh-bash-sandbox/further-exploration:
|
|
51
|
-
en:
|
|
52
|
-
zh:
|
|
51
|
+
en: 0e4585dbb92a0290
|
|
52
|
+
zh: 4f08980a15991c4c
|
|
53
53
|
/deepseek-ai-dsh-bash-sandbox/model-experience:
|
|
54
54
|
en: 215e7ba838619b7b
|
|
55
55
|
zh: a311da3843709f90
|
package/README.md
CHANGED
|
@@ -83,7 +83,6 @@ The executor is the sandboxing Service Provider for the `ctx.shell` seam: it inh
|
|
|
83
83
|
|---|---|
|
|
84
84
|
| [`src/index.ts`](src/index.ts) | Plugin entry: `SandboxBashExecutor`, per-process fact retention, execution preparation |
|
|
85
85
|
| [`src/helpers.ts`](src/helpers.ts) | Denial, runner-failure, and runner-spawn-failure classification |
|
|
86
|
-
| — | No runtime invariant companion is published; classification is observable in results, and this package exposes no independent event sequence or mutable data relation beyond contracts enforced at its owning seam. |
|
|
87
86
|
| `tests/` | Exercised behavior across the bwrap, Landlock, and Seatbelt runners |
|
|
88
87
|
|
|
89
88
|
### Main flow
|
|
@@ -112,7 +111,7 @@ Read these pages when the executor contract is not enough. They move from the se
|
|
|
112
111
|
- [sandbox-policy](../../sandbox/sandbox-policy/README.md) — the per-session mode and workspace root this executor honors.
|
|
113
112
|
- [sandbox-local](../../sandbox/sandbox-local/README.md) — the shipped runner backends: bwrap, Landlock, and Seatbelt.
|
|
114
113
|
- [tool-bash](../tool-bash/README.md) — the model-facing `bash` tool and its escalation surface.
|
|
115
|
-
- [Sandbox
|
|
114
|
+
- [Sandbox reference](../../sandbox/sandbox/README.md) — the sandbox design, escalation, and switching contract.
|
|
116
115
|
|
|
117
116
|
-----
|
|
118
117
|
|
package/README.zh.md
CHANGED
|
@@ -83,7 +83,6 @@ kind: "package-reference"
|
|
|
83
83
|
|---|---|
|
|
84
84
|
| [`src/index.ts`](src/index.ts) | 插件入口:`SandboxBashExecutor`、按进程保留事实、execute 包装 |
|
|
85
85
|
| [`src/helpers.ts`](src/helpers.ts) | 拒绝、runner 失败与 runner spawn 失败分类 |
|
|
86
|
-
| — | 不发布运行时不变式伴生入口;分类可在结果中观察,且除归属 seam 所强制执行的约定外,本包不公开独立事件序列或可变数据关系。 |
|
|
87
86
|
| `tests/` | 跨 bwrap、Landlock 与 Seatbelt runner 演练的行为 |
|
|
88
87
|
|
|
89
88
|
### 主要流程
|
|
@@ -112,7 +111,7 @@ kind: "package-reference"
|
|
|
112
111
|
- [sandbox-policy](../../sandbox/sandbox-policy/README.zh.md) —— 本执行器遵守的每会话模式与工作区根目录。
|
|
113
112
|
- [sandbox-local](../../sandbox/sandbox-local/README.zh.md) —— 随附的 runner 后端:bwrap、Landlock 与 Seatbelt。
|
|
114
113
|
- [tool-bash](../tool-bash/README.zh.md) —— 面向模型的 `bash` 工具及其升权面。
|
|
115
|
-
- [沙箱
|
|
114
|
+
- [沙箱 参考](../../sandbox/sandbox/README.zh.md) —— 沙箱设计、升权与切换约定。
|
|
116
115
|
|
|
117
116
|
-----
|
|
118
117
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-bash-sandbox",
|
|
3
3
|
"description": "Sandbox-consuming implementation of the DeepSeek Harness bash executor seam (confines every command via ctx.sandbox, reports denial/enforcement result facts)",
|
|
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-shell": "0.2.
|
|
31
|
-
"@deepseek-ai/dsh-bash-local": "0.2.
|
|
32
|
-
"@deepseek-ai/dsh-sandbox": "0.2.
|
|
33
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.
|
|
34
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
30
|
+
"@deepseek-ai/dsh-shell": "0.2.1-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-bash-local": "0.2.1-alpha.1",
|
|
32
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
|
|
33
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
|
|
34
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-bash-local": "0.2.
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/dsh-sandbox": "0.2.
|
|
41
|
-
"@deepseek-ai/dsh-sandbox-
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
37
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.1-alpha.1",
|
|
38
|
+
"@deepseek-ai/dsh-bash-local": "0.2.1-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
|
|
40
|
+
"@deepseek-ai/dsh-sandbox-local": "0.2.1-alpha.1",
|
|
41
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
|
|
42
|
+
"@deepseek-ai/dsh-shell": "0.2.1-alpha.1",
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
44
44
|
"@deepseek-ai/node-addon-system": "~0.1.2",
|
|
45
|
-
"@deepseek-ai/dsh-session-projection": "0.2.
|
|
45
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-alpha.1"
|
|
46
46
|
}
|
|
47
47
|
}
|