@deepseek-ai/dsh-tool-pwsh 0.2.3-alpha.1 → 0.2.3-alpha.3
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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +41 -41
package/README.i18n.yaml
CHANGED
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
en: 2d4f2c8605eccab3
|
|
109
109
|
zh: 67f1f0218f73c6bf
|
|
110
110
|
/deepseek-ai-dsh-tool-pwsh/model-experience/tool-errors/what-the-model-sees:
|
|
111
|
-
en:
|
|
112
|
-
zh:
|
|
111
|
+
en: 3a56d44d862927cf
|
|
112
|
+
zh: 16fb2eb8daaa7d0c
|
|
113
113
|
/deepseek-ai-dsh-tool-pwsh/model-experience/tool-errors/token-effect:
|
|
114
114
|
en: 243bad012dd99c7f
|
|
115
115
|
zh: 5ee74905020bd49a
|
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ Append-only; newly visible content follows the reusable request prefix and does
|
|
|
188
188
|
|
|
189
189
|
#### What the model sees
|
|
190
190
|
|
|
191
|
-
Validation and infrastructure failures are normalized as `Error: <message>`. This package's stable messages are `invalid arguments: invalid command: expected a non-empty string`, `invalid arguments: invalid description: expected a non-empty string`, `invalid arguments: invalid timeoutMs: expected a positive number, got <value>`, the escalation pairing failures, `invalid arguments: sandbox_permissions and justification are not available in this composition (no sandboxing executor to escalate)`, the shared escalation failures (
|
|
191
|
+
Validation and infrastructure failures are normalized as `Error: <message>`. This package's stable messages are `invalid arguments: invalid command: expected a non-empty string`, `invalid arguments: invalid description: expected a non-empty string`, `invalid arguments: invalid timeoutMs: expected a positive number, got <value>`, the escalation pairing failures, `invalid arguments: sandbox_permissions and justification are not available in this composition (no sandboxing executor to escalate)`, the shared escalation failures (unsupported sandbox escalation / no approval service / no agent to route / no approval channel / user rejected / was cancelled), `invalid arguments: run_in_background is disabled for this deployment (enableRunInBackground: false)`, `background jobs unavailable: load @deepseek-ai/dsh-jobs and @deepseek-ai/dsh-tool-jobs`, and `tool call aborted`. Each failure also records `error.name` and `error.code` on `tool/result`: argument violations, including `sandbox_permissions`, `justification`, or `run_in_background` when the schema does not advertise them, are `ToolArgsError` (`INVALID_ARGS`, message prefix `invalid arguments: `), escalation failures are `SandboxEscalationError` (`SANDBOX_ESCALATION_INVALID_ARGUMENT`, `_UNAVAILABLE`, `_REJECTED`, `_CANCELLED`), a missing job runtime is `ToolContextUnavailableError` (`TOOL_CONTEXT_UNAVAILABLE`), and cancellation is `AbortError` (`ABORTED`). A launch or preparation failure keeps the class and code it was thrown with, such as `SandboxUnavailableError` or `SandboxPreparationError`, whether the call waited on a job or not; a platform spawn error, recognized by its errno `code`, becomes `SubprocessError` (`SUBPROCESS_SPAWN_NOT_FOUND` for `ENOENT`, otherwise `SUBPROCESS_SPAWN_FAILED`), even when it settles after the call was cancelled.
|
|
192
192
|
|
|
193
193
|
#### Token effect
|
|
194
194
|
|
package/README.zh.md
CHANGED
|
@@ -188,7 +188,7 @@ Non-zero exits are reported as `[exit code: N]` markers; investigate failures be
|
|
|
188
188
|
|
|
189
189
|
#### 模型看到什么
|
|
190
190
|
|
|
191
|
-
验证与基础设施失败统一为 `Error: <message>`。本包的稳定消息包括 `invalid arguments: invalid command: expected a non-empty string`、`invalid arguments: invalid description: expected a non-empty string`、`invalid arguments: invalid timeoutMs: expected a positive number, got <value>`、升权配对失败、`invalid arguments: sandbox_permissions and justification are not available in this composition (no sandboxing executor to escalate)
|
|
191
|
+
验证与基础设施失败统一为 `Error: <message>`。本包的稳定消息包括 `invalid arguments: invalid command: expected a non-empty string`、`invalid arguments: invalid description: expected a non-empty string`、`invalid arguments: invalid timeoutMs: expected a positive number, got <value>`、升权配对失败、`invalid arguments: sandbox_permissions and justification are not available in this composition (no sandboxing executor to escalate)`、共享升权失败(不支持的沙箱升权/无审批服务/无 agent 可路由/无审批通道/用户拒绝/已取消)、`invalid arguments: run_in_background is disabled for this deployment (enableRunInBackground: false)`、`background jobs unavailable: load @deepseek-ai/dsh-jobs and @deepseek-ai/dsh-tool-jobs`,以及 `tool call aborted`。每个失败还会在 `tool/result` 上记录 `error.name` 与 `error.code`:参数违规(包括 schema 未公开时传入的 `sandbox_permissions`、`justification` 或 `run_in_background`)为 `ToolArgsError`(`INVALID_ARGS`,消息前缀为 `invalid arguments: `),升权失败为 `SandboxEscalationError`(`SANDBOX_ESCALATION_INVALID_ARGUMENT`、`_UNAVAILABLE`、`_REJECTED`、`_CANCELLED`),缺少任务运行时为 `ToolContextUnavailableError`(`TOOL_CONTEXT_UNAVAILABLE`),取消为 `AbortError`(`ABORTED`)。启动或准备阶段的失败保留其抛出时的类与 code(例如 `SandboxUnavailableError` 或 `SandboxPreparationError`),无论调用是否在 job 上等待;按 errno `code` 识别的平台 spawn 错误转为 `SubprocessError`(`ENOENT` 为 `SUBPROCESS_SPAWN_NOT_FOUND`,其余为 `SUBPROCESS_SPAWN_FAILED`),在调用取消后才出现时也是如此。
|
|
192
192
|
|
|
193
193
|
#### Token 影响
|
|
194
194
|
|
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.2.3-alpha.
|
|
4
|
+
"version": "0.2.3-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,49 +32,49 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/cordis": "~4.
|
|
36
|
-
"@deepseek-ai/dsh-agent": "0.2.3-alpha.
|
|
37
|
-
"@deepseek-ai/dsh-jobs": "0.2.3-alpha.
|
|
38
|
-
"@deepseek-ai/dsh-llm": "0.2.3-alpha.
|
|
39
|
-
"@deepseek-ai/dsh-sandbox": "0.2.3-alpha.
|
|
40
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.
|
|
41
|
-
"@deepseek-ai/dsh-shell": "0.2.3-alpha.
|
|
42
|
-
"@deepseek-ai/dsh-shell-env": "0.2.3-alpha.
|
|
43
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-tools": "0.2.3-alpha.
|
|
45
|
-
"@deepseek-ai/dsh-user-approval": "0.2.3-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-working-directory": "0.2.3-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-subprocess": "0.2.3-alpha.
|
|
35
|
+
"@deepseek-ai/cordis": "~4.2.0-alpha.2",
|
|
36
|
+
"@deepseek-ai/dsh-agent": "0.2.3-alpha.3",
|
|
37
|
+
"@deepseek-ai/dsh-jobs": "0.2.3-alpha.3",
|
|
38
|
+
"@deepseek-ai/dsh-llm": "0.2.3-alpha.3",
|
|
39
|
+
"@deepseek-ai/dsh-sandbox": "0.2.3-alpha.3",
|
|
40
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.3",
|
|
41
|
+
"@deepseek-ai/dsh-shell": "0.2.3-alpha.3",
|
|
42
|
+
"@deepseek-ai/dsh-shell-env": "0.2.3-alpha.3",
|
|
43
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.3",
|
|
44
|
+
"@deepseek-ai/dsh-tools": "0.2.3-alpha.3",
|
|
45
|
+
"@deepseek-ai/dsh-user-approval": "0.2.3-alpha.3",
|
|
46
|
+
"@deepseek-ai/dsh-working-directory": "0.2.3-alpha.3",
|
|
47
|
+
"@deepseek-ai/dsh-subprocess": "0.2.3-alpha.3"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@deepseek-ai/schemastery": "~3.
|
|
50
|
+
"@deepseek-ai/schemastery": "~3.20.0-alpha.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@deepseek-ai/dsh-brand": "0.2.3-alpha.
|
|
54
|
-
"@deepseek-ai/cordis": "~4.
|
|
55
|
-
"@deepseek-ai/dsh-agent": "0.2.3-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.3-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.3-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-app-boot": "0.2.3-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-jobs": "0.2.3-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-jobs-local": "0.2.3-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-llm": "0.2.3-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-loader-smoke": "0.2.3-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-pwsh-local": "0.2.3-alpha.
|
|
64
|
-
"@deepseek-ai/dsh-sandbox": "0.2.3-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-session-projection": "0.2.3-alpha.
|
|
67
|
-
"@deepseek-ai/dsh-shell": "0.2.3-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-shell-env": "0.2.3-alpha.
|
|
69
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.
|
|
70
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.
|
|
71
|
-
"@deepseek-ai/dsh-tool-
|
|
72
|
-
"@deepseek-ai/dsh-tool-jobs": "0.2.3-alpha.
|
|
73
|
-
"@deepseek-ai/dsh-tool-testkit": "0.2.3-alpha.
|
|
74
|
-
"@deepseek-ai/dsh-tools": "0.2.3-alpha.
|
|
75
|
-
"@deepseek-ai/dsh-user-approval": "0.2.3-alpha.
|
|
76
|
-
"@deepseek-ai/dsh-working-directory": "0.2.3-alpha.
|
|
77
|
-
"@deepseek-ai/dsh-fs-local": "0.2.3-alpha.
|
|
78
|
-
"@deepseek-ai/dsh-subprocess": "0.2.3-alpha.
|
|
53
|
+
"@deepseek-ai/dsh-brand": "0.2.3-alpha.3",
|
|
54
|
+
"@deepseek-ai/cordis": "~4.2.0-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-agent": "0.2.3-alpha.3",
|
|
56
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.3-alpha.3",
|
|
57
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.3-alpha.3",
|
|
58
|
+
"@deepseek-ai/dsh-app-boot": "0.2.3-alpha.3",
|
|
59
|
+
"@deepseek-ai/dsh-jobs": "0.2.3-alpha.3",
|
|
60
|
+
"@deepseek-ai/dsh-jobs-local": "0.2.3-alpha.3",
|
|
61
|
+
"@deepseek-ai/dsh-llm": "0.2.3-alpha.3",
|
|
62
|
+
"@deepseek-ai/dsh-loader-smoke": "0.2.3-alpha.3",
|
|
63
|
+
"@deepseek-ai/dsh-pwsh-local": "0.2.3-alpha.3",
|
|
64
|
+
"@deepseek-ai/dsh-sandbox": "0.2.3-alpha.3",
|
|
65
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.3",
|
|
66
|
+
"@deepseek-ai/dsh-session-projection": "0.2.3-alpha.3",
|
|
67
|
+
"@deepseek-ai/dsh-shell": "0.2.3-alpha.3",
|
|
68
|
+
"@deepseek-ai/dsh-shell-env": "0.2.3-alpha.3",
|
|
69
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.3",
|
|
70
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.3",
|
|
71
|
+
"@deepseek-ai/dsh-tool-registry-native": "0.2.3-alpha.3",
|
|
72
|
+
"@deepseek-ai/dsh-tool-jobs": "0.2.3-alpha.3",
|
|
73
|
+
"@deepseek-ai/dsh-tool-testkit": "0.2.3-alpha.3",
|
|
74
|
+
"@deepseek-ai/dsh-tools": "0.2.3-alpha.3",
|
|
75
|
+
"@deepseek-ai/dsh-user-approval": "0.2.3-alpha.3",
|
|
76
|
+
"@deepseek-ai/dsh-working-directory": "0.2.3-alpha.3",
|
|
77
|
+
"@deepseek-ai/dsh-fs-local": "0.2.3-alpha.3",
|
|
78
|
+
"@deepseek-ai/dsh-subprocess": "0.2.3-alpha.3"
|
|
79
79
|
}
|
|
80
80
|
}
|