@deepseek-ai/dsh-tool-bash 0.0.1-rc.5 → 0.1.0-rc.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/LICENSE CHANGED
@@ -1,28 +1,21 @@
1
- BSD 3-Clause License
1
+ MIT License
2
2
 
3
- Copyright (c) 2026, DeepSeek
3
+ Copyright (c) 2026 DeepSeek
4
4
 
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
7
11
 
8
- 1. Redistributions of source code must retain the above copyright notice, this
9
- list of conditions and the following disclaimer.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
10
14
 
11
- 2. Redistributions in binary form must reproduce the above copyright notice,
12
- this list of conditions and the following disclaimer in the documentation
13
- and/or other materials provided with the distribution.
14
-
15
- 3. Neither the name of the copyright holder nor the names of its
16
- contributors may be used to endorse or promote products derived from
17
- this software without specific prior written permission.
18
-
19
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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: 344cf599cb9f6391bcb51488ed407fff56b330fa
6
- README.zh.md: d10c0faee56acca23f1a8dbe27ed8f37d97c7b3a
5
+ README.md: 21749bf0a1cd3cdc46257fb2a02ba6b4ab1f5ee6
6
+ README.zh.md: e79190ced58abbd73d85127f3a4362f4e6b292cd
package/README.md CHANGED
@@ -4,7 +4,7 @@ English | [中文](README.zh.md)
4
4
 
5
5
  The model-facing `bash` tool registered over the `ctx.shell` executor seam. Foreground execution stays behind that seam; a background process handle is registered with the generic `ctx.jobs` runtime and controlled through `job_output`, `job_list`, and `job_kill` from `@deepseek-ai/dsh-tool-jobs`.
6
6
 
7
- Requires a loaded executor Service provider (e.g. `@deepseek-ai/dsh-bash-local`) and the [`@deepseek-ai/dsh-shell-env`](../shell-env/README.md) registry; the plugin stays pending until every injected service exists (`inject: ['tools', 'bash', 'systemPrompt', 'bashEnv']`). The tool contract is bash-dialect — mount a bash-parsing executor.
7
+ Requires a loaded executor Service Provider (e.g. `@deepseek-ai/dsh-bash-local`) and the [`@deepseek-ai/dsh-shell-env`](../shell-env/README.md) registry; the plugin stays pending until every injected service exists (`inject: ['tools', 'bash', 'systemPrompt', 'bashEnv']`). The tool contract is bash-dialect — mount a bash-parsing executor.
8
8
 
9
9
  The package root exposes only the Cordis plugin contract (`name`, `inject`, `Config`, `apply`); result rendering and background-process adaptation remain package-internal.
10
10
 
package/README.zh.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  模型侧 `bash` 工具,注册在 `ctx.shell` 执行器 seam 上。前台执行始终位于该 seam 之后;后台进程句柄会注册到通用 `ctx.jobs` 运行时,并通过 `job_output`、`job_list` 和 `job_kill` 控制;这些工具由 `@deepseek-ai/dsh-tool-jobs` 提供。
6
6
 
7
- 需要加载执行器 Service provider(例如 `@deepseek-ai/dsh-bash-local`)与 [`@deepseek-ai/dsh-shell-env`](../shell-env/README.md) 注册表;在每个注入服务就绪之前,插件会保持等待状态(`inject: ['tools', 'bash', 'systemPrompt', 'bashEnv']`)。工具约定是 bash 方言——请挂载能解析 bash 的执行器。
7
+ 需要加载执行器 Service Provider(例如 `@deepseek-ai/dsh-bash-local`)与 [`@deepseek-ai/dsh-shell-env`](../shell-env/README.md) 注册表;在每个注入服务就绪之前,插件会保持等待状态(`inject: ['tools', 'bash', 'systemPrompt', 'bashEnv']`)。工具约定是 bash 方言——请挂载能解析 bash 的执行器。
8
8
 
9
9
  包根只公开 Cordis 插件约定(`name`、`inject`、`Config`、`apply`);结果渲染和后台进程适配仍保留在包内部。
10
10
 
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.0.1-rc.5",
4
+ "version": "0.1.0-rc.3",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -30,44 +30,44 @@
30
30
  "lib/invariant.js",
