@deepseek-ai/dsh-fs-sandbox 0.2.1-rc.4 → 0.2.2-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
@@ -21,8 +21,8 @@
21
21
  en: a954957753339bbf
22
22
  zh: c6633e86de8b2707
23
23
  /deepseek-ai-dsh-fs-sandbox/use-this-package/how-the-fence-behaves:
24
- en: 1a6f19bb21aff7b1
25
- zh: ace300527edd0c1f
24
+ en: 61625544970c8ed2
25
+ zh: 64907677a518d876
26
26
  /deepseek-ai-dsh-fs-sandbox/use-this-package/observable-success-and-failures:
27
27
  en: 722f744eb7b3b040
28
28
  zh: b95db78f9968f9c5
package/README.md CHANGED
@@ -43,7 +43,7 @@ The backend's config is unchanged from the local backend's (`cwd` resolution def
43
43
 
44
44
  ### How the fence behaves
45
45
 
46
- The effective mode comes from the calling session's override or escalation grant, falling back to the deployment default when neither is in force. `read-only` denies every mutation with the structured `FS_SANDBOX_DENIED`. `workspace-write` allows a mutation only when the target canonicalizes under the workspace root or a platform temp area (`/tmp`, `os.tmpdir()`) — the same writable set the Seatbelt profile grants. `danger-full-access` delegates unfenced.
46
+ The effective mode comes from the calling session's override or escalation grant, falling back to the deployment default when neither is in force. `read-only` denies every mutation with the structured `FS_SANDBOX_DENIED`. `workspace-write` allows a mutation only when the target canonicalizes under the workspace root, an explicit additional writable root, or a platform temp area (`/tmp`, `os.tmpdir()`) — the same writable set the Seatbelt profile grants. `danger-full-access` delegates unfenced.
47
47
 
48
48
  ### Observable success and failures
49
49
 
package/README.zh.md CHANGED
@@ -43,7 +43,7 @@ kind: "package-reference"
43
43
 
44
44
  ### 围栏行为
45
45
 
46
- 有效模式来自调用会话的覆盖值或升级授权,两者都未生效时才回退到部署默认值。`read-only` 以结构化 `FS_SANDBOX_DENIED` 拒绝所有变更。`workspace-write` 只允许目标规范化后位于工作区根目录或平台临时区域(`/tmp`、`os.tmpdir()`)之下的变更——与 Seatbelt profile 授权的可写集合相同。`danger-full-access` 不加围栏直接委托。
46
+ 有效模式来自调用会话的覆盖值或升级授权,两者都未生效时才回退到部署默认值。`read-only` 以结构化 `FS_SANDBOX_DENIED` 拒绝所有变更。`workspace-write` 只允许目标规范化后位于工作区根目录、显式额外可写根目录或平台临时区域(`/tmp`、`os.tmpdir()`)之下的变更——与 Seatbelt profile 授权的可写集合相同。`danger-full-access` 不加围栏直接委托。
47
47
 
48
48
  ### 可观察的成功与失败
49
49
 
package/lib/index.js CHANGED
@@ -86,9 +86,9 @@ async function isPathUnder(path, root, caseSensitive = process.platform !== "win
86
86
  *
87
87
  * Per-call policy: `read-only` denies every mutation; `workspace-write` allows
88
88
  * a mutation only when the target canonicalizes under the policy's workspace
89
- * root or a platform temp area from the shared `writableRoots` policy;
90
- * `danger-full-access` delegates unfenced. A denial throws the structured
91
- * `FS_SANDBOX_DENIED`.
89
+ * root, an explicit additional writable root, or a platform temp area from the
90
+ * shared `writableRoots` policy; `danger-full-access` delegates unfenced. A
91
+ * denial throws the structured `FS_SANDBOX_DENIED`.
92
92
  *
93
93
  * @module @deepseek-ai/dsh-fs-sandbox
94
94
  */
@@ -19,9 +19,9 @@
19
19
  *
20
20
  * Per-call policy: `read-only` denies every mutation; `workspace-write` allows
21
21
  * a mutation only when the target canonicalizes under the policy's workspace
22
- * root or a platform temp area from the shared `writableRoots` policy;
23
- * `danger-full-access` delegates unfenced. A denial throws the structured
24
- * `FS_SANDBOX_DENIED`.
22
+ * root, an explicit additional writable root, or a platform temp area from the
23
+ * shared `writableRoots` policy; `danger-full-access` delegates unfenced. A
24
+ * denial throws the structured `FS_SANDBOX_DENIED`.
25
25
  *
26
26
  * @module @deepseek-ai/dsh-fs-sandbox
27
27
  */
package/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Datei-Sandbox-Zugriff",
4
+ "description": "Beschränken Sie den Umfang des Schreibens und Bearbeitens von Dateien entsprechend dem aktuellen Berechtigungsmodus."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Acceso a la zona de pruebas de archivos",
4
+ "description": "Limite el alcance de escritura y edición de archivos de acuerdo con el modo de permiso actual."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Accès au bac à sable de fichiers",
4
+ "description": "Limitez la portée de l’écriture et de la modification des fichiers en fonction du mode d’autorisation actuel."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "ファイルサンドボックスアクセス",
4
+ "description": "現在の権限モードに従って、ファイルの書き込みと編集を制限します。"
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Acesso à sandbox de arquivos",
4
+ "description": "Limite o escopo de gravação e edição de arquivos de acordo com o modo de permissão atual."
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Доступ к файловой песочнице",
4
+ "description": "Ограничьте область записи и редактирования файлов в соответствии с текущим режимом разрешений."
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-fs-sandbox",
3
3
  "description": "Sandbox-enforcing implementation of the DeepSeek Harness filesystem seam: fences write/edit by the per-call sandbox mode (read-only denies mutation, workspace-write contains it to the workspace + temp roots) while reads pass through",
4
- "version": "0.2.1-rc.4",
4
+ "version": "0.2.2-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -29,18 +29,18 @@
29
29
  ],
30
30
  "license": "MIT",
31
31
  "peerDependencies": {
32
- "@deepseek-ai/dsh-fs": "0.2.1-rc.4",
33
- "@deepseek-ai/dsh-fs-local": "0.2.1-rc.4",
34
- "@deepseek-ai/dsh-sandbox": "0.2.1-rc.4",
35
- "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.4",
36
- "@deepseek-ai/cordis": "~4.0.5"
32
+ "@deepseek-ai/dsh-fs": "0.2.2-alpha.2",
33
+ "@deepseek-ai/dsh-fs-local": "0.2.2-alpha.2",
34
+ "@deepseek-ai/dsh-sandbox": "0.2.2-alpha.2",
35
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-alpha.2",
36
+ "@deepseek-ai/cordis": "~4.0.6-alpha.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@deepseek-ai/dsh-fs": "0.2.1-rc.4",
40
- "@deepseek-ai/dsh-fs-local": "0.2.1-rc.4",
41
- "@deepseek-ai/dsh-sandbox": "0.2.1-rc.4",
42
- "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.4",
43
- "@deepseek-ai/cordis": "~4.0.5",
44
- "@deepseek-ai/dsh-session-projection": "0.2.1-rc.4"
39
+ "@deepseek-ai/dsh-fs": "0.2.2-alpha.2",
40
+ "@deepseek-ai/dsh-fs-local": "0.2.2-alpha.2",
41
+ "@deepseek-ai/dsh-sandbox": "0.2.2-alpha.2",
42
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-alpha.2",
43
+ "@deepseek-ai/cordis": "~4.0.6-alpha.1",
44
+ "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.2"
45
45
  }
46
46
  }