@deepseek-ai/dsh-tool-bash-persistent 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/tool-bash-persistent/README.md
5
- README.md: 8aaae0f848f1b1558cb05095ed3083c17f29f0bb
6
- README.zh.md: 6072985023605cf12d53c134c5616a5ef111097b
5
+ README.md: f03e51c4bff94ae288d20827615f32782568014c
6
+ README.zh.md: cd9f859b38009dd7aaa7842b78b103ab67c545aa
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-bash-persistent` gives the agent a `bash` tool whose shell state persists across calls for the owning agent: cwd, exported variables, functions, and background jobs survive between commands. Each agent gets its own shell backed by an owner-scoped PTY session from the terminal service, and commands for the same agent run one at a time. Configuration selects the PTY backend and the wall-clock limit for one command; a timeout or an explicit `exit` closes the shell, and the next call starts fresh. It complements the one-shot `dsh-tool-bash` tool — choose it when work needs cross-call state. Mount it together with a terminal backend such as `dsh-terminal-bash` and the `ctx.terminals` service.
12
+ This package gives an agent a `bash` tool whose cwd, exported variables, functions, and background jobs persist across calls. Each agent receives an isolated shell, and its commands run sequentially. Choose it for workflows that depend on cross-call state; use `dsh-tool-bash` when every command should start clean. Configure the PTY backend and per-command timeout; `exit`, timeout, or cancellation resets the shell, while interactive commands that wait for stdin may run until timeout.
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-persistent` agent 提供 `bash` 工具,其 shell 状态对拥有它的 agent 跨调用保留:cwd、导出的变量、函数与后台任务都会在命令之间存活。每个 agent 都有自己由 terminal 服务的按所有者隔离 PTY 会话支撑的 shell,同一 agent 的命令逐个串行执行。配置选择 PTY 后端与单条命令的墙钟上限;超时或显式 `exit` 会关闭 shell,下一次调用从全新状态开始。它补充一次性 `dsh-tool-bash` 工具——当工作依赖跨调用状态时选择它。请与 `dsh-terminal-bash` terminal 后端以及 `ctx.terminals` 服务一起挂载。
12
+ 本包为 agent 提供 `bash` 工具,使 cwd、导出的变量、函数与后台任务跨调用保留。每个 agent 都有隔离的 shell,其命令串行执行。需要跨调用状态的工作流应选择本包;每条命令都应从干净环境开始时使用 `dsh-tool-bash`。配置 PTY 后端与单条命令的超时;`exit`、超时或取消会重置 shell,而等待 stdin 的交互式命令可能一直运行到超时。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-bash-persistent",
3
3
  "description": "Model-facing owner-scoped persistent Bash tool backed by the Harness PTY service",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -26,10 +26,10 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "peerDependencies": {
29
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
30
- "@deepseek-ai/dsh-terminal": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
29
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
30
+ "@deepseek-ai/dsh-terminal": "^0.1.5-alpha.1",
31
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.1",
32
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
33
33
  "@deepseek-ai/cordis": "^4.0.2"
34
34
  },
35
35
  "dependencies": {
@@ -38,18 +38,19 @@
38
38
  "devDependencies": {
39
39
  "@deepseek-ai/cordis-plugin-include": "^1.0.7",
40
40
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
41
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
43
- "@deepseek-ai/dsh-terminal": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-terminal-bash": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
41
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
42
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.5-alpha.1",
43
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
44
+ "@deepseek-ai/dsh-terminal-bash": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-terminal": "^0.1.5-alpha.1",
46
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.1",
47
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.1",
48
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
49
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
50
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.1",
51
51
  "@deepseek-ai/cordis": "^4.0.2",
52
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2"
52
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
53
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.5-alpha.1"
54
55
  }
55
56
  }