workflow 5.5.0 → 5.6.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/dist/api-workflow.js +1 -1
- package/dist/api.js +1 -1
- package/dist/astro.js +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/builtins.js +1 -1
- package/dist/internal/class-serialization.js +1 -1
- package/dist/internal/errors.js +1 -1
- package/dist/nest-builder.js +1 -1
- package/dist/nest-vercel-builder.js +1 -1
- package/dist/nest.js +1 -1
- package/dist/next.cjs +1 -1
- package/dist/nitro.js +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/observability.js +1 -1
- package/dist/runtime.js +1 -1
- package/dist/stdlib.js +1 -1
- package/dist/sveltekit.js +1 -1
- package/dist/typescript-plugin.cjs +1 -1
- package/dist/vite.js +1 -1
- package/dist/workflow.js +1 -1
- package/docs/api-reference/workflow-api/get-run.mdx +0 -4
- package/docs/api-reference/workflow-api/resume-hook.mdx +1 -1
- package/docs/api-reference/workflow-api/start.mdx +1 -1
- package/docs/api-reference/workflow-errors/in-band-superseded-error.mdx +0 -3
- package/docs/api-reference/workflow-errors/index.mdx +1 -1
- package/docs/api-reference/workflow-errors/precondition-failed-error.mdx +0 -2
- package/docs/api-reference/workflow-errors/workflow-not-registered-error.mdx +1 -1
- package/docs/api-reference/workflow-runtime/world/queue.mdx +70 -3
- package/docs/comparisons/index.mdx +4 -1
- package/docs/comparisons/workflow-sdk-vs-aws-step-functions.mdx +3 -1
- package/docs/comparisons/workflow-sdk-vs-cloudflare-workflows.mdx +4 -1
- package/docs/comparisons/workflow-sdk-vs-inngest.mdx +271 -28
- package/docs/comparisons/workflow-sdk-vs-temporal.mdx +6 -2
- package/docs/comparisons/workflow-sdk-vs-trigger-dev.mdx +2 -0
- package/docs/configuration/cli-and-web-ui.mdx +31 -1
- package/docs/configuration/runtime-tuning.mdx +9 -8
- package/docs/configuration/worlds.mdx +18 -21
- package/docs/cookbook/advanced/child-workflows.mdx +1 -1
- package/docs/cookbook/common-patterns/batching.mdx +1 -1
- package/docs/errors/index.mdx +1 -0
- package/docs/errors/max-events-exceeded.mdx +2 -2
- package/docs/errors/replay-timeout.mdx +2 -2
- package/docs/errors/workflow-not-registered.mdx +1 -1
- package/docs/foundations/errors-and-retries.mdx +1 -4
- package/docs/how-it-works/event-sourcing.mdx +2 -5
- package/docs/how-it-works/framework-integrations.mdx +2 -2
- package/docs/internal/index.mdx +1 -0
- package/docs/internal/nitro-native-build.mdx +1 -0
- package/docs/internal/nitro-web-ui.mdx +1 -0
- package/docs/internal/serializable-abort-controller.mdx +1 -0
- package/docs/observability/index.mdx +2 -0
- package/docs/whats-new.mdx +3 -3
- package/docs/worlds/building-a-world.mdx +46 -4
- package/docs/worlds/local.mdx +110 -25
- package/docs/worlds/postgres.mdx +107 -27
- package/docs/worlds/upgrading-to-v5.mdx +4 -4
- package/docs/worlds/vercel.mdx +190 -82
- package/package.json +16 -14
- package/dist/api-workflow.d.ts.map +0 -1
- package/dist/api.d.ts.map +0 -1
- package/dist/astro.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/internal/builtins.d.ts.map +0 -1
- package/dist/internal/class-serialization.d.ts.map +0 -1
- package/dist/internal/errors.d.ts.map +0 -1
- package/dist/nest-builder.d.ts.map +0 -1
- package/dist/nest-vercel-builder.d.ts.map +0 -1
- package/dist/nest.d.ts.map +0 -1
- package/dist/nitro.d.ts.map +0 -1
- package/dist/nuxt.d.ts.map +0 -1
- package/dist/observability.d.ts.map +0 -1
- package/dist/runtime.d.ts.map +0 -1
- package/dist/stdlib.d.ts.map +0 -1
- package/dist/sveltekit.d.ts.map +0 -1
- package/dist/vite.d.ts.map +0 -1
- package/dist/workflow.d.ts.map +0 -1
- package/docs/changelog/attributes-mvp.mdx +0 -380
- package/docs/changelog/batched-event-writes.mdx +0 -77
- package/docs/changelog/eager-processing.mdx +0 -273
- package/docs/changelog/index.mdx +0 -19
- package/docs/changelog/lazy-event-creation.md +0 -127
- package/docs/changelog/lazy-hook-resume.mdx +0 -78
- package/docs/changelog/meta.json +0 -16
- package/docs/changelog/resilient-resume.mdx +0 -32
- package/docs/changelog/resilient-start.mdx +0 -77
- package/docs/changelog/spec-9.mdx +0 -4167
- package/docs/changelog/step-message-ownership.mdx +0 -355
- package/docs/changelog/turbo-mode.md +0 -91
package/docs/worlds/vercel.mdx
CHANGED
|
@@ -79,7 +79,7 @@ For self-hosted deployments, use the [Postgres World](/worlds/postgres). For loc
|
|
|
79
79
|
|
|
80
80
|
The Vercel World supplies a per-run [event limit](/docs/how-it-works/event-sourcing). Each step adds events to that log, so the event budget also constrains how many steps a run can execute. See [Workflow run limits](https://vercel.com/docs/workflows/pricing#workflow-run-limits) for the published default limits and sizing guidance. A run that exhausts its event budget fails with `MAX_EVENTS_EXCEEDED` and cannot be continued.
|
|
81
81
|
|
|
82
|
-
On the default runtime, replay cost
|
|
82
|
+
On the default runtime, replay cost grows with the event log. For workflows with many steps or frequent resumes, use the [QuickJS runtime](/docs/configuration/runtime-tuning#workflow_vm). Set `WORKFLOW_VM=quickjs` in your project's environment variables and redeploy. Only runs started after the change use the new runtime.
|
|
83
83
|
|
|
84
84
|
QuickJS runs are exempt from the default event cap, allowing larger event logs and more steps. They restore workflow state and replay only events recorded since the last snapshot, reducing replay overhead as the log grows. This does not speed up the work inside individual steps or remove payload, storage, and request rate limits. See [max-events-exceeded](/docs/errors/max-events-exceeded) for eligibility and compatibility details.
|
|
85
85
|
|
|
@@ -166,6 +166,8 @@ Workflow observability is built into the Vercel dashboard on your project page.
|
|
|
166
166
|
|
|
167
167
|
The Vercel World implements the optional [`world.analytics`](/docs/api-reference/workflow-runtime/world/analytics) interface, backed by the same observability data pipeline as the dashboard. Two behaviors are specific to this implementation. Listings scan faster when bounded with a `startTime`/`endTime` window, and your plan's observability lookback caps the queryable window. Requesting an older window fails with `observability-upgrade-required`, and responses include `pageInfo` with the current and maximum lookback so tools can size date ranges.
|
|
168
168
|
|
|
169
|
+
Analytics listings are ingested asynchronously and can trail the live state by a few seconds. Tests and tooling that read entities right after writing them should use the [Storage](/docs/api-reference/workflow-runtime/world/storage) API, which reads the run's primary storage and is not subject to ingestion delay. A step listing can still be a moment behind a run that has only just finished, so poll until the rows you expect appear rather than asserting on the first read.
|
|
170
|
+
|
|
169
171
|
The `workflow` CLI commands open a browser window deeplinked to the Vercel dashboard:
|
|
170
172
|
|
|
171
173
|
```bash
|
|
@@ -233,7 +235,7 @@ Three more are situational:
|
|
|
233
235
|
- `WORKFLOW_VERCEL_PROJECT_NAME` — the project slug, used only to build dashboard links.
|
|
234
236
|
- `VERCEL_TOKEN` — a fallback the World reads for the Vercel API calls it makes alongside your Workflow requests (fetching a run's encryption key, resolving `deploymentId: "latest"`). A client that passes `token` explicitly, as below, already covers those calls and does not need it.
|
|
235
237
|
|
|
236
|
-
For a custom environment, set `WORKFLOW_VERCEL_ENV` to the environment's **slug**, not its ID — the slug is what the consuming deployment compares against. The `workflow` CLI's `--env` flag reads the same variable but only accepts `production` or `preview`, so a custom environment is reachable from your own script, not from the CLI.
|
|
238
|
+
For a custom environment, set `WORKFLOW_VERCEL_ENV` to the environment's **slug**, not its ID — the slug is what the consuming deployment compares against. The `workflow` CLI's `--env` flag reads the same variable but only accepts `production` or `preview`, so a custom environment is reachable from your own script, not from the CLI. With any other value in the environment, CLI commands that take `--env` exit with an error unless you pass `--env`.
|
|
237
239
|
|
|
238
240
|
<Callout type="info">
|
|
239
241
|
The Workflow SDK does not read `WORKFLOW_VERCEL_*` from the environment on
|
|
@@ -340,160 +342,205 @@ If the deployment is behind deployment protection, the job also needs a way to r
|
|
|
340
342
|
|
|
341
343
|
## Configuration
|
|
342
344
|
|
|
343
|
-
In a Vercel deployment
|
|
345
|
+
In a Vercel deployment you configure nothing. Default configuration is injected via [system environment variables](#system-environment-variables). The settings below are for tools outside Vercel and for rare tuning (see [Connecting from outside a deployment](#connecting-from-outside-a-deployment)).
|
|
344
346
|
|
|
345
|
-
|
|
347
|
+
**Common**
|
|
346
348
|
|
|
347
|
-
|
|
349
|
+
| Variable | Default | What it does |
|
|
350
|
+
| --- | --- | --- |
|
|
351
|
+
| [`WORKFLOW_VERCEL_ENV`](#workflow_vercel_env) | `production` | Vercel environment to target |
|
|
352
|
+
| [`WORKFLOW_VERCEL_AUTH_TOKEN`](#workflow_vercel_auth_token) | Vercel CLI login (when using the `workflow` CLI) | Vercel API authentication |
|
|
353
|
+
| [`WORKFLOW_VERCEL_PROJECT`](#workflow_vercel_project) | inferred from `.vercel/project.json` or `.vercel/repo.json` when possible | Project ID |
|
|
354
|
+
| [`WORKFLOW_VERCEL_TEAM`](#workflow_vercel_team) | inferred from `.vercel/project.json` or `.vercel/repo.json` when possible | Team ID |
|
|
355
|
+
| [`WORKFLOW_VERCEL_PROJECT_NAME`](#workflow_vercel_project_name) | inferred when possible | Project slug for dashboard links |
|
|
348
356
|
|
|
349
|
-
|
|
357
|
+
**Advanced**
|
|
350
358
|
|
|
351
|
-
|
|
359
|
+
| Variable | Default | What it does |
|
|
360
|
+
| --- | --- | --- |
|
|
361
|
+
| [`WORKFLOW_VERCEL_BACKEND_URL`](#workflow_vercel_backend_url) | `https://api.vercel.com/v1/workflow` | Workflow API proxy URL |
|
|
362
|
+
| [`VERCEL_WORKFLOW_SERVER_URL`](#vercel_workflow_server_url) | unset | Direct backend URL |
|
|
363
|
+
| [`VERCEL_QUEUE_MAX_DELAY_SECONDS`](#vercel_queue_max_delay_seconds) | `82800` s (23 hours) | Longest single `sleep()` continuation |
|
|
364
|
+
| [`WORKFLOW_REQUEST_TIMEOUT_MS`](#workflow_request_timeout_ms) | `60000` ms | Per-request timeout |
|
|
365
|
+
| [`WORKFLOW_STREAMS_TRANSPORT`](#workflow_streams_transport) | `ws` | Stream write transport |
|
|
366
|
+
| [`WORKFLOW_EVENTS_TRANSPORT`](#workflow_events_transport) | `ws` | Event write transport |
|
|
367
|
+
| [`WORKFLOW_EVENTS_TRANSPORT_WS_OVERRIDE_WORKFLOWS`](#workflow_events_transport_ws_override_workflows) | none | Workflows on the WebSocket while events use HTTP |
|
|
368
|
+
| [`WORKFLOW_WS_MAX_MESSAGE_BYTES`](#workflow_ws_max_message_bytes) | `12582912` (12 MiB) | Largest WebSocket message |
|
|
369
|
+
| [`WORKFLOW_H2_MULTIPLEX`](#workflow_h2_multiplex) | enabled | HTTP/2 for event-log requests |
|
|
370
|
+
| [`WORKFLOW_VERCEL_QUEUE_CONNECTIONS`](#workflow_vercel_queue_connections) | `64` | Queue client connections |
|
|
371
|
+
| [`WORKFLOW_VERCEL_QUEUE_TIMEOUT_MS`](#workflow_vercel_queue_timeout_ms) | `30000` ms | Queue client request deadline |
|
|
372
|
+
| [`WORKFLOW_NODE_HTTP`](#workflow_node_http) | disabled | Requests through Node's built-in HTTP modules |
|
|
373
|
+
|
|
374
|
+
The platform injects what the runtime needs (`VERCEL_DEPLOYMENT_ID`, `VERCEL_PROJECT_ID`, per-request OIDC tokens, and `VERCEL_DEPLOYMENT_KEY` for encryption), so do not set those yourself; the system environment variables setting is what makes `VERCEL_DEPLOYMENT_ID` available.
|
|
375
|
+
|
|
376
|
+
Set the Common variables only when a tool outside Vercel (the CLI, CI, a script) cannot infer the project, team, token, or target environment, for example `workflow inspect runs --backend vercel` in CI without an interactive `vercel login`, or tests against a specific preview deployment. In local development the CLI infers them from your `.vercel` directory and Vercel CLI login. In a deployed Vercel function they have no effect on runtime configuration, and the runtime warns if they are set there. [Connecting from outside a deployment](#connecting-from-outside-a-deployment) covers which ones a local script or CI job needs and how to hand them to the SDK.
|
|
352
377
|
|
|
353
378
|
### `WORKFLOW_VERCEL_ENV`
|
|
354
379
|
|
|
355
|
-
|
|
380
|
+
- Default: `production`
|
|
381
|
+
- Factory option: `projectConfig.environment`
|
|
382
|
+
- CLI flag: `--env` or `-e`
|
|
383
|
+
|
|
384
|
+
The Vercel environment to target: `production`, `preview`, or a custom environment's slug.
|
|
385
|
+
|
|
386
|
+
The CLI accepts only `production` or `preview`; see [Environment variables](#environment-variables) for what other values do.
|
|
356
387
|
|
|
357
388
|
### `WORKFLOW_VERCEL_AUTH_TOKEN`
|
|
358
389
|
|
|
359
|
-
|
|
390
|
+
- Default: Vercel CLI login (when using the `workflow` CLI)
|
|
391
|
+
- Factory option: `token`
|
|
392
|
+
- CLI flag: `--authToken` or `-a`
|
|
360
393
|
|
|
361
|
-
|
|
394
|
+
Vercel API authentication token.
|
|
362
395
|
|
|
363
|
-
|
|
396
|
+
Keep this secret in your environment, not in code.
|
|
364
397
|
|
|
365
|
-
### `
|
|
398
|
+
### `WORKFLOW_VERCEL_PROJECT`
|
|
366
399
|
|
|
367
|
-
|
|
400
|
+
- Default: inferred from `.vercel/project.json` or `.vercel/repo.json` when possible
|
|
401
|
+
- Factory option: `projectConfig.projectId`
|
|
402
|
+
- CLI flag: `--project`
|
|
403
|
+
|
|
404
|
+
Vercel project ID (`prj_...`).
|
|
368
405
|
|
|
369
406
|
### `WORKFLOW_VERCEL_TEAM`
|
|
370
407
|
|
|
408
|
+
- Default: inferred from `.vercel/project.json` or `.vercel/repo.json` when possible
|
|
409
|
+
- Factory option: `projectConfig.teamId`
|
|
410
|
+
- CLI flag: `--team`
|
|
411
|
+
|
|
371
412
|
Vercel team ID.
|
|
372
413
|
|
|
373
|
-
### `
|
|
414
|
+
### `WORKFLOW_VERCEL_PROJECT_NAME`
|
|
374
415
|
|
|
375
|
-
|
|
416
|
+
- Default: inferred when possible
|
|
417
|
+
- Factory option: `projectConfig.projectName`
|
|
376
418
|
|
|
377
|
-
|
|
419
|
+
Vercel project name/slug, used for dashboard links.
|
|
378
420
|
|
|
379
|
-
### `
|
|
421
|
+
### `WORKFLOW_VERCEL_BACKEND_URL`
|
|
380
422
|
|
|
381
|
-
|
|
423
|
+
- Default: `https://api.vercel.com/v1/workflow`
|
|
382
424
|
|
|
383
|
-
|
|
425
|
+
Custom base URL for the Vercel workflow API proxy.
|
|
384
426
|
|
|
385
|
-
|
|
427
|
+
The Vercel World doesn't follow HTTP redirects on workflow API requests, so point custom URLs at an endpoint that answers directly. A `3xx` response fails the request.
|
|
386
428
|
|
|
387
|
-
|
|
429
|
+
### `VERCEL_WORKFLOW_SERVER_URL`
|
|
388
430
|
|
|
389
|
-
|
|
390
|
-
This variable is read at **both build time and runtime**, so it must be set as a project-level environment variable that applies to your build and your deployed functions. Setting it for only one will produce an inconsistent configuration. The same applies to framework integrations that write their own queue trigger configuration instead of using `getWorkflowQueueTrigger()` from `@workflow/builders`: they only get the runtime half (per-run topics) unless they also emit `maxConcurrency: 1` on their flow trigger.
|
|
391
|
-
</Callout>
|
|
431
|
+
- Default: unset
|
|
392
432
|
|
|
393
|
-
|
|
433
|
+
Custom backend URL for direct runtime requests, or for the proxy to forward to via `WORKFLOW_VERCEL_BACKEND_URL`.
|
|
434
|
+
|
|
435
|
+
Normal deployments should not need this.
|
|
394
436
|
|
|
395
437
|
### `VERCEL_QUEUE_MAX_DELAY_SECONDS`
|
|
396
438
|
|
|
397
|
-
|
|
439
|
+
- Default: `82800` (23 hours)
|
|
440
|
+
|
|
441
|
+
Maximum delay, in seconds, that Workflow uses for one Vercel Queues continuation message when implementing `sleep()`.
|
|
398
442
|
|
|
399
|
-
Vercel Queues can delay messages for up to 7 days, capped by the message TTL. Because the default TTL is 24 hours, Workflow uses a 23-hour continuation hop to stay safely inside that default.
|
|
443
|
+
If a workflow sleeps longer than this, the runtime schedules another continuation message when the first one fires, repeating until the sleep's target time is reached. Vercel Queues can delay messages for up to 7 days, capped by the message TTL. Because the default TTL is 24 hours, Workflow uses a 23-hour continuation hop to stay safely inside that default.
|
|
400
444
|
|
|
401
445
|
### `WORKFLOW_REQUEST_TIMEOUT_MS`
|
|
402
446
|
|
|
403
|
-
|
|
447
|
+
- Default: `60000`
|
|
448
|
+
|
|
449
|
+
Per-request timeout, in milliseconds, for Vercel World HTTP calls to its backend. Clamped to `10000`-`120000`; a value outside that range is pulled into it and warns once.
|
|
404
450
|
|
|
405
451
|
Below the floor the deadline starts canceling requests that would have succeeded, since a cold route or a large event page can take seconds, and a canceled request is redriven through the queue rather than making progress. The ceiling matches the longest a backend route holds a response. Requests that legitimately outlast it (stream reads and writes, event batches) opt out of the deadline entirely rather than relying on this value.
|
|
406
452
|
|
|
407
|
-
The same deadline bounds the [events WebSocket](#
|
|
453
|
+
The same deadline bounds the [events WebSocket](#event-writes-over-websocket): opening the socket, including resolving the token it is opened with, and each event write over it.
|
|
408
454
|
|
|
409
455
|
### `WORKFLOW_STREAMS_TRANSPORT`
|
|
410
456
|
|
|
411
|
-
|
|
457
|
+
- Default: `ws`
|
|
412
458
|
|
|
413
|
-
|
|
459
|
+
Stream writes upgrade to a WebSocket (`workflow-stream-ws/v1`) instead of one HTTP request per write group. Set `http` to opt out.
|
|
414
460
|
|
|
415
|
-
The setting is ignored when the World is configured with `projectConfig` and routes through the `api-workflow` proxy, which does not forward a WebSocket upgrade, so stream writes stay on HTTP.
|
|
461
|
+
`http` is matched case-insensitively and ignoring surrounding whitespace; any other value, including unset, empty, or `ws`, uses the WebSocket. Stream reads always use HTTP. The setting is ignored when the World is configured with `projectConfig` and routes through the `api-workflow` proxy, which does not forward a WebSocket upgrade, so stream writes stay on HTTP.
|
|
416
462
|
|
|
417
|
-
|
|
463
|
+
See [Stream writes over WebSocket](#stream-writes-over-websocket) for how a writer upgrades, falls back to HTTP, and drains.
|
|
418
464
|
|
|
419
|
-
|
|
465
|
+
### `WORKFLOW_EVENTS_TRANSPORT`
|
|
420
466
|
|
|
421
|
-
|
|
467
|
+
- Default: `ws`
|
|
422
468
|
|
|
423
|
-
|
|
469
|
+
Workflow run events ship to the Vercel World over a WebSocket instead of one HTTP request each. Set `http` to opt out.
|
|
424
470
|
|
|
425
|
-
|
|
471
|
+
Only `http` disables the WebSocket, matched case-insensitively and ignoring surrounding whitespace. Any other value, including unset or empty, takes the WebSocket, so a typo fails toward the default rather than silently pinning a deployment to HTTP.
|
|
426
472
|
|
|
427
|
-
The
|
|
473
|
+
The setting is ignored when the World is configured with `projectConfig` and therefore routes through the `api-workflow` proxy: that endpoint is an HTTP-only REST gateway and does not forward a WebSocket upgrade, so events stay on HTTP. That fallback is silent, since nothing asked for the WebSocket, and is reported once per process under `DEBUG=workflow:*`.
|
|
428
474
|
|
|
429
|
-
|
|
475
|
+
See [Event writes over WebSocket](#event-writes-over-websocket) for the events channel, `openEventsChannel()`, the fallback to HTTP, and tracing.
|
|
430
476
|
|
|
431
|
-
### `
|
|
477
|
+
### `WORKFLOW_EVENTS_TRANSPORT_WS_OVERRIDE_WORKFLOWS`
|
|
432
478
|
|
|
433
|
-
|
|
479
|
+
- Default: none
|
|
434
480
|
|
|
435
|
-
|
|
481
|
+
Comma-separated workflows whose runs use the WebSocket events transport even when [`WORKFLOW_EVENTS_TRANSPORT`](#workflow_events_transport) is `http`.
|
|
436
482
|
|
|
437
|
-
|
|
483
|
+
Change it when: `WORKFLOW_EVENTS_TRANSPORT=http` is set and you want to move selected workflows onto the WebSocket while the rest of the deployment stays on HTTP. Unless `WORKFLOW_EVENTS_TRANSPORT=http` is set, every workflow already uses the WebSocket and the override has no effect.
|
|
438
484
|
|
|
439
|
-
|
|
485
|
+
Each entry is a workflow's function name, such as `processOrder`, or its full workflow name, such as `workflow//./src/workflows/order//processOrder`. Matching is exact and case-sensitive. A function name matches every workflow with that name, in any file.
|
|
440
486
|
|
|
441
|
-
|
|
487
|
+
```bash
|
|
488
|
+
WORKFLOW_EVENTS_TRANSPORT_WS_OVERRIDE_WORKFLOWS=processOrder,syncInventory
|
|
489
|
+
```
|
|
442
490
|
|
|
443
|
-
|
|
444
|
-
import { createWorld, openEventsChannel } from "@workflow/world-vercel";
|
|
491
|
+
The override applies to the events channel the queue handler opens for each delivery of a listed workflow's run. The workflow name comes from the delivery's queue, so it covers the run's workflow and step invocations alike. `openEventsChannel(runId, config, { workflowName })` applies it to channels you open yourself; without `workflowName`, a deployment with `WORKFLOW_EVENTS_TRANSPORT=http` opens none.
|
|
445
492
|
|
|
446
|
-
|
|
447
|
-
const release = openEventsChannel(runId);
|
|
448
|
-
try {
|
|
449
|
-
await world.events.create(runId, event);
|
|
450
|
-
} finally {
|
|
451
|
-
release?.();
|
|
452
|
-
}
|
|
453
|
-
```
|
|
493
|
+
Like other environment variables, the setting is fixed for each deployment, and a run stays on the deployment it started on. Changing it takes effect for runs started on the next deployment; runs already in progress keep the transport of the deployment they're pinned to.
|
|
454
494
|
|
|
455
|
-
|
|
495
|
+
### `WORKFLOW_WS_MAX_MESSAGE_BYTES`
|
|
456
496
|
|
|
457
|
-
|
|
497
|
+
- Default: `12582912` (12 MiB)
|
|
458
498
|
|
|
459
|
-
|
|
499
|
+
Largest WebSocket message the Vercel World sends, header included, on both the events and stream-write transports. Integer values are clamped to `2097152`-`16777216` (2–16 MiB) with a warning; other values use the default.
|
|
460
500
|
|
|
461
|
-
|
|
501
|
+
Some WebSocket paths limit the size of a single message, commonly to 16 MiB. Event payloads can be larger: a step's input or output is carried inside its event. Frames at or under the limit are unaffected. See [Large WebSocket messages](#large-websocket-messages) for how a larger frame or write group is split.
|
|
462
502
|
|
|
463
|
-
|
|
464
|
-
| --- | --- | --- |
|
|
465
|
-
| `workflow.events.transport` | `http` | `ws` |
|
|
466
|
-
| `workflow.events.transport_fallback` | why a write that tried the socket went over HTTP: `no_channel` (no socket for the run) or `connecting` (a `run_started` during the handshake). Absent when the write never tried the socket, and through a `projectConfig` World. | — |
|
|
467
|
-
| `workflow.event.type` | the event type, e.g. `step_started` | same |
|
|
468
|
-
| `network.protocol.name` | — | `websocket` |
|
|
469
|
-
| `workflow.events.ws.url` | — | the socket the frame went over |
|
|
470
|
-
| `workflow.events.ws.req_id` | — | per-connection request id, matching the server's log line |
|
|
471
|
-
| `workflow.events.ws.request_parts` | — | messages the request was sent as, when it was split |
|
|
472
|
-
| `workflow.events.ws.reply_parts` | — | messages the reply arrived as, when it was split |
|
|
503
|
+
### `WORKFLOW_H2_MULTIPLEX`
|
|
473
504
|
|
|
474
|
-
|
|
505
|
+
- Default: enabled
|
|
475
506
|
|
|
476
|
-
|
|
507
|
+
Lets concurrent event-log requests share one HTTP/2 connection instead of one connection per in-flight request. Set `0` to take the event-log requests off HTTP/2 entirely, so each request uses its own HTTP/1.1 connection. Only `0` turns it off; other values, including `false`, are ignored.
|
|
477
508
|
|
|
478
|
-
|
|
509
|
+
Change it when: HTTP/2 turns out to be at fault for event delivery problems. `0` is the kill switch.
|
|
479
510
|
|
|
480
|
-
|
|
511
|
+
Has no effect when [`WORKFLOW_NODE_HTTP`](#workflow_node_http) is enabled (which takes the whole HTTP/2 path away) or when a custom `dispatcher` is passed to `createWorld()` (its own settings apply).
|
|
481
512
|
|
|
482
|
-
|
|
483
|
-
WORKFLOW_EVENTS_TRANSPORT_WS_OVERRIDE_WORKFLOWS=processOrder,syncInventory
|
|
484
|
-
```
|
|
513
|
+
### `WORKFLOW_VERCEL_QUEUE_CONNECTIONS`
|
|
485
514
|
|
|
486
|
-
|
|
515
|
+
- Default: `64`
|
|
487
516
|
|
|
488
|
-
|
|
517
|
+
Connections the Vercel World's queue client may open to the queue service. Clamped to `1`-`1024`.
|
|
489
518
|
|
|
490
|
-
|
|
519
|
+
Change it when: you have a reason to cap sockets. Too low turns invocation concurrency into the limit on how fast messages can be acknowledged.
|
|
491
520
|
|
|
492
|
-
|
|
521
|
+
The default is much higher than the World's other connection pools on purpose. The queue client makes roughly two small requests per invocation, so its concurrency tracks how many invocations a compute instance is serving at once rather than any per-request fan-out.
|
|
493
522
|
|
|
494
|
-
|
|
523
|
+
Has no effect when [`WORKFLOW_NODE_HTTP`](#workflow_node_http) is enabled (only undici's default 300-second timeouts apply) or when a custom `dispatcher` is passed to `createWorld()` (its own limits apply).
|
|
495
524
|
|
|
496
|
-
|
|
525
|
+
### `WORKFLOW_VERCEL_QUEUE_TIMEOUT_MS`
|
|
526
|
+
|
|
527
|
+
- Default: `30000`
|
|
528
|
+
|
|
529
|
+
Total deadline, in milliseconds, for one request the Vercel World's queue client makes, measured from the moment it is handed to the transport, so it also covers time the request spends waiting for a free connection. Clamped to `5000`-`120000`.
|
|
530
|
+
|
|
531
|
+
Keep it below the queue's visibility-renewal interval (60 seconds) so a failed call has room to surface and be retried before the message lease lapses.
|
|
532
|
+
|
|
533
|
+
This is the only request path the World cannot bound with [`WORKFLOW_REQUEST_TIMEOUT_MS`](#workflow_request_timeout_ms), because the queue client makes its own calls and accepts no override for them. Without a deadline here, a queue acknowledgement that never completes holds the invocation until the platform kills it, and a killed invocation never acknowledges, so the message is redelivered.
|
|
534
|
+
|
|
535
|
+
Has no effect when [`WORKFLOW_NODE_HTTP`](#workflow_node_http) is enabled (only undici's default 300-second timeouts apply) or when a custom `dispatcher` is passed to `createWorld()` (its own limits apply).
|
|
536
|
+
|
|
537
|
+
### `WORKFLOW_NODE_HTTP`
|
|
538
|
+
|
|
539
|
+
- Default: disabled
|
|
540
|
+
|
|
541
|
+
Whether the Vercel World issues its HTTP requests through Node's built-in `node:http` and `node:https` modules instead of the HTTP client library it normally uses. Set to `1` to switch to Node's modules.
|
|
542
|
+
|
|
543
|
+
It costs throughput: event-log requests lose HTTP/2, among other per-call-site tuning. The queue client's requests stay on undici but lose their own connection cap and deadline ([`WORKFLOW_VERCEL_QUEUE_CONNECTIONS`](#workflow_vercel_queue_connections) and [`WORKFLOW_VERCEL_QUEUE_TIMEOUT_MS`](#workflow_vercel_queue_timeout_ms) stop applying). See [`WORKFLOW_NODE_HTTP`](/docs/configuration/runtime-tuning#workflow_node_http) for the trade-offs.
|
|
497
544
|
|
|
498
545
|
### Programmatic configuration
|
|
499
546
|
|
|
@@ -572,3 +619,64 @@ The Vercel World uses Vercel's infrastructure for workflow execution:
|
|
|
572
619
|
- **Authentication**: OIDC tokens provide secure, automatic authentication inside deployments; clients outside one authenticate with a [Vercel auth token](#connecting-from-outside-a-deployment)
|
|
573
620
|
|
|
574
621
|
For more details, see the [Vercel Workflow documentation](https://vercel.com/docs/workflows).
|
|
622
|
+
|
|
623
|
+
### Stream writes over WebSocket
|
|
624
|
+
|
|
625
|
+
With [`WORKFLOW_STREAMS_TRANSPORT`](#workflow_streams_transport) at its default, the client only offers the upgrade. The server accepts or declines each one, and a writer whose upgrade is declined or fails writes over HTTP for the rest of its lifetime. This setting does not decide which tenants may upgrade and does not infer server support from package versions. The protocol route (`/websockets/v1`) is versioned independently from REST v2/v4 and persisted workflow `specVersion` values.
|
|
626
|
+
|
|
627
|
+
A writer's first write group always goes over HTTP, and so does its second. The socket starts opening in the background once the second group's request is sent, and later groups keep going over HTTP until it opens, so no write waits for the upgrade. A writer that closes after one or two groups never uses the socket. If the socket has not opened within 10 seconds, or the upgrade fails or is declined, the writer stays on HTTP.
|
|
628
|
+
|
|
629
|
+
Writes and close requests execute serially, so a write never overtakes an earlier one on the other transport. After the socket accepts a write, a missing acknowledgement has an unknown outcome: the writer fails rather than replaying the write over HTTP and risking a duplicate append. A throttled (429) write or close did not apply, so the writer retries it after the server's `Retry-After`, as the HTTP writer does, on the socket if it stays open (or its replacement, after a drain) and otherwise over HTTP. Past 30 seconds of cumulative wait, the write moves to HTTP, whose own 429 retry applies. A close that fails with a 5xx is retried over HTTP, since close is idempotent.
|
|
630
|
+
|
|
631
|
+
Once a released writer's writes drain, its socket closes without closing the shared stream, and later writes through that same handle go over HTTP. Writers acquired with `getWritable()` inside a step release their socket when the step completes. External `getRun(runId).getWritable()` handles release it on the first `releaseLock()` after pending writes drain, so hold the writer lock for the whole burst to keep writing over the socket.
|
|
632
|
+
|
|
633
|
+
Before routine authentication expiry or server max duration, the server sends a v1 `drain` control. The client stops sending, lets an already-admitted request receive its reply, and reconnects after the server closes with code 1001. If the new socket is not open within 250 ms, the writer continues over HTTP. Authentication drains re-resolve a fresh bearer. A request that was sent but receives no reply before close still has an unknown outcome and is never replayed.
|
|
634
|
+
|
|
635
|
+
The server sends WebSocket pings to keep an idle socket open, and the client must answer them. The `ws` library the Vercel World uses answers pings automatically, so there is nothing to configure.
|
|
636
|
+
|
|
637
|
+
Each stream WebSocket message is at most [`WORKFLOW_WS_MAX_MESSAGE_BYTES`](#workflow_ws_max_message_bytes) bytes. A write group larger than the limit is sent as several ordered write requests. A single chunk too large for one message is written over HTTP instead, as are the rest of its writer's writes.
|
|
638
|
+
|
|
639
|
+
### Event writes over WebSocket
|
|
640
|
+
|
|
641
|
+
With [`WORKFLOW_EVENTS_TRANSPORT`](#workflow_events_transport) at its default, event writes use the WebSocket only while that run's events channel is open. The queue handler opens it for every delivery, so workflows need nothing extra. Code that writes a run's events outside a delivery, such as a custom driver or a long-lived process, opens the channel with `openEventsChannel(runId)`, or those writes go over HTTP. Call the returned release when you're done, because an open socket keeps the process alive:
|
|
642
|
+
|
|
643
|
+
{/*@skip-typecheck: incomplete code sample*/}
|
|
644
|
+
|
|
645
|
+
```typescript title="write-events.ts" lineNumbers
|
|
646
|
+
import { createWorld, openEventsChannel } from "@workflow/world-vercel";
|
|
647
|
+
|
|
648
|
+
const world = createWorld();
|
|
649
|
+
const release = openEventsChannel(runId);
|
|
650
|
+
try {
|
|
651
|
+
await world.events.create(runId, event);
|
|
652
|
+
} finally {
|
|
653
|
+
release?.();
|
|
654
|
+
}
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
`openEventsChannel()` returns `undefined`, and writes stay on HTTP, when the transport is disabled or the World cannot hold a socket, such as a `projectConfig` World.
|
|
658
|
+
|
|
659
|
+
A write issued while the channel's socket is still connecting waits for the handshake, except `run_started`, which goes over HTTP instead. It is a delivery's first write, and every later write of the delivery waits for it.
|
|
660
|
+
|
|
661
|
+
If the first connect fails, or opening the socket or a write over it gets no answer within [`WORKFLOW_REQUEST_TIMEOUT_MS`](#workflow_request_timeout_ms), the channel closes. The write that failed is retried over HTTP where the event type allows a retry, and every later event write for that run goes over HTTP until a new channel is opened, which the next delivery does. The channel is shared by every concurrent invocation of the run in the same process, so one timed out write moves all of them to HTTP, and releasing it afterwards has nothing left to close.
|
|
662
|
+
|
|
663
|
+
Tracing is unaffected by the choice. Each event write emits an `http POST` client span against the same `url.full`, regardless of which transport carries it. On the WebSocket path, the span is synthesized around the frame because no HTTP request is made. `workflow.events.transport` on the per-write span records which transport actually carried a run. Attributes distinguish the transports:
|
|
664
|
+
|
|
665
|
+
| Attribute | HTTP | WebSocket |
|
|
666
|
+
| --- | --- | --- |
|
|
667
|
+
| `workflow.events.transport` | `http` | `ws` |
|
|
668
|
+
| `workflow.events.transport_fallback` | why a write that tried the socket went over HTTP: `no_channel` (no socket for the run) or `connecting` (a `run_started` during the handshake). Absent when the write never tried the socket, and through a `projectConfig` World. | — |
|
|
669
|
+
| `workflow.event.type` | the event type, e.g. `step_started` | same |
|
|
670
|
+
| `network.protocol.name` | — | `websocket` |
|
|
671
|
+
| `workflow.events.ws.url` | — | the socket the frame went over |
|
|
672
|
+
| `workflow.events.ws.req_id` | — | per-connection request id, matching the server's log line |
|
|
673
|
+
| `workflow.events.ws.request_parts` | — | messages the request was sent as, when it was split |
|
|
674
|
+
| `workflow.events.ws.reply_parts` | — | messages the reply arrived as, when it was split |
|
|
675
|
+
|
|
676
|
+
The WebSocket handshake is itself a span, `workflow.events.ws.connect`, so the cost of opening (or eagerly reopening) a connection is attributable rather than showing up as unexplained time inside the first write.
|
|
677
|
+
|
|
678
|
+
### Large WebSocket messages
|
|
679
|
+
|
|
680
|
+
A frame over [`WORKFLOW_WS_MAX_MESSAGE_BYTES`](#workflow_ws_max_message_bytes) is sent as several messages, and the other side rebuilds it before handling it. Stream writes split a large write group into several ordered write requests instead (see [Stream writes over WebSocket](#stream-writes-over-websocket)).
|
|
681
|
+
|
|
682
|
+
The client splits its own large requests, which needs a Vercel World backend that accepts split frames. It lists `frame-parts` in the `x-workflow-ws-flags` header of the WebSocket upgrade, and the backend splits large replies only for a client that does, so older clients keep receiving whole replies.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"description": "Workflow SDK - Build durable, resilient, and observable workflows",
|
|
5
5
|
"main": "dist/typescript-plugin.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
13
|
"bin",
|
|
14
|
-
"docs/**/*"
|
|
14
|
+
"docs/**/*",
|
|
15
|
+
"!dist/**/*.test.*",
|
|
16
|
+
"!dist/**/*.d.ts.map"
|
|
15
17
|
],
|
|
16
18
|
"directories": {
|
|
17
19
|
"doc": "./docs"
|
|
@@ -58,19 +60,19 @@
|
|
|
58
60
|
}
|
|
59
61
|
},
|
|
60
62
|
"dependencies": {
|
|
61
|
-
"@workflow/astro": "5.0.
|
|
62
|
-
"@workflow/cli": "5.
|
|
63
|
-
"@workflow/core": "5.
|
|
64
|
-
"@workflow/errors": "5.1.
|
|
65
|
-
"@workflow/typescript-plugin": "5.0.
|
|
66
|
-
"@workflow/utils": "5.1.
|
|
63
|
+
"@workflow/astro": "5.0.11",
|
|
64
|
+
"@workflow/cli": "5.2.0",
|
|
65
|
+
"@workflow/core": "5.6.1",
|
|
66
|
+
"@workflow/errors": "5.1.3",
|
|
67
|
+
"@workflow/typescript-plugin": "5.0.1",
|
|
68
|
+
"@workflow/utils": "5.1.1",
|
|
67
69
|
"ms": "2.1.3",
|
|
68
|
-
"@workflow/next": "5.1.
|
|
69
|
-
"@workflow/nest": "5.1.
|
|
70
|
-
"@workflow/nitro": "5.0.
|
|
71
|
-
"@workflow/nuxt": "5.0.
|
|
72
|
-
"@workflow/sveltekit": "5.0.
|
|
73
|
-
"@workflow/rollup": "5.0.
|
|
70
|
+
"@workflow/next": "5.1.2",
|
|
71
|
+
"@workflow/nest": "5.1.9",
|
|
72
|
+
"@workflow/nitro": "5.0.11",
|
|
73
|
+
"@workflow/nuxt": "5.0.11",
|
|
74
|
+
"@workflow/sveltekit": "5.0.11",
|
|
75
|
+
"@workflow/rollup": "5.0.11"
|
|
74
76
|
},
|
|
75
77
|
"devDependencies": {
|
|
76
78
|
"@types/ms": "2.1.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-workflow.d.ts","sourceRoot":"","sources":["../src/api-workflow.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,6BAA6B,EAC7B,WAAW,EACX,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,GAAG,EAAE,MAAM,4BAA4B,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAQrD,eAAO,MAAM,MAAM,aAA+B,CAAC;AACnD,eAAO,MAAM,cAAc,aAAuC,CAAC;AACnE,eAAO,MAAM,UAAU,aAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,aAAsC,CAAC;AACjE,eAAO,MAAM,OAAO,aAAgC,CAAC;AACrD,eAAO,MAAM,sBAAsB,aAIlC,CAAC;AACF,YAAY,EACV,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,wCAAwC,CAAC"}
|
package/dist/api.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAOA,OAAO,mCAAmC,CAAC;AAE3C,YAAY,EACV,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,eAAe,EACf,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,sBAAsB,GAC5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,cAAc,EACd,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,UAAU,EACV,aAAa,GACd,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,MAAM,EACN,GAAG,EACH,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,GACtC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,GACN,MAAM,8BAA8B,CAAC"}
|
package/dist/astro.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../src/astro.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,mCAAmC,CAAC;AAE3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builtins.d.ts","sourceRoot":"","sources":["../../src/internal/builtins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAsB,+BAA+B,CACnD,IAAI,EAAE,OAAO,GAAG,QAAQ,wBAIzB;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,oBAGrE;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,mBAGrE;AAmBD;;;;;;;;;;GAUG;AACH,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC,EACrD,OAAO,CAAC,EAAE;IAAE,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAAE,iBAsEhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"class-serialization.d.ts","sourceRoot":"","sources":["../../src/internal/class-serialization.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,oCAAoC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/internal/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,0BAA0B,EAC1B,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nest-builder.d.ts","sourceRoot":"","sources":["../src/nest-builder.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nest-vercel-builder.d.ts","sourceRoot":"","sources":["../src/nest-vercel-builder.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
package/dist/nest.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nest.d.ts","sourceRoot":"","sources":["../src/nest.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
package/dist/nitro.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.d.ts","sourceRoot":"","sources":["../src/nitro.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAChC,eAAe,aAAa,CAAC"}
|
package/dist/nuxt.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.d.ts","sourceRoot":"","sources":["../src/nuxt.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,cAAc,gBAAgB,CAAC;AAC/B,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../src/observability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,aAAa,GACd,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,cAAc,EACd,aAAa,EACb,iBAAiB,GAClB,MAAM,iBAAiB,CAAC"}
|
package/dist/runtime.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAEA,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EACL,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,WAAW,EACX,QAAQ,EACR,kBAAkB,GACnB,MAAM,wBAAwB,CAAC"}
|
package/dist/stdlib.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stdlib.d.ts","sourceRoot":"","sources":["../src/stdlib.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;GAKG;AACH,wBAAsB,KAAK,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,qBAGvE"}
|
package/dist/sveltekit.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sveltekit.d.ts","sourceRoot":"","sources":["../src/sveltekit.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
package/dist/vite.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/workflow.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../src/workflow.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC"}
|