@gobing-ai/ts-dual-workflow-engine 0.8.8 → 0.9.0

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -605,6 +605,9 @@ const result = await service.run(workflow, {
605
605
  ```
606
606
 
607
607
  `validateWorkflowDef()` is available when the caller already has an object and only needs validation.
608
+ Both `state-machine` and `transition-flow` root schemas also accept an optional `metadata` record
609
+ (`Record<string, unknown>`) for behavior-free host annotations (the engine never reads it; all other
610
+ unknown root keys still fail `.strict()`).
608
611
 
609
612
  ## Fresh-run Start State
610
613
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobing-ai/ts-dual-workflow-engine",
3
- "version": "0.8.8",
3
+ "version": "0.9.0",
4
4
  "description": "@gobing-ai/ts-dual-workflow-engine — State-machine and transition-flow workflow runtime.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -48,9 +48,9 @@
48
48
  "release": "echo 'Manual publish is disabled. Releases go through GitHub Actions via Trusted Publishing — push a tag: git tag @gobing-ai/ts-dual-workflow-engine-v<version> && git push --tags' && exit 1"
49
49
  },
50
50
  "dependencies": {
51
- "@gobing-ai/ts-db": "^0.8.8",
52
- "@gobing-ai/ts-infra": "^0.8.8",
53
- "@gobing-ai/ts-runtime": "^0.8.8",
51
+ "@gobing-ai/ts-db": "^0.9.0",
52
+ "@gobing-ai/ts-infra": "^0.9.0",
53
+ "@gobing-ai/ts-runtime": "^0.9.0",
54
54
  "zod": "^4.1.0"
55
55
  },
56
56
  "devDependencies": {