31
31
  "lib/types/**/*.d.ts"
32
32
  ],
33
- "license": "BSD-3-Clause",
33
+ "license": "MIT",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.5",
36
- "@deepseek-ai/dsh-shell": "^0.0.1-rc.5",
37
- "@deepseek-ai/dsh-shell-env": "^0.0.1-rc.5",
38
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.5",
39
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.5",
40
- "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.5",
41
- "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.5",
42
- "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.5",
43
- "@deepseek-ai/dsh-jobs": "^0.0.1-rc.5",
44
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.5",
45
- "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.5",
46
- "@deepseek-ai/cordis": "^4.0.1-rc.4"
35
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.3",
36
+ "@deepseek-ai/dsh-shell-env": "^0.1.0-rc.3",
37
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.3",
38
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.3",
39
+ "@deepseek-ai/dsh-sandbox": "^0.1.0-rc.3",
40
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.3",
41
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.3",
42
+ "@deepseek-ai/dsh-shell": "^0.1.0-rc.3",
43
+ "@deepseek-ai/dsh-user-approval": "^0.1.0-rc.3",
44
+ "@deepseek-ai/cordis": "^4.0.1",
45
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.3",
46
+ "@deepseek-ai/dsh-jobs": "^0.1.0-rc.3"
47
47
  },
48
48
  "dependencies": {
49
- "@deepseek-ai/schemastery": "^3.18.1-rc.4"
49
+ "@deepseek-ai/schemastery": "^3.18.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.5",
53
- "@deepseek-ai/dsh-agent-loop": "^0.0.1-rc.5",
54
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.0.1-rc.5",
55
- "@deepseek-ai/dsh-shell": "^0.0.1-rc.5",
56
- "@deepseek-ai/dsh-shell-env": "^0.0.1-rc.5",
57
- "@deepseek-ai/dsh-bash-local": "^0.0.1-rc.5",
58
- "@deepseek-ai/dsh-subprocess-local": "^0.0.1-rc.5",
59
- "@deepseek-ai/dsh-sandbox": "^0.0.1-rc.5",
60
- "@deepseek-ai/dsh-sandbox-policy": "^0.0.1-rc.5",
61
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.0.1-rc.5",
62
- "@deepseek-ai/dsh-system-prompt": "^0.0.1-rc.5",
63
- "@deepseek-ai/dsh-jobs": "^0.0.1-rc.5",
64
- "@deepseek-ai/dsh-jobs-local": "^0.0.1-rc.5",
65
- "@deepseek-ai/dsh-tool-jobs": "^0.0.1-rc.5",
66
- "@deepseek-ai/dsh-tools": "^0.0.1-rc.5",
67
- "@deepseek-ai/dsh-user-approval": "^0.0.1-rc.5",
68
- "@deepseek-ai/cordis": "^4.0.1-rc.4",
69
- "@deepseek-ai/dsh-session": "^0.0.1-rc.5",
70
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.5",
71
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.5"
52
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.3",
53
+ "@deepseek-ai/dsh-agent-loop": "^0.1.0-rc.3",
54
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.3",
55
+ "@deepseek-ai/dsh-shell": "^0.1.0-rc.3",
56
+ "@deepseek-ai/dsh-shell-env": "^0.1.0-rc.3",
57
+ "@deepseek-ai/dsh-bash-local": "^0.1.0-rc.3",
58
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.3",
59
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.3",
60
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.0-rc.3",
61
+ "@deepseek-ai/dsh-sandbox": "^0.1.0-rc.3",
62
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.3",
63
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.3",
64
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.0-rc.3",
65
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.3",
66
+ "@deepseek-ai/dsh-jobs": "^0.1.0-rc.3",
67
+ "@deepseek-ai/dsh-tool-jobs": "^0.1.0-rc.3",
68
+ "@deepseek-ai/cordis": "^4.0.1",
69
+ "@deepseek-ai/dsh-user-approval": "^0.1.0-rc.3",
70
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.3",
71
+ "@deepseek-ai/dsh-jobs-local": "^0.1.0-rc.3"
72
72
  }
73
73
  }