@deepseek-ai/dsh-sandbox-policy 0.1.3-alpha.2 → 0.1.5-alpha.2

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 CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/sandbox/sandbox-policy/README.md
5
- README.md: d3069ac2169ab1c2af757c1e8294598efde123a7
6
- README.zh.md: 5121fd054d35d5acf59f4815e2d896cc1799270b
5
+ README.md: c29908937eb2b2cdae4ced5224d441d8fef3df34
6
+ README.zh.md: 2285360ea9c7f7e18b367e02636eb71601f475c1
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-sandbox-policy` resolves the file-effect mode and workspace root for every confined capability call from one shared policy home, and tells the model the current policy before each request. A deployment sets a default mode and a fallback workspace root; a session can switch its own mode, and the switch survives restart because it lives in the session log. Every enforcing capability — bash, filesystem, terminal — reads the same resolved policy, so the mode a call runs under never depends on which family resolved it. The model sees one concise `sandbox:policy` contribution naming the mode and workspace, without a separate inventory of mounted capabilities.
12
+ Use this package to apply one file-effect policy to every confined bash, filesystem, and terminal call. Deployments choose a default mode and fallback workspace root, while each session can switch modes independently. Session choices survive restart, and all enforcing capabilities use the same mode and workspace for a call. Before each model request, the model receives the effective policy and workspace without an inventory of mounted capabilities.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-sandbox-policy` 为每次受限能力调用从统一的策略归属位置解析文件效果模式与工作区根目录,并在每次请求前把当前策略告知模型。部署方设置默认模式与回退工作区根目录;会话可以切换自己的模式,切换因存在于会话日志中而跨重启保留。每个强制执行能力——bash、文件系统、终端——读取同一份解析出的策略,因此调用运行的模式绝不取决于由哪个家族解析。模型会看到一条简洁的 `sandbox:policy` 贡献,指明模式与工作区,而不会收到一份已挂载能力的清单。
12
+ 使用本包可以让每次受限的 bash、文件系统和终端调用遵循同一份文件操作策略。部署方选择默认模式和回退工作区根目录,每个会话则可以独立切换模式。会话选择可跨重启保留,所有强制执行能力在一次调用中使用相同的模式和工作区。每次模型请求前,模型都会收到有效策略和工作区说明,但不会收到已挂载能力的清单。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-sandbox-policy",
3
3
  "description": "Per-call sandbox policy resolver and current model context: deployment fallbacks plus each session's mode and workspace root, shared by every enforcing capability family",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,25 +32,25 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
36
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
38
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
39
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
35
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
36
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.2",
37
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.2",
38
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
39
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
40
40
  "@deepseek-ai/cordis": "^4.0.2",
41
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
41
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2"
42
42
  },
43
43
  "dependencies": {
44
44
  "zod": "^4.4.3",
45
45
  "@deepseek-ai/schemastery": "^3.18.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
48
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
49
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.2",
50
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
53
53
  "@deepseek-ai/cordis": "^4.0.2",
54
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
54
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2"
55
55
  }
56
56
  }