@deepseek-ai/dsh-tool-bash 0.0.1-rc.1 → 0.0.1-rc.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/bash/tool-bash/README.md
5
- README.md: 9e2cd0c2ed999a11dcbffcd99a1d0cb672367905
6
- README.zh.md: 8a1e7ba0af36ffd891b38491075ee75283fdbed5
5
+ README.md: d5483e5e266a5362d9a8d324d71046591fe146bc
6
+ README.zh.md: 527543ea7130cb89e7e9776cb71adec842527e85
package/README.md CHANGED
@@ -42,7 +42,7 @@ The tool owns its `presentCall`/`presentResult` render intent. A foreground call
42
42
 
43
43
  ## The tool builds its request from named args only
44
44
 
45
- `BashExecRequest` carries optional `stdoutMaxBytes`, `stdin`, ordinary `env`, and managed `dshEnv`, used by trusted in-process plugins and this tool's environment registry. The model-facing tool exposes none of `stdoutMaxBytes`, `stdin`, or `env`: it builds requests from named command/workdir/timeout/signal/sandbox fields plus the registry-collected `dshEnv`. Extra model keys are ignored and cannot replace managed values. Shell syntax provides equivalent command-level behavior, while the local executor scrubs ambient credentials and stale `DSH_*` values. See the [stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-surface.md).
45
+ `BashExecRequest` carries optional `stdoutMaxBytes`, `stdin`, ordinary `env`, and managed `dshEnv`, used by trusted in-process plugins and this tool's environment registry. The model-facing tool exposes none of `stdoutMaxBytes`, `stdin`, or `env`: it builds requests from named command/workdir/timeout/signal/sandbox fields plus the registry-collected `dshEnv`. Extra model keys are ignored and cannot replace managed values. Shell syntax provides equivalent command-level behavior, while the local executor scrubs ambient credentials and stale `DSH_*` values. See the [stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.md).
46
46
 
47
47
  ## Permissions and escalation
48
48
 
package/README.zh.md CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  ## 工具仅使用具名参数构建请求
44
44
 
45
- `BashExecRequest` 携带可选的 `stdoutMaxBytes`、`stdin`、普通 `env` 和托管 `dshEnv`,供可信进程内插件及此工具的环境注册表使用。模型侧工具不公开 `stdoutMaxBytes`、`stdin` 或 `env`:它使用具名的命令/工作目录/超时/信号/沙箱字段,加上从注册表收集的 `dshEnv` 来构建请求。额外模型键会被忽略,无法替换托管值。Shell 语法可以提供等价的命令级行为,而本地执行器会清除环境中的凭据和陈旧 `DSH_*` 值。参见 [stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-surface.md)。
45
+ `BashExecRequest` 携带可选的 `stdoutMaxBytes`、`stdin`、普通 `env` 和托管 `dshEnv`,供可信进程内插件及此工具的环境注册表使用。模型侧工具不公开 `stdoutMaxBytes`、`stdin` 或 `env`:它使用具名的命令/工作目录/超时/信号/沙箱字段,加上从注册表收集的 `dshEnv` 来构建请求。额外模型键会被忽略,无法替换托管值。Shell 语法可以提供等价的命令级行为,而本地执行器会清除环境中的凭据和陈旧 `DSH_*` 值。参见 [stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.md)。
46
46
 
47
47
  ## 权限与升权
48
48
 
