@deepseek-ai/dsh-tool-bash 0.1.2-alpha.5 → 0.1.3-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/shell/tool-bash/README.md
5
- README.md: a8cd3af0de6abcee46ec5e375d0b58674a372023
6
- README.zh.md: 9d8ad57e682cba3238836a2b5bfed506ffc02937
5
+ README.md: 02f4e1a16e01d9ff0b3fdc3fc06c3261c6e71b79
6
+ README.zh.md: 3a67be2c62db2915ab80c3cc4b382d5c6347ec01
package/README.md CHANGED
@@ -78,7 +78,7 @@ This section explains the design decisions behind the tool and points at the cod
78
78
  ### Design philosophy
79
79
 
80
80
  - **Model-facing consumer of the shell seam.** The tool is the Consumer role of the bash capability: it registers the `bash` schema, renders results, and resolves per-call policy, while the executor seam owns process mechanics.
81
- - **Request from named args only.** The tool never exposes `stdin`, `env`, or `stdoutMaxBytes`; it builds each request from command/workdir/timeout/signal fields plus the registry-collected `dshEnv`, so model-supplied keys cannot replace managed values ([bash stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.md)).
81
+ - **Request from named args only.** The tool never exposes `stdin`, `env`, or `stdoutMaxBytes`; it builds each request from command/workdir/timeout/signal fields plus the registry-collected `dshEnv`, so model-supplied keys cannot replace managed values.
82
82
  - **Non-zero exits are reported, not errored.** Only infrastructure failures (spawn errors, aborts) surface as tool errors; the model interprets exit codes and markers.
83
83
  - **Background work belongs to the job runtime.** A background call registers a process handle with `ctx.jobs`; ids, ownership, completion notices, and disposal are the runtime's, and this tool only maps bash exit and sandbox facts into job output.
84
84
 
@@ -112,7 +112,6 @@ Read these pages when the package-level contract is not enough. They move from t
112
112
  - [Bash executor subsystem](../../../docs/subsystems/shell.md) — request/spec vocabulary, results, and background processes.
113
113
  - [shell-env](../shell-env/README.md) — the managed `DSH_*` environment every call receives.
114
114
  - [tool-jobs](../../jobs/tool-jobs/README.md) — `job_output`, `job_list`, and `job_kill` controls for background runs.
115
- - [bash stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.md) — why the tool exposes no stdin or env.
116
115
  - [sandbox Agent Note](../../../.agents/notes/implemented/feature/2026-07-06-sandbox.md) — escalation and mode-switching rationale.
