mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
c58cae6612
* docs(cookbook): replace child workflow polling with hook resume pattern Recommend startAndWait() with withChildCompletionHook() for v4 and v5 child workflow orchestration instead of getRun().status polling loops. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix child-workflows cookbook review feedback Tighten resumeParentCompletion to a discriminated union so hook.resume typechecks, add zod to the vitest workbench, remove unused resumeHook import, and add an empty changeset per AGENTS.md. Co-authored-by: Cursor <cursoragent@cursor.com> * docs(cookbook): trim child-workflows hook resume guide Remove redundant polling comparison copy, the getRun() alternative section, and v5-only start() tips to keep the cookbook focused on the hook pattern. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
372 B
JSON
19 lines
372 B
JSON
{
|
|
"name": "@workflow/vitest-workbench",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@workflow/vitest": "workspace:*",
|
|
"ms": "2.1.3",
|
|
"vitest": "catalog:",
|
|
"workflow": "workspace:*",
|
|
"zod": "catalog:"
|
|
}
|
|
}
|