package/lib/index.js CHANGED
@@ -76,7 +76,7 @@ function renderResult(result, escalationModes = []) {
76
76
  * Shape one background-process read into the `task_output` delta the model
77
77
  * sees: the incremental delta, plus the lossy-read notice (with full-stream
78
78
  * spill paths) when in-memory truncation dropped unread bytes. Empty-delta
79
- * rendering (`(no new output)`) is the generic control surface's job.
79
+ * rendering (`(no new output)`) is the generic task controller's job.
80
80
  * @param read - one incremental read from the process handle.
81
81
  * @param sandbox - settled sandbox facts, when this was a confined process.
82
82
  * @param escalationModes - escalation targets advertised by this composition.
@@ -21,7 +21,7 @@ export declare function renderResult(result: BashRunResult, escalationModes?: re
21
21
  * Shape one background-process read into the `task_output` delta the model
22
22
  * sees: the incremental delta, plus the lossy-read notice (with full-stream
23
23
  * spill paths) when in-memory truncation dropped unread bytes. Empty-delta
24
- * rendering (`(no new output)`) is the generic control surface's job.
24
+ * rendering (`(no new output)`) is the generic task controller's job.
25
25
  * @param read - one incremental read from the process handle.
26
26
  * @param sandbox - settled sandbox facts, when this was a confined process.
27
27
  * @param escalationModes - escalation targets advertised by this composition.
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-task and sandbox-escalation support",
4
- "version": "0.0.1-rc.1",
4
+ "version": "0.0.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -32,42 +32,42 @@
32
32
  ],
33
33
  "license": "BSD-3-Clause",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
36
- "@deepseek-ai/dsh-bash": "^0.0.1-rc.1",
37
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
38
- "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.1",
39
- "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.1",
40
- "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.1",
41
- "@deepseek-ai/dsh-tasks": "^0.0.1-rc.1",
42
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
43
- "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.1",
44
- "@deepseek-ai/cordis": "^4.0.1-rc.1",
45
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
46
- "@deepseek-ai/dsh-bash-env": "^0.0.1-rc.1"
35
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.2",
36
+ "@deepseek-ai/dsh-bash-env": "^0.0.1-rc.2",
37
+ "@deepseek-ai/dsh-bash": "^0.0.1-rc.2",
38
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
39
+ "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.2",
40
+ "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.2",
41
+ "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.2",
42
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.2",
43
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.2",
44
+ "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.2",
45
+ "@deepseek-ai/dsh-tasks": "^0.0.1-rc.2",
46
+ "@deepseek-ai/cordis": "^4.0.1-rc.1"
47
47
  },
48
48
  "dependencies": {
49
49
  "@deepseek-ai/schemastery": "^3.18.1-rc.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.1",
53
- "@deepseek-ai/dsh-agent-loop": "^0.0.1-rc.1",
54
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.0.1-rc.1",
55
- "@deepseek-ai/dsh-bash": "^0.0.1-rc.1",
56
- "@deepseek-ai/dsh-bash-env": "^0.0.1-rc.1",
57
- "@deepseek-ai/dsh-bash-local": "^0.0.1-rc.1",
58
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.1",
59
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.1",
60
- "@deepseek-ai/dsh-subprocess-local": "^0.0.1-rc.1",
61
- "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.1",
62
- "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.1",
63
- "@deepseek-ai/dsh-session": "^0.0.1-rc.1",
64
- "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.1",
65
- "@deepseek-ai/dsh-tasks": "^0.0.1-rc.1",
66
- "@deepseek-ai/dsh-tasks-local": "^0.0.1-rc.1",
67
- "@deepseek-ai/dsh-tool-tasks": "^0.0.1-rc.1",
68
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
69
- "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.1",
52
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.2",
53
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.0.1-rc.2",
54
+ "@deepseek-ai/dsh-agent-loop": "^0.0.1-rc.2",
55
+ "@deepseek-ai/dsh-bash": "^0.0.1-rc.2",
56
+ "@deepseek-ai/dsh-bash-local": "^0.0.1-rc.2",
57
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
58
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.2",
59
+ "@deepseek-ai/dsh-subprocess-local": "^0.0.1-rc.2",
60
+ "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.2",
61
+ "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.2",
62
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.2",
63
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.0.1-rc.2",
64
+ "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.2",
65
+ "@deepseek-ai/dsh-tasks": "^0.0.1-rc.2",
66
+ "@deepseek-ai/dsh-tasks-local": "^0.0.1-rc.2",
67
+ "@deepseek-ai/dsh-tool-tasks": "^0.0.1-rc.2",
68
+ "@deepseek-ai/dsh-tools": "^0.0.1-rc.2",
69
+ "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.2",
70
70
  "@deepseek-ai/cordis": "^4.0.1-rc.1",
71
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.0.1-rc.1"
71
+ "@deepseek-ai/dsh-bash-env": "^0.0.1-rc.2"
72
72
  }
73
73
  }