@deepseek-ai/dsh-tool-pwsh 0.1.2-alpha.5 → 0.1.3-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/README.md
5
- README.md: e2bc4672e48d592e40464a53b5e43c139193928f
6
- README.zh.md: 2eaf1ca19a94fac71eeb19e62ba5e21cd5c989f9
5
+ README.md: e18a2e378bee2c2aaf40e17a9b02f043815d77cd
6
+ README.zh.md: 059f3da7fb804453cd168224875e4f53ec30424a
package/README.md CHANGED
@@ -73,7 +73,7 @@ This section explains the design decisions behind the tool and points at the cod
73
73
 
74
74
  ### Design philosophy
75
75
 
76
- - **A deliberate twin of `dsh-tool-bash`.** Foreground and background execution, the managed environment, the sandbox escalation surface, and the marker/truncation rendering mirror the bash tool call-for-call, so consumers of one accept the other's wire shape ([pwsh tool and executor Agent Note](../../../.agents/notes/implemented/feature/2026-08-01-pwsh-tool-and-executor.md)).
76
+ - **A deliberate twin of `dsh-tool-bash`.** Foreground and background execution, the managed environment, the sandbox escalation surface, and the marker/truncation rendering mirror the bash tool call-for-call, so consumers of one accept the other's wire shape ([pwsh tool bash parity Agent Note](../../../.agents/notes/implemented/feature/2026-08-02-pwsh-tool-bash-parity.md)).
77
77
  - **PowerShell-dialect contract.** The tool contract is PowerShell: native paths and `$env:` variables, executed via `pwsh -Command` with no intermediate shell.
78
78
  - **Windows sandbox facts taught in the description.** The ConstrainedLanguage and named-pipe contracts are Windows-restricted-token behavior; the gate for teaching them is "any confining executor is mounted", which is safe because every shipped pairing is win32-only.
79
79
  - **Non-zero exits are reported, not errored.** Only infrastructure failures (spawn errors, aborts) surface as tool errors, matching the bash story.
@@ -104,7 +104,7 @@ Read these pages when the package-level contract is not enough. They move from t
104
104
  - [Bash executor subsystem](../../../docs/subsystems/shell.md) — request/spec vocabulary, results, and background processes.
105
105
  - [shell-env](../shell-env/README.md) — the managed `DSH_*` environment every call receives.
106
106
  - [tool-jobs](../../jobs/tool-jobs/README.md) — `job_output`, `job_list`, and `job_kill` controls for background runs.
107
- - [pwsh tool and executor Agent Note](../../../.agents/notes/implemented/feature/2026-08-01-pwsh-tool-and-executor.md) — why the tool mirrors the bash tool and how the Windows sandbox gates its description.
107
+ - [pwsh tool bash parity Agent Note](../../../.agents/notes/implemented/feature/2026-08-02-pwsh-tool-bash-parity.md) — why the tool mirrors the bash tool.
108
108
  - [Windows ACL restricted-token sandbox Agent Note](../../../.agents/notes/implemented/feature/2026-08-08-windows-acl-restricted-token-sandbox.md) — the language-mode and named-pipe contracts.
