@deepseek-ai/dsh-tool-bash 0.0.1-rc.5 → 0.1.0-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/LICENSE +17 -24
- package/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +35 -35
package/LICENSE
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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:
|
|
6
|
-
README.zh.md:
|
|
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
|
|
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
|
|
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
|
|
4
|
+
"version": "0.1.0-rc.2",
|
|
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": "
|
|
33
|
+
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-shell": "^0.0
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/dsh-sandbox": "^0.0
|
|
41
|
-
"@deepseek-ai/dsh-
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@deepseek-ai/dsh-
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/cordis": "^4.0.1
|
|
35
|
+
"@deepseek-ai/dsh-shell": "^0.1.0-rc.2",
|
|
36
|
+
"@deepseek-ai/dsh-shell-env": "^0.1.0-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.0-rc.2",
|
|
40
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.2",
|
|
41
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-jobs": "^0.1.0-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.2",
|
|
46
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@deepseek-ai/schemastery": "^3.18.1
|
|
49
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@deepseek-ai/dsh-agent": "^0.0
|
|
53
|
-
"@deepseek-ai/dsh-agent-loop": "^0.0
|
|
54
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "^0.0
|
|
55
|
-
"@deepseek-ai/dsh-shell": "^0.0
|
|
56
|
-
"@deepseek-ai/dsh-shell
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-sandbox
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-
|
|
68
|
-
"@deepseek-ai/
|
|
69
|
-
"@deepseek-ai/
|
|
70
|
-
"@deepseek-ai/dsh-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
52
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-agent-loop": "^0.1.0-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-shell-env": "^0.1.0-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-shell": "^0.1.0-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-subprocess-local": "^0.1.0-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.0-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-sandbox-policy": "^0.1.0-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.0-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-jobs": "^0.1.0-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-jobs-local": "^0.1.0-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.0-rc.2",
|
|
69
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
70
|
+
"@deepseek-ai/dsh-tool-jobs": "^0.1.0-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-bash-local": "^0.1.0-rc.2"
|
|
72
72
|
}
|
|
73
73
|
}
|