@deepseek-ai/dsh-tool-bash 0.2.3-alpha.1 → 0.2.3-alpha.3

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
@@ -30,8 +30,8 @@
30
30
  en: d6da2d08afdca324
31
31
  zh: 606b7b1da7447874
32
32
  /deepseek-ai-dsh-tool-bash/use-this-package/sandboxed-execution-and-escalation:
33
- en: 472beeb895ca46cf
34
- zh: ba110c9f62f7d5b8
33
+ en: 73433b803d582dd2
34
+ zh: f51ce91d568ef68e
35
35
  /deepseek-ai-dsh-tool-bash/use-this-package/what-can-go-wrong:
36
36
  en: 52c02853f32bf6f9
37
37
  zh: 77355e3df066527b
package/README.md CHANGED
@@ -67,7 +67,7 @@ With a job registry composed, a foreground command is registered with `ctx.jobs`
67
67
 
68
68
  ### Sandboxed execution and escalation
69
69
 
70
- When the mounted executor confines commands (for example `dsh-bash-sandbox`), a blocked file operation is reported as `[sandbox: file access denied under <mode> mode]` — a policy denial, not a command failure. The model may then retry the exact same command once in the same turn with `sandbox_permissions` (the narrowest wider mode that suffices) and a one-sentence `justification`; the approval prompt raised by that retry is how the user consents. Request wider access only after a real denial; a rejected escalation is final for that command. Repeating the current mode runs without approval, while a narrower target fails before execution. Without `sandbox_permissions`, `justification` may be omitted, empty, or whitespace-only; a non-empty reason without a mode is rejected. Repeating the effective mode also permits an omitted or blank reason. A different requested mode requires a non-empty reason; widening still requires approval.
70
+ When the mounted executor confines commands (for example `dsh-bash-sandbox`), a blocked file operation is reported as `[sandbox: file access denied under <mode> mode]` — a policy denial, not a command failure. The model may then retry the exact same command once in the same turn with `sandbox_permissions` (the narrowest wider mode that suffices) and a one-sentence `justification`; the approval prompt raised by that retry is how the user consents. Request wider access only after a real denial; a rejected escalation is final for that command. Requesting the current mode or a weaker one is a no-op: the command runs at the current mode without approval, because the sandbox never narrows a call. Without `sandbox_permissions`, `justification` may be omitted, empty, or whitespace-only; a non-empty reason without a mode is rejected. Repeating the effective mode also permits an omitted or blank reason. A different requested mode requires a non-empty reason; widening still requires approval.
71
71
 
72
72
  ### What can go wrong
73
73
 
package/README.zh.md CHANGED
@@ -67,7 +67,7 @@ kind: "package-reference"
67
67
 
68
68
  ### 沙箱执行与升权
69
69
 
70
- 当已挂载的执行器约束命令(例如 `dsh-bash-sandbox`)时,被阻止的文件操作会报告为 `[sandbox: file access denied under <mode> mode]`——这是策略拒绝,不是命令失败。模型随后可以在同一轮次中用 `sandbox_permissions`(满足需要的最窄更宽模式)与一句 `justification` 重试完全相同的命令一次;该重试引发的审批提示就是用户同意的方式。只有发生真实拒绝后才请求更宽权限;被拒绝的升权对该命令即为最终结果。重复当前模式无需审批即可执行,更窄目标则在执行前失败。未提供 `sandbox_permissions` 时,`justification` 可以省略、为空字符串或仅含空白;未指定模式却提供非空理由会被拒绝。重复当前生效模式时也可省略理由或提供空白理由。请求不同模式时必须提供非空理由;升权仍需审批。
70
+ 当已挂载的执行器约束命令(例如 `dsh-bash-sandbox`)时,被阻止的文件操作会报告为 `[sandbox: file access denied under <mode> mode]`——这是策略拒绝,不是命令失败。模型随后可以在同一轮次中用 `sandbox_permissions`(满足需要的最窄更宽模式)与一句 `justification` 重试完全相同的命令一次;该重试引发的审批提示就是用户同意的方式。只有发生真实拒绝后才请求更宽权限;被拒绝的升权对该命令即为最终结果。请求当前模式或更弱的模式是空操作:命令无需审批即以当前模式执行,因为沙箱永远不会收窄一次调用。未提供 `sandbox_permissions` 时,`justification` 可以省略、为空字符串或仅含空白;未指定模式却提供非空理由会被拒绝。重复当前生效模式时也可省略理由或提供空白理由。请求不同模式时必须提供非空理由;升权仍需审批。
71
71
 
72
72
  ### 可能出什么问题
73
73
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-bash",
3
3
  "description": "Model-facing bash tool with optional generic background-job and sandbox-escalation support",