109
109
  - [Generated tool catalog](../../../docs/tool-catalog.md#deepseek-aidsh-tool-pwsh) — the exact `pwsh` argument schema.
110
110
  - [Generated configuration catalog](../../../docs/config-catalog.md#deepseek-aidsh-tool-pwsh) — every accepted config field and its source declaration.
package/README.zh.md CHANGED
@@ -73,7 +73,7 @@ kind: "package-reference"
73
73
 
74
74
  ### 设计理念
75
75
 
76
- - **`dsh-tool-bash` 的刻意孪生。** 前台与后台执行、受管环境、沙箱升权面以及标记/截断渲染都逐调用镜像 bash 工具,因此其中之一的消费方也能接受另一个的协议形状([pwsh 工具与执行器 Agent Note](../../../.agents/notes/implemented/feature/2026-08-01-pwsh-tool-and-executor.zh.md))。
76
+ - **`dsh-tool-bash` 的刻意孪生。** 前台与后台执行、受管环境、沙箱升权面以及标记/截断渲染都逐调用镜像 bash 工具,因此其中之一的消费方也能接受另一个的协议形状([pwsh 工具与 bash 对齐 Agent Note](../../../.agents/notes/implemented/feature/2026-08-02-pwsh-tool-bash-parity.zh.md))。
77
77
  - **PowerShell 方言约定。** 工具约定是 PowerShell:原生路径与 `$env:` 变量,经由 `pwsh -Command` 执行,没有中间 shell。
78
78
  - **Windows 沙箱事实写进描述。** ConstrainedLanguage 与命名管道约定是 Windows 受限令牌行为;教授它们的条件是「已挂载任意约束执行器」,之所以安全,是因为每个已发布的配对都是 win32-only。
79
79
  - **非零退出只报告、不失败。** 只有基础设施故障(spawn 错误、中止)才会作为工具错误暴露,与 bash 的故事一致。
@@ -104,7 +104,7 @@ renderer 共享 bash 工具的结构与来自 `dsh-shell` 的 `parseExitStatus`
104
104
  - [Bash 执行器子系统](../../../docs/subsystems/shell.zh.md)——请求/spec 词汇、结果与后台进程。
105
105
  - [shell-env](../shell-env/README.zh.md)——每次调用都会收到的受管 `DSH_*` 环境。
106
106
  - [tool-jobs](../../jobs/tool-jobs/README.zh.md)——后台运行的 `job_output`、`job_list` 与 `job_kill` 控制。
107
- - [pwsh 工具与执行器 Agent Note](../../../.agents/notes/implemented/feature/2026-08-01-pwsh-tool-and-executor.zh.md)——为什么工具镜像 bash 工具,以及 Windows 沙箱如何门控其描述。
107
+ - [pwsh 工具与 bash 对齐 Agent Note](../../../.agents/notes/implemented/feature/2026-08-02-pwsh-tool-bash-parity.zh.md)——为什么工具镜像 bash 工具。
108
108
  - [Windows ACL 受限令牌沙箱 Agent Note](../../../.agents/notes/implemented/feature/2026-08-08-windows-acl-restricted-token-sandbox.zh.md)——语言模式与命名管道约定。
109
109
  - [生成的工具目录](../../../docs/tool-catalog.zh.md#deepseek-aidsh-tool-pwsh)——`pwsh` 参数 schema 的确切内容。
110
110
  - [生成的配置目录](../../../docs/config-catalog.zh.md#deepseek-aidsh-tool-pwsh)——每个受支持配置字段及其源声明。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-pwsh",
3
3
  "description": "Model-facing pwsh tool over the bash executor seam",
4
- "version": "0.1.2-alpha.5",
4
+ "version": "0.1.3-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,39 +28,39 @@
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
30
  "@deepseek-ai/cordis": "^4.0.2",
31
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
32
- "@deepseek-ai/dsh-jobs": "^0.1.2-alpha.5",
33
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
34
- "@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.5",
35
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.5",
36
- "@deepseek-ai/dsh-shell": "^0.1.2-alpha.5",
37
- "@deepseek-ai/dsh-shell-env": "^0.1.2-alpha.5",
38
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
39
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.5",
40
- "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.5"
31
+ "@deepseek-ai/dsh-jobs": "^0.1.3-alpha.2",
32
+ "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
33
+ "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
34
+ "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
35
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
36
+ "@deepseek-ai/dsh-shell": "^0.1.3-alpha.2",
37
+ "@deepseek-ai/dsh-shell-env": "^0.1.3-alpha.2",
38
+ "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
39
+ "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
40
+ "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2"
41
41
  },
42
42
  "dependencies": {
43
43
  "@deepseek-ai/schemastery": "^3.18.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
47
- "@deepseek-ai/dsh-agent-loop": "^0.1.2-alpha.5",
48
- "@deepseek-ai/dsh-app-boot": "^0.1.2-alpha.5",
49
- "@deepseek-ai/dsh-jobs": "^0.1.2-alpha.5",
50
46
  "@deepseek-ai/cordis": "^4.0.2",
51
- "@deepseek-ai/dsh-jobs-local": "^0.1.2-alpha.5",
52
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
53
- "@deepseek-ai/dsh-pwsh-local": "^0.1.2-alpha.5",
54
- "@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.5",
55
- "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.5",
56
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.5",
57
- "@deepseek-ai/dsh-shell-env": "^0.1.2-alpha.5",
58
- "@deepseek-ai/dsh-shell": "^0.1.2-alpha.5",
59
- "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.5",
60
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.5",
61
- "@deepseek-ai/dsh-tool-jobs": "^0.1.2-alpha.5",
62
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.5",
63
- "@deepseek-ai/dsh-user-approval": "^0.1.2-alpha.5",
64
- "@deepseek-ai/dsh-loader-smoke": "^0.1.2-alpha.5"
47
+ "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
48
+ "@deepseek-ai/dsh-agent-loop": "^0.1.3-alpha.2",
49
+ "@deepseek-ai/dsh-app-boot": "^0.1.3-alpha.2",
50
+ "@deepseek-ai/dsh-jobs": "^0.1.3-alpha.2",
51
+ "@deepseek-ai/dsh-jobs-local": "^0.1.3-alpha.2",
52
+ "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
53
+ "@deepseek-ai/dsh-loader-smoke": "^0.1.3-alpha.2",
54
+ "@deepseek-ai/dsh-pwsh-local": "^0.1.3-alpha.2",
55
+ "@deepseek-ai/dsh-sandbox": "^0.1.3-alpha.2",
56
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.3-alpha.2",
57
+ "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2",
58
+ "@deepseek-ai/dsh-shell-env": "^0.1.3-alpha.2",
59
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
60
+ "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
61
+ "@deepseek-ai/dsh-tool-jobs": "^0.1.3-alpha.2",
62
+ "@deepseek-ai/dsh-shell": "^0.1.3-alpha.2",
63
+ "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
64
+ "@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2"
65
65
  }
66
66
  }