@deepseek-ai/dsh-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/workflow/README.md
5
- README.md: 80b9f1a912f9f58432d2fff1fc76615c04cd2751
6
- README.zh.md: e692081d99021b7ed6059af61527e551517c9eea
5
+ README.md: e350f511c4acec0d50a22afb7882d3b21d207060
6
+ README.zh.md: 51153ca75a680783c5e67b0f7932e935207621b5
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-workflow` runs a plain-JavaScript orchestration script and gives the caller a live run whose result resolves with the script's final JSON value. The script can fan out subagents with `agent()`, combine independent work with `parallel()` and `pipeline()`, and narrate progress with `phase()` and `log()`; agents normally drive this through the `workflow` tool from `dsh-tool-workflow`. A run is holder-owned: its result never rejects, cancellation and disposal are bounded, and every child is attributed to the invoking agent. The package ships no execution engine `dsh-workflow-worker-thread` is the current one so a different isolation strategy can replace it without changing what callers or the model see.
12
+ Run a plain-JavaScript orchestration script that fans work out to subagents and returns the script's final JSON value. Scripts can use `agent()`, `parallel()`, `pipeline()`, `phase()`, and `log()`; models normally access them through the `workflow` tool. Each run belongs to its caller, attributes every child to the invoking agent, resolves failures and cancellation without rejecting its result, and stops disposal within a bounded grace period. The caller must supply an execution engine, allowing the isolation strategy to change without altering visible behavior.
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-workflow` 运行一段纯 JavaScript 编排脚本,并交给调用方一个活动运行,其 result 在脚本结算时以脚本的最终 JSON 值兑现。脚本可以用 `agent()` 扇出 subagent,用 `parallel()` 和 `pipeline()` 组合独立工作,用 `phase()` 和 `log()` 叙述进度;agent 通常通过 `dsh-tool-workflow` `workflow` 工具驱动这一切。运行由持有方负责:其 result 绝不拒绝,取消与 dispose(资源释放)有界,每个子 agent 都归属于调用它的 agent。本包不附带执行引擎——当前引擎是 `dsh-workflow-worker-thread`——因此可以用不同的隔离策略替换它,而不改变调用方或模型看到的内容。
12
+ 运行一段纯 JavaScript 编排脚本,将工作扇出给 subagent,并返回脚本的最终 JSON 值。脚本可以使用 `agent()`、`parallel()`、`pipeline()`、`phase()` 和 `log()`;模型通常通过 `workflow` 工具访问它们。每次运行都归调用方所有,将每个子 agent 归属于调用它的 agent,在失败或取消时以结果兑现而不拒绝,并在有界宽限期内完成 dispose。调用方必须提供执行引擎,因此可以更换隔离策略而不改变可见行为。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-workflow",
3
3
  "description": "Workflow capability seam: ctx.workflowEngine service, run vocabulary, and workflow/* events",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,19 +37,19 @@
37
37
  ],
38
38
  "license": "MIT",
39
39
  "peerDependencies": {
40
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
41
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
42
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
43
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
40
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1",
41
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.1",
42
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.1",
43
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
44
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
45
45
  "@deepseek-ai/cordis": "^4.0.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-invariants": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
53
- "@deepseek-ai/cordis": "^4.0.2"
48
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.1",
49
+ "@deepseek-ai/dsh-invariants": "^0.1.5-alpha.1",
50
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
51
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
52
+ "@deepseek-ai/cordis": "^4.0.2",
53
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.1"
54
54
  }
55
55
  }