@deepseek-ai/dsh-tool-workflow 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/workflow/tool-workflow/README.md
5
- README.md: 1677d8ae67affa9c3ca0ace57ae0e1103bee7201
6
- README.zh.md: 479db077b481076e56179bcb4b9551b46fb398bc
5
+ README.md: 8c93fa2658703f2252b3300a4c55cec4ae5fa0cf
6
+ README.zh.md: 9c607d64dadda909f5c00581f33273d35301a3c9
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-workflow` gives the model the `workflow` tool: call it with a JavaScript orchestration script, an identity block, and optional arguments, and it runs the script over `ctx.workflowEngine`, fanning work out across subagents until the script's final value returns. The tool owns the model-facing schema, the usage guidance in the system prompt, and the result envelope; script parsing, execution, caps, and cancellation live behind the engine. Execution is foreground: the parent turn blocks until the whole workflow settles, and a non-clean finish is an error, never partial output. Choose it when the user explicitly asks for workflow-style or large multi-agent orchestration; prefer plain subagent calls for one or two delegations.
12
+ `dsh-tool-workflow` lets a model run a JavaScript orchestration script that delegates work to many subagents and returns the script's final JSON value. Use it only when the user explicitly requests a workflow or large multi-agent orchestration; use plain subagent calls for one or two delegations. The parent turn waits until every delegated task settles, and cancellation or abnormal completion returns an error rather than partial success. Deployments can rename the tool and cap rendered result text through `toolName` and `maxResultChars`.
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-workflow` 把 `workflow` 工具交给模型:以 JavaScript 编排脚本、身份块与可选参数调用它,它会在 `ctx.workflowEngine` 上运行脚本,把工作扇出到多个 subagent,直到脚本的最终值返回。该工具拥有模型侧 schema、系统提示词中的使用指导与结果包络;脚本解析、执行、上限与取消位于引擎之后。执行为前台:父级轮次会阻塞到整个工作流结算,非正常结束是错误,绝不是部分输出。仅当用户明确要求工作流式或大型多 agent 编排时选择它;一两项委派时优先使用普通 subagent 调用。
12
+ `dsh-tool-workflow` 让模型运行 JavaScript 编排脚本,把工作委派给多个 subagent,并返回脚本的最终 JSON 值。仅当用户明确要求工作流或大型多 agent 编排时使用;一两项委派应使用普通 subagent 调用。父级轮次会等待所有委派任务结束;取消或异常完成会返回错误,而不是部分成功。部署方可以通过 `toolName` 重命名工具,并通过 `maxResultChars` 限制渲染结果文本。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-workflow",
3
3
  "description": "Model-facing workflow tool: run a JavaScript orchestration script over ctx.workflowEngine",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,29 +37,29 @@
37
37
  ],
38
38
  "license": "MIT",
39
39
  "peerDependencies": {
40
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
41
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
43
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-workflow": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
40
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
41
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
42
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.1",
43
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
44
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-workflow": "^0.1.5-alpha.1",
46
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1",
47
47
  "@deepseek-ai/cordis": "^4.0.2"
48
48
  },
49
49
  "dependencies": {
50
50
  "@deepseek-ai/schemastery": "^3.18.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
56
- "@deepseek-ai/dsh-subagent": "^0.1.3-alpha.2",
57
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
58
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
59
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
60
- "@deepseek-ai/dsh-workflow": "^0.1.3-alpha.2",
61
- "@deepseek-ai/dsh-workflow-worker-thread": "^0.1.3-alpha.2",
53
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.1",
55
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
56
+ "@deepseek-ai/dsh-subagent": "^0.1.5-alpha.1",
57
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
58
+ "@deepseek-ai/dsh-workflow": "^0.1.5-alpha.1",
59
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.1",
60
+ "@deepseek-ai/dsh-workflow-worker-thread": "^0.1.5-alpha.1",
62
61
  "@deepseek-ai/cordis": "^4.0.2",
63
- "@deepseek-ai/dsh-session-projection": "^0.1.3-alpha.2"
62
+ "@deepseek-ai/dsh-session-projection": "^0.1.5-alpha.1",
63
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.1"
64
64
  }
65
65
  }