@deepseek-ai/dsh-shell 0.1.3-alpha.2 → 0.1.5-alpha.1

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/shell/README.md
5
- README.md: a606050c30d07024ff972652b87a223f91767f58
6
- README.zh.md: 9ae7cd5f858d6e7deaed5bf08c873c6e1aecdaae
5
+ README.md: 35daabef167f0d1276382b5b024a610d810488c6
6
+ README.zh.md: e964c3982ad266f1b3123d839b9b51734c23e67b
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-shell` defines the executor service (`ctx.shell`) that runs shell commands for the harness: foreground commands that resolve with bounded output when they finish, and background processes that return a handle immediately. Every shell executor in the repository — local Bash, sandboxed Bash, local PowerShell, sandboxed PowerShell implements this one contract, so the model-facing `bash` and `pwsh` tools work unchanged over any of them. Callers pass a request and receive a fully-resolved spec with explicit defaults and caps before any command runs. The service itself never renders anything to a model; the shell tools own all model-visible output and sandbox guidance.
12
+ Use `ctx.shell` to run foreground shell commands with bounded output or start background processes that return a handle immediately. A profile can select local or sandboxed Bash or PowerShell execution without changing callers. Resolve each request before execution to make the working directory, timeout, and output limits explicit. Command completion, nonzero exits, timeouts, and caller aborts return results; only infrastructure failures reject, while the `bash` and `pwsh` tools own model-visible rendering and sandbox guidance.
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-shell` 定义运行 shell 命令的执行器服务(`ctx.shell`):前台命令在结束时以有界输出 resolve,后台进程则立即返回句柄。仓库中的每个 shell 执行器——本地 Bash、沙箱 Bash、本地 PowerShell、沙箱 PowerShell——都实现这同一个约定,因此面向模型的 `bash` `pwsh` 工具在任何一个之上都能不加改动地工作。调用方先提交请求,再在任何命令运行前拿到一份默认值与上限都已显式填好的 spec。该服务本身从不向模型渲染任何内容;所有模型可见的输出与沙箱指引都归 shell 工具所有。
12
+ 使用 `ctx.shell` 运行以有界输出结束的前台 shell 命令,或启动立即返回句柄的后台进程。配置文件可选择本地或沙箱化的 Bash PowerShell 执行方式,而无需更改调用方。执行前解析每个请求,以显式确定工作目录、超时和输出上限。命令完成、非零退出、超时和调用方中止都会作为结果返回;只有基础设施故障才会 reject,而模型可见的渲染与沙箱指引由 `bash` `pwsh` 工具负责。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-shell",
3
3
  "description": "Abstract bash executor seam (ctx.shell) for the DeepSeek Harness",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,15 +27,15 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-subprocess": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
30
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.1",
31
+ "@deepseek-ai/dsh-settings": "^0.1.5-alpha.1",
32
32
  "@deepseek-ai/cordis": "^4.0.2",
33
- "@deepseek-ai/dsh-settings": "^0.1.3-alpha.2"
33
+ "@deepseek-ai/dsh-subprocess": "^0.1.5-alpha.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@deepseek-ai/dsh-subprocess": "^0.1.3-alpha.2",
37
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
36
+ "@deepseek-ai/dsh-subprocess": "^0.1.5-alpha.1",
37
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.1",
38
38
  "@deepseek-ai/cordis": "^4.0.2",
39
- "@deepseek-ai/dsh-settings": "^0.1.3-alpha.2"
39
+ "@deepseek-ai/dsh-settings": "^0.1.5-alpha.1"
40
40
  }
41
41
  }