eve 1.0.0 → 1.0.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/CHANGELOG.md +33 -373
- package/README.md +5 -1
- package/dist/src/channel/auth/oidc.js +1 -1
- package/dist/src/channel/channel-address.d.ts +13 -2
- package/dist/src/channel/channel-address.js +1 -1
- package/dist/src/cli/commands/init-git.js +1 -1
- package/dist/src/cli/commands/init-onboarding.js +1 -0
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/registry-setup-command.js +1 -1
- package/dist/src/cli/dev/command-options.js +1 -1
- package/dist/src/cli/dev/command.js +1 -1
- package/dist/src/cli/dev/run-interactive-ui.js +1 -1
- package/dist/src/cli/dev/tui/message-queue.js +2 -2
- package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
- package/dist/src/cli/dev/tui/run-setup-flow-command.js +1 -0
- package/dist/src/cli/dev/tui/runner.js +3 -3
- package/dist/src/cli/dev/tui/setup-commands.js +1 -1
- package/dist/src/cli/dev/tui/setup-panel.js +1 -1
- package/dist/src/cli/dev/tui/startup-onboarding.js +1 -0
- package/dist/src/cli/dev/tui/startup.js +1 -1
- package/dist/src/cli/dev/tui/terminal-renderer.js +10 -10
- package/dist/src/cli/dev/tui/tui.js +1 -1
- package/dist/src/cli/run.js +1 -1
- package/dist/src/compiled/.vendor-stamp.json +17 -5
- package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
- package/dist/src/compiled/@ai-sdk/google/index.js +6 -6
- package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
- package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
- package/dist/src/compiled/@ai-sdk/otel/index.js +3 -3
- package/dist/src/compiled/@ai-sdk/provider/index.js +1 -1
- package/dist/src/compiled/@chat-adapter/slack/index.js +46 -51
- package/dist/src/compiled/@eve/catalog/index.js +1 -1
- package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
- package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
- package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +61 -155
- package/dist/src/compiled/@vercel/agent-runs/delegation.js +1 -1
- package/dist/src/compiled/@vercel/agent-runs/index.js +1 -1
- package/dist/src/compiled/@vercel/agent-runs/otel.js +1 -1
- package/dist/src/compiled/@vercel/blob/index.js +11 -36
- package/dist/src/compiled/@vercel/connect/index.js +1 -63
- package/dist/src/compiled/@vercel/oidc/index.js +1 -63
- package/dist/src/compiled/@vercel/otel/index.js +1 -1
- package/dist/src/compiled/@vercel/queue/index.js +12 -43
- package/dist/src/compiled/@vercel/sandbox/index.js +13 -114
- package/dist/src/compiled/@vercel/schedules/index.js +2 -27
- package/dist/src/compiled/@workflow/core/index.js +1 -1
- package/dist/src/compiled/@workflow/core/private.js +1 -1
- package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
- package/dist/src/compiled/@workflow/core/runtime.js +1 -1
- package/dist/src/compiled/@workflow/core/serialization.js +1 -1
- package/dist/src/compiled/@workflow/core/workflow.js +1 -1
- package/dist/src/compiled/@workflow/world/index.js +1 -1
- package/dist/src/compiled/@workflow/world-local/index.js +6 -6
- package/dist/src/compiled/@workflow/world-vercel/index.js +36 -1
- package/dist/src/compiled/_chunks/{workflow/attribute-changes-BCNqKjr-.js → node/attribute-changes-9TDYamoB.js} +2 -2
- package/dist/src/compiled/_chunks/node/{auth-VDi2758t.js → auth-C6x8BkZ1.js} +2 -2
- package/dist/src/compiled/_chunks/node/chunk-5MU5Z6L3-DdGH_80b.js +1 -0
- package/dist/src/compiled/_chunks/node/chunk-WVKEO4WS-CcXj6Pbu.js +1 -0
- package/dist/src/compiled/_chunks/node/cjs-rUgqAJxb.js +1 -0
- package/dist/src/compiled/_chunks/node/delegation-nXIIGof2.js +1 -0
- package/dist/src/compiled/_chunks/node/delivery-ZirLueQB.js +1 -0
- package/dist/src/compiled/_chunks/node/dist-Ar8FFwah.js +1 -0
- package/dist/src/compiled/_chunks/node/dist-BlVGA8Bc.js +2 -0
- package/dist/src/compiled/_chunks/{workflow/dist-DkHcYt13.js → node/dist-C-W-BUim.js} +4 -4
- package/dist/src/compiled/_chunks/node/dist-CJqVJRdy.js +1 -0
- package/dist/src/compiled/_chunks/node/dist-Dff3FJd4.js +2 -0
- package/dist/src/compiled/_chunks/node/dist-SjWKZevK.js +1 -0
- package/dist/src/compiled/_chunks/node/dist-Y7k9L0_i.js +4 -0
- package/dist/src/compiled/_chunks/node/esm-BQbQSdEk.js +1 -0
- package/dist/src/compiled/_chunks/node/esm-V84xqwqm.js +7 -0
- package/dist/src/compiled/_chunks/{workflow/experimental-extraction-BE-Zv-lu.js → node/experimental-extraction-BddLppMC.js} +2 -2
- package/dist/src/compiled/_chunks/node/functions-CrSNYLMQ.js +2 -0
- package/dist/src/compiled/_chunks/{workflow/getMachineId-bsd-BDZRITBA-ByMis12M.js → node/getMachineId-bsd-BDZRITBA-DLL53RiE.js} +1 -1
- package/dist/src/compiled/_chunks/{workflow/getMachineId-darwin-YASTVJY7-BVAknd8k.js → node/getMachineId-darwin-YASTVJY7-Bt7YOVRS.js} +1 -1
- package/dist/src/compiled/_chunks/node/getMachineId-linux-NDQO5XIJ-35soE6HM.js +1 -0
- package/dist/src/compiled/_chunks/node/getMachineId-unsupported-4HKOBEHB-BIvYzL3H.js +1 -0
- package/dist/src/compiled/_chunks/{workflow/getMachineId-win-5LM2K5X3-Cj6CA3It.js → node/getMachineId-win-5LM2K5X3-DjHieqnK.js} +1 -1
- package/dist/src/compiled/_chunks/{workflow/helpers-D1eianSs.js → node/helpers-D0wk1DpF.js} +2 -2
- package/dist/src/compiled/_chunks/node/lib-kYMsDr_I.js +1 -0
- package/dist/src/compiled/_chunks/node/mcp-CpcK9m5J.js +5 -0
- package/dist/src/compiled/_chunks/node/ms-Cgt_-jny.js +1 -0
- package/dist/src/compiled/_chunks/node/node-http-BJoNWVEH.js +1 -0
- package/dist/src/compiled/_chunks/node/picocolors-BvkTgkT5.js +1 -0
- package/dist/src/compiled/_chunks/node/resume-hook-HOi86Mpt.js +1 -0
- package/dist/src/compiled/_chunks/node/resume-hook-MNXqhfUQ.js +1 -0
- package/dist/src/compiled/_chunks/node/retry-BsKFOQYI.js +1 -0
- package/dist/src/compiled/_chunks/node/run-iZaWiaIW.js +34 -0
- package/dist/src/compiled/_chunks/node/serialization-SOBM-hqQ.js +12 -0
- package/dist/src/compiled/_chunks/{workflow/signal-exit-fprSURbq.js → node/signal-exit-DUUCjAID.js} +1 -1
- package/dist/src/compiled/_chunks/node/sleep-kn6Idr6A.js +1 -0
- package/dist/src/compiled/_chunks/node/suspension-hooks-DGVf4ZTu.js +3 -0
- package/dist/src/compiled/_chunks/node/time-DlDfzITA.js +1 -0
- package/dist/src/compiled/_chunks/node/token-Bx_BK6UD.js +1 -0
- package/dist/src/compiled/_chunks/node/{token-DGjjdToG.js → token-C3MqBzSe.js} +1 -1
- package/dist/src/compiled/_chunks/node/token-C8MvBi8U.js +1 -0
- package/dist/src/compiled/_chunks/node/token-DCqq5r4M.js +1 -0
- package/dist/src/compiled/_chunks/node/token-d3oeMwv2.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-5HFX0QsS.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-B-3umg_h.js +59 -0
- package/dist/src/compiled/_chunks/node/token-util-BdFM23p-.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-Bga2H4s7.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-C53yPU2Q.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-CMdCnQTY.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-DRfyDqhP.js +59 -0
- package/dist/src/compiled/_chunks/node/token-util-DdfuyqVB.js +1 -0
- package/dist/src/compiled/_chunks/node/token-util-S816eCve.js +22 -0
- package/dist/src/compiled/_chunks/node/token-util-hJVPA0w0.js +22 -0
- package/dist/src/compiled/_chunks/node/undici-CXX9Qrag.js +95 -0
- package/dist/src/compiled/_chunks/node/websocket-server-Usb_vYYJ.js +6 -0
- package/dist/src/compiled/_chunks/node/wrapper-B8sMmFpP.js +1 -0
- package/dist/src/compiled/_chunks/node/wrapper-DTBQ2yNI.js +1 -0
- package/dist/src/compiled/_chunks/node/ws-transport-BWQwR7zD.js +1 -0
- package/dist/src/compiled/_chunks/node/ws-transport-Dah44MMA.js +3 -0
- package/dist/src/compiled/jose/index.js +1 -1
- package/dist/src/eve-channel/request.js +1 -1
- package/dist/src/execution/dynamic-workflow/tool.js +1 -1
- package/dist/src/execution/session-inbox/handle.js +1 -1
- package/dist/src/execution/session-inbox/owner.js +1 -1
- package/dist/src/execution/session-inbox/resume.js +1 -1
- package/dist/src/execution/tools/agent-router-workflow.js +1 -1
- package/dist/src/harness/provider-tools.js +1 -1
- package/dist/src/harness/step/prompt.js +1 -1
- package/dist/src/instrumentation/decide.js +1 -1
- package/dist/src/instrumentation/dispatch.js +1 -1
- package/dist/src/instrumentation/lifecycle.d.ts +10 -1
- package/dist/src/instrumentation/runtime.js +1 -1
- package/dist/src/internal/application/stamped-package-version.js +1 -1
- package/dist/src/public/channels/slack/attachments.js +1 -1
- package/dist/src/public/channels/slack/connections.js +1 -1
- package/dist/src/public/channels/slack/renderers.d.ts +4 -2
- package/dist/src/public/channels/slack/slackChannel.js +1 -1
- package/dist/src/runtime/subagents/workflow.js +1 -1
- package/dist/src/setup/primitives/pm/npm.js +1 -1
- package/dist/src/setup/primitives/pm/run.js +1 -1
- package/dist/src/setup/registry-setup-client.js +2 -2
- package/dist/src/setup/registry-setup-protocol.js +1 -1
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/setup/scaffold/update/channels.js +1 -1
- package/dist/src/shared/forwarded-trace-policy.d.ts +2 -0
- package/dist/src/shared/forwarded-trace-policy.js +1 -1
- package/dist/src/tools/provided/ask-question-workflow.js +1 -1
- package/dist/src/tools/provided/sleep-workflow.js +1 -1
- package/dist/src/tools/provided/web-search.d.ts +2 -2
- package/dist/src/tools/provided/web-search.js +1 -1
- package/docs/channels/slack/reference.mdx +1 -1
- package/docs/concepts/built-in-tools.md +3 -3
- package/docs/getting-started.mdx +5 -1
- package/docs/guides/client/index.mdx +1 -1
- package/docs/reference/typescript-api.md +1 -1
- package/package.json +3 -7
- package/dist/src/acp/adapter.d.ts +0 -28
- package/dist/src/acp/line-limit.d.ts +0 -3
- package/dist/src/acp/server.d.ts +0 -21
- package/dist/src/ai/decision-adapter.d.ts +0 -15
- package/dist/src/approval/agent.d.ts +0 -24
- package/dist/src/approval/requester-only.d.ts +0 -11
- package/dist/src/channel/adapter-context.d.ts +0 -9
- package/dist/src/channel/auth/http-basic.d.ts +0 -8
- package/dist/src/channel/auth/jwt-ecdsa.d.ts +0 -8
- package/dist/src/channel/auth/jwt-hmac.d.ts +0 -8
- package/dist/src/channel/auth/oidc.d.ts +0 -8
- package/dist/src/channel/auth/result.d.ts +0 -3
- package/dist/src/channel/auth/token-claims.d.ts +0 -17
- package/dist/src/channel/auth/types.d.ts +0 -108
- package/dist/src/channel/auth/vercel-oidc-project.d.ts +0 -12
- package/dist/src/channel/conversation-context.d.ts +0 -8
- package/dist/src/channel/delivery-idempotency.d.ts +0 -10
- package/dist/src/channel/delivery.d.ts +0 -8
- package/dist/src/channel/http.d.ts +0 -29
- package/dist/src/channel/inactive-prompt.d.ts +0 -46
- package/dist/src/channel/pending-authorization.d.ts +0 -4
- package/dist/src/channel/principal-identity.d.ts +0 -11
- package/dist/src/channel/relay-event.d.ts +0 -11
- package/dist/src/channel/resolved-prompt.d.ts +0 -22
- package/dist/src/channel/route-args.d.ts +0 -35
- package/dist/src/channel/schedule.d.ts +0 -78
- package/dist/src/channel/send-input.d.ts +0 -10
- package/dist/src/channel/session-callback.d.ts +0 -11
- package/dist/src/channel/tool-eligibility.d.ts +0 -38
- package/dist/src/cli/acp/command.d.ts +0 -24
- package/dist/src/cli/agent-command.d.ts +0 -6
- package/dist/src/cli/agent-detection.d.ts +0 -7
- package/dist/src/cli/application-command.d.ts +0 -13
- package/dist/src/cli/application-root.d.ts +0 -5
- package/dist/src/cli/banner.d.ts +0 -11
- package/dist/src/cli/commands/agent-instructions.d.ts +0 -34
- package/dist/src/cli/commands/build.d.ts +0 -15
- package/dist/src/cli/commands/deploy.d.ts +0 -27
- package/dist/src/cli/commands/extension-build.d.ts +0 -9
- package/dist/src/cli/commands/extension-init.d.ts +0 -26
- package/dist/src/cli/commands/info.d.ts +0 -68
- package/dist/src/cli/commands/init-agent-workspace.d.ts +0 -18
- package/dist/src/cli/commands/init-git.d.ts +0 -17
- package/dist/src/cli/commands/init-install.d.ts +0 -11
- package/dist/src/cli/commands/init-project.d.ts +0 -44
- package/dist/src/cli/commands/init-recovery.d.ts +0 -3
- package/dist/src/cli/commands/init-target.d.ts +0 -20
- package/dist/src/cli/commands/init-telemetry.d.ts +0 -7
- package/dist/src/cli/commands/init.d.ts +0 -28
- package/dist/src/cli/commands/integration-connect.d.ts +0 -35
- package/dist/src/cli/commands/integration-setup.d.ts +0 -18
- package/dist/src/cli/commands/link.d.ts +0 -25
- package/dist/src/cli/commands/logs-events.d.ts +0 -38
- package/dist/src/cli/commands/logs.d.ts +0 -64
- package/dist/src/cli/commands/preconditions.d.ts +0 -22
- package/dist/src/cli/commands/register-integration-commands.d.ts +0 -15
- package/dist/src/cli/commands/register-project-commands.d.ts +0 -13
- package/dist/src/cli/commands/register-registry-commands.d.ts +0 -13
- package/dist/src/cli/commands/registry-add-command.d.ts +0 -3
- package/dist/src/cli/commands/registry-declared-setups.d.ts +0 -43
- package/dist/src/cli/commands/registry-install-transaction.d.ts +0 -10
- package/dist/src/cli/commands/registry-metadata.d.ts +0 -99
- package/dist/src/cli/commands/registry-pnpm-build-policy-flow.d.ts +0 -30
- package/dist/src/cli/commands/registry-presentation.d.ts +0 -19
- package/dist/src/cli/commands/registry-project.d.ts +0 -23
- package/dist/src/cli/commands/registry-recovery.d.ts +0 -20
- package/dist/src/cli/commands/registry-setup-command.d.ts +0 -21
- package/dist/src/cli/commands/registry.d.ts +0 -98
- package/dist/src/cli/commands/set.d.ts +0 -18
- package/dist/src/cli/commands/setup-answers.d.ts +0 -2
- package/dist/src/cli/commands/setup-headless.d.ts +0 -97
- package/dist/src/cli/commands/trace-detail.d.ts +0 -34
- package/dist/src/cli/commands/trace.d.ts +0 -18
- package/dist/src/cli/commands/vercel-non-interactive.d.ts +0 -37
- package/dist/src/cli/dev/boot-progress.d.ts +0 -3
- package/dist/src/cli/dev/command-options.d.ts +0 -27
- package/dist/src/cli/dev/command.d.ts +0 -34
- package/dist/src/cli/dev/console-records-preload.d.ts +0 -1
- package/dist/src/cli/dev/console-records.d.ts +0 -17
- package/dist/src/cli/dev/diagnostic-dump.d.ts +0 -58
- package/dist/src/cli/dev/diagnostic-sink.d.ts +0 -39
- package/dist/src/cli/dev/diagnostics.d.ts +0 -42
- package/dist/src/cli/dev/environment.d.ts +0 -20
- package/dist/src/cli/dev/local-server-child.d.ts +0 -1
- package/dist/src/cli/dev/local-server-cleanup.d.ts +0 -5
- package/dist/src/cli/dev/local-server-process.d.ts +0 -35
- package/dist/src/cli/dev/remote-print.d.ts +0 -8
- package/dist/src/cli/dev/run-interactive-ui.d.ts +0 -22
- package/dist/src/cli/dev/tui/agent-header.d.ts +0 -15
- package/dist/src/cli/dev/tui/argument-typeahead.d.ts +0 -36
- package/dist/src/cli/dev/tui/blocks.d.ts +0 -148
- package/dist/src/cli/dev/tui/clipboard.d.ts +0 -17
- package/dist/src/cli/dev/tui/command-typeahead.d.ts +0 -54
- package/dist/src/cli/dev/tui/conversation-view.d.ts +0 -59
- package/dist/src/cli/dev/tui/dev-rebuild-status.d.ts +0 -22
- package/dist/src/cli/dev/tui/diagnostic-presentation.d.ts +0 -17
- package/dist/src/cli/dev/tui/errors.d.ts +0 -14
- package/dist/src/cli/dev/tui/file-content-cache.d.ts +0 -41
- package/dist/src/cli/dev/tui/flow-drawer.d.ts +0 -15
- package/dist/src/cli/dev/tui/line-diff.d.ts +0 -24
- package/dist/src/cli/dev/tui/line-editor.d.ts +0 -124
- package/dist/src/cli/dev/tui/log-display-mode.d.ts +0 -7
- package/dist/src/cli/dev/tui/markdown.d.ts +0 -14
- package/dist/src/cli/dev/tui/mcp-connection-status.d.ts +0 -20
- package/dist/src/cli/dev/tui/message-queue.d.ts +0 -33
- package/dist/src/cli/dev/tui/prompt-command-handler.d.ts +0 -18
- package/dist/src/cli/dev/tui/prompt-commands.d.ts +0 -266
- package/dist/src/cli/dev/tui/prompt-placeholder.d.ts +0 -2
- package/dist/src/cli/dev/tui/provider-picker.d.ts +0 -65
- package/dist/src/cli/dev/tui/question-panel.d.ts +0 -31
- package/dist/src/cli/dev/tui/rail.d.ts +0 -15
- package/dist/src/cli/dev/tui/registry-result-message.d.ts +0 -27
- package/dist/src/cli/dev/tui/remote-auth-result.d.ts +0 -26
- package/dist/src/cli/dev/tui/remote-auth.d.ts +0 -33
- package/dist/src/cli/dev/tui/remote-connection-probe.d.ts +0 -12
- package/dist/src/cli/dev/tui/remote-connection-types.d.ts +0 -69
- package/dist/src/cli/dev/tui/remote-connection.d.ts +0 -3
- package/dist/src/cli/dev/tui/remote-startup.d.ts +0 -10
- package/dist/src/cli/dev/tui/runner.d.ts +0 -322
- package/dist/src/cli/dev/tui/setup-commands.d.ts +0 -72
- package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -133
- package/dist/src/cli/dev/tui/setup-issues.d.ts +0 -66
- package/dist/src/cli/dev/tui/setup-panel.d.ts +0 -182
- package/dist/src/cli/dev/tui/setup-selection-input.d.ts +0 -52
- package/dist/src/cli/dev/tui/startup.d.ts +0 -20
- package/dist/src/cli/dev/tui/status-line.d.ts +0 -39
- package/dist/src/cli/dev/tui/stranded-session.d.ts +0 -9
- package/dist/src/cli/dev/tui/stream-format.d.ts +0 -158
- package/dist/src/cli/dev/tui/target.d.ts +0 -11
- package/dist/src/cli/dev/tui/task-activity.d.ts +0 -42
- package/dist/src/cli/dev/tui/task-records.d.ts +0 -17
- package/dist/src/cli/dev/tui/terminal-background.d.ts +0 -23
- package/dist/src/cli/dev/tui/terminal-renderer.d.ts +0 -148
- package/dist/src/cli/dev/tui/terminal-tool-part.d.ts +0 -2
- package/dist/src/cli/dev/tui/test/fake-eve-server.d.ts +0 -34
- package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.d.ts +0 -2
- package/dist/src/cli/dev/tui/test/index.d.ts +0 -15
- package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +0 -51
- package/dist/src/cli/dev/tui/theme.d.ts +0 -127
- package/dist/src/cli/dev/tui/tool-block-groups.d.ts +0 -38
- package/dist/src/cli/dev/tui/tool-format.d.ts +0 -31
- package/dist/src/cli/dev/tui/tool-presentation.d.ts +0 -95
- package/dist/src/cli/dev/tui/tool-rows.d.ts +0 -16
- package/dist/src/cli/dev/tui/traces/trace-content.d.ts +0 -24
- package/dist/src/cli/dev/tui/traces/trace-conversation.d.ts +0 -61
- package/dist/src/cli/dev/tui/traces/trace-store.d.ts +0 -27
- package/dist/src/cli/dev/tui/traces/trace-surfaces.d.ts +0 -40
- package/dist/src/cli/dev/tui/traces/trace-view.d.ts +0 -56
- package/dist/src/cli/dev/tui/traces/trace-viewer-session.d.ts +0 -55
- package/dist/src/cli/dev/tui/traces/trace-viewer-state.d.ts +0 -109
- package/dist/src/cli/dev/tui/transcript-parts.d.ts +0 -85
- package/dist/src/cli/dev/tui/transcript.d.ts +0 -43
- package/dist/src/cli/dev/tui/tui-prompter.d.ts +0 -20
- package/dist/src/cli/dev/tui/tui.d.ts +0 -37
- package/dist/src/cli/dev/tui/turn-clock.d.ts +0 -21
- package/dist/src/cli/dev/tui/types.d.ts +0 -70
- package/dist/src/cli/dev/tui/vercel-status.d.ts +0 -44
- package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +0 -22
- package/dist/src/cli/dev/tui/vercel-trusted-sources.d.ts +0 -48
- package/dist/src/cli/dev/ui-options.d.ts +0 -22
- package/dist/src/cli/dev/url-target.d.ts +0 -15
- package/dist/src/cli/dev/url.d.ts +0 -4
- package/dist/src/cli/dev/wait-for-ui.d.ts +0 -13
- package/dist/src/cli/format-elapsed.d.ts +0 -2
- package/dist/src/cli/option-parsers.d.ts +0 -17
- package/dist/src/cli/run.d.ts +0 -38
- package/dist/src/cli/shutdown.d.ts +0 -25
- package/dist/src/cli/telemetry/command.d.ts +0 -9
- package/dist/src/cli/telemetry/flush.d.ts +0 -2
- package/dist/src/cli/telemetry/identity.d.ts +0 -13
- package/dist/src/cli/telemetry/index.d.ts +0 -37
- package/dist/src/cli/telemetry/preference.d.ts +0 -10
- package/dist/src/cli/ui/alt-screen.d.ts +0 -49
- package/dist/src/cli/ui/live-region.d.ts +0 -63
- package/dist/src/cli/ui/live-row.d.ts +0 -22
- package/dist/src/cli/ui/output.d.ts +0 -48
- package/dist/src/cli/ui/progress-pulse.d.ts +0 -10
- package/dist/src/cli/ui/terminal-text.d.ts +0 -36
- package/dist/src/cli/vercel-service-output.d.ts +0 -4
- package/dist/src/client/abort-signal.d.ts +0 -2
- package/dist/src/client/agent-base-url.d.ts +0 -4
- package/dist/src/client/agent-info-schema.d.ts +0 -1356
- package/dist/src/client/agent-stream-follower.d.ts +0 -17
- package/dist/src/client/conversation-client.d.ts +0 -51
- package/dist/src/client/delivery-events.d.ts +0 -3
- package/dist/src/client/file-parts.d.ts +0 -23
- package/dist/src/client/health-schema.d.ts +0 -7
- package/dist/src/client/messages.d.ts +0 -30
- package/dist/src/client/ndjson.d.ts +0 -18
- package/dist/src/client/open-stream.d.ts +0 -96
- package/dist/src/client/optimistic-message-submissions.d.ts +0 -15
- package/dist/src/client/session-controls.d.ts +0 -34
- package/dist/src/client/session-event-stream.d.ts +0 -19
- package/dist/src/client/session-store-helpers.d.ts +0 -8
- package/dist/src/client/stream-version.d.ts +0 -5
- package/dist/src/client/url.d.ts +0 -13
- package/dist/src/compiled/@agentclientprotocol/sdk/core/app-handlers.d.ts +0 -28
- package/dist/src/compiled/@agentclientprotocol/sdk/core/connection-access.d.ts +0 -23
- package/dist/src/compiled/@agentclientprotocol/sdk/core/jsonrpc.d.ts +0 -576
- package/dist/src/compiled/@agentclientprotocol/sdk/core/stream-limits.d.ts +0 -15
- package/dist/src/compiled/@agentclientprotocol/sdk/core/stream.d.ts +0 -33
- package/dist/src/compiled/@agentclientprotocol/sdk/index.d.ts +0 -1
- package/dist/src/compiled/@agentclientprotocol/sdk/transports/connection.d.ts +0 -273
- package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/guards.gen.d.ts +0 -183
- package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/index.d.ts +0 -33
- package/dist/src/compiled/@agentclientprotocol/sdk/v1/schema/types.gen.d.ts +0 -4093
- package/dist/src/compiled/@agentclientprotocol/sdk/v1/stable/acp.d.ts +0 -812
- package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +0 -1891
- package/dist/src/compiled/@ai-sdk/google/index.d.ts +0 -961
- package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +0 -1439
- package/dist/src/compiled/@ai-sdk/openai/index.d.ts +0 -2196
- package/dist/src/compiled/@ai-sdk/otel/index.d.ts +0 -1059
- package/dist/src/compiled/@ai-sdk/provider/index.d.ts +0 -9624
- package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +0 -3364
- package/dist/src/compiled/@cfworker/json-schema/index.d.ts +0 -18
- package/dist/src/compiled/@chat-adapter/slack/_chat-adapter-shared.d.ts +0 -10
- package/dist/src/compiled/@chat-adapter/slack/_slack-web-api.d.ts +0 -8
- package/dist/src/compiled/@chat-adapter/slack/blocks.d.ts +0 -205
- package/dist/src/compiled/@chat-adapter/slack/format.d.ts +0 -33
- package/dist/src/compiled/@chat-adapter/slack/index.d.ts +0 -1437
- package/dist/src/compiled/@chat-adapter/state-memory/index.d.ts +0 -50
- package/dist/src/compiled/@chat-adapter/twilio/format.d.ts +0 -12
- package/dist/src/compiled/@chat-adapter/twilio/index.d.ts +0 -166
- package/dist/src/compiled/@clack/core/index.d.ts +0 -505
- package/dist/src/compiled/@modelcontextprotocol/server/index.d.ts +0 -180
- package/dist/src/compiled/@opentelemetry/otlp-transformer/index.d.ts +0 -3
- package/dist/src/compiled/@vercel/agent-runs/adapters/agent-transport.d.ts +0 -8
- package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-payload.d.ts +0 -15
- package/dist/src/compiled/@vercel/agent-runs/adapters/ai-sdk-telemetry.d.ts +0 -14
- package/dist/src/compiled/@vercel/agent-runs/adapters/otel-error.d.ts +0 -3
- package/dist/src/compiled/@vercel/agent-runs/adapters/serialization.d.ts +0 -36
- package/dist/src/compiled/@vercel/agent-runs/ai-sdk.d.ts +0 -7
- package/dist/src/compiled/@vercel/agent-runs/core/activation.d.ts +0 -3
- package/dist/src/compiled/@vercel/agent-runs/core/attributes.d.ts +0 -14
- package/dist/src/compiled/@vercel/agent-runs/core/content-policy.d.ts +0 -36
- package/dist/src/compiled/@vercel/agent-runs/core/context.d.ts +0 -3
- package/dist/src/compiled/@vercel/agent-runs/core/delegation.d.ts +0 -13
- package/dist/src/compiled/@vercel/agent-runs/core/snapshot.d.ts +0 -7
- package/dist/src/compiled/@vercel/agent-runs/core/span-kinds.d.ts +0 -12
- package/dist/src/compiled/@vercel/agent-runs/core/writer.d.ts +0 -15
- package/dist/src/compiled/@vercel/agent-runs/delegation.d.ts +0 -2
- package/dist/src/compiled/@vercel/agent-runs/otel.d.ts +0 -12
- package/dist/src/compiled/@vercel/blob/client.d.ts +0 -488
- package/dist/src/compiled/@vercel/blob/create-folder-DoYODb65.d.ts +0 -487
- package/dist/src/compiled/@vercel/blob/index.d.ts +0 -633
- package/dist/src/compiled/@vercel/connect/authorization-details.d.ts +0 -11
- package/dist/src/compiled/@vercel/connect/authorization.d.ts +0 -47
- package/dist/src/compiled/@vercel/connect/connector.d.ts +0 -32
- package/dist/src/compiled/@vercel/connect/index.d.ts +0 -5
- package/dist/src/compiled/@vercel/connect/installation.d.ts +0 -48
- package/dist/src/compiled/@vercel/connect/token.d.ts +0 -147
- package/dist/src/compiled/@vercel/detect-agent/index.d.ts +0 -20
- package/dist/src/compiled/@vercel/oidc/index.d.ts +0 -21
- package/dist/src/compiled/@vercel/otel/index.d.ts +0 -76
- package/dist/src/compiled/@vercel/queue/index.d.ts +0 -1439
- package/dist/src/compiled/@vercel/sandbox/_async-retry.d.ts +0 -8
- package/dist/src/compiled/@vercel/sandbox/_workflow-serde.d.ts +0 -5
- package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +0 -1914
- package/dist/src/compiled/@vercel/sandbox/api-client/api-error.d.ts +0 -29
- package/dist/src/compiled/@vercel/sandbox/api-client/base-client.d.ts +0 -39
- package/dist/src/compiled/@vercel/sandbox/api-client/file-writer.d.ts +0 -66
- package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +0 -2
- package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +0 -951
- package/dist/src/compiled/@vercel/sandbox/api-client/with-retry.d.ts +0 -10
- package/dist/src/compiled/@vercel/sandbox/auth/error.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox/auth/file.d.ts +0 -18
- package/dist/src/compiled/@vercel/sandbox/auth/index.d.ts +0 -6
- package/dist/src/compiled/@vercel/sandbox/auth/oauth.d.ts +0 -111
- package/dist/src/compiled/@vercel/sandbox/auth/poll-for-token.d.ts +0 -28
- package/dist/src/compiled/@vercel/sandbox/auth/project.d.ts +0 -40
- package/dist/src/compiled/@vercel/sandbox/command.d.ts +0 -370
- package/dist/src/compiled/@vercel/sandbox/constants.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox/drive.d.ts +0 -201
- package/dist/src/compiled/@vercel/sandbox/execution-context.d.ts +0 -116
- package/dist/src/compiled/@vercel/sandbox/filesystem.d.ts +0 -258
- package/dist/src/compiled/@vercel/sandbox/index.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox/network-policy.d.ts +0 -200
- package/dist/src/compiled/@vercel/sandbox/proxy.d.ts +0 -55
- package/dist/src/compiled/@vercel/sandbox/sandbox-user.d.ts +0 -211
- package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +0 -1330
- package/dist/src/compiled/@vercel/sandbox/session.d.ts +0 -461
- package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +0 -238
- package/dist/src/compiled/@vercel/sandbox/utils/get-credentials.d.ts +0 -21
- package/dist/src/compiled/@vercel/sandbox/utils/network-policy.d.ts +0 -27
- package/dist/src/compiled/@vercel/sandbox/utils/paginator.d.ts +0 -16
- package/dist/src/compiled/@vercel/sandbox/utils/pipe-stdin.d.ts +0 -19
- package/dist/src/compiled/@vercel/sandbox/utils/resolveSignal.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox/utils/sandbox-snapshot.d.ts +0 -11
- package/dist/src/compiled/@vercel/sandbox/utils/types.d.ts +0 -11
- package/dist/src/compiled/@vercel/schedules/index.d.ts +0 -290
- package/dist/src/compiled/@vercel/sdk/index.d.ts +0 -41
- package/dist/src/compiled/@workflow/core/_devalue.d.ts +0 -8
- package/dist/src/compiled/@workflow/core/_ms.d.ts +0 -4
- package/dist/src/compiled/@workflow/core/_quickjs-wasi.d.ts +0 -11
- package/dist/src/compiled/@workflow/core/_workflow-serde.d.ts +0 -5
- package/dist/src/compiled/@workflow/core/_workflow-utils.d.ts +0 -8
- package/dist/src/compiled/@workflow/core/_workflow-vm.d.ts +0 -119
- package/dist/src/compiled/@workflow/core/attribute-changes.d.ts +0 -6
- package/dist/src/compiled/@workflow/core/capabilities.d.ts +0 -107
- package/dist/src/compiled/@workflow/core/capture-stack.d.ts +0 -16
- package/dist/src/compiled/@workflow/core/class-serialization.d.ts +0 -63
- package/dist/src/compiled/@workflow/core/classify-error.d.ts +0 -35
- package/dist/src/compiled/@workflow/core/context-errors.d.ts +0 -27
- package/dist/src/compiled/@workflow/core/context-violation-error.d.ts +0 -97
- package/dist/src/compiled/@workflow/core/create-hook.d.ts +0 -296
- package/dist/src/compiled/@workflow/core/define-hook.d.ts +0 -68
- package/dist/src/compiled/@workflow/core/describe-error.d.ts +0 -70
- package/dist/src/compiled/@workflow/core/encryption.d.ts +0 -79
- package/dist/src/compiled/@workflow/core/events-consumer.d.ts +0 -458
- package/dist/src/compiled/@workflow/core/flushable-stream.d.ts +0 -180
- package/dist/src/compiled/@workflow/core/global.d.ts +0 -100
- package/dist/src/compiled/@workflow/core/index.d.ts +0 -21
- package/dist/src/compiled/@workflow/core/log-format.d.ts +0 -29
- package/dist/src/compiled/@workflow/core/logger.d.ts +0 -30
- package/dist/src/compiled/@workflow/core/private.d.ts +0 -364
- package/dist/src/compiled/@workflow/core/replay-divergence.d.ts +0 -25
- package/dist/src/compiled/@workflow/core/replay-payload-cache.d.ts +0 -78
- package/dist/src/compiled/@workflow/core/runtime/after-terminal-write.d.ts +0 -33
- package/dist/src/compiled/@workflow/core/runtime/child-run-completion-notify.d.ts +0 -36
- package/dist/src/compiled/@workflow/core/runtime/child-run-completion.d.ts +0 -46
- package/dist/src/compiled/@workflow/core/runtime/compute-instance.d.ts +0 -13
- package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +0 -321
- package/dist/src/compiled/@workflow/core/runtime/delivery.d.ts +0 -270
- package/dist/src/compiled/@workflow/core/runtime/deployment-guard.d.ts +0 -107
- package/dist/src/compiled/@workflow/core/runtime/dynamic-workflow.d.ts +0 -182
- package/dist/src/compiled/@workflow/core/runtime/event-limit-warning.d.ts +0 -32
- package/dist/src/compiled/@workflow/core/runtime/get-port-lazy.d.ts +0 -25
- package/dist/src/compiled/@workflow/core/runtime/get-world-lazy.d.ts +0 -23
- package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +0 -549
- package/dist/src/compiled/@workflow/core/runtime/hook-creation.d.ts +0 -45
- package/dist/src/compiled/@workflow/core/runtime/hook-wake.d.ts +0 -124
- package/dist/src/compiled/@workflow/core/runtime/invocations.d.ts +0 -35
- package/dist/src/compiled/@workflow/core/runtime/lifecycle-hooks.d.ts +0 -97
- package/dist/src/compiled/@workflow/core/runtime/out-of-band-observation.d.ts +0 -191
- package/dist/src/compiled/@workflow/core/runtime/queue-auth.d.ts +0 -53
- package/dist/src/compiled/@workflow/core/runtime/quickjs-assets.generated.d.ts +0 -21
- package/dist/src/compiled/@workflow/core/runtime/quickjs-delivery-shared.d.ts +0 -126
- package/dist/src/compiled/@workflow/core/runtime/quickjs-log-view.d.ts +0 -211
- package/dist/src/compiled/@workflow/core/runtime/quickjs-pending-ops.d.ts +0 -181
- package/dist/src/compiled/@workflow/core/runtime/quickjs-runtime.d.ts +0 -356
- package/dist/src/compiled/@workflow/core/runtime/quickjs-serde.d.ts +0 -107
- package/dist/src/compiled/@workflow/core/runtime/quickjs-snapshot-codec.d.ts +0 -74
- package/dist/src/compiled/@workflow/core/runtime/replay-budget.d.ts +0 -104
- package/dist/src/compiled/@workflow/core/runtime/replay-recovery-reporter.d.ts +0 -36
- package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +0 -167
- package/dist/src/compiled/@workflow/core/runtime/resume-latency.d.ts +0 -150
- package/dist/src/compiled/@workflow/core/runtime/run-id-time.d.ts +0 -19
- package/dist/src/compiled/@workflow/core/runtime/run-spec-routing.d.ts +0 -52
- package/dist/src/compiled/@workflow/core/runtime/run-spec-version.d.ts +0 -20
- package/dist/src/compiled/@workflow/core/runtime/run.d.ts +0 -221
- package/dist/src/compiled/@workflow/core/runtime/runs.d.ts +0 -166
- package/dist/src/compiled/@workflow/core/runtime/spec8/constants.d.ts +0 -129
- package/dist/src/compiled/@workflow/core/runtime/spec8/count-step-started-events.d.ts +0 -52
- package/dist/src/compiled/@workflow/core/runtime/spec8/delivery.d.ts +0 -6
- package/dist/src/compiled/@workflow/core/runtime/spec8/inline-steps-in-flight.d.ts +0 -58
- package/dist/src/compiled/@workflow/core/runtime/spec8/open-hook-wait-state.d.ts +0 -55
- package/dist/src/compiled/@workflow/core/runtime/spec8/quickjs-entrypoint.d.ts +0 -110
- package/dist/src/compiled/@workflow/core/runtime/spec8/step-executor.d.ts +0 -233
- package/dist/src/compiled/@workflow/core/runtime/spec8/step-ownership.d.ts +0 -72
- package/dist/src/compiled/@workflow/core/runtime/spec8/step-single-flight.d.ts +0 -34
- package/dist/src/compiled/@workflow/core/runtime/spec8/suspension-handler.d.ts +0 -352
- package/dist/src/compiled/@workflow/core/runtime/spec9/consume-after-commit.d.ts +0 -37
- package/dist/src/compiled/@workflow/core/runtime/spec9/consumed-position.d.ts +0 -38
- package/dist/src/compiled/@workflow/core/runtime/spec9/creator-rules.d.ts +0 -220
- package/dist/src/compiled/@workflow/core/runtime/spec9/deadline.d.ts +0 -18
- package/dist/src/compiled/@workflow/core/runtime/spec9/delivery.d.ts +0 -17
- package/dist/src/compiled/@workflow/core/runtime/spec9/fence-refusals.d.ts +0 -20
- package/dist/src/compiled/@workflow/core/runtime/spec9/in-band-writer.d.ts +0 -282
- package/dist/src/compiled/@workflow/core/runtime/spec9/live-feed.d.ts +0 -197
- package/dist/src/compiled/@workflow/core/runtime/spec9/log-index.d.ts +0 -74
- package/dist/src/compiled/@workflow/core/runtime/spec9/log-state.d.ts +0 -155
- package/dist/src/compiled/@workflow/core/runtime/spec9/quickjs-entrypoint.d.ts +0 -198
- package/dist/src/compiled/@workflow/core/runtime/spec9/read-deadline.d.ts +0 -46
- package/dist/src/compiled/@workflow/core/runtime/spec9/run-ahead.d.ts +0 -74
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-delivery.d.ts +0 -146
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-executor.d.ts +0 -225
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-handler.d.ts +0 -92
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-message.d.ts +0 -42
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-retention.d.ts +0 -44
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-single-flight.d.ts +0 -19
- package/dist/src/compiled/@workflow/core/runtime/spec9/step-wait-creation.d.ts +0 -162
- package/dist/src/compiled/@workflow/core/runtime/spec9/suspension-handler.d.ts +0 -125
- package/dist/src/compiled/@workflow/core/runtime/spec9/wait-timer.d.ts +0 -143
- package/dist/src/compiled/@workflow/core/runtime/start-hook-binding.d.ts +0 -51
- package/dist/src/compiled/@workflow/core/runtime/start-hook-delivery.d.ts +0 -47
- package/dist/src/compiled/@workflow/core/runtime/start-hook-holder.d.ts +0 -50
- package/dist/src/compiled/@workflow/core/runtime/start.d.ts +0 -308
- package/dist/src/compiled/@workflow/core/runtime/step-latency.d.ts +0 -221
- package/dist/src/compiled/@workflow/core/runtime/step-single-flight.d.ts +0 -8
- package/dist/src/compiled/@workflow/core/runtime/step-streams.d.ts +0 -6
- package/dist/src/compiled/@workflow/core/runtime/suspension-hooks.d.ts +0 -84
- package/dist/src/compiled/@workflow/core/runtime/unserializable-step.d.ts +0 -34
- package/dist/src/compiled/@workflow/core/runtime/vm-mode.d.ts +0 -132
- package/dist/src/compiled/@workflow/core/runtime/wait-continuation.d.ts +0 -133
- package/dist/src/compiled/@workflow/core/runtime/wait-until.d.ts +0 -18
- package/dist/src/compiled/@workflow/core/runtime/world-compatibility.d.ts +0 -51
- package/dist/src/compiled/@workflow/core/runtime/world-init.d.ts +0 -50
- package/dist/src/compiled/@workflow/core/runtime/world.d.ts +0 -44
- package/dist/src/compiled/@workflow/core/runtime.d.ts +0 -26
- package/dist/src/compiled/@workflow/core/schemas.d.ts +0 -15
- package/dist/src/compiled/@workflow/core/sealed-box.d.ts +0 -167
- package/dist/src/compiled/@workflow/core/seeded-nanoid.d.ts +0 -2
- package/dist/src/compiled/@workflow/core/serialization/abort-stream.d.ts +0 -11
- package/dist/src/compiled/@workflow/core/serialization/client.d.ts +0 -17
- package/dist/src/compiled/@workflow/core/serialization/codec-devalue-vm.d.ts +0 -16
- package/dist/src/compiled/@workflow/core/serialization/codec-devalue.d.ts +0 -14
- package/dist/src/compiled/@workflow/core/serialization/codec.d.ts +0 -140
- package/dist/src/compiled/@workflow/core/serialization/compression.d.ts +0 -149
- package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +0 -134
- package/dist/src/compiled/@workflow/core/serialization/errors.d.ts +0 -34
- package/dist/src/compiled/@workflow/core/serialization/format.d.ts +0 -60
- package/dist/src/compiled/@workflow/core/serialization/hardened.d.ts +0 -164
- package/dist/src/compiled/@workflow/core/serialization/index.d.ts +0 -20
- package/dist/src/compiled/@workflow/core/serialization/reducers/class-vm.d.ts +0 -20
- package/dist/src/compiled/@workflow/core/serialization/reducers/class.d.ts +0 -11
- package/dist/src/compiled/@workflow/core/serialization/reducers/common-vm.d.ts +0 -15
- package/dist/src/compiled/@workflow/core/serialization/reducers/common.d.ts +0 -16
- package/dist/src/compiled/@workflow/core/serialization/reducers/step-function-vm.d.ts +0 -44
- package/dist/src/compiled/@workflow/core/serialization/reducers/step-function.d.ts +0 -35
- package/dist/src/compiled/@workflow/core/serialization/state-recovery.d.ts +0 -21
- package/dist/src/compiled/@workflow/core/serialization/state-refs.d.ts +0 -229
- package/dist/src/compiled/@workflow/core/serialization/step.d.ts +0 -17
- package/dist/src/compiled/@workflow/core/serialization/types.d.ts +0 -298
- package/dist/src/compiled/@workflow/core/serialization/workflow-vm.d.ts +0 -29
- package/dist/src/compiled/@workflow/core/serialization/workflow.d.ts +0 -29
- package/dist/src/compiled/@workflow/core/serialization-format.d.ts +0 -220
- package/dist/src/compiled/@workflow/core/serialization.d.ts +0 -641
- package/dist/src/compiled/@workflow/core/set-attributes.d.ts +0 -13
- package/dist/src/compiled/@workflow/core/set-error-stack.d.ts +0 -12
- package/dist/src/compiled/@workflow/core/sleep.d.ts +0 -33
- package/dist/src/compiled/@workflow/core/source-map.d.ts +0 -35
- package/dist/src/compiled/@workflow/core/state-resolver.d.ts +0 -44
- package/dist/src/compiled/@workflow/core/state.d.ts +0 -56
- package/dist/src/compiled/@workflow/core/step/context-storage.d.ts +0 -76
- package/dist/src/compiled/@workflow/core/step/get-closure-vars.d.ts +0 -9
- package/dist/src/compiled/@workflow/core/step/get-step-metadata.d.ts +0 -53
- package/dist/src/compiled/@workflow/core/step/get-workflow-metadata.d.ts +0 -7
- package/dist/src/compiled/@workflow/core/step/writable-stream.d.ts +0 -22
- package/dist/src/compiled/@workflow/core/step.d.ts +0 -4
- package/dist/src/compiled/@workflow/core/symbols.d.ts +0 -72
- package/dist/src/compiled/@workflow/core/telemetry/semantic-conventions.d.ts +0 -995
- package/dist/src/compiled/@workflow/core/telemetry.d.ts +0 -156
- package/dist/src/compiled/@workflow/core/test-support/append-only-world.d.ts +0 -458
- package/dist/src/compiled/@workflow/core/test-support/fence-snapshot.d.ts +0 -11
- package/dist/src/compiled/@workflow/core/test-support/load-events.d.ts +0 -8
- package/dist/src/compiled/@workflow/core/test-support/orchestrator-context.d.ts +0 -25
- package/dist/src/compiled/@workflow/core/test-support/orchestrator-harness.d.ts +0 -504
- package/dist/src/compiled/@workflow/core/types.d.ts +0 -43
- package/dist/src/compiled/@workflow/core/util.d.ts +0 -35
- package/dist/src/compiled/@workflow/core/version.d.ts +0 -2
- package/dist/src/compiled/@workflow/core/vm/index.d.ts +0 -17
- package/dist/src/compiled/@workflow/core/vm/script-cache.d.ts +0 -26
- package/dist/src/compiled/@workflow/core/vm/uint8array-base64.d.ts +0 -21
- package/dist/src/compiled/@workflow/core/vm/uuid.d.ts +0 -10
- package/dist/src/compiled/@workflow/core/workflow/abort-controller.d.ts +0 -65
- package/dist/src/compiled/@workflow/core/workflow/attribute-dispatcher.d.ts +0 -6
- package/dist/src/compiled/@workflow/core/workflow/create-hook.d.ts +0 -7
- package/dist/src/compiled/@workflow/core/workflow/define-hook.d.ts +0 -10
- package/dist/src/compiled/@workflow/core/workflow/get-workflow-metadata.d.ts +0 -32
- package/dist/src/compiled/@workflow/core/workflow/hook.d.ts +0 -15
- package/dist/src/compiled/@workflow/core/workflow/index.d.ts +0 -13
- package/dist/src/compiled/@workflow/core/workflow/set-attributes.d.ts +0 -72
- package/dist/src/compiled/@workflow/core/workflow/sleep.d.ts +0 -4
- package/dist/src/compiled/@workflow/core/workflow/world-init-stub.d.ts +0 -15
- package/dist/src/compiled/@workflow/core/workflow/writable-stream.d.ts +0 -3
- package/dist/src/compiled/@workflow/core/workflow.d.ts +0 -2
- package/dist/src/compiled/@workflow/errors/_ms.d.ts +0 -4
- package/dist/src/compiled/@workflow/errors/ansi.d.ts +0 -57
- package/dist/src/compiled/@workflow/errors/error-codes.d.ts +0 -29
- package/dist/src/compiled/@workflow/errors/index.d.ts +0 -842
- package/dist/src/compiled/@workflow/serde/index.d.ts +0 -30
- package/dist/src/compiled/@workflow/world/analytics.d.ts +0 -275
- package/dist/src/compiled/@workflow/world/attributes-validation.d.ts +0 -101
- package/dist/src/compiled/@workflow/world/attributes.d.ts +0 -18
- package/dist/src/compiled/@workflow/world/capabilities.d.ts +0 -37
- package/dist/src/compiled/@workflow/world/env-config.d.ts +0 -76
- package/dist/src/compiled/@workflow/world/event-metadata.d.ts +0 -132
- package/dist/src/compiled/@workflow/world/events.d.ts +0 -1292
- package/dist/src/compiled/@workflow/world/hooks.d.ts +0 -147
- package/dist/src/compiled/@workflow/world/index.d.ts +0 -37
- package/dist/src/compiled/@workflow/world/interfaces.d.ts +0 -938
- package/dist/src/compiled/@workflow/world/invocation.d.ts +0 -19
- package/dist/src/compiled/@workflow/world/node-http-flag.d.ts +0 -41
- package/dist/src/compiled/@workflow/world/node-http.d.ts +0 -81
- package/dist/src/compiled/@workflow/world/queue.d.ts +0 -888
- package/dist/src/compiled/@workflow/world/recovery.d.ts +0 -36
- package/dist/src/compiled/@workflow/world/runs.d.ts +0 -314
- package/dist/src/compiled/@workflow/world/serialization.d.ts +0 -25
- package/dist/src/compiled/@workflow/world/shared.d.ts +0 -122
- package/dist/src/compiled/@workflow/world/slot-identity.d.ts +0 -90
- package/dist/src/compiled/@workflow/world/snapshots.d.ts +0 -64
- package/dist/src/compiled/@workflow/world/spec-version.d.ts +0 -257
- package/dist/src/compiled/@workflow/world/start-hook.d.ts +0 -177
- package/dist/src/compiled/@workflow/world/steps.d.ts +0 -82
- package/dist/src/compiled/@workflow/world/test-support/atomic-start-hook-conformance.d.ts +0 -109
- package/dist/src/compiled/@workflow/world/test-support/duplicate-event-fixtures.d.ts +0 -44
- package/dist/src/compiled/@workflow/world/test-support/in-band-fence-conformance.d.ts +0 -51
- package/dist/src/compiled/@workflow/world/ulid.d.ts +0 -50
- package/dist/src/compiled/@workflow/world/waits.d.ts +0 -21
- package/dist/src/compiled/@workflow/world-local/index.d.ts +0 -15
- package/dist/src/compiled/_chunks/node/retry-DrgXNq3T.js +0 -1
- package/dist/src/compiled/_chunks/node/token-util-Bjo0BJMz.js +0 -25
- package/dist/src/compiled/_chunks/node/token-util-Dz7NR_Tr.js +0 -1
- package/dist/src/compiled/_chunks/workflow/chunk-5MU5Z6L3-YIxCtn7b.js +0 -1
- package/dist/src/compiled/_chunks/workflow/chunk-WVKEO4WS-BAUmOByS.js +0 -1
- package/dist/src/compiled/_chunks/workflow/delegation-DLl-shwK.js +0 -1
- package/dist/src/compiled/_chunks/workflow/delivery-BrRGuXkQ.js +0 -1
- package/dist/src/compiled/_chunks/workflow/dist-74tor0XD.js +0 -66
- package/dist/src/compiled/_chunks/workflow/dist-DxRkCvK_.js +0 -4
- package/dist/src/compiled/_chunks/workflow/dist-M6hOHh4e.js +0 -1
- package/dist/src/compiled/_chunks/workflow/esm-B-KJJdww.js +0 -1
- package/dist/src/compiled/_chunks/workflow/functions-C4nAezjk.js +0 -60
- package/dist/src/compiled/_chunks/workflow/getMachineId-linux-NDQO5XIJ-Df0-OceL.js +0 -1
- package/dist/src/compiled/_chunks/workflow/getMachineId-unsupported-4HKOBEHB-Cp1dgBjO.js +0 -1
- package/dist/src/compiled/_chunks/workflow/mcp-BwOs3XEw.js +0 -5
- package/dist/src/compiled/_chunks/workflow/resume-hook-C7lViLeL.js +0 -1
- package/dist/src/compiled/_chunks/workflow/rolldown-runtime-Bdq61TOx.js +0 -1
- package/dist/src/compiled/_chunks/workflow/run-CBoukBsx.js +0 -34
- package/dist/src/compiled/_chunks/workflow/serialization-C5CU_DM9.js +0 -12
- package/dist/src/compiled/_chunks/workflow/sleep-c59AMqRs.js +0 -1
- package/dist/src/compiled/_chunks/workflow/suspension-hooks-CBo2hPl5.js +0 -3
- package/dist/src/compiled/_chunks/workflow/token-D3jqBt4E.js +0 -1
- package/dist/src/compiled/_chunks/workflow/token-DdYeX5AJ.js +0 -1
- package/dist/src/compiled/_chunks/workflow/token-lvcx9AkX.js +0 -1
- package/dist/src/compiled/_chunks/workflow/token-util-cvUzLGvF.js +0 -1
- package/dist/src/compiled/_chunks/workflow/undici-Dq-ari9z.js +0 -95
- package/dist/src/compiled/_chunks/workflow/wrapper-D2LPJXTV.js +0 -8
- package/dist/src/compiled/chokidar/index.d.ts +0 -33
- package/dist/src/compiled/commander/index.d.ts +0 -1116
- package/dist/src/compiled/croner/index.d.ts +0 -8
- package/dist/src/compiled/env-runner/index.d.ts +0 -74
- package/dist/src/compiled/env-runner/node-worker.d.ts +0 -1
- package/dist/src/compiled/eventsource-parser/stream/errors.d.ts +0 -35
- package/dist/src/compiled/eventsource-parser/stream/index.d.ts +0 -76
- package/dist/src/compiled/eventsource-parser/stream/types.d.ts +0 -130
- package/dist/src/compiled/immer/index.d.ts +0 -10
- package/dist/src/compiled/js-yaml/index.d.ts +0 -31
- package/dist/src/compiled/json-schema/index.d.ts +0 -749
- package/dist/src/compiled/jsonc-parser/index.d.ts +0 -32
- package/dist/src/compiled/just-secrets/index.d.ts +0 -20
- package/dist/src/compiled/marked/index.d.ts +0 -24
- package/dist/src/compiled/picocolors/index.d.ts +0 -55
- package/dist/src/compiled/run/index.d.ts +0 -388
- package/dist/src/compiled/semver/index.d.ts +0 -29
- package/dist/src/compiled/shadcn-registry/index.d.ts +0 -58
- package/dist/src/compiled/zod-validation-error/index.d.ts +0 -12
- package/dist/src/compiler/artifact-contract.d.ts +0 -43
- package/dist/src/compiler/artifacts.d.ts +0 -80
- package/dist/src/compiler/bundled-extension.d.ts +0 -23
- package/dist/src/compiler/channel-route-plan.d.ts +0 -12
- package/dist/src/compiler/compile-agent.d.ts +0 -58
- package/dist/src/compiler/connection-ownership.d.ts +0 -6
- package/dist/src/compiler/default-tool-policy.d.ts +0 -9
- package/dist/src/compiler/development-extensions.d.ts +0 -23
- package/dist/src/compiler/diagnostics.d.ts +0 -27
- package/dist/src/compiler/extension-compatibility.d.ts +0 -32
- package/dist/src/compiler/extension-mount-bindings.d.ts +0 -5
- package/dist/src/compiler/model-catalog.d.ts +0 -22
- package/dist/src/compiler/module-lifecycle.d.ts +0 -14
- package/dist/src/compiler/node-source-state.d.ts +0 -27
- package/dist/src/compiler/normalize-agent-config.d.ts +0 -14
- package/dist/src/compiler/normalize-channel.d.ts +0 -23
- package/dist/src/compiler/normalize-connection.d.ts +0 -30
- package/dist/src/compiler/normalize-definitions.d.ts +0 -8
- package/dist/src/compiler/normalize-helpers.d.ts +0 -48
- package/dist/src/compiler/normalize-instructions.d.ts +0 -32
- package/dist/src/compiler/normalize-manifest-helpers.d.ts +0 -45
- package/dist/src/compiler/normalize-manifest-types.d.ts +0 -28
- package/dist/src/compiler/normalize-manifest.d.ts +0 -5
- package/dist/src/compiler/normalize-sandbox.d.ts +0 -4
- package/dist/src/compiler/normalize-schedule-collection.d.ts +0 -10
- package/dist/src/compiler/normalize-schedule.d.ts +0 -15
- package/dist/src/compiler/normalize-skill.d.ts +0 -28
- package/dist/src/compiler/normalize-subagent.d.ts +0 -16
- package/dist/src/compiler/normalize-tool.d.ts +0 -36
- package/dist/src/compiler/project-sources.d.ts +0 -66
- package/dist/src/compiler/resolve-workspace-subagent.d.ts +0 -13
- package/dist/src/compiler/validate-artifact.d.ts +0 -17
- package/dist/src/compiler/workspace-resources.d.ts +0 -14
- package/dist/src/computer-use/extension/lib/command-failure.d.ts +0 -7
- package/dist/src/computer-use/extension/lib/computer-use-driver-source.d.ts +0 -12
- package/dist/src/computer-use/extension/lib/computer-use.d.ts +0 -38
- package/dist/src/computer-use/extension/lib/shell.d.ts +0 -1
- package/dist/src/connections/ownership.d.ts +0 -18
- package/dist/src/context/build-base-tool-context.d.ts +0 -14
- package/dist/src/context/build-callback-context.d.ts +0 -15
- package/dist/src/context/key-names.d.ts +0 -14
- package/dist/src/context/prewarm.d.ts +0 -27
- package/dist/src/context/provider.d.ts +0 -30
- package/dist/src/context/providers/connection-key.d.ts +0 -9
- package/dist/src/context/providers/connection.d.ts +0 -4
- package/dist/src/context/providers/sandbox.d.ts +0 -10
- package/dist/src/context/providers/session.d.ts +0 -21
- package/dist/src/context/providers/tool-stubs-key.d.ts +0 -8
- package/dist/src/context/run-step.d.ts +0 -23
- package/dist/src/context/schedule-collection-tools.d.ts +0 -23
- package/dist/src/context/serialize.d.ts +0 -19
- package/dist/src/context/turn-principals.d.ts +0 -12
- package/dist/src/context/workflow-step.d.ts +0 -3
- package/dist/src/definitions/agent-definitions.d.ts +0 -57
- package/dist/src/definitions/agent.d.ts +0 -7
- package/dist/src/definitions/approvals.d.ts +0 -6
- package/dist/src/definitions/builtins.d.ts +0 -6
- package/dist/src/definitions/catalog.d.ts +0 -7
- package/dist/src/definitions/combine.d.ts +0 -9
- package/dist/src/definitions/compiled-agent.d.ts +0 -12
- package/dist/src/definitions/connections.d.ts +0 -21
- package/dist/src/definitions/continuation.d.ts +0 -19
- package/dist/src/definitions/frame.d.ts +0 -13
- package/dist/src/definitions/hooks.d.ts +0 -33
- package/dist/src/definitions/instructions.d.ts +0 -21
- package/dist/src/definitions/intents.d.ts +0 -33
- package/dist/src/definitions/messages.d.ts +0 -17
- package/dist/src/definitions/session-agent.d.ts +0 -26
- package/dist/src/definitions/skills.d.ts +0 -27
- package/dist/src/definitions/state.d.ts +0 -113
- package/dist/src/definitions/step.d.ts +0 -53
- package/dist/src/definitions/subagents.d.ts +0 -16
- package/dist/src/definitions/tools.d.ts +0 -33
- package/dist/src/definitions/turn.d.ts +0 -12
- package/dist/src/discover/bundled-extension.d.ts +0 -11
- package/dist/src/discover/connections.d.ts +0 -19
- package/dist/src/discover/discover-agent.d.ts +0 -87
- package/dist/src/discover/discover-subagent.d.ts +0 -35
- package/dist/src/discover/extension-specifier.d.ts +0 -17
- package/dist/src/discover/extensions.d.ts +0 -127
- package/dist/src/discover/filesystem.d.ts +0 -74
- package/dist/src/discover/grammar.d.ts +0 -196
- package/dist/src/discover/lib.d.ts +0 -35
- package/dist/src/discover/manifest.d.ts +0 -297
- package/dist/src/discover/markdown.d.ts +0 -19
- package/dist/src/discover/memory.d.ts +0 -13
- package/dist/src/discover/named-source-directory.d.ts +0 -98
- package/dist/src/discover/project-source.d.ts +0 -113
- package/dist/src/discover/project.d.ts +0 -33
- package/dist/src/discover/sandbox.d.ts +0 -32
- package/dist/src/discover/schedules.d.ts +0 -38
- package/dist/src/discover/skills.d.ts +0 -35
- package/dist/src/discover/slots.d.ts +0 -30
- package/dist/src/evals/abort.d.ts +0 -2
- package/dist/src/evals/assertions/scoped.d.ts +0 -17
- package/dist/src/evals/cli/eval-client.d.ts +0 -20
- package/dist/src/evals/cli/eval-state-directory.d.ts +0 -7
- package/dist/src/evals/cli/eval.d.ts +0 -31
- package/dist/src/evals/cli/filter.d.ts +0 -14
- package/dist/src/evals/context.d.ts +0 -21
- package/dist/src/evals/control-flow.d.ts +0 -9
- package/dist/src/evals/diagnostics.d.ts +0 -8
- package/dist/src/evals/expect/levenshtein.d.ts +0 -2
- package/dist/src/evals/judge.d.ts +0 -12
- package/dist/src/evals/output.d.ts +0 -3
- package/dist/src/evals/reported-tool-name.d.ts +0 -9
- package/dist/src/evals/runner/artifacts.d.ts +0 -12
- package/dist/src/evals/runner/attempt-label.d.ts +0 -2
- package/dist/src/evals/runner/derive-run-facts.d.ts +0 -16
- package/dist/src/evals/runner/discover.d.ts +0 -51
- package/dist/src/evals/runner/execute-eval.d.ts +0 -31
- package/dist/src/evals/runner/execute-task.d.ts +0 -38
- package/dist/src/evals/runner/reporters/assertion-diagnostics.d.ts +0 -3
- package/dist/src/evals/runner/reporters/assertion-scores.d.ts +0 -30
- package/dist/src/evals/runner/reporters/datadog-runtime-trace-links.d.ts +0 -11
- package/dist/src/evals/runner/resolve-git-metadata.d.ts +0 -16
- package/dist/src/evals/runner/run-evals.d.ts +0 -44
- package/dist/src/evals/runner/verdict.d.ts +0 -14
- package/dist/src/evals/session-cleanup.d.ts +0 -7
- package/dist/src/evals/session-content.d.ts +0 -5
- package/dist/src/eve-channel/audience.d.ts +0 -3
- package/dist/src/eve-channel/create-request.d.ts +0 -24
- package/dist/src/eve-channel/descendant-stream.d.ts +0 -9
- package/dist/src/eve-channel/request.d.ts +0 -43
- package/dist/src/eve-channel/stream-headers.d.ts +0 -1
- package/dist/src/eve-channel/turn-policy-request.d.ts +0 -2
- package/dist/src/execution/agent-sessions/message.d.ts +0 -4
- package/dist/src/execution/agent-sessions/metadata.d.ts +0 -8
- package/dist/src/execution/agent-sessions/remote-credentials.d.ts +0 -19
- package/dist/src/execution/agent-sessions/remote-session.d.ts +0 -16
- package/dist/src/execution/agent-sessions/remote.d.ts +0 -117
- package/dist/src/execution/agent-sessions/requests.d.ts +0 -22
- package/dist/src/execution/agent-sessions/session.d.ts +0 -12
- package/dist/src/execution/agent-sessions/sessions-over.d.ts +0 -29
- package/dist/src/execution/agent-sessions/steps.d.ts +0 -27
- package/dist/src/execution/agent-sessions/usage.d.ts +0 -10
- package/dist/src/execution/authorization-callback-match.d.ts +0 -14
- package/dist/src/execution/callback-hook-tokens.d.ts +0 -18
- package/dist/src/execution/cancelled-model-call-batch.d.ts +0 -17
- package/dist/src/execution/cancelled-turn-message.d.ts +0 -2
- package/dist/src/execution/catalog/catalog-tools.d.ts +0 -22
- package/dist/src/execution/catalog/connection-auth.d.ts +0 -43
- package/dist/src/execution/catalog/connection-entry.d.ts +0 -17
- package/dist/src/execution/catalog/listing.d.ts +0 -12
- package/dist/src/execution/catalog/rank.d.ts +0 -44
- package/dist/src/execution/catalog/search.d.ts +0 -28
- package/dist/src/execution/catalog/signatures.d.ts +0 -11
- package/dist/src/execution/catalog/step-catalog.d.ts +0 -74
- package/dist/src/execution/channel-context.d.ts +0 -5
- package/dist/src/execution/close-session-stream-step.d.ts +0 -9
- package/dist/src/execution/connections/callback-route.d.ts +0 -27
- package/dist/src/execution/continuation-conflict-step.d.ts +0 -8
- package/dist/src/execution/coordination-dispatch-step.d.ts +0 -20
- package/dist/src/execution/create-session-step.d.ts +0 -35
- package/dist/src/execution/delegated-session-context.d.ts +0 -2
- package/dist/src/execution/deliver-payloads.d.ts +0 -3
- package/dist/src/execution/dynamic-workflow/program-step.d.ts +0 -21
- package/dist/src/execution/dynamic-workflow/schema.d.ts +0 -42
- package/dist/src/execution/dynamic-workflow/security-step.d.ts +0 -3
- package/dist/src/execution/dynamic-workflow/tool.d.ts +0 -8
- package/dist/src/execution/dynamic-workflow/workflow.d.ts +0 -10
- package/dist/src/execution/effective-agent-config.d.ts +0 -29
- package/dist/src/execution/eve-workflow-attributes.d.ts +0 -159
- package/dist/src/execution/failure-summary.d.ts +0 -11
- package/dist/src/execution/forward-session-input.d.ts +0 -4
- package/dist/src/execution/framework-workflow-bodies.d.ts +0 -7
- package/dist/src/execution/hook-ownership.d.ts +0 -23
- package/dist/src/execution/hosts.d.ts +0 -131
- package/dist/src/execution/initial-session-values.d.ts +0 -17
- package/dist/src/execution/install-workflow-deployment-id.d.ts +0 -3
- package/dist/src/execution/install-workflow-world.d.ts +0 -15
- package/dist/src/execution/invoke-tool.d.ts +0 -39
- package/dist/src/execution/legacy-session/authorization.d.ts +0 -1
- package/dist/src/execution/legacy-session/completion-step.d.ts +0 -12
- package/dist/src/execution/legacy-session/inbox.d.ts +0 -24
- package/dist/src/execution/legacy-session/input.d.ts +0 -17
- package/dist/src/execution/legacy-session/interrupt-step.d.ts +0 -3
- package/dist/src/execution/legacy-session/prepare-step.d.ts +0 -24
- package/dist/src/execution/legacy-session/snapshot.d.ts +0 -21
- package/dist/src/execution/legacy-session/turn-workflow.d.ts +0 -8
- package/dist/src/execution/model-call-batching.d.ts +0 -12
- package/dist/src/execution/ndjson-stream.d.ts +0 -19
- package/dist/src/execution/node-step.d.ts +0 -78
- package/dist/src/execution/proxied-deliver-step.d.ts +0 -45
- package/dist/src/execution/public-destination.d.ts +0 -37
- package/dist/src/execution/reconcile-session-continuation-token.d.ts +0 -4
- package/dist/src/execution/report-dropped-wire-payload-step.d.ts +0 -13
- package/dist/src/execution/route-child-delivery.d.ts +0 -20
- package/dist/src/execution/run-host.d.ts +0 -52
- package/dist/src/execution/runtime-context.d.ts +0 -14
- package/dist/src/execution/sandbox/abort-bound-session.d.ts +0 -6
- package/dist/src/execution/sandbox/active-connections.d.ts +0 -28
- package/dist/src/execution/sandbox/bash.d.ts +0 -69
- package/dist/src/execution/sandbox/bindings/docker-base-setup.d.ts +0 -7
- package/dist/src/execution/sandbox/bindings/docker-connection.d.ts +0 -15
- package/dist/src/execution/sandbox/bindings/docker-container.d.ts +0 -18
- package/dist/src/execution/sandbox/bindings/docker-network.d.ts +0 -13
- package/dist/src/execution/sandbox/bindings/docker-options.d.ts +0 -20
- package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +0 -41
- package/dist/src/execution/sandbox/bindings/docker-utils.d.ts +0 -2
- package/dist/src/execution/sandbox/bindings/docker.d.ts +0 -32
- package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +0 -26
- package/dist/src/execution/sandbox/bindings/just-bash.d.ts +0 -18
- package/dist/src/execution/sandbox/bindings/local-provider-utils.d.ts +0 -6
- package/dist/src/execution/sandbox/bindings/local-template-prune.d.ts +0 -16
- package/dist/src/execution/sandbox/bindings/local.d.ts +0 -22
- package/dist/src/execution/sandbox/bindings/vercel-base-runtime.d.ts +0 -12
- package/dist/src/execution/sandbox/bindings/vercel-create-sdk.d.ts +0 -19
- package/dist/src/execution/sandbox/bindings/vercel-credentials.d.ts +0 -10
- package/dist/src/execution/sandbox/bindings/vercel-errors.d.ts +0 -13
- package/dist/src/execution/sandbox/bindings/vercel-lifecycle.d.ts +0 -15
- package/dist/src/execution/sandbox/bindings/vercel-lookup.d.ts +0 -12
- package/dist/src/execution/sandbox/bindings/vercel-options.d.ts +0 -9
- package/dist/src/execution/sandbox/bindings/vercel-read-stream.d.ts +0 -5
- package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +0 -5
- package/dist/src/execution/sandbox/bindings/vercel-tool-sessions.d.ts +0 -7
- package/dist/src/execution/sandbox/bindings/vercel.d.ts +0 -21
- package/dist/src/execution/sandbox/development-cleanup.d.ts +0 -4
- package/dist/src/execution/sandbox/development-lazy-prewarm.d.ts +0 -7
- package/dist/src/execution/sandbox/development-run.d.ts +0 -5
- package/dist/src/execution/sandbox/dockerfile.d.ts +0 -20
- package/dist/src/execution/sandbox/ensure.d.ts +0 -42
- package/dist/src/execution/sandbox/glob-tool.d.ts +0 -22
- package/dist/src/execution/sandbox/logging-session.d.ts +0 -5
- package/dist/src/execution/sandbox/multiplexed-command.d.ts +0 -38
- package/dist/src/execution/sandbox/prewarm.d.ts +0 -61
- package/dist/src/execution/sandbox/provider-files.d.ts +0 -2
- package/dist/src/execution/sandbox/provider-identity.d.ts +0 -1
- package/dist/src/execution/sandbox/read-file.d.ts +0 -35
- package/dist/src/execution/sandbox/require-sandbox.d.ts +0 -7
- package/dist/src/execution/sandbox/ripgrep-probe.d.ts +0 -2
- package/dist/src/execution/sandbox/shell-quote.d.ts +0 -1
- package/dist/src/execution/sandbox/stream-utils.d.ts +0 -9
- package/dist/src/execution/sandbox/truncate-output.d.ts +0 -69
- package/dist/src/execution/session/accepted-deployment.d.ts +0 -3
- package/dist/src/execution/session/active-turn.d.ts +0 -117
- package/dist/src/execution/session/admission.d.ts +0 -40
- package/dist/src/execution/session/answer-caller.d.ts +0 -19
- package/dist/src/execution/session/checkpoint-migrations.d.ts +0 -32
- package/dist/src/execution/session/checkpoint-refusal.d.ts +0 -4
- package/dist/src/execution/session/control-delivery.d.ts +0 -4
- package/dist/src/execution/session/delivery-facts.d.ts +0 -27
- package/dist/src/execution/session/end-sandbox-step.d.ts +0 -12
- package/dist/src/execution/session/entry.d.ts +0 -17
- package/dist/src/execution/session/finalization.d.ts +0 -35
- package/dist/src/execution/session/handoff-state.d.ts +0 -5
- package/dist/src/execution/session/handoff-steps.d.ts +0 -130
- package/dist/src/execution/session/handoff.d.ts +0 -124
- package/dist/src/execution/session/handover-tracing.d.ts +0 -3
- package/dist/src/execution/session/hook-tokens.d.ts +0 -11
- package/dist/src/execution/session/imported-conversation.d.ts +0 -2
- package/dist/src/execution/session/input-queue.d.ts +0 -101
- package/dist/src/execution/session/interrupted-step.d.ts +0 -69
- package/dist/src/execution/session/next-input.d.ts +0 -37
- package/dist/src/execution/session/owner-boot.d.ts +0 -31
- package/dist/src/execution/session/pending-history.d.ts +0 -5
- package/dist/src/execution/session/pending-turn-state.d.ts +0 -37
- package/dist/src/execution/session/pre-v27-checkpoint.d.ts +0 -42
- package/dist/src/execution/session/prewarm-step.d.ts +0 -13
- package/dist/src/execution/session/principal.d.ts +0 -22
- package/dist/src/execution/session/program.d.ts +0 -87
- package/dist/src/execution/session/route-selected-delivery.d.ts +0 -10
- package/dist/src/execution/session/run-watch.d.ts +0 -26
- package/dist/src/execution/session/settle-control-delivery-step.d.ts +0 -8
- package/dist/src/execution/session/settle-duplicate-delivery-step.d.ts +0 -8
- package/dist/src/execution/session/state-cursor.d.ts +0 -50
- package/dist/src/execution/session/state-delta.d.ts +0 -30
- package/dist/src/execution/session/step-decision-check.d.ts +0 -9
- package/dist/src/execution/session/step-state-delta.d.ts +0 -24
- package/dist/src/execution/session/task-tool-tracing-step.d.ts +0 -2
- package/dist/src/execution/session/timeout-control.d.ts +0 -31
- package/dist/src/execution/session/timeout-steps.d.ts +0 -14
- package/dist/src/execution/session/timeout-workflow.d.ts +0 -8
- package/dist/src/execution/session/timeout.d.ts +0 -2
- package/dist/src/execution/session/turn-control.d.ts +0 -17
- package/dist/src/execution/session/turn-event-handler.d.ts +0 -17
- package/dist/src/execution/session/turn-step-result.d.ts +0 -8
- package/dist/src/execution/session/turn-step-types.d.ts +0 -110
- package/dist/src/execution/session/turn-step.d.ts +0 -28
- package/dist/src/execution/session/turn.d.ts +0 -110
- package/dist/src/execution/session/workflow-host.d.ts +0 -7
- package/dist/src/execution/session-callback-request.d.ts +0 -14
- package/dist/src/execution/session-commands.d.ts +0 -7
- package/dist/src/execution/session-event-stream.d.ts +0 -65
- package/dist/src/execution/session-inbox/end-stranded-session.d.ts +0 -36
- package/dist/src/execution/session-inbox/handle.d.ts +0 -7
- package/dist/src/execution/session-inbox/hook-release.d.ts +0 -11
- package/dist/src/execution/session-inbox/owner.d.ts +0 -69
- package/dist/src/execution/session-inbox/pre-v27.d.ts +0 -5
- package/dist/src/execution/session-inbox/protocol.d.ts +0 -12
- package/dist/src/execution/session-inbox/resume.d.ts +0 -42
- package/dist/src/execution/session-inbox/runnable-owner.d.ts +0 -13
- package/dist/src/execution/session-inbox/stranded-replay-guard.d.ts +0 -16
- package/dist/src/execution/session-inbox/workflow-transport.d.ts +0 -10
- package/dist/src/execution/session-line-store.d.ts +0 -19
- package/dist/src/execution/session-workflow-tool-run.d.ts +0 -21
- package/dist/src/execution/session.d.ts +0 -27
- package/dist/src/execution/settle-cancelled-turn-step.d.ts +0 -32
- package/dist/src/execution/skills/instructions.d.ts +0 -29
- package/dist/src/execution/stable-workflow-names.d.ts +0 -6
- package/dist/src/execution/stop-runs.d.ts +0 -35
- package/dist/src/execution/tasks/model-step.d.ts +0 -54
- package/dist/src/execution/tasks/render.d.ts +0 -69
- package/dist/src/execution/tasks/session.d.ts +0 -23
- package/dist/src/execution/tasks/start.d.ts +0 -50
- package/dist/src/execution/tasks/steps.d.ts +0 -39
- package/dist/src/execution/tasks/task-id-input.d.ts +0 -19
- package/dist/src/execution/tasks/tool-entry-point.d.ts +0 -11
- package/dist/src/execution/tasks/workflow-target.d.ts +0 -2
- package/dist/src/execution/terminal-session-completion-step.d.ts +0 -24
- package/dist/src/execution/terminal-session-failure-step.d.ts +0 -14
- package/dist/src/execution/terminate-child-sessions-step.d.ts +0 -12
- package/dist/src/execution/tool-auth.d.ts +0 -17
- package/dist/src/execution/tool-session/id.d.ts +0 -22
- package/dist/src/execution/tool-stub-host.d.ts +0 -20
- package/dist/src/execution/tool-stubs/playback.d.ts +0 -11
- package/dist/src/execution/tool-stubs/steps.d.ts +0 -18
- package/dist/src/execution/tools/channel-to.d.ts +0 -15
- package/dist/src/execution/tools/file-state.d.ts +0 -56
- package/dist/src/execution/tools/workflow/answer.d.ts +0 -10
- package/dist/src/execution/tools/workflow/apply-run-messages-step.d.ts +0 -3
- package/dist/src/execution/tools/workflow/apply-run-messages.d.ts +0 -36
- package/dist/src/execution/tools/workflow/ask.d.ts +0 -79
- package/dist/src/execution/tools/workflow/authorization-completion.d.ts +0 -3
- package/dist/src/execution/tools/workflow/body.d.ts +0 -92
- package/dist/src/execution/tools/workflow/cancellation-policy.d.ts +0 -2
- package/dist/src/execution/tools/workflow/harness-definition.d.ts +0 -14
- package/dist/src/execution/tools/workflow/interrupt.d.ts +0 -9
- package/dist/src/execution/tools/workflow/owner-channels.d.ts +0 -29
- package/dist/src/execution/tools/workflow/owner-inbox.d.ts +0 -13
- package/dist/src/execution/tools/workflow/owner.d.ts +0 -36
- package/dist/src/execution/tools/workflow/resume-hook-step.d.ts +0 -4
- package/dist/src/execution/tools/workflow/resume-hook.d.ts +0 -4
- package/dist/src/execution/tools/workflow/run.d.ts +0 -8
- package/dist/src/execution/tools/workflow/serve.d.ts +0 -3
- package/dist/src/execution/tools/workflow/start.d.ts +0 -51
- package/dist/src/execution/tools/workflow/step.d.ts +0 -3
- package/dist/src/execution/tools/workflow/types.d.ts +0 -10
- package/dist/src/execution/tools/workflow/withdraw-step.d.ts +0 -29
- package/dist/src/execution/tools/workflow/workflow-owner-blocking.d.ts +0 -23
- package/dist/src/execution/tools/workflow/workflow-run-host.d.ts +0 -2
- package/dist/src/execution/tools/workflow/workflow.d.ts +0 -3
- package/dist/src/execution/v26-history.fixtures.d.ts +0 -4
- package/dist/src/execution/web-fetch/execute.d.ts +0 -39
- package/dist/src/execution/web-fetch/html.d.ts +0 -8
- package/dist/src/execution/web-fetch/request.d.ts +0 -15
- package/dist/src/execution/workflow-errors.d.ts +0 -19
- package/dist/src/execution/workflow-host/dispatch-step.d.ts +0 -9
- package/dist/src/execution/workflow-host/host.d.ts +0 -5
- package/dist/src/execution/workflow-host/start-run.d.ts +0 -6
- package/dist/src/execution/workflow-host/tool-stubs.d.ts +0 -7
- package/dist/src/execution/workflow-host/turn-step.d.ts +0 -3
- package/dist/src/execution/workflow-references.d.ts +0 -23
- package/dist/src/execution/workflow-registry.d.ts +0 -5
- package/dist/src/execution/workflow-runtime.d.ts +0 -41
- package/dist/src/execution/workflow-webhook-route.d.ts +0 -4
- package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +0 -2
- package/dist/src/extensions/code/extension/instructions/project.d.ts +0 -2
- package/dist/src/extensions/code/extension/lib/command-failure.d.ts +0 -7
- package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +0 -7
- package/dist/src/extensions/code/extension/lib/project-instructions.d.ts +0 -13
- package/dist/src/extensions/code/extension/lib/tooling.d.ts +0 -15
- package/dist/src/extensions/custom-skills/extension/instructions/always-on.d.ts +0 -4
- package/dist/src/extensions/custom-skills/extension/lib/lifecycle.d.ts +0 -122
- package/dist/src/extensions/custom-skills/extension/lib/render.d.ts +0 -5
- package/dist/src/extensions/custom-skills/extension/lib/runtime.d.ts +0 -26
- package/dist/src/extensions/custom-skills/extension/lib/tool-support.d.ts +0 -102
- package/dist/src/extensions/custom-skills/extension/skills/custom.d.ts +0 -9
- package/dist/src/extensions/custom-skills/extension/tools/create.d.ts +0 -28
- package/dist/src/extensions/custom-skills/extension/tools/list.d.ts +0 -60
- package/dist/src/extensions/custom-skills/extension/tools/publish.d.ts +0 -36
- package/dist/src/extensions/custom-skills/extension/tools/read.d.ts +0 -32
- package/dist/src/extensions/custom-skills/extension/tools/remove.d.ts +0 -17
- package/dist/src/extensions/custom-skills/extension/tools/set_mode.d.ts +0 -19
- package/dist/src/extensions/git/extension/instructions/github.d.ts +0 -2
- package/dist/src/extensions/git/extension/lib/connect-user-auth.d.ts +0 -15
- package/dist/src/extensions/git/extension/lib/gh-tool.d.ts +0 -28
- package/dist/src/extensions/git/extension/lib/github-guidance.d.ts +0 -4
- package/dist/src/extensions/git/extension/lib/github-shell-schema.d.ts +0 -9
- package/dist/src/extensions/git/extension/lib/repository-root.d.ts +0 -11
- package/dist/src/extensions/git/extension/lib/sandbox-lease-lock.d.ts +0 -32
- package/dist/src/extensions/git/extension/lib/shell.d.ts +0 -1
- package/dist/src/extensions/git/extension/skills/pr.d.ts +0 -2
- package/dist/src/extensions/git/extension/tools/gh.d.ts +0 -3
- package/dist/src/framework/host-inventory.d.ts +0 -8
- package/dist/src/framework/sources/default-tools.d.ts +0 -36
- package/dist/src/framework/sources/modules/agent.d.ts +0 -5
- package/dist/src/framework/sources/modules/eve-channel.d.ts +0 -1
- package/dist/src/framework/sources/modules/home-channel.d.ts +0 -2
- package/dist/src/framework/sources/modules/sandbox.d.ts +0 -3
- package/dist/src/harness/action-presentation.d.ts +0 -18
- package/dist/src/harness/action-result-helpers.d.ts +0 -52
- package/dist/src/harness/approval-outcome.d.ts +0 -32
- package/dist/src/harness/attachment-staging.d.ts +0 -47
- package/dist/src/harness/call-facts.d.ts +0 -34
- package/dist/src/harness/call-outcome.d.ts +0 -6
- package/dist/src/harness/compaction/config.d.ts +0 -17
- package/dist/src/harness/compaction/engine.d.ts +0 -64
- package/dist/src/harness/compaction/over-limit-error.d.ts +0 -8
- package/dist/src/harness/compaction/prompt.d.ts +0 -50
- package/dist/src/harness/compaction/step.d.ts +0 -42
- package/dist/src/harness/coordination.d.ts +0 -80
- package/dist/src/harness/emission.d.ts +0 -40
- package/dist/src/harness/execute-call.d.ts +0 -31
- package/dist/src/harness/final-output.d.ts +0 -15
- package/dist/src/harness/finish-reason.d.ts +0 -8
- package/dist/src/harness/generation-steering.d.ts +0 -24
- package/dist/src/harness/hitl/approval-prompt.d.ts +0 -10
- package/dist/src/harness/hitl/approved-calls.d.ts +0 -51
- package/dist/src/harness/hitl/budget.d.ts +0 -28
- package/dist/src/harness/hitl/stale-responses.d.ts +0 -46
- package/dist/src/harness/interaction-facts.d.ts +0 -42
- package/dist/src/harness/interaction-relay.d.ts +0 -10
- package/dist/src/harness/interruptible-stream.d.ts +0 -5
- package/dist/src/harness/kernel.d.ts +0 -9
- package/dist/src/harness/model-call/call.d.ts +0 -113
- package/dist/src/harness/model-call/errors.d.ts +0 -94
- package/dist/src/harness/model-call/failure.d.ts +0 -17
- package/dist/src/harness/model-call/model.d.ts +0 -17
- package/dist/src/harness/model-call/recovery.d.ts +0 -24
- package/dist/src/harness/model-call/request.d.ts +0 -42
- package/dist/src/harness/model-call/response.d.ts +0 -53
- package/dist/src/harness/model-call/retry.d.ts +0 -28
- package/dist/src/harness/model-call/run.d.ts +0 -33
- package/dist/src/harness/model-call/tools.d.ts +0 -19
- package/dist/src/harness/model-call/unique-call-ids.d.ts +0 -13
- package/dist/src/harness/model-call/usage.d.ts +0 -26
- package/dist/src/harness/ordered-stream-emitter.d.ts +0 -19
- package/dist/src/harness/prompt-cache.d.ts +0 -71
- package/dist/src/harness/provider-safety.d.ts +0 -15
- package/dist/src/harness/provider-tool-history.d.ts +0 -31
- package/dist/src/harness/provider-tool-schemas.d.ts +0 -23
- package/dist/src/harness/provider-tools.d.ts +0 -39
- package/dist/src/harness/publication.d.ts +0 -4
- package/dist/src/harness/request-envelope.d.ts +0 -8
- package/dist/src/harness/running-work.d.ts +0 -10
- package/dist/src/harness/runtime-action-settlement-state.d.ts +0 -3
- package/dist/src/harness/semantic-errors/index.d.ts +0 -9
- package/dist/src/harness/semantic-errors/rule.d.ts +0 -83
- package/dist/src/harness/semantic-errors/rules/gateway.d.ts +0 -11
- package/dist/src/harness/semantic-errors/rules/model-provider.d.ts +0 -11
- package/dist/src/harness/semantic-errors/rules/sandbox.d.ts +0 -14
- package/dist/src/harness/semantic-errors/rules/system.d.ts +0 -2
- package/dist/src/harness/semantic-errors/rules/workflow.d.ts +0 -9
- package/dist/src/harness/semantic-errors/signals.d.ts +0 -31
- package/dist/src/harness/session-machine/calls.d.ts +0 -16
- package/dist/src/harness/session-machine/cascade.d.ts +0 -18
- package/dist/src/harness/session-machine/children.d.ts +0 -11
- package/dist/src/harness/session-machine/content.d.ts +0 -4
- package/dist/src/harness/session-machine/context-changes.d.ts +0 -32
- package/dist/src/harness/session-machine/deliveries.d.ts +0 -41
- package/dist/src/harness/session-machine/lines.d.ts +0 -21
- package/dist/src/harness/session-machine/runs.d.ts +0 -44
- package/dist/src/harness/session-machine/waiting.d.ts +0 -16
- package/dist/src/harness/session-stream-write-error.d.ts +0 -11
- package/dist/src/harness/session-usage.d.ts +0 -22
- package/dist/src/harness/step/after-model.d.ts +0 -29
- package/dist/src/harness/step/park.d.ts +0 -19
- package/dist/src/harness/step-hooks.d.ts +0 -103
- package/dist/src/harness/stream-actions.d.ts +0 -17
- package/dist/src/harness/token-estimate.d.ts +0 -13
- package/dist/src/harness/tool-call-input-errors.d.ts +0 -40
- package/dist/src/harness/tool-call-io.d.ts +0 -28
- package/dist/src/harness/tool-history-repair.d.ts +0 -11
- package/dist/src/harness/tool-model-output.d.ts +0 -59
- package/dist/src/harness/tool-output-serialization.d.ts +0 -17
- package/dist/src/harness/turn-cancellation.d.ts +0 -16
- package/dist/src/harness/usage-sink.d.ts +0 -21
- package/dist/src/harness/user-parts.d.ts +0 -4
- package/dist/src/harness/workflow-admission.d.ts +0 -6
- package/dist/src/harness/workflow-stream-error.d.ts +0 -22
- package/dist/src/harness/workflow-tool-runs.d.ts +0 -28
- package/dist/src/instrumentation/ai-sdk-hook-bridge.d.ts +0 -4
- package/dist/src/instrumentation/ai-sdk-telemetry.d.ts +0 -35
- package/dist/src/instrumentation/ai-sdk-warnings.d.ts +0 -6
- package/dist/src/instrumentation/channel-delivery.d.ts +0 -5
- package/dist/src/instrumentation/content-policy.d.ts +0 -7
- package/dist/src/instrumentation/content.d.ts +0 -10
- package/dist/src/instrumentation/decide.d.ts +0 -4
- package/dist/src/instrumentation/decision-results.d.ts +0 -37
- package/dist/src/instrumentation/dispatch.d.ts +0 -2
- package/dist/src/instrumentation/parent-lineage.d.ts +0 -11
- package/dist/src/instrumentation/principal-summary.d.ts +0 -13
- package/dist/src/instrumentation/providers.d.ts +0 -13
- package/dist/src/instrumentation/scope.d.ts +0 -18
- package/dist/src/instrumentation/session-context.d.ts +0 -25
- package/dist/src/instrumentation/setup-context.d.ts +0 -1
- package/dist/src/instrumentation/trace-decision.d.ts +0 -5
- package/dist/src/internal/a2a/execution.d.ts +0 -56
- package/dist/src/internal/a2a/json-rpc.d.ts +0 -18
- package/dist/src/internal/agent-name.d.ts +0 -2
- package/dist/src/internal/application/build-output-environment.d.ts +0 -3
- package/dist/src/internal/application/build-profile.d.ts +0 -67
- package/dist/src/internal/application/build-workspace.d.ts +0 -35
- package/dist/src/internal/application/compiled-artifacts.d.ts +0 -74
- package/dist/src/internal/application/dev-environment.d.ts +0 -32
- package/dist/src/internal/application/dev-transport.d.ts +0 -4
- package/dist/src/internal/application/import-specifier.d.ts +0 -19
- package/dist/src/internal/application/optional-package-import.d.ts +0 -24
- package/dist/src/internal/application/optional-package-install.d.ts +0 -37
- package/dist/src/internal/application/output-publication-artifacts.d.ts +0 -7
- package/dist/src/internal/application/output-publication-journal.d.ts +0 -30
- package/dist/src/internal/application/output-publication-lock.d.ts +0 -16
- package/dist/src/internal/application/output-publication.d.ts +0 -33
- package/dist/src/internal/application/package.d.ts +0 -63
- package/dist/src/internal/application/paths.d.ts +0 -37
- package/dist/src/internal/application/production-compiler-artifacts.d.ts +0 -4
- package/dist/src/internal/application/runtime-compiled-artifacts-source.d.ts +0 -6
- package/dist/src/internal/application/stamped-package-version.d.ts +0 -5
- package/dist/src/internal/application/tsconfig-dependencies.d.ts +0 -7
- package/dist/src/internal/attachments/data.d.ts +0 -37
- package/dist/src/internal/attachments/errors.d.ts +0 -41
- package/dist/src/internal/attachments/limited-read.d.ts +0 -18
- package/dist/src/internal/attachments/media-metadata.d.ts +0 -40
- package/dist/src/internal/attachments/public-link.d.ts +0 -5
- package/dist/src/internal/attachments/read-media-metadata.d.ts +0 -7
- package/dist/src/internal/attachments/sandbox-refs.d.ts +0 -52
- package/dist/src/internal/attachments/url-refs.d.ts +0 -17
- package/dist/src/internal/authored-asset-import-plugin.d.ts +0 -24
- package/dist/src/internal/authored-definition/approval.d.ts +0 -8
- package/dist/src/internal/authored-definition/channel.d.ts +0 -16
- package/dist/src/internal/authored-definition/connection.d.ts +0 -18
- package/dist/src/internal/authored-definition/core.d.ts +0 -49
- package/dist/src/internal/authored-definition/hook.d.ts +0 -5
- package/dist/src/internal/authored-definition/memory.d.ts +0 -5
- package/dist/src/internal/authored-definition/schedule-collection.d.ts +0 -2
- package/dist/src/internal/authored-definition/schema-backed.d.ts +0 -57
- package/dist/src/internal/authored-definition/source-identity.d.ts +0 -32
- package/dist/src/internal/authored-module-build-options.d.ts +0 -13
- package/dist/src/internal/authored-module-bundle.d.ts +0 -4
- package/dist/src/internal/authored-module-cache.d.ts +0 -10
- package/dist/src/internal/authored-module-conditions.d.ts +0 -2
- package/dist/src/internal/authored-module-evaluation-error.d.ts +0 -2
- package/dist/src/internal/authored-module-map-loader.d.ts +0 -8
- package/dist/src/internal/authored-package-tsconfig-paths.d.ts +0 -17
- package/dist/src/internal/authored-relative-extension-resolver.d.ts +0 -14
- package/dist/src/internal/authored-runtime-modules.d.ts +0 -25
- package/dist/src/internal/bundler/authored-plugins.d.ts +0 -30
- package/dist/src/internal/bundler/extension-mount-plugin.d.ts +0 -19
- package/dist/src/internal/bundler/extension-scope-plugin.d.ts +0 -45
- package/dist/src/internal/bundler/filters.d.ts +0 -33
- package/dist/src/internal/bundler/pseudo-packages.d.ts +0 -21
- package/dist/src/internal/bundler/rolldown.d.ts +0 -30
- package/dist/src/internal/bundler/vendored-dependency-log.d.ts +0 -6
- package/dist/src/internal/capability-error.d.ts +0 -3
- package/dist/src/internal/classify-model-routing.d.ts +0 -23
- package/dist/src/internal/client-context.d.ts +0 -2
- package/dist/src/internal/compiled-manifest-fingerprint.d.ts +0 -5
- package/dist/src/internal/dev-boot-progress.d.ts +0 -13
- package/dist/src/internal/development-programmatic-source-loader.d.ts +0 -7
- package/dist/src/internal/eve-project-root.d.ts +0 -5
- package/dist/src/internal/external-resources-snapshot.d.ts +0 -46
- package/dist/src/internal/external-resources.d.ts +0 -19
- package/dist/src/internal/gateway.d.ts +0 -11
- package/dist/src/internal/helpers/frontmatter.d.ts +0 -24
- package/dist/src/internal/helpers/markdown.d.ts +0 -42
- package/dist/src/internal/host-traced-dependencies.d.ts +0 -16
- package/dist/src/internal/http/basic-auth.d.ts +0 -1
- package/dist/src/internal/http/json-body.d.ts +0 -16
- package/dist/src/internal/http/request-guards.d.ts +0 -34
- package/dist/src/internal/input-text.d.ts +0 -13
- package/dist/src/internal/installed-packages.d.ts +0 -28
- package/dist/src/internal/instrumentation-layout.d.ts +0 -14
- package/dist/src/internal/instrumentation.d.ts +0 -29
- package/dist/src/internal/invocation/agent-invocation.d.ts +0 -53
- package/dist/src/internal/invocation/attributes.d.ts +0 -2
- package/dist/src/internal/invocation/metadata.d.ts +0 -7
- package/dist/src/internal/invocation/owned-run.d.ts +0 -110
- package/dist/src/internal/invocation/workflow-execution.d.ts +0 -30
- package/dist/src/internal/materialized-authored-modules.d.ts +0 -21
- package/dist/src/internal/mcp/forwarded-principal-header.d.ts +0 -31
- package/dist/src/internal/mcp/protected-resource.d.ts +0 -10
- package/dist/src/internal/mcp/published-tools.d.ts +0 -20
- package/dist/src/internal/mcp/request-trace-context.d.ts +0 -12
- package/dist/src/internal/mcp/skills.d.ts +0 -57
- package/dist/src/internal/mcp/streamable-http-server.d.ts +0 -114
- package/dist/src/internal/mock-model-identity.d.ts +0 -2
- package/dist/src/internal/model-auth/api-key.d.ts +0 -7
- package/dist/src/internal/model-auth/available-models.d.ts +0 -2
- package/dist/src/internal/model-auth/development-broker-client.d.ts +0 -3
- package/dist/src/internal/model-auth/development-broker-protocol.d.ts +0 -12
- package/dist/src/internal/model-auth/development-broker-server.d.ts +0 -4
- package/dist/src/internal/model-auth/gateway-credential.d.ts +0 -2
- package/dist/src/internal/model-auth/store.d.ts +0 -16
- package/dist/src/internal/model-auth/transport.d.ts +0 -8
- package/dist/src/internal/model-auth/vercel-cli.d.ts +0 -9
- package/dist/src/internal/model-auth/vercel-team.d.ts +0 -3
- package/dist/src/internal/model-auth/vercel.d.ts +0 -13
- package/dist/src/internal/nitro/dev-client-address.d.ts +0 -36
- package/dist/src/internal/nitro/dev-runtime-artifacts-retention.d.ts +0 -11
- package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +0 -49
- package/dist/src/internal/nitro/dev-runtime-generation-metadata.d.ts +0 -13
- package/dist/src/internal/nitro/dev-runtime-source-snapshot-copy.d.ts +0 -2
- package/dist/src/internal/nitro/dev-runtime-source-snapshot-local-roots.d.ts +0 -14
- package/dist/src/internal/nitro/dev-runtime-source-snapshot.d.ts +0 -38
- package/dist/src/internal/nitro/development-generation.d.ts +0 -33
- package/dist/src/internal/nitro/host/artifacts-config.d.ts +0 -21
- package/dist/src/internal/nitro/host/build-application.d.ts +0 -5
- package/dist/src/internal/nitro/host/build-deployment-id.d.ts +0 -8
- package/dist/src/internal/nitro/host/build-extension.d.ts +0 -15
- package/dist/src/internal/nitro/host/build-vercel-agent-summary.d.ts +0 -34
- package/dist/src/internal/nitro/host/connection-drain-plugin.d.ts +0 -12
- package/dist/src/internal/nitro/host/copy-host-middleware.d.ts +0 -12
- package/dist/src/internal/nitro/host/create-host-nitro.d.ts +0 -7
- package/dist/src/internal/nitro/host/dev-authored-rebuild-coordinator.d.ts +0 -40
- package/dist/src/internal/nitro/host/dev-authored-source-watcher.d.ts +0 -24
- package/dist/src/internal/nitro/host/dev-build-host.d.ts +0 -83
- package/dist/src/internal/nitro/host/dev-build-operations.d.ts +0 -6
- package/dist/src/internal/nitro/host/dev-build-process.d.ts +0 -1
- package/dist/src/internal/nitro/host/dev-host-candidate.d.ts +0 -17
- package/dist/src/internal/nitro/host/dev-host-fingerprint.d.ts +0 -6
- package/dist/src/internal/nitro/host/dev-host-supervisor.d.ts +0 -61
- package/dist/src/internal/nitro/host/dev-host-workspace.d.ts +0 -10
- package/dist/src/internal/nitro/host/dev-runner.d.ts +0 -19
- package/dist/src/internal/nitro/host/dev-server-http.d.ts +0 -5
- package/dist/src/internal/nitro/host/dev-server-state.d.ts +0 -20
- package/dist/src/internal/nitro/host/dev-server-url.d.ts +0 -6
- package/dist/src/internal/nitro/host/dev-watcher-log.d.ts +0 -40
- package/dist/src/internal/nitro/host/dev-worker-entry.d.ts +0 -1
- package/dist/src/internal/nitro/host/dev-workflow-world-setup.d.ts +0 -10
- package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.d.ts +0 -46
- package/dist/src/internal/nitro/host/extension-build-config.d.ts +0 -20
- package/dist/src/internal/nitro/host/extension-build-lock.d.ts +0 -9
- package/dist/src/internal/nitro/host/extension-declarations.d.ts +0 -10
- package/dist/src/internal/nitro/host/extension-distribution.d.ts +0 -32
- package/dist/src/internal/nitro/host/extension-external-dependencies.d.ts +0 -7
- package/dist/src/internal/nitro/host/extension-state-usage.d.ts +0 -7
- package/dist/src/internal/nitro/host/external-dependency-output-check.d.ts +0 -20
- package/dist/src/internal/nitro/host/externals-policy.d.ts +0 -21
- package/dist/src/internal/nitro/host/host-plugins.d.ts +0 -46
- package/dist/src/internal/nitro/host/host-routes.d.ts +0 -100
- package/dist/src/internal/nitro/host/host-spec.d.ts +0 -70
- package/dist/src/internal/nitro/host/hosted-graph-plugin.d.ts +0 -44
- package/dist/src/internal/nitro/host/instrumentation-entry.d.ts +0 -35
- package/dist/src/internal/nitro/host/local-schedules-runtime-plugin.d.ts +0 -5
- package/dist/src/internal/nitro/host/local-tracing-runtime.d.ts +0 -6
- package/dist/src/internal/nitro/host/ports.d.ts +0 -18
- package/dist/src/internal/nitro/host/prepare-application-host.d.ts +0 -26
- package/dist/src/internal/nitro/host/route-handlers.d.ts +0 -65
- package/dist/src/internal/nitro/host/runtime-plugin.d.ts +0 -17
- package/dist/src/internal/nitro/host/sandbox-shutdown-plugin.d.ts +0 -32
- package/dist/src/internal/nitro/host/skill-files-plugin.d.ts +0 -21
- package/dist/src/internal/nitro/host/stage-build-deployment-id.d.ts +0 -2
- package/dist/src/internal/nitro/host/start-development-server.d.ts +0 -20
- package/dist/src/internal/nitro/host/start-production-server.d.ts +0 -9
- package/dist/src/internal/nitro/host/timezone-schedules-runtime.d.ts +0 -13
- package/dist/src/internal/nitro/host/types.d.ts +0 -91
- package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +0 -49
- package/dist/src/internal/nitro/host/vercel-build-prewarm.d.ts +0 -12
- package/dist/src/internal/nitro/host/vercel-output.d.ts +0 -17
- package/dist/src/internal/nitro/host/vercel-schedule-name.d.ts +0 -17
- package/dist/src/internal/nitro/host/workflow-sandbox-runtime.d.ts +0 -2
- package/dist/src/internal/nitro/host/workspace-extensions.d.ts +0 -31
- package/dist/src/internal/nitro/host.d.ts +0 -4
- package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +0 -11
- package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.d.ts +0 -25
- package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +0 -20
- package/dist/src/internal/nitro/routes/channel-request-instrumentation.d.ts +0 -17
- package/dist/src/internal/nitro/routes/channel-route-context.d.ts +0 -39
- package/dist/src/internal/nitro/routes/connection-events.d.ts +0 -5
- package/dist/src/internal/nitro/routes/dev-runtime-artifacts.d.ts +0 -10
- package/dist/src/internal/nitro/routes/dev-schedule-dispatch.d.ts +0 -14
- package/dist/src/internal/nitro/routes/index.d.ts +0 -14
- package/dist/src/internal/nitro/routes/info.d.ts +0 -5
- package/dist/src/internal/nitro/routes/method-guard.d.ts +0 -6
- package/dist/src/internal/nitro/routes/route-invoke-tool.d.ts +0 -24
- package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +0 -29
- package/dist/src/internal/nitro/routes/runtime-stack.d.ts +0 -29
- package/dist/src/internal/nitro/routes/schedule-collection-consumer.d.ts +0 -9
- package/dist/src/internal/nitro/routes/schedule-task.d.ts +0 -24
- package/dist/src/internal/node-esm-compat-banner.d.ts +0 -45
- package/dist/src/internal/package-imports-hook.d.ts +0 -1
- package/dist/src/internal/package-imports.d.ts +0 -2
- package/dist/src/internal/package-name.d.ts +0 -8
- package/dist/src/internal/project-context.d.ts +0 -31
- package/dist/src/internal/resolve-model-endpoint-status.d.ts +0 -61
- package/dist/src/internal/runtime-model.d.ts +0 -21
- package/dist/src/internal/runtime-registry.d.ts +0 -76
- package/dist/src/internal/schedules/consumer-route.d.ts +0 -19
- package/dist/src/internal/schedules/dev-environment.d.ts +0 -2
- package/dist/src/internal/schedules/disabled.d.ts +0 -2
- package/dist/src/internal/schedules/verify-delivery.d.ts +0 -25
- package/dist/src/internal/user-agent.d.ts +0 -13
- package/dist/src/internal/vercel/api-resource.d.ts +0 -4
- package/dist/src/internal/vercel/assemble-eve-services.d.ts +0 -18
- package/dist/src/internal/vercel/build-agent-workspace.d.ts +0 -5
- package/dist/src/internal/vercel/build-command.d.ts +0 -5
- package/dist/src/internal/vercel/build-multi-agent-landing-page.d.ts +0 -3
- package/dist/src/internal/vercel/eve-service-contribution.d.ts +0 -32
- package/dist/src/internal/vercel/project-link.d.ts +0 -11
- package/dist/src/internal/vercel/vercel-service-config-operations.d.ts +0 -18
- package/dist/src/internal/vercel/vercel-service-name.d.ts +0 -6
- package/dist/src/internal/vercel-agent-summary.d.ts +0 -248
- package/dist/src/internal/workflow/builtins.d.ts +0 -34
- package/dist/src/internal/workflow/cancel-expired-development-run.d.ts +0 -2
- package/dist/src/internal/workflow/development-run-unavailable-error.d.ts +0 -15
- package/dist/src/internal/workflow/development-runtime-compatibility.d.ts +0 -12
- package/dist/src/internal/workflow/development-world-client.d.ts +0 -29
- package/dist/src/internal/workflow/development-world-codec.d.ts +0 -12
- package/dist/src/internal/workflow/development-world-protocol.d.ts +0 -36
- package/dist/src/internal/workflow/development-world-server.d.ts +0 -29
- package/dist/src/internal/workflow/index.d.ts +0 -6
- package/dist/src/internal/workflow/local-world-data-directory.d.ts +0 -3
- package/dist/src/internal/workflow/local-world-delivery-auth.d.ts +0 -17
- package/dist/src/internal/workflow/local-world-delivery-timeouts.d.ts +0 -7
- package/dist/src/internal/workflow/local-world-recovery.d.ts +0 -23
- package/dist/src/internal/workflow/owner-deployment-deleted.d.ts +0 -9
- package/dist/src/internal/workflow/queue-namespace.d.ts +0 -19
- package/dist/src/internal/workflow/runtime.d.ts +0 -5
- package/dist/src/internal/workflow/spec-version-default.d.ts +0 -9
- package/dist/src/internal/workflow/start-claim.d.ts +0 -16
- package/dist/src/internal/workflow/validate-world.d.ts +0 -16
- package/dist/src/internal/workflow/vercel-world-defaults.d.ts +0 -4
- package/dist/src/internal/workflow/world-compatibility.d.ts +0 -22
- package/dist/src/internal/workflow/world-target.d.ts +0 -7
- package/dist/src/internal/workflow-bundle/authored-workflow-directives.d.ts +0 -16
- package/dist/src/internal/workflow-bundle/builder.d.ts +0 -26
- package/dist/src/internal/workflow-bundle/flow-route.d.ts +0 -2
- package/dist/src/internal/workflow-bundle/framework-driver-cache.d.ts +0 -30
- package/dist/src/internal/workflow-bundle/nitro-step-entry.d.ts +0 -21
- package/dist/src/internal/workflow-bundle/stable-module-id.d.ts +0 -6
- package/dist/src/internal/workflow-bundle/workflow-core-shim.d.ts +0 -83
- package/dist/src/internal/workflow-bundle/workflow-directive-ast.d.ts +0 -8
- package/dist/src/internal/workflow-bundle/workflow-source-ast.d.ts +0 -6
- package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +0 -37
- package/dist/src/memory/definition.d.ts +0 -85
- package/dist/src/protocol/baggage.d.ts +0 -26
- package/dist/src/protocol/catalog-tools.d.ts +0 -12
- package/dist/src/protocol/interaction-json.d.ts +0 -68
- package/dist/src/protocol/remote-agent-protocol.d.ts +0 -45
- package/dist/src/protocol/reply-tool.d.ts +0 -2
- package/dist/src/protocol/reset-session.d.ts +0 -12
- package/dist/src/protocol/routes.d.ts +0 -160
- package/dist/src/protocol/runtime-tools.d.ts +0 -6
- package/dist/src/protocol/session-events/common.d.ts +0 -105
- package/dist/src/protocol/session-events/index.d.ts +0 -16
- package/dist/src/protocol/session-events/schemas.d.ts +0 -320
- package/dist/src/protocol/session-http.d.ts +0 -7
- package/dist/src/protocol/session-lines.d.ts +0 -19
- package/dist/src/protocol/session-projection/display-name.d.ts +0 -15
- package/dist/src/protocol/session-projection/index.d.ts +0 -4
- package/dist/src/protocol/session-projection/tree.d.ts +0 -72
- package/dist/src/protocol/traceparent.d.ts +0 -24
- package/dist/src/protocol/v26-interactions.d.ts +0 -11
- package/dist/src/protocol/v26-lines.d.ts +0 -5
- package/dist/src/public/channels/chat-sdk/attachment-refs.d.ts +0 -15
- package/dist/src/public/channels/chat-sdk/audience.d.ts +0 -9
- package/dist/src/public/channels/chat-sdk/authorization.d.ts +0 -6
- package/dist/src/public/channels/chat-sdk/fetch-message.d.ts +0 -10
- package/dist/src/public/channels/chat-sdk/input-actions.d.ts +0 -22
- package/dist/src/public/channels/chat-sdk/reply-context.d.ts +0 -15
- package/dist/src/public/channels/discord/attachments.d.ts +0 -15
- package/dist/src/public/channels/discord/audience.d.ts +0 -14
- package/dist/src/public/channels/discord/authorization.d.ts +0 -35
- package/dist/src/public/channels/discord/gateway/forwarder.d.ts +0 -14
- package/dist/src/public/channels/discord/hitl.d.ts +0 -48
- package/dist/src/public/channels/discord/responses.d.ts +0 -11
- package/dist/src/public/channels/discord/verifyInbound.d.ts +0 -6
- package/dist/src/public/channels/github/checkout.d.ts +0 -53
- package/dist/src/public/channels/github/constants.d.ts +0 -2
- package/dist/src/public/channels/github/dispatch.d.ts +0 -61
- package/dist/src/public/channels/github/limits.d.ts +0 -2
- package/dist/src/public/channels/linear/constants.d.ts +0 -2
- package/dist/src/public/channels/linear/hitl.d.ts +0 -9
- package/dist/src/public/channels/linear/inbound-uploads.d.ts +0 -21
- package/dist/src/public/channels/linq/inboundContent.d.ts +0 -17
- package/dist/src/public/channels/photon/attachments.d.ts +0 -24
- package/dist/src/public/channels/photon/inboundContent.d.ts +0 -11
- package/dist/src/public/channels/reply.d.ts +0 -22
- package/dist/src/public/channels/same-environment-oidc.d.ts +0 -7
- package/dist/src/public/channels/slack/action-status.d.ts +0 -14
- package/dist/src/public/channels/slack/answers.d.ts +0 -13
- package/dist/src/public/channels/slack/app-manifest.d.ts +0 -14
- package/dist/src/public/channels/slack/attachments.d.ts +0 -67
- package/dist/src/public/channels/slack/auth.d.ts +0 -27
- package/dist/src/public/channels/slack/connections.d.ts +0 -50
- package/dist/src/public/channels/slack/constants.d.ts +0 -7
- package/dist/src/public/channels/slack/inbound-content.d.ts +0 -4
- package/dist/src/public/channels/slack/interaction-cards.d.ts +0 -34
- package/dist/src/public/channels/slack/interactions.d.ts +0 -56
- package/dist/src/public/channels/slack/limits.d.ts +0 -103
- package/dist/src/public/channels/slack/model-context.d.ts +0 -34
- package/dist/src/public/channels/slack/mrkdwn.d.ts +0 -2
- package/dist/src/public/channels/slack/privacy.d.ts +0 -24
- package/dist/src/public/channels/slack/private-approval-delivery.d.ts +0 -34
- package/dist/src/public/channels/slack/request-card-render.d.ts +0 -51
- package/dist/src/public/channels/slack/request-cards.d.ts +0 -36
- package/dist/src/public/channels/slack/sign-in-cancel.d.ts +0 -18
- package/dist/src/public/channels/slack/slash-command.d.ts +0 -13
- package/dist/src/public/channels/slack/space.d.ts +0 -17
- package/dist/src/public/channels/slack/task-card.d.ts +0 -24
- package/dist/src/public/channels/slack/thread-status.d.ts +0 -33
- package/dist/src/public/channels/slack/utils.d.ts +0 -1
- package/dist/src/public/channels/teams/authorization.d.ts +0 -49
- package/dist/src/public/channels/teams/hitl.d.ts +0 -73
- package/dist/src/public/channels/teams/limits.d.ts +0 -8
- package/dist/src/public/channels/teams/space.d.ts +0 -9
- package/dist/src/public/channels/telegram/attachments.d.ts +0 -31
- package/dist/src/public/channels/telegram/audience.d.ts +0 -10
- package/dist/src/public/channels/telegram/authorization-callback.d.ts +0 -10
- package/dist/src/public/channels/telegram/authorization.d.ts +0 -15
- package/dist/src/public/channels/telegram/state.d.ts +0 -8
- package/dist/src/public/channels/text.d.ts +0 -4
- package/dist/src/public/channels/twilio/defaults.d.ts +0 -9
- package/dist/src/public/channels/twilio/routing.d.ts +0 -14
- package/dist/src/public/definitions/connections/protocol.d.ts +0 -12
- package/dist/src/public/definitions/removed-event-keys.d.ts +0 -2
- package/dist/src/public/memory/file/backends/default.d.ts +0 -7
- package/dist/src/public/memory/file/backends/lazy.d.ts +0 -3
- package/dist/src/public/models/openai/chatgpt/auth.d.ts +0 -4
- package/dist/src/public/models/openai/chatgpt/codex-app-server.d.ts +0 -41
- package/dist/src/public/models/openai/chatgpt/credential-store.d.ts +0 -28
- package/dist/src/public/models/openai/chatgpt/model.d.ts +0 -9
- package/dist/src/public/models/openai/chatgpt/oauth.d.ts +0 -22
- package/dist/src/public/models/openai/chatgpt/token-broker.d.ts +0 -34
- package/dist/src/public/models/openai/chatgpt/token.d.ts +0 -13
- package/dist/src/public/models/openai/chatgpt/transport.d.ts +0 -15
- package/dist/src/public/next/server.d.ts +0 -22
- package/dist/src/public/next/vercel-output-config.d.ts +0 -19
- package/dist/src/public/nuxt/production-origin.d.ts +0 -12
- package/dist/src/public/schedules/testing.d.ts +0 -1
- package/dist/src/runtime/actions/results.d.ts +0 -6
- package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +0 -47
- package/dist/src/runtime/agent/bootstrap-model.d.ts +0 -7
- package/dist/src/runtime/agent/mock-model-adapter.d.ts +0 -19
- package/dist/src/runtime/agent/mock-model-fixtures.d.ts +0 -11
- package/dist/src/runtime/agent/mock-model-skill-selection.d.ts +0 -11
- package/dist/src/runtime/agent/mock-structured-output.d.ts +0 -5
- package/dist/src/runtime/agent/resolve-model.d.ts +0 -35
- package/dist/src/runtime/attributes/emit.d.ts +0 -32
- package/dist/src/runtime/authorization-context.d.ts +0 -19
- package/dist/src/runtime/cache-key.d.ts +0 -9
- package/dist/src/runtime/connections/approval-scope.d.ts +0 -9
- package/dist/src/runtime/connections/authorization-complete-page.d.ts +0 -23
- package/dist/src/runtime/connections/authorization-tokens.d.ts +0 -50
- package/dist/src/runtime/connections/events/actions.d.ts +0 -17
- package/dist/src/runtime/connections/events/delivery.d.ts +0 -10
- package/dist/src/runtime/connections/events/dispatch-step.d.ts +0 -20
- package/dist/src/runtime/connections/events/lifecycle-step.d.ts +0 -42
- package/dist/src/runtime/connections/events/owner.d.ts +0 -38
- package/dist/src/runtime/connections/events/owners.d.ts +0 -15
- package/dist/src/runtime/connections/events/path.d.ts +0 -4
- package/dist/src/runtime/connections/events/state.d.ts +0 -37
- package/dist/src/runtime/connections/events/workflow.d.ts +0 -28
- package/dist/src/runtime/connections/instance-identity.d.ts +0 -9
- package/dist/src/runtime/connections/mcp-client.d.ts +0 -88
- package/dist/src/runtime/connections/mcp-tracing.d.ts +0 -14
- package/dist/src/runtime/connections/openapi-client.d.ts +0 -42
- package/dist/src/runtime/connections/openapi-operations.d.ts +0 -34
- package/dist/src/runtime/connections/openapi-schema.d.ts +0 -44
- package/dist/src/runtime/connections/openapi-security.d.ts +0 -42
- package/dist/src/runtime/connections/openapi-spec.d.ts +0 -15
- package/dist/src/runtime/connections/principal.d.ts +0 -73
- package/dist/src/runtime/connections/provided-arguments.d.ts +0 -10
- package/dist/src/runtime/connections/registry-types.d.ts +0 -14
- package/dist/src/runtime/connections/registry.d.ts +0 -42
- package/dist/src/runtime/connections/resolve-authorization.d.ts +0 -11
- package/dist/src/runtime/connections/tool-result.d.ts +0 -27
- package/dist/src/runtime/development-generation.d.ts +0 -8
- package/dist/src/runtime/loaders/artifact-paths.d.ts +0 -21
- package/dist/src/runtime/loaders/bundled-artifacts.d.ts +0 -40
- package/dist/src/runtime/loaders/compile-metadata.d.ts +0 -14
- package/dist/src/runtime/loaders/manifest.d.ts +0 -21
- package/dist/src/runtime/loaders/model-metadata.d.ts +0 -4
- package/dist/src/runtime/loaders/module-map.d.ts +0 -21
- package/dist/src/runtime/prompt/compose.d.ts +0 -14
- package/dist/src/runtime/resolve-agent-graph.d.ts +0 -17
- package/dist/src/runtime/resolve-agent.d.ts +0 -18
- package/dist/src/runtime/resolve-channel.d.ts +0 -17
- package/dist/src/runtime/resolve-connection.d.ts +0 -20
- package/dist/src/runtime/resolve-definition.d.ts +0 -24
- package/dist/src/runtime/resolve-helpers.d.ts +0 -43
- package/dist/src/runtime/resolve-sandbox.d.ts +0 -4
- package/dist/src/runtime/resolve-tool.d.ts +0 -14
- package/dist/src/runtime/sandbox/prepared-artifacts.d.ts +0 -12
- package/dist/src/runtime/schedules/dispatch-occurrence.d.ts +0 -34
- package/dist/src/runtime/schedules/load-collection.d.ts +0 -14
- package/dist/src/runtime/schedules/named-scope.d.ts +0 -11
- package/dist/src/runtime/schedules/payload.d.ts +0 -24
- package/dist/src/runtime/schedules/queue-namespace.d.ts +0 -2
- package/dist/src/runtime/schedules/record.d.ts +0 -4
- package/dist/src/runtime/schedules/register.d.ts +0 -32
- package/dist/src/runtime/schedules/resolve-schedule.d.ts +0 -31
- package/dist/src/runtime/schedules/validation.d.ts +0 -6
- package/dist/src/runtime/sessions/compiled-session-agent.d.ts +0 -13
- package/dist/src/runtime/sessions/runtime-session.d.ts +0 -66
- package/dist/src/runtime/subagents/workflow-reference.d.ts +0 -8
- package/dist/src/runtime/validation.d.ts +0 -5
- package/dist/src/runtime/workspace/seed-files.d.ts +0 -12
- package/dist/src/runtime/workspace/spec.d.ts +0 -6
- package/dist/src/sandbox/providers.d.ts +0 -4
- package/dist/src/self-modification/credentials.d.ts +0 -6
- package/dist/src/self-modification/deployed-sandbox.d.ts +0 -9
- package/dist/src/self-modification/extension/classify-registry-item.d.ts +0 -22
- package/dist/src/self-modification/extension/config-schema.d.ts +0 -10
- package/dist/src/self-modification/extension/eve-add.d.ts +0 -61
- package/dist/src/self-modification/extension/local-only.d.ts +0 -5
- package/dist/src/self-modification/extension/subagents/agent/agent.d.ts +0 -30
- package/dist/src/self-modification/extension/subagents/agent/instructions.d.ts +0 -2
- package/dist/src/self-modification/extension/subagents/agent/sandbox.d.ts +0 -3
- package/dist/src/self-modification/extension/subagents/agent/skills/trace_analysis.d.ts +0 -10
- package/dist/src/self-modification/extension/subagents/agent/tools/edit_file.d.ts +0 -16
- package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace.d.ts +0 -128
- package/dist/src/self-modification/extension/subagents/agent/tools/inspect_trace_spans.d.ts +0 -80
- package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.d.ts +0 -56
- package/dist/src/self-modification/extension/subagents/agent/tools/search_models.d.ts +0 -22
- package/dist/src/self-modification/extension/subagents/agent/tools/search_registry.d.ts +0 -100
- package/dist/src/self-modification/extension/subagents/agent/tools/search_traces.d.ts +0 -53
- package/dist/src/self-modification/extension/trace-inspection.d.ts +0 -15
- package/dist/src/self-modification/filesystem.d.ts +0 -7
- package/dist/src/self-modification/git-workspace.d.ts +0 -31
- package/dist/src/self-modification/git.d.ts +0 -10
- package/dist/src/self-modification/github-publisher.d.ts +0 -28
- package/dist/src/self-modification/identifiers.d.ts +0 -4
- package/dist/src/self-modification/mode.d.ts +0 -13
- package/dist/src/self-modification/network-policy.d.ts +0 -1
- package/dist/src/self-modification/proposal.d.ts +0 -37
- package/dist/src/self-modification/remote/config-schema.d.ts +0 -20
- package/dist/src/self-modification/remote/production-registry-add.d.ts +0 -42
- package/dist/src/self-modification/remote/subagents/agent/agent.d.ts +0 -7
- package/dist/src/self-modification/remote/subagents/agent/instructions.d.ts +0 -2
- package/dist/src/self-modification/remote/subagents/agent/sandbox.d.ts +0 -2
- package/dist/src/self-modification/remote/subagents/agent/tools/edit_file.d.ts +0 -1
- package/dist/src/self-modification/remote/subagents/agent/tools/publish.d.ts +0 -5
- package/dist/src/self-modification/remote/subagents/agent/tools/registry_add.d.ts +0 -30
- package/dist/src/self-modification/remote/subagents/agent/tools/search_models.d.ts +0 -1
- package/dist/src/self-modification/remote/subagents/agent/tools/search_registry.d.ts +0 -1
- package/dist/src/self-modification/scaffold.d.ts +0 -2
- package/dist/src/self-modification/setup.d.ts +0 -48
- package/dist/src/self-modification/subagent-guidance.d.ts +0 -15
- package/dist/src/self-modification/workspace-lock.d.ts +0 -2
- package/dist/src/services/dev-client/agent-info-probe.d.ts +0 -18
- package/dist/src/services/dev-client/client-options.d.ts +0 -25
- package/dist/src/services/dev-client/credential-gate.d.ts +0 -24
- package/dist/src/services/dev-client/local-host.d.ts +0 -4
- package/dist/src/services/dev-client/request-headers.d.ts +0 -54
- package/dist/src/services/dev-client/runtime-artifacts.d.ts +0 -28
- package/dist/src/services/dev-client/target.d.ts +0 -19
- package/dist/src/services/dev-client/vercel-auth-error.d.ts +0 -34
- package/dist/src/services/dev-client.d.ts +0 -42
- package/dist/src/services/inspect-application.d.ts +0 -23
- package/dist/src/setup/ai-gateway-api-key.d.ts +0 -16
- package/dist/src/setup/append-env.d.ts +0 -22
- package/dist/src/setup/ask-editable.d.ts +0 -22
- package/dist/src/setup/ask-signals.d.ts +0 -23
- package/dist/src/setup/ask.d.ts +0 -206
- package/dist/src/setup/boxes/apply-ai-gateway-credential.d.ts +0 -29
- package/dist/src/setup/boxes/deploy-project.d.ts +0 -73
- package/dist/src/setup/boxes/detect-ai-gateway.d.ts +0 -17
- package/dist/src/setup/boxes/link-project.d.ts +0 -34
- package/dist/src/setup/boxes/model-capabilities.d.ts +0 -24
- package/dist/src/setup/boxes/resolve-provisioning.d.ts +0 -76
- package/dist/src/setup/boxes/select-model.d.ts +0 -14
- package/dist/src/setup/cli/channel-setup-prompter.d.ts +0 -51
- package/dist/src/setup/cli/command-output.d.ts +0 -12
- package/dist/src/setup/cli/connection-add-prompter.d.ts +0 -8
- package/dist/src/setup/cli/index.d.ts +0 -8
- package/dist/src/setup/cli/option-row.d.ts +0 -100
- package/dist/src/setup/cli/prompt-ui.d.ts +0 -160
- package/dist/src/setup/cli/rail-log.d.ts +0 -51
- package/dist/src/setup/cli/select-component.d.ts +0 -90
- package/dist/src/setup/cli/select-option-codec.d.ts +0 -13
- package/dist/src/setup/cli/select-state.d.ts +0 -87
- package/dist/src/setup/cli/whimsy.d.ts +0 -16
- package/dist/src/setup/connect-provisioning.d.ts +0 -33
- package/dist/src/setup/connection-connector.d.ts +0 -45
- package/dist/src/setup/flows/chatgpt-auth.d.ts +0 -15
- package/dist/src/setup/flows/deploy.d.ts +0 -43
- package/dist/src/setup/flows/ensure-vercel-project.d.ts +0 -23
- package/dist/src/setup/flows/in-project.d.ts +0 -16
- package/dist/src/setup/flows/install-vercel-cli.d.ts +0 -47
- package/dist/src/setup/flows/link.d.ts +0 -63
- package/dist/src/setup/flows/login.d.ts +0 -53
- package/dist/src/setup/flows/model-login-connection.d.ts +0 -20
- package/dist/src/setup/flows/model-login-options.d.ts +0 -59
- package/dist/src/setup/flows/model-login-progress.d.ts +0 -7
- package/dist/src/setup/flows/model-login.d.ts +0 -26
- package/dist/src/setup/flows/model-source-change.d.ts +0 -44
- package/dist/src/setup/flows/model.d.ts +0 -7
- package/dist/src/setup/flows/provider.d.ts +0 -27
- package/dist/src/setup/flows/registry-session.d.ts +0 -61
- package/dist/src/setup/flows/registry.d.ts +0 -41
- package/dist/src/setup/flows/vercel-model-login.d.ts +0 -5
- package/dist/src/setup/headless.d.ts +0 -46
- package/dist/src/setup/human-action.d.ts +0 -23
- package/dist/src/setup/index.d.ts +0 -15
- package/dist/src/setup/integrations/discord/api.d.ts +0 -23
- package/dist/src/setup/integrations/discord/connect.d.ts +0 -24
- package/dist/src/setup/integrations/discord/daemon.d.ts +0 -18
- package/dist/src/setup/integrations/discord/setup.d.ts +0 -52
- package/dist/src/setup/integrations/file-memory/setup.d.ts +0 -15
- package/dist/src/setup/integrations/file-memory/vercel.d.ts +0 -103
- package/dist/src/setup/integrations/github/connect.d.ts +0 -28
- package/dist/src/setup/integrations/github/setup.d.ts +0 -44
- package/dist/src/setup/integrations/linear/connect.d.ts +0 -42
- package/dist/src/setup/integrations/linear/setup.d.ts +0 -31
- package/dist/src/setup/integrations/linq/connect.d.ts +0 -31
- package/dist/src/setup/integrations/linq/management.d.ts +0 -6
- package/dist/src/setup/integrations/linq/setup.d.ts +0 -18
- package/dist/src/setup/integrations/photon/connect.d.ts +0 -38
- package/dist/src/setup/integrations/photon/management.d.ts +0 -42
- package/dist/src/setup/integrations/photon/setup-flow.d.ts +0 -44
- package/dist/src/setup/integrations/photon/setup.d.ts +0 -1
- package/dist/src/setup/integrations/registry.d.ts +0 -4
- package/dist/src/setup/integrations/runner.d.ts +0 -32
- package/dist/src/setup/integrations/self-modification/setup.d.ts +0 -37
- package/dist/src/setup/integrations/shared/environment.d.ts +0 -16
- package/dist/src/setup/integrations/shared/prerequisite.d.ts +0 -25
- package/dist/src/setup/integrations/shared/scaffold.d.ts +0 -20
- package/dist/src/setup/integrations/shared/ui.d.ts +0 -26
- package/dist/src/setup/integrations/shared/vercel-project.d.ts +0 -12
- package/dist/src/setup/integrations/shopify/setup.d.ts +0 -21
- package/dist/src/setup/integrations/shopify/templates.d.ts +0 -1
- package/dist/src/setup/integrations/slack/setup.d.ts +0 -51
- package/dist/src/setup/integrations/teams/connect.d.ts +0 -22
- package/dist/src/setup/integrations/teams/setup.d.ts +0 -22
- package/dist/src/setup/integrations/telegram/connect.d.ts +0 -27
- package/dist/src/setup/integrations/telegram/management.d.ts +0 -6
- package/dist/src/setup/integrations/telegram/setup.d.ts +0 -25
- package/dist/src/setup/integrations/types.d.ts +0 -64
- package/dist/src/setup/integrations/web/auth-options.d.ts +0 -4
- package/dist/src/setup/integrations/web/auth-scaffold.d.ts +0 -7
- package/dist/src/setup/integrations/web/framework.d.ts +0 -8
- package/dist/src/setup/integrations/web/hosting.d.ts +0 -43
- package/dist/src/setup/integrations/web/provision-auth.d.ts +0 -3
- package/dist/src/setup/integrations/web/setup.d.ts +0 -25
- package/dist/src/setup/path-exists.d.ts +0 -1
- package/dist/src/setup/primitives/coding-agent-env.d.ts +0 -17
- package/dist/src/setup/primitives/index.d.ts +0 -4
- package/dist/src/setup/primitives/open-url.d.ts +0 -14
- package/dist/src/setup/primitives/pm/bun.d.ts +0 -10
- package/dist/src/setup/primitives/pm/index.d.ts +0 -11
- package/dist/src/setup/primitives/pm/npm.d.ts +0 -10
- package/dist/src/setup/primitives/pm/pnpm-build-policy.d.ts +0 -16
- package/dist/src/setup/primitives/pm/pnpm.d.ts +0 -46
- package/dist/src/setup/primitives/pm/process-result.d.ts +0 -35
- package/dist/src/setup/primitives/pm/run.d.ts +0 -38
- package/dist/src/setup/primitives/pm/shared.d.ts +0 -9
- package/dist/src/setup/primitives/pm/types.d.ts +0 -53
- package/dist/src/setup/primitives/pm/yarn.d.ts +0 -10
- package/dist/src/setup/primitives/process-abort.d.ts +0 -7
- package/dist/src/setup/primitives/process-output.d.ts +0 -25
- package/dist/src/setup/primitives/run-vercel.d.ts +0 -79
- package/dist/src/setup/project-name.d.ts +0 -5
- package/dist/src/setup/project-resolution.d.ts +0 -65
- package/dist/src/setup/prompter.d.ts +0 -274
- package/dist/src/setup/provider-settings.d.ts +0 -25
- package/dist/src/setup/question-options.d.ts +0 -15
- package/dist/src/setup/quit-guard.d.ts +0 -48
- package/dist/src/setup/registry-setup-client.d.ts +0 -21
- package/dist/src/setup/registry-setup-completion.d.ts +0 -3
- package/dist/src/setup/registry-setup-protocol.d.ts +0 -108
- package/dist/src/setup/run-vercel-link.d.ts +0 -10
- package/dist/src/setup/runner.d.ts +0 -52
- package/dist/src/setup/scaffold/channels-catalog.d.ts +0 -31
- package/dist/src/setup/scaffold/create/add-to-project.d.ts +0 -36
- package/dist/src/setup/scaffold/create/agent-paths.d.ts +0 -5
- package/dist/src/setup/scaffold/create/extension.d.ts +0 -30
- package/dist/src/setup/scaffold/create/instructions-template.d.ts +0 -1
- package/dist/src/setup/scaffold/create/web-template.d.ts +0 -99
- package/dist/src/setup/scaffold/create-in-place.d.ts +0 -1
- package/dist/src/setup/scaffold/files.d.ts +0 -10
- package/dist/src/setup/scaffold/index.d.ts +0 -9
- package/dist/src/setup/scaffold/update/dependencies.d.ts +0 -12
- package/dist/src/setup/scaffold/update/module-files.d.ts +0 -3
- package/dist/src/setup/scaffold/update/update-connection-connector.d.ts +0 -8
- package/dist/src/setup/scaffold/update/update-slack-channel.d.ts +0 -23
- package/dist/src/setup/scaffold/workspace-glob.d.ts +0 -4
- package/dist/src/setup/setup-question-wire.d.ts +0 -48
- package/dist/src/setup/slack-connect-create.d.ts +0 -49
- package/dist/src/setup/slack-connect-lifecycle.d.ts +0 -160
- package/dist/src/setup/slack-connect.d.ts +0 -79
- package/dist/src/setup/slack-setup-plan.d.ts +0 -72
- package/dist/src/setup/slackbot.d.ts +0 -125
- package/dist/src/setup/state.d.ts +0 -183
- package/dist/src/setup/step.d.ts +0 -49
- package/dist/src/setup/validate-gateway-key.d.ts +0 -30
- package/dist/src/setup/vercel-api-failure.d.ts +0 -7
- package/dist/src/setup/vercel-deployment.d.ts +0 -60
- package/dist/src/setup/vercel-project-api.d.ts +0 -45
- package/dist/src/setup/vercel-project-framework.d.ts +0 -24
- package/dist/src/setup/vercel-project.d.ts +0 -87
- package/dist/src/setup/vercel-trace-sampling.d.ts +0 -3
- package/dist/src/setup/verified-remote-agent.d.ts +0 -29
- package/dist/src/setup/verified-remote-client.d.ts +0 -30
- package/dist/src/setup/with-spinner.d.ts +0 -3
- package/dist/src/shared/action-label.d.ts +0 -12
- package/dist/src/shared/action-request-name.d.ts +0 -5
- package/dist/src/shared/agent-info-access.d.ts +0 -5
- package/dist/src/shared/answers-delivery-id.d.ts +0 -1
- package/dist/src/shared/async-iterable.d.ts +0 -2
- package/dist/src/shared/atomic-write-file.d.ts +0 -11
- package/dist/src/shared/built-server-start-failure.d.ts +0 -16
- package/dist/src/shared/chatgpt-model.d.ts +0 -16
- package/dist/src/shared/continuation-token.d.ts +0 -2
- package/dist/src/shared/conversation-identity.d.ts +0 -2
- package/dist/src/shared/default-agent-model.d.ts +0 -14
- package/dist/src/shared/dev-checks.d.ts +0 -8
- package/dist/src/shared/development-env-files.d.ts +0 -4
- package/dist/src/shared/errors.d.ts +0 -22
- package/dist/src/shared/eve-route-path.d.ts +0 -4
- package/dist/src/shared/extension-mount.d.ts +0 -2
- package/dist/src/shared/extension-package-contract.d.ts +0 -16
- package/dist/src/shared/format-duration.d.ts +0 -2
- package/dist/src/shared/framework-eve-integration.d.ts +0 -33
- package/dist/src/shared/gateway-model-catalog.d.ts +0 -44
- package/dist/src/shared/gateway-routing.d.ts +0 -20
- package/dist/src/shared/gateway-service-tier.d.ts +0 -20
- package/dist/src/shared/git.d.ts +0 -16
- package/dist/src/shared/guards.d.ts +0 -54
- package/dist/src/shared/html-to-markdown.d.ts +0 -21
- package/dist/src/shared/instrumentation-channel-kind.d.ts +0 -3
- package/dist/src/shared/json-schemas.d.ts +0 -10
- package/dist/src/shared/line-diff.d.ts +0 -11
- package/dist/src/shared/map-concurrent.d.ts +0 -2
- package/dist/src/shared/map-with-concurrency.d.ts +0 -2
- package/dist/src/shared/memory-state.d.ts +0 -12
- package/dist/src/shared/model-connection.d.ts +0 -17
- package/dist/src/shared/model-endpoint-status.d.ts +0 -33
- package/dist/src/shared/model-helper.d.ts +0 -26
- package/dist/src/shared/model-summary.d.ts +0 -8
- package/dist/src/shared/network-address.d.ts +0 -38
- package/dist/src/shared/objects.d.ts +0 -5
- package/dist/src/shared/package-name.d.ts +0 -4
- package/dist/src/shared/path-exists.d.ts +0 -9
- package/dist/src/shared/path-inside.d.ts +0 -2
- package/dist/src/shared/poll-until.d.ts +0 -5
- package/dist/src/shared/presentation-text.d.ts +0 -8
- package/dist/src/shared/principal-scope.d.ts +0 -2
- package/dist/src/shared/public-route-prefix.d.ts +0 -23
- package/dist/src/shared/read-optional-file.d.ts +0 -2
- package/dist/src/shared/rename-with-retry.d.ts +0 -5
- package/dist/src/shared/resolve-eve-binary.d.ts +0 -12
- package/dist/src/shared/restriction.d.ts +0 -13
- package/dist/src/shared/result.d.ts +0 -12
- package/dist/src/shared/run-errors.d.ts +0 -39
- package/dist/src/shared/sandbox-prepared-artifacts.d.ts +0 -16
- package/dist/src/shared/sandbox-recorded-data-error.d.ts +0 -4
- package/dist/src/shared/sandbox-tool-session-error.d.ts +0 -4
- package/dist/src/shared/schedule-collection-tools.d.ts +0 -11
- package/dist/src/shared/schedule-timezone.d.ts +0 -6
- package/dist/src/shared/session-auth.d.ts +0 -39
- package/dist/src/shared/shell-quote.d.ts +0 -2
- package/dist/src/shared/skill-package.d.ts +0 -49
- package/dist/src/shared/skill-paths.d.ts +0 -24
- package/dist/src/shared/text-boundaries.d.ts +0 -19
- package/dist/src/shared/token-usage-math.d.ts +0 -5
- package/dist/src/shared/trace-root.d.ts +0 -8
- package/dist/src/shared/ulid.d.ts +0 -33
- package/dist/src/shared/validate-authorization.d.ts +0 -21
- package/dist/src/shared/value-delta.d.ts +0 -40
- package/dist/src/shared/vercel-output-directory.d.ts +0 -2
- package/dist/src/shared/vercel-project.d.ts +0 -27
- package/dist/src/shared/wait-with-signal.d.ts +0 -2
- package/dist/src/shared/workflow-function-id.d.ts +0 -2
- package/dist/src/shared/workflow-sandbox.d.ts +0 -10
- package/dist/src/shared/workflow-tool-context.d.ts +0 -2
- package/dist/src/source-change/agent-config-ast.d.ts +0 -61
- package/dist/src/source-change/agent-config-string-path.d.ts +0 -18
- package/dist/src/source-change/apply-agent-model-settings.d.ts +0 -27
- package/dist/src/source-change/apply-model-selection.d.ts +0 -15
- package/dist/src/source-change/static-source-change.d.ts +0 -51
- package/dist/src/subagents/adapter-state.d.ts +0 -39
- package/dist/src/subagents/adapter.d.ts +0 -8
- package/dist/src/subagents/callback-route.d.ts +0 -2
- package/dist/src/subagents/event-proxy-step.d.ts +0 -23
- package/dist/src/subagents/hitl-proxy.d.ts +0 -47
- package/dist/src/subagents/parent-notification.d.ts +0 -47
- package/dist/src/subagents/protocol-two-callback.d.ts +0 -27
- package/dist/src/subagents/remote-route-url.d.ts +0 -2
- package/dist/src/tool-stubs/execute.d.ts +0 -10
- package/dist/src/tool-stubs/output.d.ts +0 -4
- package/dist/src/tool-stubs/playback.d.ts +0 -15
- package/dist/src/tool-stubs/rules.d.ts +0 -3
- package/dist/src/tool-stubs/schema.d.ts +0 -4
- package/dist/src/tool-stubs/target.d.ts +0 -8
- package/dist/src/tool-stubs/validate-targets.d.ts +0 -6
- package/dist/src/tools/agent-models.d.ts +0 -7
- package/dist/src/tools/framework/agent-contract.d.ts +0 -4
- package/dist/src/tools/provided/ask-question-body.d.ts +0 -10
- package/dist/src/tools/provided/ask-question-workflow.d.ts +0 -4
- package/dist/src/tools/provided/framework-tool.d.ts +0 -13
- package/dist/src/tools/provided/sleep-workflow.d.ts +0 -4
- package/dist/src/tools/provided/task-cancel.d.ts +0 -6
- package/dist/src/tools/provided/task-wait.d.ts +0 -9
- package/dist/src/tools/signature.d.ts +0 -16
- package/dist/src/tools/tool-label.d.ts +0 -1
- package/dist/src/tools/workflow-body.d.ts +0 -15
- package/dist/src/tools/workflow-program-input.d.ts +0 -6
- package/dist/src/tracing/eve/agent-approval-instrumentation.d.ts +0 -13
- package/dist/src/tracing/eve/agent-channel-delivery-instrumentation.d.ts +0 -7
- package/dist/src/tracing/eve/agent-memory-instrumentation.d.ts +0 -17
- package/dist/src/tracing/eve/agent-otel-provider.d.ts +0 -30
- package/dist/src/tracing/eve/agent-tool-instrumentation.d.ts +0 -43
- package/dist/src/tracing/eve/agent-trace-context-store.d.ts +0 -24
- package/dist/src/tracing/eve/agent-trace-context.d.ts +0 -3
- package/dist/src/tracing/eve/agent-trace-state.d.ts +0 -70
- package/dist/src/tracing/eve/batch-span-processor.d.ts +0 -25
- package/dist/src/tracing/eve/channel-audience-context.d.ts +0 -4
- package/dist/src/tracing/eve/connection-authorization.d.ts +0 -11
- package/dist/src/tracing/eve/connection-events.d.ts +0 -25
- package/dist/src/tracing/eve/content-span-processor.d.ts +0 -1
- package/dist/src/tracing/eve/conversation-context.d.ts +0 -15
- package/dist/src/tracing/eve/delegation.d.ts +0 -20
- package/dist/src/tracing/eve/gateway.d.ts +0 -22
- package/dist/src/tracing/eve/install-instrumentation-runtime.d.ts +0 -19
- package/dist/src/tracing/eve/invoke-tool-span.d.ts +0 -63
- package/dist/src/tracing/eve/mcp.d.ts +0 -30
- package/dist/src/tracing/eve/metadata.d.ts +0 -7
- package/dist/src/tracing/eve/operation-input.d.ts +0 -18
- package/dist/src/tracing/eve/policy.d.ts +0 -15
- package/dist/src/tracing/eve/profile.d.ts +0 -7
- package/dist/src/tracing/eve/session.d.ts +0 -32
- package/dist/src/tracing/eve/vercel-runtime-span-exporter.d.ts +0 -5
- package/dist/src/tracing/local/agent-trace-span-processor.d.ts +0 -16
- package/dist/src/tracing/local/inspection.d.ts +0 -15
- package/dist/src/tracing/local/instrumentation-runtime.d.ts +0 -7
- package/dist/src/tracing/local/trace-analysis.d.ts +0 -52
- package/dist/src/tracing/local/trace-discovery-index.d.ts +0 -13
- package/dist/src/tracing/local/trace-operations.d.ts +0 -13
- package/dist/src/tracing/local/trace-query.d.ts +0 -18
- package/dist/src/tracing/local/trace-reader.d.ts +0 -83
- package/dist/src/tracing/local/trace-retention.d.ts +0 -67
- package/dist/src/tracing/local/trace-span-processor.d.ts +0 -19
- package/dist/src/tracing/local/trace-summary.d.ts +0 -31
- package/dist/src/tracing/local/traces.d.ts +0 -27
- /package/dist/src/compiled/_chunks/{workflow → node}/LogRecord-CbGROCJy.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/_eve-core-quickjs-entrypoint-stub-qIV0OaFz.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/global-singleton-BNinwFrL.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/private-DD2PSMRM.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/queue-auth-C7YIFJ-G.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/run-id-Ct9AjQDR.js +0 -0
- /package/dist/src/compiled/_chunks/{workflow → node}/workflow-routes-BaljomCk.js +0 -0
|
@@ -1,1439 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Serializer/Deserializer interface for message payloads.
|
|
3
|
-
*
|
|
4
|
-
* Built-in implementations:
|
|
5
|
-
* - `JsonTransport` - JSON serialization (default, buffers entire payload)
|
|
6
|
-
* - `BufferTransport` - Binary data (buffers entire payload)
|
|
7
|
-
* - `StreamTransport` - Pass-through streaming (no buffering, ideal for large payloads)
|
|
8
|
-
*/
|
|
9
|
-
interface Transport<T = unknown> {
|
|
10
|
-
/**
|
|
11
|
-
* Serialize a value to a buffer or stream for transmission.
|
|
12
|
-
* The result is sent as the request body with the `contentType` header.
|
|
13
|
-
*/
|
|
14
|
-
serialize(value: T): Buffer | ReadableStream<Uint8Array>;
|
|
15
|
-
/**
|
|
16
|
-
* Deserialize a readable stream back to the original value.
|
|
17
|
-
* Called when receiving messages from the queue.
|
|
18
|
-
*/
|
|
19
|
-
deserialize(stream: ReadableStream<Uint8Array>): Promise<T>;
|
|
20
|
-
/**
|
|
21
|
-
* Optional cleanup method for deserialized payloads that may contain resources.
|
|
22
|
-
* Called automatically by ConsumerGroup on error; manual cleanup required for direct client usage.
|
|
23
|
-
* @param payload The deserialized payload to clean up
|
|
24
|
-
*/
|
|
25
|
-
finalize?(payload: T): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* MIME type for this serialization format.
|
|
28
|
-
* Sent as the Content-Type header when publishing messages.
|
|
29
|
-
*/
|
|
30
|
-
contentType: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* JSON serializer/deserializer (default transport).
|
|
34
|
-
*
|
|
35
|
-
* Ideal for structured data. Buffers the entire payload in memory for parsing.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```typescript
|
|
39
|
-
* // Default (JsonTransport is used automatically)
|
|
40
|
-
* const queue = new QueueClient();
|
|
41
|
-
* await queue.send("topic", { data: "example" });
|
|
42
|
-
*
|
|
43
|
-
* // With custom serialization
|
|
44
|
-
* const queue = new QueueClient({
|
|
45
|
-
* transport: new JsonTransport({
|
|
46
|
-
* replacer: (key, value) => key === "password" ? undefined : value,
|
|
47
|
-
* reviver: (key, value) => key === "date" ? new Date(value) : value,
|
|
48
|
-
* }),
|
|
49
|
-
* });
|
|
50
|
-
* await queue.send("topic", { data: "example" });
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
declare class JsonTransport<T = unknown> implements Transport<T> {
|
|
54
|
-
readonly contentType = "application/json";
|
|
55
|
-
readonly replacer?: Parameters<typeof JSON.stringify>[1];
|
|
56
|
-
readonly reviver?: Parameters<typeof JSON.parse>[1];
|
|
57
|
-
/**
|
|
58
|
-
* Create a new JsonTransport.
|
|
59
|
-
* @param options - Optional JSON serialization options
|
|
60
|
-
* @param options.replacer - Custom replacer for JSON.stringify
|
|
61
|
-
* @param options.reviver - Custom reviver for JSON.parse
|
|
62
|
-
*/
|
|
63
|
-
constructor(options?: {
|
|
64
|
-
replacer?: Parameters<typeof JSON.stringify>[1];
|
|
65
|
-
reviver?: Parameters<typeof JSON.parse>[1];
|
|
66
|
-
});
|
|
67
|
-
serialize(value: T): Buffer;
|
|
68
|
-
deserialize(stream: ReadableStream<Uint8Array>): Promise<T>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Binary data serializer/deserializer.
|
|
72
|
-
*
|
|
73
|
-
* Ideal for binary data that fits in memory. Buffers the entire payload.
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* ```typescript
|
|
77
|
-
* const queue = new QueueClient({ transport: new BufferTransport() });
|
|
78
|
-
* await queue.send("binary-topic", myBuffer);
|
|
79
|
-
* ```
|
|
80
|
-
*/
|
|
81
|
-
declare class BufferTransport implements Transport<Buffer> {
|
|
82
|
-
readonly contentType = "application/octet-stream";
|
|
83
|
-
serialize(value: Buffer): Buffer;
|
|
84
|
-
deserialize(stream: ReadableStream<Uint8Array>): Promise<Buffer>;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Pass-through stream serializer/deserializer.
|
|
88
|
-
*
|
|
89
|
-
* Ideal for large files and real-time streams. Does not buffer data in memory.
|
|
90
|
-
*
|
|
91
|
-
* **Important:** When using StreamTransport, you must call `finalize(payload)` when done
|
|
92
|
-
* processing to prevent resource leaks. ConsumerGroup handles this automatically;
|
|
93
|
-
* direct client usage requires manual cleanup.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* ```typescript
|
|
97
|
-
* // Sending a stream
|
|
98
|
-
* const queue = new QueueClient({ transport: new StreamTransport() });
|
|
99
|
-
* await queue.send("large-file", myReadableStream);
|
|
100
|
-
*
|
|
101
|
-
* // Receiving - cleanup handled automatically
|
|
102
|
-
* const poller = new PollingQueueClient({ region: "iad1", transport: new StreamTransport() });
|
|
103
|
-
* await poller.receive("large-file", "processor", async (stream, meta) => {
|
|
104
|
-
* const reader = stream.getReader();
|
|
105
|
-
* // Process chunks...
|
|
106
|
-
* });
|
|
107
|
-
* ```
|
|
108
|
-
*/
|
|
109
|
-
declare class StreamTransport implements Transport<ReadableStream<Uint8Array>> {
|
|
110
|
-
readonly contentType = "application/octet-stream";
|
|
111
|
-
serialize(value: ReadableStream<Uint8Array>): ReadableStream<Uint8Array>;
|
|
112
|
-
deserialize(stream: ReadableStream<Uint8Array>): Promise<ReadableStream<Uint8Array>>;
|
|
113
|
-
/**
|
|
114
|
-
* Consume any remaining stream data to prevent resource leaks.
|
|
115
|
-
* Called automatically by ConsumerGroup; manual call required for direct client usage.
|
|
116
|
-
*/
|
|
117
|
-
finalize(payload: ReadableStream<Uint8Array>): Promise<void>;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Vercel Queue Service client types
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Minimal structural stand-ins for the `@opentelemetry/api` types referenced by
|
|
126
|
-
* this SDK's public surface. They are defined locally rather than imported so
|
|
127
|
-
* the optional `@opentelemetry/api` peer never appears in the published
|
|
128
|
-
* `.d.ts` — otherwise consumers who don't install it fail to compile under the
|
|
129
|
-
* TypeScript default `skipLibCheck: false`. A real `@opentelemetry/api`
|
|
130
|
-
* `Tracer` / `AttributeValue` is structurally assignable to these.
|
|
131
|
-
*/
|
|
132
|
-
/** Subset of `@opentelemetry/api`'s `AttributeValue`. */
|
|
133
|
-
type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
|
|
134
|
-
/** Subset of `@opentelemetry/api`'s `Span` produced when starting a span. */
|
|
135
|
-
interface OtelSpan {
|
|
136
|
-
setAttribute(key: string, value: AttributeValue): unknown;
|
|
137
|
-
setStatus(status: {
|
|
138
|
-
code: number;
|
|
139
|
-
message?: string;
|
|
140
|
-
}): unknown;
|
|
141
|
-
end(): void;
|
|
142
|
-
}
|
|
143
|
-
/** Subset of `@opentelemetry/api`'s `Tracer` used by this SDK. */
|
|
144
|
-
interface Tracer {
|
|
145
|
-
startSpan(name: string, options?: {
|
|
146
|
-
kind?: number;
|
|
147
|
-
attributes?: Record<string, AttributeValue>;
|
|
148
|
-
links?: unknown[];
|
|
149
|
-
}, context?: unknown): OtelSpan;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Vercel region code. The 20 known codes match
|
|
154
|
-
* {@link https://dcs.vercel-infra.com/ | dcs.vercel-infra.com}.
|
|
155
|
-
* Arbitrary strings are also accepted for forward compatibility
|
|
156
|
-
* with regions added after this SDK version.
|
|
157
|
-
*/
|
|
158
|
-
type VercelRegion = "arn1" | "bom1" | "cdg1" | "cle1" | "cpt1" | "dub1" | "dxb1" | "fra1" | "gru1" | "hkg1" | "hnd1" | "iad1" | "icn1" | "kix1" | "lhr1" | "pdx1" | "sfo1" | "sin1" | "syd1" | "yul1" | (string & {});
|
|
159
|
-
/**
|
|
160
|
-
* Resolves a region code to a base {@link URL} for the Vercel Queue Service API.
|
|
161
|
-
*
|
|
162
|
-
* The SDK appends its own API path (`/api/v3/…`) to the returned URL.
|
|
163
|
-
* To add a prefix (e.g. when routing through a reverse proxy), include it
|
|
164
|
-
* in the pathname of the returned URL:
|
|
165
|
-
*
|
|
166
|
-
* ```ts
|
|
167
|
-
* // Default — domain only, no prefix:
|
|
168
|
-
* (region) => new URL(`https://${region}.vercel-queue.com`)
|
|
169
|
-
*
|
|
170
|
-
* // Custom domain with a base path:
|
|
171
|
-
* (region) => new URL(`https://my-proxy.example/custom-prefix`)
|
|
172
|
-
* // → requests go to https://my-proxy.example/custom-prefix/api/v3/…
|
|
173
|
-
* ```
|
|
174
|
-
*
|
|
175
|
-
* Default: `` (region) => new URL(`https://${region}.vercel-queue.com`) ``
|
|
176
|
-
*/
|
|
177
|
-
type BaseUrlResolver = (region: string) => URL;
|
|
178
|
-
/**
|
|
179
|
-
* Client-level OpenTelemetry configuration.
|
|
180
|
-
*
|
|
181
|
-
* Controls the optional trace correlation built into the client: the
|
|
182
|
-
* PRODUCER `vqs.send` span and W3C trace-context injection on `send()`,
|
|
183
|
-
* and trace-context extraction around callback handlers.
|
|
184
|
-
*
|
|
185
|
-
* The `VERCEL_QUEUE_TRACE_PROPAGATION=off` environment variable always takes
|
|
186
|
-
* precedence and disables tracing regardless of these options.
|
|
187
|
-
*/
|
|
188
|
-
interface TelemetryOptions {
|
|
189
|
-
/**
|
|
190
|
-
* Whether tracing (send spans, trace-context injection, and callback
|
|
191
|
-
* context extraction) is enabled for this client.
|
|
192
|
-
* Can be overridden per send via {@link SendTelemetryOptions.isEnabled}.
|
|
193
|
-
* @default true
|
|
194
|
-
*/
|
|
195
|
-
isEnabled?: boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Custom OpenTelemetry `Tracer` used to start `vqs.send` spans.
|
|
198
|
-
* @default trace.getTracer("@vercel/queue") from the global tracer provider
|
|
199
|
-
*/
|
|
200
|
-
tracer?: Tracer;
|
|
201
|
-
/**
|
|
202
|
-
* Static attributes stamped on every `vqs.send` span. Keys are prefixed
|
|
203
|
-
* with `vqs.metadata.` to avoid colliding with semantic-convention
|
|
204
|
-
* attributes. Merged with per-send metadata; per-send values win on
|
|
205
|
-
* key conflicts.
|
|
206
|
-
*/
|
|
207
|
-
metadata?: Record<string, AttributeValue>;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Per-send OpenTelemetry configuration overrides.
|
|
211
|
-
* See {@link TelemetryOptions} for the client-level configuration.
|
|
212
|
-
*/
|
|
213
|
-
interface SendTelemetryOptions {
|
|
214
|
-
/**
|
|
215
|
-
* Overrides the client-level `isEnabled` for this send only.
|
|
216
|
-
* The `VERCEL_QUEUE_TRACE_PROPAGATION=off` environment variable still
|
|
217
|
-
* takes precedence.
|
|
218
|
-
* @default the client-level setting (which defaults to true)
|
|
219
|
-
*/
|
|
220
|
-
isEnabled?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* Attributes stamped on this send's `vqs.send` span, prefixed with
|
|
223
|
-
* `vqs.metadata.`. Merged over client-level metadata; values here win
|
|
224
|
-
* on key conflicts.
|
|
225
|
-
*/
|
|
226
|
-
metadata?: Record<string, AttributeValue>;
|
|
227
|
-
}
|
|
228
|
-
interface QueueClientOptions {
|
|
229
|
-
/**
|
|
230
|
-
* Vercel region code for API routing.
|
|
231
|
-
*
|
|
232
|
-
* Requests are sent to the regional endpoint resolved by
|
|
233
|
-
* {@link BaseUrlResolver} (default: `https://${region}.vercel-queue.com`).
|
|
234
|
-
*
|
|
235
|
-
* When omitted, the region is auto-detected from the `VERCEL_REGION`
|
|
236
|
-
* environment variable (set automatically on Vercel). If not available,
|
|
237
|
-
* defaults to `"iad1"` with a console warning.
|
|
238
|
-
*
|
|
239
|
-
* @example
|
|
240
|
-
* ```ts
|
|
241
|
-
* new QueueClient() // auto-detect, falls back to "iad1"
|
|
242
|
-
* new QueueClient({ region: "iad1" }) // explicit
|
|
243
|
-
* ```
|
|
244
|
-
*/
|
|
245
|
-
region?: VercelRegion;
|
|
246
|
-
/**
|
|
247
|
-
* Custom resolver that maps a region code to a base {@link URL}.
|
|
248
|
-
* Overrides VERCEL_QUEUE_BASE_URL, which is auto-detected only in local
|
|
249
|
-
* development (NODE_ENV=development, no VERCEL_DEPLOYMENT_ID, and
|
|
250
|
-
* VERCEL_CLI_VERSION >= 59.26.0).
|
|
251
|
-
*
|
|
252
|
-
* The SDK always appends its own API path (`/api/v3/…`) to the returned URL.
|
|
253
|
-
* Include a pathname to add a prefix (e.g. for reverse-proxy routing):
|
|
254
|
-
*
|
|
255
|
-
* ```ts
|
|
256
|
-
* resolveBaseUrl: (region) => new URL(`https://my-proxy.example/prefix`)
|
|
257
|
-
* ```
|
|
258
|
-
*
|
|
259
|
-
* @default (region) => new URL(`https://${region}.vercel-queue.com`)
|
|
260
|
-
*/
|
|
261
|
-
resolveBaseUrl?: BaseUrlResolver;
|
|
262
|
-
/**
|
|
263
|
-
* Authentication token for the Vercel Queue Service API.
|
|
264
|
-
* Overrides the auto-detected local VERCEL_QUEUE_TOKEN. The local token is
|
|
265
|
-
* used only for the endpoint identified by VERCEL_QUEUE_BASE_URL in local
|
|
266
|
-
* development with VERCEL_CLI_VERSION >= 59.26.0. Other endpoints use OIDC
|
|
267
|
-
* when no explicit token is provided.
|
|
268
|
-
*/
|
|
269
|
-
token?: string;
|
|
270
|
-
/**
|
|
271
|
-
* Custom headers to include in all requests.
|
|
272
|
-
*/
|
|
273
|
-
headers?: Record<string, string>;
|
|
274
|
-
/**
|
|
275
|
-
* Deployment ID for message routing and lease validation.
|
|
276
|
-
*
|
|
277
|
-
* - `undefined` (default): auto-detect from `VERCEL_DEPLOYMENT_ID` env var;
|
|
278
|
-
* sent messages are pinned to this deployment.
|
|
279
|
-
* - `null`: explicitly unpinned — no deployment ID is sent on any request.
|
|
280
|
-
* - `"dpl_xxx"`: explicit value used for both send pinning and consume identification.
|
|
281
|
-
*
|
|
282
|
-
* Ignored in development mode (deployment ID is never sent locally).
|
|
283
|
-
*/
|
|
284
|
-
deploymentId?: string | null;
|
|
285
|
-
/**
|
|
286
|
-
* Serializer/deserializer for message payloads.
|
|
287
|
-
* Used for all send and receive operations.
|
|
288
|
-
* @default JsonTransport
|
|
289
|
-
*/
|
|
290
|
-
transport?: Transport;
|
|
291
|
-
/**
|
|
292
|
-
* Custom HTTP dispatcher passed to every `fetch()` call.
|
|
293
|
-
*
|
|
294
|
-
* Use an undici `Agent` for connection pooling. A `RetryAgent` does not retry
|
|
295
|
-
* `POST` by default and cannot replay streaming request bodies. Queue sends
|
|
296
|
-
* use `POST`, and batch sends stream, so handle send failures in application
|
|
297
|
-
* code and use idempotency keys before retrying.
|
|
298
|
-
*
|
|
299
|
-
* @example
|
|
300
|
-
* ```ts
|
|
301
|
-
* import { Agent } from 'undici';
|
|
302
|
-
*
|
|
303
|
-
* new QueueClient({ dispatcher: new Agent({ connections: 8 }) });
|
|
304
|
-
* ```
|
|
305
|
-
*/
|
|
306
|
-
dispatcher?: unknown;
|
|
307
|
-
/**
|
|
308
|
-
* OpenTelemetry configuration for this client.
|
|
309
|
-
*
|
|
310
|
-
* Applies to sends (the `vqs.send` span and trace-context injection) and
|
|
311
|
-
* to callback handlers created from this client (trace-context extraction).
|
|
312
|
-
* Tracing is enabled by default; requires `@opentelemetry/api` and a
|
|
313
|
-
* registered OTEL SDK to have any effect.
|
|
314
|
-
*
|
|
315
|
-
* @example
|
|
316
|
-
* ```ts
|
|
317
|
-
* new QueueClient({
|
|
318
|
-
* telemetry: {
|
|
319
|
-
* isEnabled: true,
|
|
320
|
-
* tracer: myTracer,
|
|
321
|
-
* metadata: { service: "billing" },
|
|
322
|
-
* },
|
|
323
|
-
* });
|
|
324
|
-
* ```
|
|
325
|
-
*/
|
|
326
|
-
telemetry?: TelemetryOptions;
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* Options for creating a {@link PollingQueueClient}.
|
|
330
|
-
*
|
|
331
|
-
* Identical to {@link QueueClientOptions} except `region` is **required**
|
|
332
|
-
* because messages can only be received from the region they were sent to.
|
|
333
|
-
* Using a fixed region (e.g. `"iad1"`) ensures that `send` and `receive`
|
|
334
|
-
* target the same endpoint.
|
|
335
|
-
*/
|
|
336
|
-
interface PollingQueueClientOptions extends QueueClientOptions {
|
|
337
|
-
/**
|
|
338
|
-
* Vercel region code for API routing — **required** for polling.
|
|
339
|
-
*
|
|
340
|
-
* Messages can only be received from the region they were sent to.
|
|
341
|
-
* Use a fixed region (e.g. `"iad1"`) for both sending and receiving.
|
|
342
|
-
*
|
|
343
|
-
* @example
|
|
344
|
-
* ```ts
|
|
345
|
-
* new PollingQueueClient({ region: "iad1" })
|
|
346
|
-
* ```
|
|
347
|
-
*/
|
|
348
|
-
region: VercelRegion;
|
|
349
|
-
}
|
|
350
|
-
/**
|
|
351
|
-
* Options for sending messages.
|
|
352
|
-
*/
|
|
353
|
-
interface SendOptions {
|
|
354
|
-
/**
|
|
355
|
-
* Key used to deduplicate message delivery. Repeated sends are accepted,
|
|
356
|
-
* but only one message is delivered.
|
|
357
|
-
* Deduplication window: `min(message retention, 24 hours)`.
|
|
358
|
-
*
|
|
359
|
-
* Must be at most 256 characters. Longer keys are rejected with a 400.
|
|
360
|
-
*
|
|
361
|
-
* @maxLength 256
|
|
362
|
-
*/
|
|
363
|
-
idempotencyKey?: string;
|
|
364
|
-
/**
|
|
365
|
-
* Message retention time in seconds. After this period, the message expires.
|
|
366
|
-
* @default 86400 (24 hours)
|
|
367
|
-
* @minimum 60 (1 minute)
|
|
368
|
-
* @maximum 604800 (7 days)
|
|
369
|
-
*/
|
|
370
|
-
retentionSeconds?: number;
|
|
371
|
-
/**
|
|
372
|
-
* Delay delivery of the message by this many seconds.
|
|
373
|
-
* The message will not be visible to consumers until the delay has passed.
|
|
374
|
-
* @default 0
|
|
375
|
-
* @minimum 0
|
|
376
|
-
* @maximum 604800 (7 days, cannot exceed retentionSeconds)
|
|
377
|
-
*/
|
|
378
|
-
delaySeconds?: number;
|
|
379
|
-
/**
|
|
380
|
-
* Custom headers to include with this message.
|
|
381
|
-
* These headers are passed through to the VQS server.
|
|
382
|
-
*/
|
|
383
|
-
headers?: Record<string, string>;
|
|
384
|
-
/**
|
|
385
|
-
* **Experimental.** Sends `Vqs-Experimental-Concurrency-Key`: at most one
|
|
386
|
-
* push delivery per (topic, consumer group, key) is active at a time, and a
|
|
387
|
-
* keyed message claimed while another delivery holds its key is coalesced
|
|
388
|
-
* into that delivery instead of being delivered. A coalesced message is
|
|
389
|
-
* never delivered, so the sender must commit whatever it should cause
|
|
390
|
-
* before sending, where the holder reads it.
|
|
391
|
-
*
|
|
392
|
-
* The holder's acknowledgment fails while coalesced messages it has not
|
|
393
|
-
* covered are pending. Consume keyed messages with
|
|
394
|
-
* `experimental_maxCoalescedReruns`, which re-runs the handler with the
|
|
395
|
-
* lease held; otherwise the acknowledgment fails and the message is
|
|
396
|
-
* redelivered.
|
|
397
|
-
*
|
|
398
|
-
* Not supported on consumer groups with `maxConcurrency` or `maxAttempts`:
|
|
399
|
-
* the send is rejected with a 400.
|
|
400
|
-
*
|
|
401
|
-
* @maxLength 256
|
|
402
|
-
*/
|
|
403
|
-
experimental_concurrencyKey?: string;
|
|
404
|
-
/**
|
|
405
|
-
* OpenTelemetry overrides for this send only.
|
|
406
|
-
* `isEnabled` overrides the client-level setting; `metadata` is merged
|
|
407
|
-
* over client-level metadata (this send wins on key conflicts).
|
|
408
|
-
*/
|
|
409
|
-
telemetry?: SendTelemetryOptions;
|
|
410
|
-
/**
|
|
411
|
-
* **Experimental.** Ask the queue to claim the message for
|
|
412
|
-
* `experimental_hold.consumerGroup` on your behalf before `send` returns, so
|
|
413
|
-
* this process can run it now with the queue as the crash backstop.
|
|
414
|
-
*
|
|
415
|
-
* When the queue holds the message, the result has `experimental_held`: run
|
|
416
|
-
* it with `experimental_held.consume(handler)`, which renews the lease while
|
|
417
|
-
* the handler runs and acknowledges the message when it returns. If nothing
|
|
418
|
-
* renews the lease (this process crashes, or never calls `consume`), the
|
|
419
|
-
* message is delivered to that consumer group as usual about
|
|
420
|
-
* `visibilityTimeoutSeconds` after the last renewal. In every other case the
|
|
421
|
-
* result has `experimental_notHeld` instead and someone else runs the
|
|
422
|
-
* message: do not process it yourself.
|
|
423
|
-
*
|
|
424
|
-
* Cannot be combined with `delaySeconds`, and needs a transport that
|
|
425
|
-
* serializes to a `Buffer` (not `StreamTransport`). Always send an
|
|
426
|
-
* `idempotencyKey` with it: a send that fails with a network error may
|
|
427
|
-
* already have enqueued the message, so without a key its retry enqueues a
|
|
428
|
-
* second one and the work runs twice. Not requested in local development,
|
|
429
|
-
* where the message is delivered as usual.
|
|
430
|
-
*
|
|
431
|
-
* Needs a Queue Service with send-and-hold enabled; other servers ignore it
|
|
432
|
-
* and the result reports `experimental_notHeld: { reason: "unsupported" }`.
|
|
433
|
-
* This API may change in any minor release.
|
|
434
|
-
*
|
|
435
|
-
* @experimental
|
|
436
|
-
*/
|
|
437
|
-
experimental_hold?: ExperimentalHoldOptions;
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* **Experimental.** Options for {@link SendOptions.experimental_hold}.
|
|
441
|
-
*
|
|
442
|
-
* @experimental
|
|
443
|
-
*/
|
|
444
|
-
interface ExperimentalHoldOptions {
|
|
445
|
-
/**
|
|
446
|
-
* Consumer group to hold the message for: the group whose handler would
|
|
447
|
-
* otherwise receive it (for a Vercel trigger, the trigger's `consumer`).
|
|
448
|
-
* When the topic has registered consumers on the target deployment the group
|
|
449
|
-
* must be one of them, and it must not have `maxAttempts` configured;
|
|
450
|
-
* otherwise the send fails with a {@link BadRequestError} and the message is
|
|
451
|
-
* not enqueued.
|
|
452
|
-
* Must match pattern: `[A-Za-z0-9_-]+`
|
|
453
|
-
*/
|
|
454
|
-
consumerGroup: string;
|
|
455
|
-
/**
|
|
456
|
-
* The hold's lease, in seconds. While `experimental_held.consume()` runs,
|
|
457
|
-
* the SDK renews it every `min(60, max(10, visibilityTimeoutSeconds / 5))`
|
|
458
|
-
* seconds. If nothing renews it, the message is delivered to `consumerGroup`
|
|
459
|
-
* about this long after the last renewal. Cannot exceed `retentionSeconds`.
|
|
460
|
-
* @default 30
|
|
461
|
-
* @minimum 30
|
|
462
|
-
* @maximum 3600 (1 hour)
|
|
463
|
-
*/
|
|
464
|
-
visibilityTimeoutSeconds?: number;
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* **Experimental.** Why a send with `experimental_hold` did not come back
|
|
468
|
-
* holding the message. In every case something other than this process is
|
|
469
|
-
* responsible for the message, so the sender must not process it.
|
|
470
|
-
*
|
|
471
|
-
* - `unsupported`: the server ignored the hold (an older server, send-and-hold
|
|
472
|
-
* not enabled, or local development). The queue delivers the message.
|
|
473
|
-
* - `deferred`: the server accepted the message for deferred processing and
|
|
474
|
-
* returned no message ID. It is delivered once it is ingested.
|
|
475
|
-
* - `lost`: another claim on the message won the race, or the message's
|
|
476
|
-
* `experimental_concurrencyKey` was contended. The queue delivers it.
|
|
477
|
-
* - `coalesced`: the message's `experimental_concurrencyKey` is held by
|
|
478
|
-
* another live delivery, and this message was coalesced into it. That
|
|
479
|
-
* delivery covers the work; this message is **not** delivered on its own.
|
|
480
|
-
* - `concurrency_limited`: the consumer group has `maxConcurrency` and no
|
|
481
|
-
* delivery slot was free, so nothing was claimed. The queue delivers the
|
|
482
|
-
* message once a slot frees. A sender that is itself handling a delivery of
|
|
483
|
-
* a `maxConcurrency: 1` group holds the only slot until it acknowledges, so
|
|
484
|
-
* its hold always lands here.
|
|
485
|
-
* - `duplicate`: the idempotency key belongs to `originalMessageId`, which
|
|
486
|
-
* runs elsewhere.
|
|
487
|
-
* - `error`: the hold could not be taken, or its answer could not be read
|
|
488
|
-
* (including a status this SDK version does not know). The queue delivers
|
|
489
|
-
* the message once any lease taken for it lapses.
|
|
490
|
-
*
|
|
491
|
-
* @experimental
|
|
492
|
-
*/
|
|
493
|
-
type ExperimentalNotHeldReason = "unsupported" | "deferred" | "lost" | "coalesced" | "concurrency_limited" | "duplicate" | "error";
|
|
494
|
-
/**
|
|
495
|
-
* **Experimental.** A message the queue claimed for its sender before `send`
|
|
496
|
-
* returned. See {@link SendOptions.experimental_hold}.
|
|
497
|
-
*
|
|
498
|
-
* @experimental
|
|
499
|
-
*/
|
|
500
|
-
interface ExperimentalHeldMessage<T = unknown> {
|
|
501
|
-
/** ID of the held message. */
|
|
502
|
-
readonly messageId: string;
|
|
503
|
-
/** Consumer group the message is held for. */
|
|
504
|
-
readonly consumerGroup: string;
|
|
505
|
-
/** Receipt handle of the hold's lease. */
|
|
506
|
-
readonly receiptHandle: string;
|
|
507
|
-
/** Delivery attempt the hold counts as: `1`. */
|
|
508
|
-
readonly deliveryCount: number;
|
|
509
|
-
/** When the hold lapses unless something renews it (server time). */
|
|
510
|
-
readonly leaseExpiresAt: Date;
|
|
511
|
-
/**
|
|
512
|
-
* Run `handler` on the message here, exactly as a delivery to
|
|
513
|
-
* `consumerGroup` runs it: the SDK renews the lease while the handler runs,
|
|
514
|
-
* acknowledges the message when it returns, and calls `retry` when it
|
|
515
|
-
* throws. The handler gets the payload as a delivery would (deserialized
|
|
516
|
-
* from the bytes that were sent) and the same {@link MessageMetadata}.
|
|
517
|
-
*
|
|
518
|
-
* Resolves once the handler has settled and the message is acknowledged or
|
|
519
|
-
* rescheduled. Rejects with the handler's error when `retry` returns no
|
|
520
|
-
* directive; the hold then lapses and the queue delivers the message. Keep
|
|
521
|
-
* the invocation alive until it settles (for example with `waitUntil`).
|
|
522
|
-
*
|
|
523
|
-
* Call it at most once, and not after
|
|
524
|
-
* {@link ExperimentalHeldMessage.release}. Call it as soon as `send`
|
|
525
|
-
* returns: nothing renews the hold until it starts, so a hold that has
|
|
526
|
-
* already lapsed can be redelivered while the handler runs here.
|
|
527
|
-
*
|
|
528
|
-
* @throws {Error} When the message was already consumed or released.
|
|
529
|
-
*/
|
|
530
|
-
consume(handler: MessageHandler<T>, options?: {
|
|
531
|
-
/**
|
|
532
|
-
* Called when the handler throws. Return `{ afterSeconds: N }` to
|
|
533
|
-
* reschedule the message for redelivery after N seconds,
|
|
534
|
-
* `{ acknowledge: true }` to acknowledge it, or `undefined` to reject.
|
|
535
|
-
*/
|
|
536
|
-
retry?: RetryHandler;
|
|
537
|
-
} & ExperimentalCoalescedReruns): Promise<void>;
|
|
538
|
-
/**
|
|
539
|
-
* Give the message back to the queue without running it here: it becomes
|
|
540
|
-
* visible again after `delaySeconds` and is delivered to `consumerGroup` as
|
|
541
|
-
* usual (same `messageId`, next `deliveryCount`).
|
|
542
|
-
*
|
|
543
|
-
* A request that fails for a transient reason hands the hold back, so the
|
|
544
|
-
* call can be retried; otherwise the message waits out the whole lease
|
|
545
|
-
* instead of `delaySeconds`. A hold that is already lost stays released.
|
|
546
|
-
* Either way the hold lapses on its own if nothing renews it.
|
|
547
|
-
*
|
|
548
|
-
* After a transient failure, retry `release` rather than switching to
|
|
549
|
-
* {@link ExperimentalHeldMessage.consume}: the failed request may still have
|
|
550
|
-
* reached the queue, which then redelivers the message while it runs here.
|
|
551
|
-
*
|
|
552
|
-
* @param delaySeconds - Integer between 0 and 3600. Defaults to 0. Cannot
|
|
553
|
-
* outlive the message's retention.
|
|
554
|
-
* @throws {RangeError} When `delaySeconds` is out of range. No request is
|
|
555
|
-
* sent and the hold is still yours.
|
|
556
|
-
* @throws {Error} When the message was already consumed or released, or a
|
|
557
|
-
* release is already in flight.
|
|
558
|
-
* @throws {MessageNotAvailableError} When the hold was already lost (409).
|
|
559
|
-
* @throws {MessageNotFoundError} When the hold was already lost (404).
|
|
560
|
-
*/
|
|
561
|
-
release(delaySeconds?: number): Promise<void>;
|
|
562
|
-
}
|
|
563
|
-
interface SendMessageOptions<T = unknown> extends SendOptions {
|
|
564
|
-
/**
|
|
565
|
-
* The topic/queue name to send the message to.
|
|
566
|
-
* Must match pattern: `[A-Za-z0-9_-]+`
|
|
567
|
-
*/
|
|
568
|
-
queueName: string;
|
|
569
|
-
/**
|
|
570
|
-
* The message payload. Will be serialized using the provided transport.
|
|
571
|
-
*/
|
|
572
|
-
payload: T;
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* Result returned by `send()`.
|
|
576
|
-
*
|
|
577
|
-
* `messageId` is `null` when the server accepted the message for deferred
|
|
578
|
-
* processing (e.g. during a server-side outage) and no ID is available yet.
|
|
579
|
-
*/
|
|
580
|
-
interface SendResult<T = unknown> {
|
|
581
|
-
messageId: string | null;
|
|
582
|
-
/**
|
|
583
|
-
* **Experimental.** Present when the send asked for `experimental_hold` and
|
|
584
|
-
* the queue holds the message for this process. Run it with
|
|
585
|
-
* `experimental_held.consume(handler)`.
|
|
586
|
-
*
|
|
587
|
-
* @experimental
|
|
588
|
-
*/
|
|
589
|
-
experimental_held?: ExperimentalHeldMessage<T>;
|
|
590
|
-
/**
|
|
591
|
-
* **Experimental.** Present when the send asked for `experimental_hold` and
|
|
592
|
-
* did not get it. Someone else is responsible for the message: do not
|
|
593
|
-
* process it here. See {@link ExperimentalNotHeldReason}.
|
|
594
|
-
*
|
|
595
|
-
* @experimental
|
|
596
|
-
*/
|
|
597
|
-
experimental_notHeld?: {
|
|
598
|
-
reason: ExperimentalNotHeldReason;
|
|
599
|
-
/** For `duplicate`: the message the idempotency key belongs to. */
|
|
600
|
-
originalMessageId?: string;
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
/** One message in a batch send. Batch sends cannot hold messages. */
|
|
604
|
-
type BatchSendMessage<T = unknown> = Omit<SendMessageOptions<T>, "queueName" | "telemetry" | "experimental_hold">;
|
|
605
|
-
/** Options shared by the entire batch request. */
|
|
606
|
-
type BatchSendOptions = Pick<SendOptions, "telemetry">;
|
|
607
|
-
/**
|
|
608
|
-
* Result for one message in a successful batch request. Results are returned
|
|
609
|
-
* in the same order as the input messages.
|
|
610
|
-
*
|
|
611
|
-
* A request-level error does not return per-message results and can happen
|
|
612
|
-
* after the server accepted messages. Set `idempotencyKey` on every message
|
|
613
|
-
* from the first attempt to make the request safe to retry: the server
|
|
614
|
-
* deduplicates a republished message against the key it already saw. That
|
|
615
|
-
* covers publishing only; delivery stays at-least-once.
|
|
616
|
-
*/
|
|
617
|
-
type BatchSendResult = {
|
|
618
|
-
/** The message was accepted and has an assigned ID. */
|
|
619
|
-
status: "sent";
|
|
620
|
-
messageId: string;
|
|
621
|
-
} | {
|
|
622
|
-
/** The message was accepted for deferred processing without an ID. */
|
|
623
|
-
status: "deferred";
|
|
624
|
-
messageId: null;
|
|
625
|
-
} | {
|
|
626
|
-
/** The message was not accepted. */
|
|
627
|
-
status: "failed";
|
|
628
|
-
/** HTTP status describing why this message failed. */
|
|
629
|
-
statusCode: number;
|
|
630
|
-
/** Human-readable failure description. */
|
|
631
|
-
error: string;
|
|
632
|
-
/** Whether retrying this message may succeed. */
|
|
633
|
-
retryable: boolean;
|
|
634
|
-
};
|
|
635
|
-
interface Message<T = unknown> {
|
|
636
|
-
/**
|
|
637
|
-
* Unique message identifier. Used for receive-by-ID operations.
|
|
638
|
-
*/
|
|
639
|
-
messageId: string;
|
|
640
|
-
/**
|
|
641
|
-
* The deserialized message payload.
|
|
642
|
-
* Note: If using StreamTransport, ensure proper cleanup by calling
|
|
643
|
-
* `transport.finalize(payload)` when done processing, especially in error cases.
|
|
644
|
-
*/
|
|
645
|
-
payload: T;
|
|
646
|
-
/**
|
|
647
|
-
* Number of times this message has been delivered.
|
|
648
|
-
* Starts at 1 for the first delivery, increments on each retry.
|
|
649
|
-
*/
|
|
650
|
-
deliveryCount: number;
|
|
651
|
-
/**
|
|
652
|
-
* Timestamp when the message was created/published.
|
|
653
|
-
*/
|
|
654
|
-
createdAt: Date;
|
|
655
|
-
/**
|
|
656
|
-
* Timestamp when the message expires.
|
|
657
|
-
* Present in v2beta binary callback (`ce-vqsexpiresat` header) and
|
|
658
|
-
* V3 multipart/NDJSON responses (`Vqs-Expires-At` header / `expiresAt` field).
|
|
659
|
-
*/
|
|
660
|
-
expiresAt?: Date;
|
|
661
|
-
/**
|
|
662
|
-
* MIME type of the message content.
|
|
663
|
-
* Set by the transport's `contentType` property during publish.
|
|
664
|
-
*/
|
|
665
|
-
contentType: string;
|
|
666
|
-
/**
|
|
667
|
-
* Receipt handle (lease token) for this message delivery.
|
|
668
|
-
* Required for acknowledge and visibility extension operations.
|
|
669
|
-
* Valid only until the visibility timeout expires.
|
|
670
|
-
*/
|
|
671
|
-
receiptHandle: string;
|
|
672
|
-
/**
|
|
673
|
-
* **Experimental.** How many of this message's deliveries ended in a
|
|
674
|
-
* handoff (see {@link RetryDirective}). `deliveryCount` counts every
|
|
675
|
-
* delivery, handoffs included; `deliveryCount - experimental_handoffCount`
|
|
676
|
-
* is the number of attempts. Absent when no delivery handed off.
|
|
677
|
-
*/
|
|
678
|
-
experimental_handoffCount?: number;
|
|
679
|
-
}
|
|
680
|
-
/** Fallback position used when a consumer group has no cursor for a source shard. */
|
|
681
|
-
type CursorFallback = "earliest" | "latest";
|
|
682
|
-
/**
|
|
683
|
-
* Message metadata provided to handlers
|
|
684
|
-
*/
|
|
685
|
-
interface MessageMetadata {
|
|
686
|
-
messageId: string;
|
|
687
|
-
deliveryCount: number;
|
|
688
|
-
createdAt: Date;
|
|
689
|
-
expiresAt: Date;
|
|
690
|
-
topicName: string;
|
|
691
|
-
consumerGroup: string;
|
|
692
|
-
/** Vercel region the client is targeting. */
|
|
693
|
-
region: string;
|
|
694
|
-
/**
|
|
695
|
-
* **Experimental.** How many of this message's deliveries ended in a
|
|
696
|
-
* handoff. `deliveryCount - experimental_handoffCount` is the number of
|
|
697
|
-
* attempts. Absent when no delivery handed off.
|
|
698
|
-
*/
|
|
699
|
-
experimental_handoffCount?: number;
|
|
700
|
-
/**
|
|
701
|
-
* **Experimental.** Present when the handler runs again for the same
|
|
702
|
-
* delivery because its acknowledgment found coalesced messages pending
|
|
703
|
-
* (see {@link ExperimentalCoalescedReruns}). `rerun` counts the re-runs of
|
|
704
|
-
* this delivery, from 1. `coalescedCount` is how many messages had been
|
|
705
|
-
* coalesced into it when the acknowledgment was refused. The handler
|
|
706
|
-
* should re-read the state those messages' senders committed.
|
|
707
|
-
*/
|
|
708
|
-
experimental_coalesced?: {
|
|
709
|
-
rerun: number;
|
|
710
|
-
coalescedCount: number;
|
|
711
|
-
};
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* Instruction returned by a {@link RetryHandler} to control what happens
|
|
715
|
-
* to a message when the handler throws.
|
|
716
|
-
*
|
|
717
|
-
* - `{ afterSeconds: N }` — reschedule the message for redelivery after N seconds
|
|
718
|
-
* - `{ afterSeconds: 0, experimental_handoff: true }` — **experimental**: hand
|
|
719
|
-
* the message off to a redelivery that starts now. A handoff is not a
|
|
720
|
-
* failure: it counts toward neither the queue's retry backoff nor
|
|
721
|
-
* `maxAttempts`, and the redelivery reports it in
|
|
722
|
-
* `experimental_handoffCount`. Only a handoff that ends the lease now
|
|
723
|
-
* (`afterSeconds: 0`) counts as one; with a later `afterSeconds` the queue
|
|
724
|
-
* applies an ordinary reschedule. The queue bounds handoffs per message;
|
|
725
|
-
* past the bound a handoff is an ordinary reschedule.
|
|
726
|
-
* - `{ acknowledge: true }` — acknowledge the message so it is never retried
|
|
727
|
-
*/
|
|
728
|
-
type RetryDirective = {
|
|
729
|
-
afterSeconds: number;
|
|
730
|
-
experimental_handoff?: boolean;
|
|
731
|
-
} | {
|
|
732
|
-
acknowledge: true;
|
|
733
|
-
};
|
|
734
|
-
/**
|
|
735
|
-
* **Experimental.** Option for consuming messages sent with
|
|
736
|
-
* `experimental_concurrencyKey`.
|
|
737
|
-
*
|
|
738
|
-
* `experimental_maxCoalescedReruns` re-runs the handler, with the lease still
|
|
739
|
-
* held, when its acknowledgment is refused because messages with the
|
|
740
|
-
* delivery's key were coalesced into it. Each re-run sees
|
|
741
|
-
* `metadata.experimental_coalesced` and acknowledges again covering the count
|
|
742
|
-
* it was refused with. Past this many re-runs the refusal is treated like a
|
|
743
|
-
* handler error and passed to `retry` as a
|
|
744
|
-
* {@link ConcurrencyCoalescedPendingError}.
|
|
745
|
-
*
|
|
746
|
-
* `0` (the default) never re-runs, so a refused acknowledgment goes straight
|
|
747
|
-
* to `retry`. Every run gets the same payload: don't combine re-runs with a
|
|
748
|
-
* transport that streams it.
|
|
749
|
-
*/
|
|
750
|
-
interface ExperimentalCoalescedReruns {
|
|
751
|
-
experimental_maxCoalescedReruns?: number;
|
|
752
|
-
}
|
|
753
|
-
/**
|
|
754
|
-
* Called when the message handler throws an error.
|
|
755
|
-
* Return a {@link RetryDirective} to reschedule or acknowledge the message,
|
|
756
|
-
* or return `undefined` to let the error propagate normally.
|
|
757
|
-
*/
|
|
758
|
-
type RetryHandler = (error: unknown, metadata: MessageMetadata) => RetryDirective | void | undefined;
|
|
759
|
-
/**
|
|
760
|
-
* Message handler function type.
|
|
761
|
-
*
|
|
762
|
-
* Called once per message with the deserialized payload and metadata.
|
|
763
|
-
* Not called when the queue is empty — check the return value of `receive()` instead.
|
|
764
|
-
*/
|
|
765
|
-
type MessageHandler<T = unknown> = (message: T, metadata: MessageMetadata) => Promise<void> | void;
|
|
766
|
-
/**
|
|
767
|
-
* Result returned by `receive()`. Use `ok` to check if messages were processed.
|
|
768
|
-
*
|
|
769
|
-
* @example
|
|
770
|
-
* ```typescript
|
|
771
|
-
* const result = await receive("topic", "group", handler);
|
|
772
|
-
* if (result.ok) {
|
|
773
|
-
* // Messages were processed successfully
|
|
774
|
-
* } else if (result.reason === "empty") {
|
|
775
|
-
* // Queue had no messages available
|
|
776
|
-
* }
|
|
777
|
-
* ```
|
|
778
|
-
*/
|
|
779
|
-
type ReceiveResult = {
|
|
780
|
-
ok: true;
|
|
781
|
-
} | {
|
|
782
|
-
ok: false;
|
|
783
|
-
reason: "empty";
|
|
784
|
-
} | {
|
|
785
|
-
ok: false;
|
|
786
|
-
reason: "not_found";
|
|
787
|
-
messageId: string;
|
|
788
|
-
} | {
|
|
789
|
-
ok: false;
|
|
790
|
-
reason: "not_available";
|
|
791
|
-
messageId: string;
|
|
792
|
-
} | {
|
|
793
|
-
ok: false;
|
|
794
|
-
reason: "already_processed";
|
|
795
|
-
messageId: string;
|
|
796
|
-
};
|
|
797
|
-
/**
|
|
798
|
-
* Options for receiving a specific message by ID.
|
|
799
|
-
*/
|
|
800
|
-
interface ReceiveByIdOptions extends ExperimentalCoalescedReruns {
|
|
801
|
-
/** The specific message ID to consume */
|
|
802
|
-
messageId: string;
|
|
803
|
-
/**
|
|
804
|
-
* Message lock duration in seconds.
|
|
805
|
-
* @default 300 (5 minutes)
|
|
806
|
-
* @minimum 30
|
|
807
|
-
* @maximum 3600 (1 hour)
|
|
808
|
-
*/
|
|
809
|
-
visibilityTimeoutSeconds?: number;
|
|
810
|
-
/**
|
|
811
|
-
* Called when the handler throws. Return `{ afterSeconds: N }` to reschedule
|
|
812
|
-
* the message for redelivery after N seconds, or return `undefined`
|
|
813
|
-
* to let the error propagate normally.
|
|
814
|
-
*/
|
|
815
|
-
retry?: RetryHandler;
|
|
816
|
-
}
|
|
817
|
-
/**
|
|
818
|
-
* Options for receiving messages from the queue with an optional batch limit.
|
|
819
|
-
*/
|
|
820
|
-
interface ReceiveBatchOptions extends ExperimentalCoalescedReruns {
|
|
821
|
-
/**
|
|
822
|
-
* Maximum number of messages to retrieve in a single request.
|
|
823
|
-
* @default 1
|
|
824
|
-
* @minimum 1
|
|
825
|
-
* @maximum 10
|
|
826
|
-
*/
|
|
827
|
-
limit?: number;
|
|
828
|
-
/**
|
|
829
|
-
* Message lock duration in seconds.
|
|
830
|
-
* @default 300 (5 minutes)
|
|
831
|
-
* @minimum 30
|
|
832
|
-
* @maximum 3600 (1 hour)
|
|
833
|
-
*/
|
|
834
|
-
visibilityTimeoutSeconds?: number;
|
|
835
|
-
/**
|
|
836
|
-
* Position to use when a source-shard cursor is missing. Existing cursors are
|
|
837
|
-
* never reset. This option applies only to polling receives.
|
|
838
|
-
*/
|
|
839
|
-
cursorFallback?: CursorFallback;
|
|
840
|
-
/**
|
|
841
|
-
* Called when the handler throws. Return `{ afterSeconds: N }` to reschedule
|
|
842
|
-
* the message for redelivery after N seconds, or return `undefined`
|
|
843
|
-
* to let the error propagate normally.
|
|
844
|
-
*/
|
|
845
|
-
retry?: RetryHandler;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Options for the receive method. Either receive by message ID or receive
|
|
849
|
-
* from the queue with an optional limit. These options are mutually exclusive.
|
|
850
|
-
*/
|
|
851
|
-
type ReceiveOptions = ReceiveByIdOptions | ReceiveBatchOptions;
|
|
852
|
-
/**
|
|
853
|
-
* Error thrown when a message does not exist or has expired.
|
|
854
|
-
*/
|
|
855
|
-
declare class MessageNotFoundError extends Error {
|
|
856
|
-
constructor(messageId: string);
|
|
857
|
-
}
|
|
858
|
-
/**
|
|
859
|
-
* Error thrown when a message exists but cannot be processed.
|
|
860
|
-
* This can happen when the message is in the wrong state or already claimed by another consumer.
|
|
861
|
-
*/
|
|
862
|
-
declare class MessageNotAvailableError extends Error {
|
|
863
|
-
constructor(messageId: string, reason?: string);
|
|
864
|
-
}
|
|
865
|
-
/**
|
|
866
|
-
* Error thrown when message data is corrupted or can't be parsed
|
|
867
|
-
*/
|
|
868
|
-
declare class MessageCorruptedError extends Error {
|
|
869
|
-
constructor(messageId: string, reason: string);
|
|
870
|
-
}
|
|
871
|
-
/**
|
|
872
|
-
* Error thrown when there are no messages available in the queue.
|
|
873
|
-
*/
|
|
874
|
-
declare class QueueEmptyError extends Error {
|
|
875
|
-
constructor(queueName: string, consumerGroup: string);
|
|
876
|
-
}
|
|
877
|
-
/**
|
|
878
|
-
* Error thrown when a message is temporarily locked by another consumer.
|
|
879
|
-
* The message is currently being processed and cannot be claimed.
|
|
880
|
-
*/
|
|
881
|
-
declare class MessageLockedError extends MessageNotAvailableError {
|
|
882
|
-
/** Suggested retry delay in seconds, if provided by the server. */
|
|
883
|
-
readonly retryAfter?: number;
|
|
884
|
-
constructor(messageId: string, retryAfter?: number);
|
|
885
|
-
}
|
|
886
|
-
/**
|
|
887
|
-
* **Experimental.** Thrown when an acknowledgment is refused because more
|
|
888
|
-
* messages were coalesced into this delivery than it covered (see
|
|
889
|
-
* `experimental_concurrencyKey`). The message is not acknowledged and the
|
|
890
|
-
* lease is still held: re-read state, then acknowledge again with
|
|
891
|
-
* `experimental_ifCoalesced` set to {@link coalescedCount}.
|
|
892
|
-
*/
|
|
893
|
-
declare class ConcurrencyCoalescedPendingError extends MessageNotAvailableError {
|
|
894
|
-
/** How many messages were coalesced into this delivery. */
|
|
895
|
-
readonly coalescedCount: number;
|
|
896
|
-
constructor(messageId: string, coalescedCount: number);
|
|
897
|
-
}
|
|
898
|
-
/**
|
|
899
|
-
* Error thrown when the server rate-limits a request (HTTP 429).
|
|
900
|
-
*/
|
|
901
|
-
declare class TooManyRequestsError extends Error {
|
|
902
|
-
/** Suggested retry delay in seconds, from the Retry-After header, if sent. */
|
|
903
|
-
readonly retryAfter?: number;
|
|
904
|
-
constructor(message?: string, retryAfter?: number);
|
|
905
|
-
}
|
|
906
|
-
/**
|
|
907
|
-
* Error thrown when authentication fails.
|
|
908
|
-
* This typically means the token is missing, invalid, or expired.
|
|
909
|
-
*/
|
|
910
|
-
declare class UnauthorizedError extends Error {
|
|
911
|
-
constructor(message?: string);
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* Error thrown when access is forbidden.
|
|
915
|
-
* This typically means the queue belongs to a different environment or project.
|
|
916
|
-
*/
|
|
917
|
-
declare class ForbiddenError extends Error {
|
|
918
|
-
constructor(message?: string);
|
|
919
|
-
}
|
|
920
|
-
/**
|
|
921
|
-
* Error thrown when request parameters are invalid.
|
|
922
|
-
*/
|
|
923
|
-
declare class BadRequestError extends Error {
|
|
924
|
-
constructor(message: string);
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
* Error thrown when a request payload is too large.
|
|
928
|
-
*
|
|
929
|
-
* The queue API does not itself return 413. The status comes from the Vercel
|
|
930
|
-
* platform, which rejects request bodies above 4.5 MB with
|
|
931
|
-
* `FUNCTION_PAYLOAD_TOO_LARGE` before they reach the API. Batch sends are the
|
|
932
|
-
* most likely to hit it, because the limit applies to the combined size of
|
|
933
|
-
* every message in the request rather than to any single message.
|
|
934
|
-
*/
|
|
935
|
-
declare class PayloadTooLargeError extends Error {
|
|
936
|
-
constructor(message: string);
|
|
937
|
-
}
|
|
938
|
-
/**
|
|
939
|
-
* Error thrown when the server encounters an unexpected error.
|
|
940
|
-
*/
|
|
941
|
-
declare class InternalServerError extends Error {
|
|
942
|
-
constructor(message?: string);
|
|
943
|
-
}
|
|
944
|
-
/**
|
|
945
|
-
* Error thrown when the batch limit parameter is outside the valid range.
|
|
946
|
-
* The limit must be between 1 and 10 (inclusive).
|
|
947
|
-
*/
|
|
948
|
-
declare class InvalidLimitError extends Error {
|
|
949
|
-
constructor(limit: number, min?: number, max?: number);
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* Error thrown when attempting to process a message that has already been successfully processed.
|
|
953
|
-
*/
|
|
954
|
-
declare class MessageAlreadyProcessedError extends Error {
|
|
955
|
-
constructor(messageId: string);
|
|
956
|
-
}
|
|
957
|
-
/**
|
|
958
|
-
* Error thrown when consumer discovery fails.
|
|
959
|
-
* This typically means the deployment could not be reached or is not configured correctly.
|
|
960
|
-
*/
|
|
961
|
-
declare class ConsumerDiscoveryError extends Error {
|
|
962
|
-
readonly deploymentId?: string;
|
|
963
|
-
constructor(message: string, deploymentId?: string);
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
* Error thrown when the consumer registry is not configured for the project.
|
|
967
|
-
*/
|
|
968
|
-
declare class ConsumerRegistryNotConfiguredError extends Error {
|
|
969
|
-
constructor(message?: string);
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
type CallbackRequestInput$1 = Request | {
|
|
973
|
-
request: Request;
|
|
974
|
-
};
|
|
975
|
-
/**
|
|
976
|
-
* Queue client for push-based (callback) workflows.
|
|
977
|
-
*
|
|
978
|
-
* Use this client when Vercel delivers messages to your route handlers.
|
|
979
|
-
* Provides {@link send}, {@link handleCallback}, and {@link handleNodeCallback}.
|
|
980
|
-
*
|
|
981
|
-
* Region is resolved automatically:
|
|
982
|
-
* 1. Explicit `region` option (highest priority)
|
|
983
|
-
* 2. `VERCEL_REGION` environment variable (set automatically on Vercel)
|
|
984
|
-
* 3. Falls back to `"iad1"` with a console warning
|
|
985
|
-
*
|
|
986
|
-
* No explicit region is required. Construction validates the resolved region
|
|
987
|
-
* and, during local resource detection, `VERCEL_QUEUE_BASE_URL`. An invalid
|
|
988
|
-
* region or malformed injected URL throws immediately; an explicit
|
|
989
|
-
* `resolveBaseUrl` overrides the injected URL. Errors thrown by that resolver
|
|
990
|
-
* also propagate. Authentication and deployment ID checks are deferred until
|
|
991
|
-
* an API operation needs them.
|
|
992
|
-
*
|
|
993
|
-
* For manual polling workflows, use {@link PollingQueueClient} instead.
|
|
994
|
-
*
|
|
995
|
-
* @example
|
|
996
|
-
* ```typescript
|
|
997
|
-
* import { QueueClient } from "@vercel/queue";
|
|
998
|
-
*
|
|
999
|
-
* const queue = new QueueClient();
|
|
1000
|
-
* export const { send, handleCallback, handleNodeCallback } = queue;
|
|
1001
|
-
* ```
|
|
1002
|
-
*/
|
|
1003
|
-
declare class QueueClient {
|
|
1004
|
-
constructor(options?: QueueClientOptions);
|
|
1005
|
-
/**
|
|
1006
|
-
* Send a message to a topic.
|
|
1007
|
-
*
|
|
1008
|
-
* This is an arrow function property so it can be destructured:
|
|
1009
|
-
* ```typescript
|
|
1010
|
-
* const { send } = new QueueClient();
|
|
1011
|
-
* await send("my-topic", payload);
|
|
1012
|
-
* ```
|
|
1013
|
-
*
|
|
1014
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1015
|
-
* @param payload - The data to send (serialized via the configured transport)
|
|
1016
|
-
* @param options - Optional send options (idempotencyKey, retentionSeconds,
|
|
1017
|
-
* delaySeconds, headers, and the experimental `experimental_hold`)
|
|
1018
|
-
* @returns `{ messageId }` — `messageId` is `null` when the server accepted
|
|
1019
|
-
* the message for deferred processing (no ID available yet). With
|
|
1020
|
-
* `experimental_hold`, also `experimental_held` or `experimental_notHeld`.
|
|
1021
|
-
*/
|
|
1022
|
-
send: <T = unknown>(topicName: string, payload: T, options?: SendOptions) => Promise<SendResult<T>>;
|
|
1023
|
-
/**
|
|
1024
|
-
* Send up to 100 messages to a topic in one HTTP request.
|
|
1025
|
-
*
|
|
1026
|
-
* Results are returned in input order. A valid batch may contain a mix of
|
|
1027
|
-
* sent, deferred, and failed entries; inspect every result.
|
|
1028
|
-
*
|
|
1029
|
-
* This is an arrow function property so it can be destructured:
|
|
1030
|
-
* ```typescript
|
|
1031
|
-
* const { sendBatch } = new QueueClient();
|
|
1032
|
-
* const results = await sendBatch("my-topic", [{ payload }]);
|
|
1033
|
-
* ```
|
|
1034
|
-
*
|
|
1035
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1036
|
-
* @param messages - Between 1 and 100 messages, each with a `payload` and
|
|
1037
|
-
* the same per-message options as {@link send}
|
|
1038
|
-
* @param options - Optional batch-wide options (telemetry)
|
|
1039
|
-
* @returns One {@link BatchSendResult} per input message, in input order
|
|
1040
|
-
*/
|
|
1041
|
-
sendBatch: <T = unknown>(topicName: string, messages: readonly BatchSendMessage<T>[], options?: BatchSendOptions) => Promise<BatchSendResult[]>;
|
|
1042
|
-
/**
|
|
1043
|
-
* Send up to 100 messages to a topic in one HTTP request.
|
|
1044
|
-
*
|
|
1045
|
-
* @deprecated Batch sends are stable. Use {@link sendBatch} instead; this
|
|
1046
|
-
* alias behaves identically and is kept for backwards compatibility.
|
|
1047
|
-
*/
|
|
1048
|
-
experimental_sendBatch: <T = unknown>(topicName: string, messages: readonly BatchSendMessage<T>[], options?: BatchSendOptions) => Promise<BatchSendResult[]>;
|
|
1049
|
-
/**
|
|
1050
|
-
* Create a Web API route handler for processing queue callback messages.
|
|
1051
|
-
*
|
|
1052
|
-
* Parses incoming `Request` as a CloudEvent and invokes the handler.
|
|
1053
|
-
* For use on Vercel — Vercel invokes this route when messages are available.
|
|
1054
|
-
*
|
|
1055
|
-
* This is an arrow function property so it can be destructured:
|
|
1056
|
-
* ```typescript
|
|
1057
|
-
* const { handleCallback } = new QueueClient();
|
|
1058
|
-
* export const POST = handleCallback(handler);
|
|
1059
|
-
* ```
|
|
1060
|
-
*
|
|
1061
|
-
* @param handler - Function to process the message payload and metadata
|
|
1062
|
-
* @param options - Optional configuration
|
|
1063
|
-
* @param options.visibilityTimeoutSeconds - Message lock duration (default: 300, max: 3600)
|
|
1064
|
-
* @param options.retry - Called when the handler throws. Return `{ afterSeconds: N }` to
|
|
1065
|
-
* reschedule the message for redelivery after N seconds.
|
|
1066
|
-
* @returns A route handler that accepts either `Request` or `{ request: Request }`
|
|
1067
|
-
*/
|
|
1068
|
-
handleCallback: <T = unknown>(handler: MessageHandler<T>, options?: {
|
|
1069
|
-
visibilityTimeoutSeconds?: number;
|
|
1070
|
-
retry?: RetryHandler;
|
|
1071
|
-
} & ExperimentalCoalescedReruns) => ((requestOrEvent: CallbackRequestInput$1) => Promise<Response>);
|
|
1072
|
-
/**
|
|
1073
|
-
* Create a Connect-style route handler for processing queue callback messages.
|
|
1074
|
-
* For use on Vercel — Vercel invokes this route when messages are available.
|
|
1075
|
-
*
|
|
1076
|
-
* For frameworks using the `(req, res)` middleware pattern where `req.body`
|
|
1077
|
-
* is pre-parsed (Next.js Pages Router, etc.).
|
|
1078
|
-
*
|
|
1079
|
-
* This is an arrow function property so it can be destructured:
|
|
1080
|
-
* ```typescript
|
|
1081
|
-
* const { handleNodeCallback } = new QueueClient();
|
|
1082
|
-
* app.post("/api/queue", handleNodeCallback(handler));
|
|
1083
|
-
* ```
|
|
1084
|
-
*
|
|
1085
|
-
* @param handler - Function to process the message payload and metadata
|
|
1086
|
-
* @param options - Optional configuration
|
|
1087
|
-
* @param options.visibilityTimeoutSeconds - Message lock duration (default: 300, max: 3600)
|
|
1088
|
-
* @param options.retry - Called when the handler throws. Return `{ afterSeconds: N }` to
|
|
1089
|
-
* reschedule the message for redelivery after N seconds.
|
|
1090
|
-
* @returns A `(req, res) => Promise<void>` route handler
|
|
1091
|
-
*/
|
|
1092
|
-
handleNodeCallback: <T = unknown>(handler: MessageHandler<T>, options?: {
|
|
1093
|
-
visibilityTimeoutSeconds?: number;
|
|
1094
|
-
retry?: RetryHandler;
|
|
1095
|
-
} & ExperimentalCoalescedReruns) => ((req: {
|
|
1096
|
-
method?: string;
|
|
1097
|
-
headers: Record<string, string | string[] | undefined>;
|
|
1098
|
-
body?: unknown;
|
|
1099
|
-
}, res: {
|
|
1100
|
-
status(code: number): {
|
|
1101
|
-
json(data: unknown): void;
|
|
1102
|
-
end(): void;
|
|
1103
|
-
};
|
|
1104
|
-
end(): void;
|
|
1105
|
-
}) => Promise<void>);
|
|
1106
|
-
}
|
|
1107
|
-
/**
|
|
1108
|
-
* Queue client for poll-based (manual receive) workflows.
|
|
1109
|
-
*
|
|
1110
|
-
* Use this client when you manually poll for messages with {@link receive}.
|
|
1111
|
-
* Also provides {@link send} for publishing messages.
|
|
1112
|
-
*
|
|
1113
|
-
* Region is **required** because messages can only be received from the
|
|
1114
|
-
* region they were sent to. Use a fixed region (e.g. `"iad1"`) for both
|
|
1115
|
-
* sending and receiving.
|
|
1116
|
-
*
|
|
1117
|
-
* For push-based (callback) workflows on Vercel, use {@link QueueClient} instead.
|
|
1118
|
-
*
|
|
1119
|
-
* @example
|
|
1120
|
-
* ```typescript
|
|
1121
|
-
* import { PollingQueueClient } from "@vercel/queue";
|
|
1122
|
-
*
|
|
1123
|
-
* const queue = new PollingQueueClient({ region: "iad1" });
|
|
1124
|
-
* export const { send, receive } = queue;
|
|
1125
|
-
* ```
|
|
1126
|
-
*/
|
|
1127
|
-
declare class PollingQueueClient {
|
|
1128
|
-
constructor(options: PollingQueueClientOptions);
|
|
1129
|
-
/**
|
|
1130
|
-
* Send a message to a topic.
|
|
1131
|
-
*
|
|
1132
|
-
* This is an arrow function property so it can be destructured:
|
|
1133
|
-
* ```typescript
|
|
1134
|
-
* const { send } = new PollingQueueClient({ region: "iad1" });
|
|
1135
|
-
* await send("my-topic", payload);
|
|
1136
|
-
* ```
|
|
1137
|
-
*
|
|
1138
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1139
|
-
* @param payload - The data to send (serialized via the configured transport)
|
|
1140
|
-
* @param options - Optional send options (idempotencyKey, retentionSeconds,
|
|
1141
|
-
* delaySeconds, headers, and the experimental `experimental_hold`)
|
|
1142
|
-
* @returns `{ messageId }` — `messageId` is `null` when the server accepted
|
|
1143
|
-
* the message for deferred processing (no ID available yet). With
|
|
1144
|
-
* `experimental_hold`, also `experimental_held` or `experimental_notHeld`.
|
|
1145
|
-
*/
|
|
1146
|
-
send: <T = unknown>(topicName: string, payload: T, options?: SendOptions) => Promise<SendResult<T>>;
|
|
1147
|
-
/**
|
|
1148
|
-
* Send up to 100 messages to a topic in one HTTP request.
|
|
1149
|
-
*
|
|
1150
|
-
* Results are returned in input order. A valid batch may contain a mix of
|
|
1151
|
-
* sent, deferred, and failed entries; inspect every result.
|
|
1152
|
-
*
|
|
1153
|
-
* This is an arrow function property so it can be destructured:
|
|
1154
|
-
* ```typescript
|
|
1155
|
-
* const { sendBatch } = new PollingQueueClient({ region: "iad1" });
|
|
1156
|
-
* const results = await sendBatch("my-topic", [{ payload }]);
|
|
1157
|
-
* ```
|
|
1158
|
-
*
|
|
1159
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1160
|
-
* @param messages - Between 1 and 100 messages, each with a `payload` and
|
|
1161
|
-
* the same per-message options as {@link send}
|
|
1162
|
-
* @param options - Optional batch-wide options (telemetry)
|
|
1163
|
-
* @returns One {@link BatchSendResult} per input message, in input order
|
|
1164
|
-
*/
|
|
1165
|
-
sendBatch: <T = unknown>(topicName: string, messages: readonly BatchSendMessage<T>[], options?: BatchSendOptions) => Promise<BatchSendResult[]>;
|
|
1166
|
-
/**
|
|
1167
|
-
* Send up to 100 messages to a topic in one HTTP request.
|
|
1168
|
-
*
|
|
1169
|
-
* @deprecated Batch sends are stable. Use {@link sendBatch} instead; this
|
|
1170
|
-
* alias behaves identically and is kept for backwards compatibility.
|
|
1171
|
-
*/
|
|
1172
|
-
experimental_sendBatch: <T = unknown>(topicName: string, messages: readonly BatchSendMessage<T>[], options?: BatchSendOptions) => Promise<BatchSendResult[]>;
|
|
1173
|
-
/**
|
|
1174
|
-
* Receive and process messages from a topic.
|
|
1175
|
-
*
|
|
1176
|
-
* Each message is automatically locked, kept alive via periodic visibility
|
|
1177
|
-
* extensions during processing, and acknowledged upon successful handler completion.
|
|
1178
|
-
* The handler is not called when the queue is empty — check `result.ok` instead.
|
|
1179
|
-
*
|
|
1180
|
-
* This is an arrow function property so it can be destructured:
|
|
1181
|
-
* ```typescript
|
|
1182
|
-
* const { receive } = new PollingQueueClient({ region: "iad1" });
|
|
1183
|
-
* const result = await receive("my-topic", "my-group", handler);
|
|
1184
|
-
* if (!result.ok) console.log(result.reason);
|
|
1185
|
-
* ```
|
|
1186
|
-
*
|
|
1187
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1188
|
-
* @param consumerGroup - Name of the consumer group (pattern: `[A-Za-z0-9_-]+`)
|
|
1189
|
-
* @param handler - Function to process each message payload and metadata.
|
|
1190
|
-
* Not called when the queue is empty.
|
|
1191
|
-
* @param options - Optional receive options (visibilityTimeoutSeconds, limit, or messageId)
|
|
1192
|
-
* @returns Discriminated result: `{ ok: true }` on success, `{ ok: false, reason }` otherwise
|
|
1193
|
-
*/
|
|
1194
|
-
receive: <T = unknown>(topicName: string, consumerGroup: string, handler: MessageHandler<T>, options?: ReceiveOptions) => Promise<ReceiveResult>;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
type CallbackRequestInput = Request | {
|
|
1198
|
-
request: Request;
|
|
1199
|
-
};
|
|
1200
|
-
/**
|
|
1201
|
-
* Send a message to a topic using the default auto-configured client.
|
|
1202
|
-
*
|
|
1203
|
-
* The default client auto-detects the region from `VERCEL_REGION`,
|
|
1204
|
-
* falling back to `"iad1"` with a console warning on first use.
|
|
1205
|
-
*
|
|
1206
|
-
* This is an arrow function–free alternative to destructuring from a
|
|
1207
|
-
* {@link QueueClient} instance — import and use directly:
|
|
1208
|
-
* ```typescript
|
|
1209
|
-
* import { send } from "@vercel/queue";
|
|
1210
|
-
* await send("my-topic", { hello: "world" });
|
|
1211
|
-
* ```
|
|
1212
|
-
*
|
|
1213
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1214
|
-
* @param payload - The data to send (serialized via JsonTransport)
|
|
1215
|
-
* @param options - Optional send options. Pass `region` to route to a specific region.
|
|
1216
|
-
* @returns `{ messageId }` — `messageId` is `null` when the server accepted
|
|
1217
|
-
* the message for deferred processing. With `experimental_hold`, also
|
|
1218
|
-
* `experimental_held` or `experimental_notHeld`.
|
|
1219
|
-
*/
|
|
1220
|
-
declare function send<T = unknown>(topicName: string, payload: T, options?: SendOptions & {
|
|
1221
|
-
region?: VercelRegion;
|
|
1222
|
-
}): Promise<SendResult<T>>;
|
|
1223
|
-
/**
|
|
1224
|
-
* Send up to 100 messages in one HTTP request using the default
|
|
1225
|
-
* auto-configured client.
|
|
1226
|
-
*
|
|
1227
|
-
* The default client auto-detects the region from `VERCEL_REGION`,
|
|
1228
|
-
* falling back to `"iad1"` with a console warning on first use.
|
|
1229
|
-
*
|
|
1230
|
-
* Results are returned in input order. A valid batch may contain a mix of
|
|
1231
|
-
* sent, deferred, and failed entries, so inspect every result:
|
|
1232
|
-
* ```typescript
|
|
1233
|
-
* import { sendBatch } from "@vercel/queue";
|
|
1234
|
-
*
|
|
1235
|
-
* const results = await sendBatch("orders", [
|
|
1236
|
-
* { payload: { orderId: 1 } },
|
|
1237
|
-
* { payload: { orderId: 2 }, idempotencyKey: "order-2", delaySeconds: 60 },
|
|
1238
|
-
* ]);
|
|
1239
|
-
*
|
|
1240
|
-
* results.forEach((result, index) => {
|
|
1241
|
-
* if (result.status === "failed" && result.retryable) {
|
|
1242
|
-
* // retry messages[index]
|
|
1243
|
-
* }
|
|
1244
|
-
* });
|
|
1245
|
-
* ```
|
|
1246
|
-
*
|
|
1247
|
-
* @param topicName - Name of the topic (pattern: `[A-Za-z0-9_-]+`)
|
|
1248
|
-
* @param messages - Between 1 and 100 messages, each with a `payload` and the
|
|
1249
|
-
* same per-message options as {@link send}
|
|
1250
|
-
* @param options - Optional batch options. Pass `region` to route the whole
|
|
1251
|
-
* batch to a specific region.
|
|
1252
|
-
* @returns One {@link BatchSendResult} per input message, in input order
|
|
1253
|
-
*/
|
|
1254
|
-
declare function sendBatch<T = unknown>(topicName: string, messages: readonly BatchSendMessage<T>[], options?: BatchSendOptions & {
|
|
1255
|
-
region?: VercelRegion;
|
|
1256
|
-
}): Promise<BatchSendResult[]>;
|
|
1257
|
-
/**
|
|
1258
|
-
* Send up to 100 messages in one HTTP request using the default
|
|
1259
|
-
* auto-configured client.
|
|
1260
|
-
*
|
|
1261
|
-
* @deprecated Batch sends are stable. Use {@link sendBatch} instead; this
|
|
1262
|
-
* alias behaves identically and is kept for backwards compatibility.
|
|
1263
|
-
*/
|
|
1264
|
-
declare const experimental_sendBatch: typeof sendBatch;
|
|
1265
|
-
/**
|
|
1266
|
-
* Create a Web API route handler for processing queue callback messages
|
|
1267
|
-
* using the default auto-configured client.
|
|
1268
|
-
*
|
|
1269
|
-
* The default client auto-detects the region from `VERCEL_REGION`,
|
|
1270
|
-
* falling back to `"iad1"` with a console warning on first use.
|
|
1271
|
-
* The callback region is determined automatically from the incoming
|
|
1272
|
-
* `ce-vqsregion` header in the v2beta event — no manual configuration needed.
|
|
1273
|
-
*
|
|
1274
|
-
* This is an arrow function–free alternative to destructuring from a
|
|
1275
|
-
* {@link QueueClient} instance — import and use directly:
|
|
1276
|
-
* ```typescript
|
|
1277
|
-
* import { handleCallback } from "@vercel/queue";
|
|
1278
|
-
* export const POST = handleCallback(async (message, metadata) => {
|
|
1279
|
-
* console.log("Processing:", message);
|
|
1280
|
-
* });
|
|
1281
|
-
* ```
|
|
1282
|
-
*
|
|
1283
|
-
* @param handler - Function to process the message payload and metadata
|
|
1284
|
-
* @param options - Optional configuration (visibilityTimeoutSeconds, retry,
|
|
1285
|
-
* experimental_maxCoalescedReruns)
|
|
1286
|
-
* @returns A route handler that accepts either `Request` or `{ request: Request }`
|
|
1287
|
-
*/
|
|
1288
|
-
declare function handleCallback<T = unknown>(handler: MessageHandler<T>, options?: {
|
|
1289
|
-
visibilityTimeoutSeconds?: number;
|
|
1290
|
-
retry?: RetryHandler;
|
|
1291
|
-
} & ExperimentalCoalescedReruns): (requestOrEvent: CallbackRequestInput) => Promise<Response>;
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* Options for {@link registerDevConsumer}.
|
|
1295
|
-
*/
|
|
1296
|
-
interface RegisterDevConsumerOptions {
|
|
1297
|
-
/**
|
|
1298
|
-
* Topic name to subscribe to. Supports wildcard patterns (e.g. `"user-*"`).
|
|
1299
|
-
*/
|
|
1300
|
-
topic: string;
|
|
1301
|
-
/**
|
|
1302
|
-
* The QueueClient instance used for callback processing (visibility
|
|
1303
|
-
* extensions, acks, etc.). Messages delivered to the handler are fetched
|
|
1304
|
-
* via this client.
|
|
1305
|
-
*/
|
|
1306
|
-
client: QueueClient;
|
|
1307
|
-
/**
|
|
1308
|
-
* Function invoked with each message delivered to the topic.
|
|
1309
|
-
*/
|
|
1310
|
-
handler: MessageHandler;
|
|
1311
|
-
/**
|
|
1312
|
-
* Logical identifier for this consumer. Multiple consumers for the same
|
|
1313
|
-
* topic must use distinct groups; re-registering with the same group
|
|
1314
|
-
* replaces the previous handler (useful for HMR).
|
|
1315
|
-
*
|
|
1316
|
-
* @default "dev-consumer"
|
|
1317
|
-
*/
|
|
1318
|
-
consumerGroup?: string;
|
|
1319
|
-
/**
|
|
1320
|
-
* Lock duration for in-flight messages. Forwarded to `coreHandleCallback`.
|
|
1321
|
-
*/
|
|
1322
|
-
visibilityTimeoutSeconds?: number;
|
|
1323
|
-
/**
|
|
1324
|
-
* Called when the handler throws. Return `{ afterSeconds: N }` to schedule
|
|
1325
|
-
* local re-delivery, or `{ acknowledge: true }` to drop the message.
|
|
1326
|
-
*/
|
|
1327
|
-
retry?: RetryHandler;
|
|
1328
|
-
/** **Experimental.** See {@link ExperimentalCoalescedReruns}. */
|
|
1329
|
-
experimental_maxCoalescedReruns?: number;
|
|
1330
|
-
}
|
|
1331
|
-
/**
|
|
1332
|
-
* Register a consumer for a topic without relying on `vercel.json` route
|
|
1333
|
-
* discovery or stack-trace-based caller detection.
|
|
1334
|
-
*
|
|
1335
|
-
* Intended for framework integrations (e.g. Nitro) where queue handlers are
|
|
1336
|
-
* wired through a central dispatcher rather than per-file `handleCallback()`
|
|
1337
|
-
* calls. The caller supplies the topic and a handler; `send()` in dev mode
|
|
1338
|
-
* will route messages through it via the same retry/re-delivery machinery
|
|
1339
|
-
* used for file-discovered handlers.
|
|
1340
|
-
*
|
|
1341
|
-
* Call only when `isDevMode()` is true. In production this has no effect on
|
|
1342
|
-
* routing — messages are delivered by the Vercel Queue Service directly.
|
|
1343
|
-
* For clients connected to an injected local broker, registration is a no-op;
|
|
1344
|
-
* the broker delivers messages through the framework's HTTP callback route.
|
|
1345
|
-
*
|
|
1346
|
-
* @returns An unregister function. Calling it removes the handler that this
|
|
1347
|
-
* call registered; if the entry was replaced (via re-registration with the
|
|
1348
|
-
* same `consumerGroup`), the unregister is a no-op.
|
|
1349
|
-
*
|
|
1350
|
-
* @example
|
|
1351
|
-
* ```ts
|
|
1352
|
-
* const unregister = registerDevConsumer({
|
|
1353
|
-
* topic: "orders",
|
|
1354
|
-
* client,
|
|
1355
|
-
* handler: async (message, metadata) => {
|
|
1356
|
-
* await dispatch(message, metadata);
|
|
1357
|
-
* },
|
|
1358
|
-
* consumerGroup: "nitro-vercel-queue",
|
|
1359
|
-
* });
|
|
1360
|
-
* ```
|
|
1361
|
-
*/
|
|
1362
|
-
declare function registerDevConsumer(options: RegisterDevConsumerOptions): () => void;
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* Core queue callback utilities for handling incoming webhook payloads
|
|
1366
|
-
* from Vercel triggers using the CloudEvent specification.
|
|
1367
|
-
*
|
|
1368
|
-
* This module provides the framework-agnostic core. For framework-specific
|
|
1369
|
-
* wrappers, see `@vercel/queue/web` and `@vercel/queue/nextjs/pages`.
|
|
1370
|
-
*/
|
|
1371
|
-
|
|
1372
|
-
declare const CLOUD_EVENT_TYPE_V1BETA = "com.vercel.queue.v1beta";
|
|
1373
|
-
declare const CLOUD_EVENT_TYPE_V2BETA = "com.vercel.queue.v2beta";
|
|
1374
|
-
/**
|
|
1375
|
-
* Routing-only callback: the SDK must fetch the message by ID.
|
|
1376
|
-
* Produced by v1beta structured mode and v2beta large-body mode.
|
|
1377
|
-
*/
|
|
1378
|
-
type ParsedCallbackV1 = {
|
|
1379
|
-
queueName: string;
|
|
1380
|
-
consumerGroup: string;
|
|
1381
|
-
messageId: string;
|
|
1382
|
-
region?: string;
|
|
1383
|
-
};
|
|
1384
|
-
/**
|
|
1385
|
-
* Full-message callback: payload and receipt handle are inlined,
|
|
1386
|
-
* so the SDK can process directly without an extra fetch.
|
|
1387
|
-
* Produced by v2beta small-body mode.
|
|
1388
|
-
*/
|
|
1389
|
-
type ParsedCallbackV2 = {
|
|
1390
|
-
queueName: string;
|
|
1391
|
-
consumerGroup: string;
|
|
1392
|
-
messageId: string;
|
|
1393
|
-
region?: string;
|
|
1394
|
-
receiptHandle: string;
|
|
1395
|
-
deliveryCount?: number;
|
|
1396
|
-
createdAt?: string;
|
|
1397
|
-
expiresAt?: string;
|
|
1398
|
-
contentType?: string;
|
|
1399
|
-
visibilityDeadline?: string;
|
|
1400
|
-
/** **Experimental.** From `ce-vqsexperimentalhandoffcount`; absent when 0. */
|
|
1401
|
-
experimental_handoffCount?: number;
|
|
1402
|
-
rawBody?: ReadableStream<Uint8Array>;
|
|
1403
|
-
parsedPayload?: unknown;
|
|
1404
|
-
};
|
|
1405
|
-
type ParsedCallbackRequest = ParsedCallbackV1 | ParsedCallbackV2;
|
|
1406
|
-
/**
|
|
1407
|
-
* Parse a callback from a pre-parsed body and headers.
|
|
1408
|
-
*
|
|
1409
|
-
* For frameworks like Next.js Pages Router where the body has already been
|
|
1410
|
-
* parsed, use this instead of {@link parseCallback}.
|
|
1411
|
-
*
|
|
1412
|
-
* Detects the CloudEvent version from the `ce-type` header:
|
|
1413
|
-
* - `com.vercel.queue.v2beta`: binary content mode (metadata in headers,
|
|
1414
|
-
* payload in body). For small messages, the body is attached as `parsedPayload`.
|
|
1415
|
-
* - Otherwise: structured content mode (v1beta, entire CloudEvent in JSON body)
|
|
1416
|
-
*
|
|
1417
|
-
* @param body - The framework-parsed request body. Type depends on Content-Type
|
|
1418
|
-
* and framework configuration:
|
|
1419
|
-
* - v1beta: parsed CloudEvent JSON object
|
|
1420
|
-
* - v2beta: the message payload as parsed by the framework (object, Buffer, or string)
|
|
1421
|
-
* @param headers - HTTP headers
|
|
1422
|
-
* @returns Parsed callback request with routing metadata and optional payload
|
|
1423
|
-
*/
|
|
1424
|
-
declare function parseRawCallback(body: unknown, headers: Record<string, string | string[] | undefined>): ParsedCallbackRequest;
|
|
1425
|
-
/**
|
|
1426
|
-
* Parse and validate a CloudEvent callback from a Web API `Request` object.
|
|
1427
|
-
*
|
|
1428
|
-
* Detects the CloudEvent version from the `ce-type` header:
|
|
1429
|
-
* - `com.vercel.queue.v2beta`: binary content mode (metadata in headers,
|
|
1430
|
-
* payload in body). For v2beta, the body is attached as `rawBody` (a
|
|
1431
|
-
* ReadableStream) rather than being parsed.
|
|
1432
|
-
* - Otherwise: structured content mode (v1beta, entire CloudEvent in JSON body)
|
|
1433
|
-
*
|
|
1434
|
-
* For frameworks that pre-parse the body (e.g. Next.js Pages Router),
|
|
1435
|
-
* use {@link parseRawCallback} instead.
|
|
1436
|
-
*/
|
|
1437
|
-
declare function parseCallback(request: Request): Promise<ParsedCallbackRequest>;
|
|
1438
|
-
|
|
1439
|
-
export { BadRequestError, type BaseUrlResolver, type BatchSendMessage, type BatchSendOptions, type BatchSendResult, BufferTransport, CLOUD_EVENT_TYPE_V1BETA, CLOUD_EVENT_TYPE_V2BETA, ConcurrencyCoalescedPendingError, ConsumerDiscoveryError, ConsumerRegistryNotConfiguredError, type CursorFallback, type ExperimentalCoalescedReruns, type ExperimentalHeldMessage, type ExperimentalHoldOptions, type ExperimentalNotHeldReason, ForbiddenError, InternalServerError, InvalidLimitError, JsonTransport, type Message, MessageAlreadyProcessedError, MessageCorruptedError, type MessageHandler, MessageLockedError, type MessageMetadata, MessageNotAvailableError, MessageNotFoundError, type ParsedCallbackRequest, type ParsedCallbackV1, type ParsedCallbackV2, PayloadTooLargeError, PollingQueueClient, type PollingQueueClientOptions, QueueClient, type QueueClientOptions, QueueEmptyError, type ReceiveBatchOptions, type ReceiveByIdOptions, type ReceiveOptions, type ReceiveResult, type RegisterDevConsumerOptions, type RetryDirective, type RetryHandler, type SendOptions, type SendResult, type SendTelemetryOptions, StreamTransport, type TelemetryOptions, TooManyRequestsError, type Transport, UnauthorizedError, type VercelRegion, experimental_sendBatch, handleCallback, parseCallback, parseRawCallback, registerDevConsumer, send, sendBatch };
|