117
116
  - [Generated tool catalog](../../../docs/tool-catalog.md#deepseek-aidsh-tool-bash) — the exact `bash` argument schema.
118
117
  - [Generated configuration catalog](../../../docs/config-catalog.md#deepseek-aidsh-tool-bash) — every accepted config field and its source declaration.
package/README.zh.md CHANGED
@@ -78,7 +78,7 @@ kind: "package-reference"
78
78
  ### 设计理念
79
79
 
80
80
  - **shell seam 的模型侧消费方。** 本工具是 bash 能力的 Consumer 角色:它注册 `bash` schema、渲染结果并解析每次调用的策略,进程机制归执行器 seam 所有。
81
- - **请求只来自命名参数。** 工具从不暴露 `stdin`、`env` 或 `stdoutMaxBytes`;它只用命令/workdir/超时/信号字段加上注册表收集的 `dshEnv` 构建每个请求,因此模型提供的键无法替换受管值([bash stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.zh.md))。
81
+ - **请求只来自命名参数。** 工具从不暴露 `stdin`、`env` 或 `stdoutMaxBytes`;它只用命令/workdir/超时/信号字段加上注册表收集的 `dshEnv` 构建每个请求,因此模型提供的键无法替换受管值。
82
82
  - **非零退出只报告、不失败。** 只有基础设施故障(spawn 错误、中止)才会作为工具错误暴露;模型解读退出码与标记。
83
83
  - **后台工作归任务运行时。** 后台调用把进程句柄注册到 `ctx.jobs`;job id、所有权、完成通知与释放都是运行时的职责,本工具只把 bash 退出与沙箱事实映射为任务输出。
84
84
 
@@ -112,7 +112,6 @@ kind: "package-reference"
112
112
  - [Bash 执行器子系统](../../../docs/subsystems/shell.zh.md)——请求/spec 词汇、结果与后台进程。
113
113
  - [shell-env](../shell-env/README.zh.md)——每次调用都会收到的受管 `DSH_*` 环境。
114
114
  - [tool-jobs](../../jobs/tool-jobs/README.zh.md)——后台运行的 `job_output`、`job_list` 与 `job_kill` 控制。
115
- - [bash stdin/env Agent Note](../../../.agents/notes/implemented/architecture/2026-06-30-bash-stdin-env-trusted-plugin-api.zh.md)——为什么工具不暴露 stdin 或 env。
116
115
  - [沙箱 Agent Note](../../../.agents/notes/implemented/feature/2026-07-06-sandbox.zh.md)——升权与模式切换的理由。
117
116
  - [生成的工具目录](../../../docs/tool-catalog.zh.md#deepseek-aidsh-tool-bash)——`bash` 参数 schema 的确切内容。
118
117
  - [生成的配置目录](../../../docs/config-catalog.zh.md#deepseek-aidsh-tool-bash)——每个受支持配置字段及其源声明。
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.1.2-alpha.5",
4
+ "version": "0.1.3-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,41 +27,41 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
31
- "@deepseek-ai/dsh-shell": "^0.1.2-alpha.5",
32
- "@deepseek-ai/dsh-shell-env": "^0.1.2-alpha.5",
33
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
34
- "@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.5",
35
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.5",
36
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
37
- "@deepseek-ai/dsh-jobs": "^0.1.2-alpha.5",
38
- "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.5",
39
- "@deepseek-ai/cordis": "^4.0.2",
40
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.5"
30
+ "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
31
+ "@deepseek-ai/dsh-shell": "^0.1.3-alpha.2",
32
+ "@deepseek-ai/dsh-shell-env": "^0.1.3-alpha.2",
33
+ "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
34
+ "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
35
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
36
+ "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
37
+ "@deepseek-ai/dsh-jobs": "^0.1.3-alpha.2",
38
+ "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
39
+ "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
40
+ "@deepseek-ai/cordis": "^4.0.2"
41
41
  },
42
42
  "dependencies": {
43
43
  "@deepseek-ai/schemastery": "^3.18.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
47
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.2-alpha.5",
48
- "@deepseek-ai/dsh-shell": "^0.1.2-alpha.5",
49
- "@deepseek-ai/dsh-agent-loop": "^0.1.2-alpha.5",
50
- "@deepseek-ai/dsh-shell-env": "^0.1.2-alpha.5",
51
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
52
- "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.5",
53
- "@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.5",
54
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.5",
55
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.2-alpha.5",
56
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
57
- "@deepseek-ai/dsh-jobs": "^0.1.2-alpha.5",
58
- "@deepseek-ai/dsh-jobs-local": "^0.1.2-alpha.5",
59
- "@deepseek-ai/dsh-tool-jobs": "^0.1.2-alpha.5",
60
- "@deepseek-ai/dsh-bash-local": "^0.1.2-alpha.5",
61
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.5",
62
- "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.5",
46
+ "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
47
+ "@deepseek-ai/dsh-agent-loop": "^0.1.3-alpha.2",
48
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.3-alpha.2",
49
+ "@deepseek-ai/dsh-shell-env": "^0.1.3-alpha.2",
50
+ "@deepseek-ai/dsh-shell": "^0.1.3-alpha.2",
51
+ "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
52
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
53
+ "@deepseek-ai/dsh-bash-local": "^0.1.3-alpha.2",
54
+ "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
55
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
56
+ "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
57
+ "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
58
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.3-alpha.2",
59
+ "@deepseek-ai/dsh-jobs": "^0.1.3-alpha.2",
60
+ "@deepseek-ai/dsh-tool-jobs": "^0.1.3-alpha.2",
61
+ "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
62
+ "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
63
63
  "@deepseek-ai/cordis": "^4.0.2",
64
- "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.5",
65
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.5"
64
+ "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
65
+ "@deepseek-ai/dsh-jobs-local": "^0.1.3-alpha.2"
66
66
  }
67
67
  }