@deepseek-ai/dsh-tool-pwsh-persistent 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-pwsh-persistent/README.md
5
- README.md: a23bd1ca677d00edd83d9f07f8520d12ce2b8e6c
6
- README.zh.md: 1eb2ae252c2baeca7dc6cb5dfdaca18e10abd93b
5
+ README.md: 6b347dfbf8745a7bc56e2c62a5040e873bc1d8e2
6
+ README.zh.md: e6317bb7088b6e1e753eda2074d83ff2f2948a60
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-pwsh-persistent` gives the agent a `pwsh` tool whose PowerShell state persists across calls for the owning agent: cwd, `$env:` variables, functions, and background jobs survive between commands. It is the Windows counterpart of `dsh-tool-bash-persistent` the same persistent-state contract in PowerShell dialect. Each agent gets its own shell backed by an owner-scoped PTY session with a pwsh-dialect backend, and commands for the same agent run one at a time. Configuration selects the backend and the wall-clock limit for one command; a timeout or an explicit `exit` closes the shell, and the next call starts fresh. Mount it with a pwsh-dialect terminal backend (Windows ConPTY or a POSIX pwsh) and the `ctx.terminals` service.
12
+ `dsh-tool-pwsh-persistent` gives each agent a `pwsh` tool that preserves its current directory, environment variables, functions, and background jobs across calls. Commands for one agent run sequentially, while different agents keep separate shell state. Choose it for multi-step PowerShell work; use `dsh-tool-pwsh` when every command should start clean, and use a terminal tool when commands require interactive stdin. Configure a pwsh-capable backend and per-command timeout; timeout or explicit `exit` discards the shell, so the next call starts fresh.
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-pwsh-persistent` agent 提供 `pwsh` 工具,其 PowerShell 状态对拥有它的 agent 跨调用保留:cwd、`$env:` 变量、函数与后台任务都会在命令之间存活。它是 `dsh-tool-bash-persistent` Windows 对应物——相同的持久状态契约,PowerShell 方言。每个 agent 都有自己由按所有者隔离、带 pwsh 方言后端的 PTY 会话支撑的 shell,同一 agent 的命令逐个串行执行。配置选择后端与单条命令的墙钟上限;超时或显式 `exit` 会关闭 shell,下一次调用从全新状态开始。请与 pwsh 方言 terminal 后端(Windows ConPTY 或 POSIX pwsh)以及 `ctx.terminals` 服务一起挂载。
12
+ `dsh-tool-pwsh-persistent` 为每个 agent 提供 `pwsh` 工具,跨调用保留其当前目录、环境变量、函数与后台任务。同一 agent 的命令串行运行,不同 agent 维护相互隔离的 shell 状态。多步 PowerShell 工作应选择本包;若每条命令都应从干净状态开始,请使用 `dsh-tool-pwsh`,需要交互 stdin 时则使用 terminal 工具。请配置支持 pwsh 的后端和单条命令超时;超时或显式 `exit` 会丢弃 shell,因此下次调用从全新状态开始。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-pwsh-persistent",
3
3
  "description": "Model-facing owner-scoped persistent PowerShell tool backed by the Harness PTY service",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -26,11 +26,11 @@
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",
33
- "@deepseek-ai/cordis": "^4.0.2"
29
+ "@deepseek-ai/dsh-terminal": "^0.1.5-alpha.2",
30
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2",
31
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/cordis": "^4.0.2",
33
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2"
34
34
  },
35
35
  "dependencies": {
36
36
  "@deepseek-ai/schemastery": "^3.18.2"
@@ -38,19 +38,20 @@
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-llm": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-pwsh-local": "^0.1.3-alpha.2",
43
- "@deepseek-ai/dsh-terminal-bash": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-terminal": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
52
- "@deepseek-ai/cordis": "^4.0.2",
53
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2"
41
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
42
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.5-alpha.2",
43
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
44
+ "@deepseek-ai/dsh-terminal-bash": "^0.1.5-alpha.2",
45
+ "@deepseek-ai/dsh-pwsh-local": "^0.1.5-alpha.2",
46
+ "@deepseek-ai/dsh-sandbox": "^0.1.5-alpha.2",
47
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.5-alpha.2",
48
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.2",
49
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
50
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2",
53
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
54
+ "@deepseek-ai/dsh-terminal": "^0.1.5-alpha.2",
55
+ "@deepseek-ai/cordis": "^4.0.2"
55
56
  }
56
57
  }