4
- "version": "0.2.3-alpha.1",
4
+ "version": "0.2.3-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,50 +32,50 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-agent": "0.2.3-alpha.1",
36
- "@deepseek-ai/dsh-shell": "0.2.3-alpha.1",
37
- "@deepseek-ai/dsh-shell-env": "0.2.3-alpha.1",
38
- "@deepseek-ai/dsh-llm": "0.2.3-alpha.1",
39
- "@deepseek-ai/dsh-sandbox": "0.2.3-alpha.1",
40
- "@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.1",
41
- "@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.1",
42
- "@deepseek-ai/dsh-jobs": "0.2.3-alpha.1",
43
- "@deepseek-ai/dsh-tools": "0.2.3-alpha.1",
44
- "@deepseek-ai/dsh-user-approval": "0.2.3-alpha.1",
45
- "@deepseek-ai/cordis": "~4.1.0",
46
- "@deepseek-ai/dsh-working-directory": "0.2.3-alpha.1",
47
- "@deepseek-ai/dsh-subprocess": "0.2.3-alpha.1"
35
+ "@deepseek-ai/dsh-agent": "0.2.3-alpha.3",
36
+ "@deepseek-ai/dsh-shell": "0.2.3-alpha.3",
37
+ "@deepseek-ai/dsh-shell-env": "0.2.3-alpha.3",
38
+ "@deepseek-ai/dsh-llm": "0.2.3-alpha.3",
39
+ "@deepseek-ai/dsh-sandbox": "0.2.3-alpha.3",
40
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.3",
41
+ "@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.3",
42
+ "@deepseek-ai/dsh-jobs": "0.2.3-alpha.3",
43
+ "@deepseek-ai/dsh-tools": "0.2.3-alpha.3",
44
+ "@deepseek-ai/dsh-user-approval": "0.2.3-alpha.3",
45
+ "@deepseek-ai/cordis": "~4.2.0-alpha.2",
46
+ "@deepseek-ai/dsh-working-directory": "0.2.3-alpha.3",
47
+ "@deepseek-ai/dsh-subprocess": "0.2.3-alpha.3"
48
48
  },
49
49
  "dependencies": {
50
- "@deepseek-ai/schemastery": "~3.19.0"
50
+ "@deepseek-ai/schemastery": "~3.20.0-alpha.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@deepseek-ai/dsh-brand": "0.2.3-alpha.1",
54
- "@deepseek-ai/dsh-ptc-runtime": "0.2.3-alpha.1",
55
- "@deepseek-ai/dsh-agent": "0.2.3-alpha.1",
56
- "@deepseek-ai/dsh-agent-loop": "0.2.3-alpha.1",
57
- "@deepseek-ai/dsh-agent-loop-testkit": "0.2.3-alpha.1",
58
- "@deepseek-ai/dsh-shell": "0.2.3-alpha.1",
59
- "@deepseek-ai/dsh-shell-env": "0.2.3-alpha.1",
60
- "@deepseek-ai/dsh-bash-local": "0.2.3-alpha.1",
61
- "@deepseek-ai/dsh-llm": "0.2.3-alpha.1",
62
- "@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.1",
63
- "@deepseek-ai/dsh-sandbox": "0.2.3-alpha.1",
64
- "@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.1",
65
- "@deepseek-ai/dsh-session": "0.2.3-alpha.1",
66
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.3-alpha.1",
67
- "@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.1",
68
- "@deepseek-ai/dsh-jobs": "0.2.3-alpha.1",
69
- "@deepseek-ai/dsh-jobs-local": "0.2.3-alpha.1",
70
- "@deepseek-ai/dsh-tool-executor-native": "0.2.3-alpha.1",
71
- "@deepseek-ai/dsh-tool-executor-ptc": "0.2.3-alpha.1",
72
- "@deepseek-ai/dsh-tool-jobs": "0.2.3-alpha.1",
73
- "@deepseek-ai/dsh-tool-testkit": "0.2.3-alpha.1",
74
- "@deepseek-ai/dsh-tools": "0.2.3-alpha.1",
75
- "@deepseek-ai/dsh-user-approval": "0.2.3-alpha.1",
76
- "@deepseek-ai/cordis": "~4.1.0",
77
- "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.1",
78
- "@deepseek-ai/dsh-working-directory": "0.2.3-alpha.1",
79
- "@deepseek-ai/dsh-subprocess": "0.2.3-alpha.1"
53
+ "@deepseek-ai/dsh-brand": "0.2.3-alpha.3",
54
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.3-alpha.3",
55
+ "@deepseek-ai/dsh-agent": "0.2.3-alpha.3",
56
+ "@deepseek-ai/dsh-agent-loop": "0.2.3-alpha.3",
57
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.3-alpha.3",
58
+ "@deepseek-ai/dsh-shell": "0.2.3-alpha.3",
59
+ "@deepseek-ai/dsh-shell-env": "0.2.3-alpha.3",
60
+ "@deepseek-ai/dsh-bash-local": "0.2.3-alpha.3",
61
+ "@deepseek-ai/dsh-llm": "0.2.3-alpha.3",
62
+ "@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.3",
63
+ "@deepseek-ai/dsh-sandbox": "0.2.3-alpha.3",
64
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.3",
65
+ "@deepseek-ai/dsh-session": "0.2.3-alpha.3",
66
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.3-alpha.3",
67
+ "@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.3",
68
+ "@deepseek-ai/dsh-jobs": "0.2.3-alpha.3",
69
+ "@deepseek-ai/dsh-jobs-local": "0.2.3-alpha.3",
70
+ "@deepseek-ai/dsh-tool-registry-native": "0.2.3-alpha.3",
71
+ "@deepseek-ai/dsh-tool-registry-ptc": "0.2.3-alpha.3",
72
+ "@deepseek-ai/dsh-tool-jobs": "0.2.3-alpha.3",
73
+ "@deepseek-ai/dsh-tool-testkit": "0.2.3-alpha.3",
74
+ "@deepseek-ai/dsh-tools": "0.2.3-alpha.3",
75
+ "@deepseek-ai/dsh-user-approval": "0.2.3-alpha.3",
76
+ "@deepseek-ai/cordis": "~4.2.0-alpha.2",
77
+ "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.3",
78
+ "@deepseek-ai/dsh-working-directory": "0.2.3-alpha.3",
79
+ "@deepseek-ai/dsh-subprocess": "0.2.3-alpha.3"
80
80
  }
81
81
  }