@deepseek-ai/dsh-tool-bash 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/shell/tool-bash/README.md
5
- README.md: 02f4e1a16e01d9ff0b3fdc3fc06c3261c6e71b79
6
- README.zh.md: 3a67be2c62db2915ab80c3cc4b382d5c6347ec01
5
+ README.md: 5b38c0a0bad9e03be783ad8431cd06c2d3ba34d3
6
+ README.zh.md: 969ca02dfa9462d884f71cde7d8b34975c4a8cff
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-bash` gives the agent a `bash` tool that runs commands through the mounted shell executor and returns stdout, stderr, and exit markers. Each call runs in a fresh shell no cwd, variables, or functions survive and `run_in_background` turns long-running commands into background jobs the agent collects with `job_output` and stops with `job_kill`. Every call runs with the managed `DSH_*` environment from `dsh-shell-env`, and under a sandboxing executor a denied command may be retried once with a wider `sandbox_permissions` mode plus a `justification` through user approval. Non-zero exits are reported, not failed, so the agent decides how to react. Mount it together with an executor provider such as `dsh-bash-local` or `dsh-bash-sandbox` and the `dsh-shell-env` plugin.
12
+ `dsh-tool-bash` lets an agent run one-shot `bash` commands and receive stdout, stderr, and exit markers. Each call uses a fresh shell, so cwd, variables, and functions do not persist; `run_in_background` starts long-running work that the agent can inspect with `job_output` and stop with `job_kill`. Commands receive the managed `DSH_*` environment, and sandbox denials can be retried once with wider `sandbox_permissions`, a `justification`, and user approval. Non-zero exits are reported as results, so the agent decides how to respond; use an executor such as `dsh-bash-local` or `dsh-bash-sandbox` and load `dsh-shell-env`.
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-tool-bash` agent 提供 `bash` 工具,通过已挂载的 shell 执行器运行命令并返回 stdout、stderr 与退出标记。每次调用都运行在全新 shell 中——cwd、变量或函数都不会保留——而 `run_in_background` 把长时间运行的命令变成后台任务,agent `job_output` 收集、用 `job_kill` 停止。每次调用都运行在来自 `dsh-shell-env` 的受管 `DSH_*` 环境中;在沙箱执行器下,被拒绝的命令可以携带更宽的 `sandbox_permissions` 模式和一句 `justification`,经用户审批后在同一轮次内重试一次。非零退出只会被报告、不会失败,因此由 agent 决定如何应对。请与 `dsh-bash-local` 或 `dsh-bash-sandbox` 等执行器提供方以及 `dsh-shell-env` 插件一起挂载。
12
+ `dsh-tool-bash` agent 运行一次性 `bash` 命令,并接收 stdout、stderr 与退出标记。每次调用都使用全新 shell,因此 cwd、变量和函数不会保留;`run_in_background` 可启动长时间运行的工作,agent 能用 `job_output` 检查、用 `job_kill` 停止。命令会收到受管 `DSH_*` 环境;沙箱拒绝可携带更宽的 `sandbox_permissions`、一句 `justification` 与用户批准重试一次。非零退出会作为结果报告,因此由 agent 决定如何响应;请使用 `dsh-bash-local` 或 `dsh-bash-sandbox` 等执行器,并加载 `dsh-shell-env`。
13
13
 
14
14
  ## 目录
15
15
 
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.3-alpha.2",
4
+ "version": "0.1.5-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.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",
30
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
31
+ "@deepseek-ai/dsh-shell-env": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/dsh-shell": "^0.1.5-alpha.2",
33
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
34
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.2",
35
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.2",
36
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
37
+ "@deepseek-ai/dsh-jobs": "^0.1.5-alpha.2",
38
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
39
+ "@deepseek-ai/dsh-user-approval": "^0.1.5-alpha.2",
40
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.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",
46
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
47
+ "@deepseek-ai/dsh-agent-loop": "^0.1.5-alpha.2",
48
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.5-alpha.2",
49
+ "@deepseek-ai/dsh-shell": "^0.1.5-alpha.2",
50
+ "@deepseek-ai/dsh-shell-env": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.5-alpha.2",
53
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.2",
54
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.2",
55
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
56
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.5-alpha.2",
57
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
58
+ "@deepseek-ai/dsh-jobs": "^0.1.5-alpha.2",
59
+ "@deepseek-ai/dsh-jobs-local": "^0.1.5-alpha.2",
60
+ "@deepseek-ai/dsh-tool-jobs": "^0.1.5-alpha.2",
61
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
62
+ "@deepseek-ai/dsh-user-approval": "^0.1.5-alpha.2",
63
63
  "@deepseek-ai/cordis": "^4.0.2",
64
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
65
- "@deepseek-ai/dsh-jobs-local": "^0.1.3-alpha.2"
64
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2",
65
+ "@deepseek-ai/dsh-bash-local": "^0.1.5-alpha.2"
66
66
  }
67
67
  }