mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
57dce98fe4
The run-limit guidance added here hangs off `/worlds/vercel#per-run-limits`, and the skill sends agents to `node_modules/workflow/docs/`. But `docs/content/worlds/` is a sibling of `docs/content/docs/`, so `packages/workflow`'s prepack never copied it: every `/worlds/...` link in the bundled pages was a dead end for an agent, including the hub this guidance points at. Copy `worlds/v5` into `docs/worlds/` and list it in the skill's documentation-structure map. Two claims contradicted pages this PR already touches: - `child-workflows.mdx` opened by calling a 500-child spawn practical, while its own Tips and its "chunked spawning" section say to start them in chunks of 10-50. Point the bullet at that section. - `whats-new.mdx` said the event ceiling can be tuned "as a fallback", but `runtime-tuning.mdx` states that `WORKFLOW_MAX_EVENTS` does not override the Vercel World's service-owned value. Scope the claim to the Worlds where it is true. Guard: assert prepack copies the worlds tree and the skill lists it, and extend the anchor check to same-page `(#anchor)` jumps. Both fail when the change is reverted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Pranay Prakash <1797812+pranaygp@users.noreply.github.com> Co-Authored-By: Pranay Prakash <1797812+pranaygp@users.noreply.github.com>
99 lines
2.8 KiB
JSON
99 lines
2.8 KiB
JSON
{
|
|
"name": "workflow",
|
|
"version": "5.0.0-beta.48",
|
|
"description": "Workflow SDK - Build durable, resilient, and observable workflows",
|
|
"main": "dist/typescript-plugin.cjs",
|
|
"type": "module",
|
|
"bin": {
|
|
"workflow": "./bin/run.js",
|
|
"wf": "./bin/run.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"docs/**/*"
|
|
],
|
|
"directories": {
|
|
"doc": "./docs"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vercel/workflow.git",
|
|
"directory": "packages/workflow"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"workflow": "./dist/workflow.js",
|
|
"node": "./dist/index.js",
|
|
"require": "./dist/typescript-plugin.cjs",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./api": {
|
|
"types": "./dist/api.d.ts",
|
|
"workflow": "./dist/api-workflow.js",
|
|
"default": "./dist/api.js"
|
|
},
|
|
"./errors": "./dist/internal/errors.js",
|
|
"./internal/errors": "./dist/internal/errors.js",
|
|
"./internal/builtins": "./dist/internal/builtins.js",
|
|
"./internal/class-serialization": "./dist/internal/class-serialization.js",
|
|
"./next": "./dist/next.cjs",
|
|
"./nitro": "./dist/nitro.js",
|
|
"./nuxt": "./dist/nuxt.js",
|
|
"./sveltekit": "./dist/sveltekit.js",
|
|
"./astro": "./dist/astro.js",
|
|
"./vite": "./dist/vite.js",
|
|
"./nest": "./dist/nest.js",
|
|
"./nest/builder": "./dist/nest-builder.js",
|
|
"./nest/vercel-builder": "./dist/nest-vercel-builder.js",
|
|
"./runtime": "./dist/runtime.js",
|
|
"./observability": {
|
|
"types": "./dist/observability.d.ts",
|
|
"default": "./dist/observability.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && chmod +x bin/run.js",
|
|
"clean": "tsc --build --clean && rm -rf dist docs ||:",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest run src",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepack": "mkdir -p docs/worlds && cp -r ../../docs/content/docs/v5/. ./docs/ && cp -r ../../docs/content/worlds/v5/. ./docs/worlds/",
|
|
"postpack": "rm -rf docs"
|
|
},
|
|
"dependencies": {
|
|
"@workflow/astro": "workspace:*",
|
|
"@workflow/cli": "workspace:*",
|
|
"@workflow/core": "workspace:*",
|
|
"@workflow/errors": "workspace:*",
|
|
"@workflow/typescript-plugin": "workspace:*",
|
|
"@workflow/utils": "workspace:*",
|
|
"ms": "2.1.3",
|
|
"@workflow/next": "workspace:*",
|
|
"@workflow/nest": "workspace:*",
|
|
"@workflow/nitro": "workspace:*",
|
|
"@workflow/nuxt": "workspace:*",
|
|
"@workflow/sveltekit": "workspace:*",
|
|
"@workflow/rollup": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ms": "2.1.0",
|
|
"@types/node": "catalog:",
|
|
"@workflow/tsconfig": "workspace:*",
|
|
"typescript": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@opentelemetry/api": "1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@opentelemetry/api": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|