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
|
-
import { FetchFunction, FlexibleSchema, Tool, ToolExecutionOptions } from "#compiled/@ai-sdk/provider-utils/index.js";
|
|
2
|
-
import { z } from "#compiled/zod/index.js";
|
|
3
|
-
import { AISDKError, JSONObject } from "#compiled/@ai-sdk/provider/index.js";
|
|
4
|
-
//#region src/tool/json-rpc-message.d.ts
|
|
5
|
-
declare const JSONRPCRequestSchema: z.ZodObject<{
|
|
6
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
7
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
8
|
-
method: z.ZodString;
|
|
9
|
-
params: z.ZodOptional<z.ZodObject<{
|
|
10
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
11
|
-
}, z.core.$loose>>;
|
|
12
|
-
}, z.core.$strict>;
|
|
13
|
-
type JSONRPCRequest = z.infer<typeof JSONRPCRequestSchema>;
|
|
14
|
-
declare const JSONRPCResponseSchema: z.ZodObject<{
|
|
15
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
16
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
17
|
-
result: z.ZodObject<{
|
|
18
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
19
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
20
|
-
}, z.core.$loose>;
|
|
21
|
-
}, z.core.$strict>;
|
|
22
|
-
type JSONRPCResponse = z.infer<typeof JSONRPCResponseSchema>;
|
|
23
|
-
declare const JSONRPCErrorSchema: z.ZodObject<{
|
|
24
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
25
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
26
|
-
error: z.ZodObject<{
|
|
27
|
-
code: z.ZodNumber;
|
|
28
|
-
message: z.ZodString;
|
|
29
|
-
data: z.ZodOptional<z.ZodUnknown>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
}, z.core.$strict>;
|
|
32
|
-
type JSONRPCError = z.infer<typeof JSONRPCErrorSchema>;
|
|
33
|
-
declare const JSONRPCNotificationSchema: z.ZodObject<{
|
|
34
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
35
|
-
method: z.ZodString;
|
|
36
|
-
params: z.ZodOptional<z.ZodObject<{
|
|
37
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
38
|
-
}, z.core.$loose>>;
|
|
39
|
-
}, z.core.$strict>;
|
|
40
|
-
type JSONRPCNotification = z.infer<typeof JSONRPCNotificationSchema>;
|
|
41
|
-
declare const JSONRPCMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
42
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
43
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
44
|
-
method: z.ZodString;
|
|
45
|
-
params: z.ZodOptional<z.ZodObject<{
|
|
46
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
47
|
-
}, z.core.$loose>>;
|
|
48
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
49
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
50
|
-
method: z.ZodString;
|
|
51
|
-
params: z.ZodOptional<z.ZodObject<{
|
|
52
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
53
|
-
}, z.core.$loose>>;
|
|
54
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
56
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
57
|
-
result: z.ZodObject<{
|
|
58
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
59
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
60
|
-
}, z.core.$loose>;
|
|
61
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
62
|
-
jsonrpc: z.ZodLiteral<"2.0">;
|
|
63
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
64
|
-
error: z.ZodObject<{
|
|
65
|
-
code: z.ZodNumber;
|
|
66
|
-
message: z.ZodString;
|
|
67
|
-
data: z.ZodOptional<z.ZodUnknown>;
|
|
68
|
-
}, z.core.$strip>;
|
|
69
|
-
}, z.core.$strict>]>;
|
|
70
|
-
type JSONRPCMessage = z.infer<typeof JSONRPCMessageSchema>;
|
|
71
|
-
export declare function validateJSONRPCMessage(message: unknown): JSONRPCMessage;
|
|
72
|
-
//#endregion
|
|
73
|
-
//#region src/tool/types.d.ts
|
|
74
|
-
type McpProviderMetadata = {
|
|
75
|
-
clientName?: string;
|
|
76
|
-
title?: string;
|
|
77
|
-
toolName?: string;
|
|
78
|
-
annotations?: McpToolAnnotations;
|
|
79
|
-
app?: JSONObject;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Behavioral hints reported by an MCP server for a tool.
|
|
83
|
-
*
|
|
84
|
-
* These annotations are untrusted unless the server itself is trusted.
|
|
85
|
-
*
|
|
86
|
-
* @see https://modelcontextprotocol.io/specification/2026-07-28/schema#toolannotations
|
|
87
|
-
*/
|
|
88
|
-
type McpToolAnnotations = {
|
|
89
|
-
title?: string;
|
|
90
|
-
readOnlyHint?: boolean;
|
|
91
|
-
destructiveHint?: boolean;
|
|
92
|
-
idempotentHint?: boolean;
|
|
93
|
-
openWorldHint?: boolean;
|
|
94
|
-
};
|
|
95
|
-
/** MCP tool metadata - keys should follow MCP _meta key format specification */
|
|
96
|
-
declare const ToolMetaSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
-
type ToolMeta = z.infer<typeof ToolMetaSchema>;
|
|
98
|
-
type ToolSchemas = Record<string, {
|
|
99
|
-
inputSchema: FlexibleSchema<JSONObject | unknown>;
|
|
100
|
-
outputSchema?: FlexibleSchema<JSONObject | unknown>;
|
|
101
|
-
}> | 'automatic' | undefined;
|
|
102
|
-
/** Base MCP tool type with execute and _meta */
|
|
103
|
-
type McpToolBase<INPUT = unknown, OUTPUT = CallToolResult> = Tool<INPUT, OUTPUT> & {
|
|
104
|
-
execute: (input: INPUT, options?: ToolExecutionOptions<{}>) => ReturnType<NonNullable<Tool<INPUT, OUTPUT>['execute']>>;
|
|
105
|
-
_meta?: ToolMeta;
|
|
106
|
-
};
|
|
107
|
-
type McpToolSet<TOOL_SCHEMAS extends ToolSchemas = 'automatic'> = TOOL_SCHEMAS extends Record<string, {
|
|
108
|
-
inputSchema: FlexibleSchema<any>;
|
|
109
|
-
outputSchema?: FlexibleSchema<any>;
|
|
110
|
-
}> ? { [K in keyof TOOL_SCHEMAS]: TOOL_SCHEMAS[K] extends {
|
|
111
|
-
inputSchema: FlexibleSchema<infer INPUT>;
|
|
112
|
-
outputSchema: FlexibleSchema<infer OUTPUT>;
|
|
113
|
-
} ? McpToolBase<INPUT, OUTPUT> : TOOL_SCHEMAS[K] extends {
|
|
114
|
-
inputSchema: FlexibleSchema<infer INPUT>;
|
|
115
|
-
} ? McpToolBase<INPUT, CallToolResult> : never; } : Record<string, McpToolBase<unknown, CallToolResult>>;
|
|
116
|
-
declare const ClientOrServerImplementationSchema: z.ZodObject<{
|
|
117
|
-
name: z.ZodString;
|
|
118
|
-
version: z.ZodString;
|
|
119
|
-
title: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, z.core.$loose>;
|
|
121
|
-
type Configuration = z.infer<typeof ClientOrServerImplementationSchema>;
|
|
122
|
-
declare const BaseParamsSchema: z.ZodObject<{
|
|
123
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
124
|
-
}, z.core.$loose>;
|
|
125
|
-
type BaseParams = z.infer<typeof BaseParamsSchema>;
|
|
126
|
-
declare const RequestSchema: z.ZodObject<{
|
|
127
|
-
method: z.ZodString;
|
|
128
|
-
params: z.ZodOptional<z.ZodObject<{
|
|
129
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
130
|
-
}, z.core.$loose>>;
|
|
131
|
-
}, z.core.$strip>;
|
|
132
|
-
type Request$1 = z.infer<typeof RequestSchema>;
|
|
133
|
-
type RequestOptions = {
|
|
134
|
-
signal?: AbortSignal;
|
|
135
|
-
timeout?: number;
|
|
136
|
-
maxTotalTimeout?: number;
|
|
137
|
-
};
|
|
138
|
-
declare const ClientCapabilitiesSchema: z.ZodObject<{
|
|
139
|
-
elicitation: z.ZodOptional<z.ZodObject<{
|
|
140
|
-
applyDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
}, z.core.$loose>>;
|
|
142
|
-
}, z.core.$loose>;
|
|
143
|
-
type ClientCapabilities = z.infer<typeof ClientCapabilitiesSchema>;
|
|
144
|
-
declare const InitializeResultSchema: z.ZodObject<{
|
|
145
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
146
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
147
|
-
protocolVersion: z.ZodString;
|
|
148
|
-
capabilities: z.ZodObject<{
|
|
149
|
-
events: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
150
|
-
listChanged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
151
|
-
}, z.core.$loose>>>;
|
|
152
|
-
experimental: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
153
|
-
logging: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
154
|
-
completions: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
155
|
-
prompts: z.ZodOptional<z.ZodObject<{
|
|
156
|
-
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
-
}, z.core.$loose>>;
|
|
158
|
-
resources: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
160
|
-
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
}, z.core.$loose>>;
|
|
162
|
-
tools: z.ZodOptional<z.ZodObject<{
|
|
163
|
-
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
-
}, z.core.$loose>>;
|
|
165
|
-
elicitation: z.ZodOptional<z.ZodObject<{
|
|
166
|
-
applyDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
}, z.core.$loose>>;
|
|
168
|
-
}, z.core.$loose>;
|
|
169
|
-
serverInfo: z.ZodObject<{
|
|
170
|
-
name: z.ZodString;
|
|
171
|
-
version: z.ZodString;
|
|
172
|
-
title: z.ZodOptional<z.ZodString>;
|
|
173
|
-
}, z.core.$loose>;
|
|
174
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
175
|
-
}, z.core.$loose>;
|
|
176
|
-
type InitializeResult = z.infer<typeof InitializeResultSchema>;
|
|
177
|
-
type PaginatedRequest = Request$1 & {
|
|
178
|
-
params?: BaseParams & {
|
|
179
|
-
cursor?: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
declare const ListToolsResultSchema: z.ZodObject<{
|
|
183
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
184
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
185
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
186
|
-
tools: z.ZodArray<z.ZodObject<{
|
|
187
|
-
name: z.ZodString;
|
|
188
|
-
title: z.ZodOptional<z.ZodString>;
|
|
189
|
-
description: z.ZodOptional<z.ZodString>;
|
|
190
|
-
inputSchema: z.ZodObject<{
|
|
191
|
-
type: z.ZodOptional<z.ZodUnknown>;
|
|
192
|
-
properties: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
193
|
-
}, z.core.$loose>;
|
|
194
|
-
outputSchema: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
195
|
-
annotations: z.ZodOptional<z.ZodObject<{
|
|
196
|
-
title: z.ZodOptional<z.ZodString>;
|
|
197
|
-
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
-
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
-
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
-
}, z.core.$loose>>;
|
|
202
|
-
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
203
|
-
}, z.core.$loose>>;
|
|
204
|
-
}, z.core.$loose>;
|
|
205
|
-
type ListToolsResult = z.infer<typeof ListToolsResultSchema>;
|
|
206
|
-
declare const ListResourcesResultSchema: z.ZodObject<{
|
|
207
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
208
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
209
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
210
|
-
resources: z.ZodArray<z.ZodObject<{
|
|
211
|
-
uri: z.ZodString;
|
|
212
|
-
name: z.ZodString;
|
|
213
|
-
title: z.ZodOptional<z.ZodString>;
|
|
214
|
-
description: z.ZodOptional<z.ZodString>;
|
|
215
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
216
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
217
|
-
}, z.core.$loose>>;
|
|
218
|
-
}, z.core.$loose>;
|
|
219
|
-
type ListResourcesResult = z.infer<typeof ListResourcesResultSchema>;
|
|
220
|
-
declare const CallToolResultSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
221
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
222
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
223
|
-
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
224
|
-
type: z.ZodLiteral<"text">;
|
|
225
|
-
text: z.ZodString;
|
|
226
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
227
|
-
type: z.ZodLiteral<"image">;
|
|
228
|
-
data: z.ZodBase64;
|
|
229
|
-
mimeType: z.ZodString;
|
|
230
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
231
|
-
type: z.ZodLiteral<"resource">;
|
|
232
|
-
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
233
|
-
uri: z.ZodString;
|
|
234
|
-
name: z.ZodOptional<z.ZodString>;
|
|
235
|
-
title: z.ZodOptional<z.ZodString>;
|
|
236
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
237
|
-
text: z.ZodString;
|
|
238
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
239
|
-
uri: z.ZodString;
|
|
240
|
-
name: z.ZodOptional<z.ZodString>;
|
|
241
|
-
title: z.ZodOptional<z.ZodString>;
|
|
242
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
243
|
-
blob: z.ZodBase64;
|
|
244
|
-
}, z.core.$loose>]>;
|
|
245
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
246
|
-
type: z.ZodLiteral<"resource_link">;
|
|
247
|
-
uri: z.ZodString;
|
|
248
|
-
name: z.ZodString;
|
|
249
|
-
description: z.ZodOptional<z.ZodString>;
|
|
250
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
251
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
252
|
-
type: z.ZodString;
|
|
253
|
-
}, z.core.$loose>]>>;
|
|
254
|
-
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
255
|
-
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
256
|
-
}, z.core.$loose>, z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
257
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
258
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
259
|
-
content: z.ZodOptional<z.ZodNever>;
|
|
260
|
-
structuredContent: z.ZodJSONSchema;
|
|
261
|
-
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
262
|
-
}, z.core.$loose>, z.ZodTransform<{
|
|
263
|
-
[x: string]: unknown;
|
|
264
|
-
content: ({
|
|
265
|
-
[x: string]: unknown;
|
|
266
|
-
type: string;
|
|
267
|
-
} | {
|
|
268
|
-
[x: string]: unknown;
|
|
269
|
-
type: "text";
|
|
270
|
-
text: string;
|
|
271
|
-
} | {
|
|
272
|
-
[x: string]: unknown;
|
|
273
|
-
type: "image";
|
|
274
|
-
data: string;
|
|
275
|
-
mimeType: string;
|
|
276
|
-
} | {
|
|
277
|
-
[x: string]: unknown;
|
|
278
|
-
type: "resource";
|
|
279
|
-
resource: {
|
|
280
|
-
[x: string]: unknown;
|
|
281
|
-
uri: string;
|
|
282
|
-
text: string;
|
|
283
|
-
name?: string | undefined;
|
|
284
|
-
title?: string | undefined;
|
|
285
|
-
mimeType?: string | undefined;
|
|
286
|
-
} | {
|
|
287
|
-
[x: string]: unknown;
|
|
288
|
-
uri: string;
|
|
289
|
-
blob: string;
|
|
290
|
-
name?: string | undefined;
|
|
291
|
-
title?: string | undefined;
|
|
292
|
-
mimeType?: string | undefined;
|
|
293
|
-
};
|
|
294
|
-
} | {
|
|
295
|
-
[x: string]: unknown;
|
|
296
|
-
type: "resource_link";
|
|
297
|
-
uri: string;
|
|
298
|
-
name: string;
|
|
299
|
-
description?: string | undefined;
|
|
300
|
-
mimeType?: string | undefined;
|
|
301
|
-
})[];
|
|
302
|
-
_meta?: {
|
|
303
|
-
[x: string]: unknown;
|
|
304
|
-
} | undefined;
|
|
305
|
-
resultType?: string | undefined;
|
|
306
|
-
structuredContent?: unknown;
|
|
307
|
-
isError?: boolean | undefined;
|
|
308
|
-
}, {
|
|
309
|
-
[x: string]: unknown;
|
|
310
|
-
structuredContent: z.core.util.JSONType;
|
|
311
|
-
_meta?: {
|
|
312
|
-
[x: string]: unknown;
|
|
313
|
-
} | undefined;
|
|
314
|
-
resultType?: string | undefined;
|
|
315
|
-
content?: undefined;
|
|
316
|
-
isError?: boolean | undefined;
|
|
317
|
-
}>>, z.ZodObject<{
|
|
318
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
319
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
320
|
-
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
321
|
-
type: z.ZodLiteral<"text">;
|
|
322
|
-
text: z.ZodString;
|
|
323
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
324
|
-
type: z.ZodLiteral<"image">;
|
|
325
|
-
data: z.ZodBase64;
|
|
326
|
-
mimeType: z.ZodString;
|
|
327
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
328
|
-
type: z.ZodLiteral<"resource">;
|
|
329
|
-
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
330
|
-
uri: z.ZodString;
|
|
331
|
-
name: z.ZodOptional<z.ZodString>;
|
|
332
|
-
title: z.ZodOptional<z.ZodString>;
|
|
333
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
334
|
-
text: z.ZodString;
|
|
335
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
336
|
-
uri: z.ZodString;
|
|
337
|
-
name: z.ZodOptional<z.ZodString>;
|
|
338
|
-
title: z.ZodOptional<z.ZodString>;
|
|
339
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
340
|
-
blob: z.ZodBase64;
|
|
341
|
-
}, z.core.$loose>]>;
|
|
342
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
343
|
-
type: z.ZodLiteral<"resource_link">;
|
|
344
|
-
uri: z.ZodString;
|
|
345
|
-
name: z.ZodString;
|
|
346
|
-
description: z.ZodOptional<z.ZodString>;
|
|
347
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
348
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
349
|
-
type: z.ZodString;
|
|
350
|
-
}, z.core.$loose>]>>;
|
|
351
|
-
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
352
|
-
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
353
|
-
}, z.core.$loose>>]>, z.ZodObject<{
|
|
354
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
355
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
356
|
-
toolResult: z.ZodNonOptional<z.ZodUnknown>;
|
|
357
|
-
}, z.core.$loose>]>;
|
|
358
|
-
type CallToolResult = z.infer<typeof CallToolResultSchema>;
|
|
359
|
-
declare const ListResourceTemplatesResultSchema: z.ZodObject<{
|
|
360
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
361
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
362
|
-
resourceTemplates: z.ZodArray<z.ZodObject<{
|
|
363
|
-
uriTemplate: z.ZodString;
|
|
364
|
-
name: z.ZodString;
|
|
365
|
-
title: z.ZodOptional<z.ZodString>;
|
|
366
|
-
description: z.ZodOptional<z.ZodString>;
|
|
367
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
368
|
-
}, z.core.$loose>>;
|
|
369
|
-
}, z.core.$loose>;
|
|
370
|
-
type ListResourceTemplatesResult = z.infer<typeof ListResourceTemplatesResultSchema>;
|
|
371
|
-
declare const ReadResourceResultSchema: z.ZodObject<{
|
|
372
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
373
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
374
|
-
contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
375
|
-
uri: z.ZodString;
|
|
376
|
-
name: z.ZodOptional<z.ZodString>;
|
|
377
|
-
title: z.ZodOptional<z.ZodString>;
|
|
378
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
379
|
-
text: z.ZodString;
|
|
380
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
381
|
-
uri: z.ZodString;
|
|
382
|
-
name: z.ZodOptional<z.ZodString>;
|
|
383
|
-
title: z.ZodOptional<z.ZodString>;
|
|
384
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
385
|
-
blob: z.ZodBase64;
|
|
386
|
-
}, z.core.$loose>]>>;
|
|
387
|
-
}, z.core.$loose>;
|
|
388
|
-
type ReadResourceResult = z.infer<typeof ReadResourceResultSchema>;
|
|
389
|
-
declare const CompleteRequestParamsSchema: z.ZodObject<{
|
|
390
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
391
|
-
ref: z.ZodUnion<readonly [z.ZodObject<{
|
|
392
|
-
type: z.ZodLiteral<"ref/prompt">;
|
|
393
|
-
name: z.ZodString;
|
|
394
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
395
|
-
type: z.ZodLiteral<"ref/resource">;
|
|
396
|
-
uri: z.ZodString;
|
|
397
|
-
}, z.core.$loose>]>;
|
|
398
|
-
argument: z.ZodObject<{
|
|
399
|
-
name: z.ZodString;
|
|
400
|
-
value: z.ZodString;
|
|
401
|
-
}, z.core.$loose>;
|
|
402
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
403
|
-
arguments: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
404
|
-
}, z.core.$loose>>;
|
|
405
|
-
}, z.core.$loose>;
|
|
406
|
-
type CompleteRequestParams = z.infer<typeof CompleteRequestParamsSchema>;
|
|
407
|
-
declare const CompleteResultSchema: z.ZodObject<{
|
|
408
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
409
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
410
|
-
completion: z.ZodObject<{
|
|
411
|
-
values: z.ZodArray<z.ZodString>;
|
|
412
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
413
|
-
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
-
}, z.core.$loose>;
|
|
415
|
-
}, z.core.$loose>;
|
|
416
|
-
type CompleteResult = z.infer<typeof CompleteResultSchema>;
|
|
417
|
-
declare const ListPromptsResultSchema: z.ZodObject<{
|
|
418
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
419
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
420
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
421
|
-
prompts: z.ZodArray<z.ZodObject<{
|
|
422
|
-
name: z.ZodString;
|
|
423
|
-
title: z.ZodOptional<z.ZodString>;
|
|
424
|
-
description: z.ZodOptional<z.ZodString>;
|
|
425
|
-
arguments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
426
|
-
name: z.ZodString;
|
|
427
|
-
description: z.ZodOptional<z.ZodString>;
|
|
428
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
-
}, z.core.$loose>>>;
|
|
430
|
-
}, z.core.$loose>>;
|
|
431
|
-
}, z.core.$loose>;
|
|
432
|
-
type ListPromptsResult = z.infer<typeof ListPromptsResultSchema>;
|
|
433
|
-
declare const GetPromptResultSchema: z.ZodObject<{
|
|
434
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
435
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
436
|
-
description: z.ZodOptional<z.ZodString>;
|
|
437
|
-
messages: z.ZodArray<z.ZodObject<{
|
|
438
|
-
role: z.ZodUnion<readonly [z.ZodLiteral<"user">, z.ZodLiteral<"assistant">]>;
|
|
439
|
-
content: z.ZodUnion<readonly [z.ZodObject<{
|
|
440
|
-
type: z.ZodLiteral<"text">;
|
|
441
|
-
text: z.ZodString;
|
|
442
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
443
|
-
type: z.ZodLiteral<"image">;
|
|
444
|
-
data: z.ZodBase64;
|
|
445
|
-
mimeType: z.ZodString;
|
|
446
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
447
|
-
type: z.ZodLiteral<"resource">;
|
|
448
|
-
resource: z.ZodUnion<readonly [z.ZodObject<{
|
|
449
|
-
uri: z.ZodString;
|
|
450
|
-
name: z.ZodOptional<z.ZodString>;
|
|
451
|
-
title: z.ZodOptional<z.ZodString>;
|
|
452
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
453
|
-
text: z.ZodString;
|
|
454
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
455
|
-
uri: z.ZodString;
|
|
456
|
-
name: z.ZodOptional<z.ZodString>;
|
|
457
|
-
title: z.ZodOptional<z.ZodString>;
|
|
458
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
459
|
-
blob: z.ZodBase64;
|
|
460
|
-
}, z.core.$loose>]>;
|
|
461
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
462
|
-
type: z.ZodLiteral<"resource_link">;
|
|
463
|
-
uri: z.ZodString;
|
|
464
|
-
name: z.ZodString;
|
|
465
|
-
description: z.ZodOptional<z.ZodString>;
|
|
466
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
467
|
-
}, z.core.$loose>]>;
|
|
468
|
-
}, z.core.$loose>>;
|
|
469
|
-
}, z.core.$loose>;
|
|
470
|
-
type GetPromptResult = z.infer<typeof GetPromptResultSchema>;
|
|
471
|
-
export declare const ElicitationRequestSchema: z.ZodObject<{
|
|
472
|
-
method: z.ZodLiteral<"elicitation/create">;
|
|
473
|
-
params: z.ZodObject<{
|
|
474
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
475
|
-
message: z.ZodString;
|
|
476
|
-
requestedSchema: z.ZodUnknown;
|
|
477
|
-
}, z.core.$loose>;
|
|
478
|
-
}, z.core.$strip>;
|
|
479
|
-
type ElicitationRequest = z.infer<typeof ElicitationRequestSchema>;
|
|
480
|
-
export declare const ElicitResultSchema: z.ZodObject<{
|
|
481
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
482
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
483
|
-
action: z.ZodUnion<readonly [z.ZodLiteral<"accept">, z.ZodLiteral<"decline">, z.ZodLiteral<"cancel">]>;
|
|
484
|
-
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
485
|
-
}, z.core.$loose>;
|
|
486
|
-
type ElicitResult = z.infer<typeof ElicitResultSchema>;
|
|
487
|
-
//#endregion
|
|
488
|
-
//#region src/tool/mcp-event-types.d.ts
|
|
489
|
-
declare const MCPEventDefinitionSchema: z.ZodObject<{
|
|
490
|
-
name: z.ZodString;
|
|
491
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
492
|
-
delivery: z.ZodArray<z.ZodEnum<{
|
|
493
|
-
webhook: "webhook";
|
|
494
|
-
poll: "poll";
|
|
495
|
-
push: "push";
|
|
496
|
-
}>>;
|
|
497
|
-
inputSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
498
|
-
payloadSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
499
|
-
}, z.core.$loose>;
|
|
500
|
-
type MCPEventDefinition = z.infer<typeof MCPEventDefinitionSchema>;
|
|
501
|
-
declare const ListEventsResultSchema: z.ZodObject<{
|
|
502
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
503
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
504
|
-
events: z.ZodArray<z.ZodObject<{
|
|
505
|
-
name: z.ZodString;
|
|
506
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
507
|
-
delivery: z.ZodArray<z.ZodEnum<{
|
|
508
|
-
webhook: "webhook";
|
|
509
|
-
poll: "poll";
|
|
510
|
-
push: "push";
|
|
511
|
-
}>>;
|
|
512
|
-
inputSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
513
|
-
payloadSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
514
|
-
}, z.core.$loose>>;
|
|
515
|
-
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
-
}, z.core.$loose>;
|
|
517
|
-
type ListEventsResult = z.infer<typeof ListEventsResultSchema>;
|
|
518
|
-
declare const SubscribeEventResultSchema: z.ZodObject<{
|
|
519
|
-
_meta: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
520
|
-
resultType: z.ZodOptional<z.ZodString>;
|
|
521
|
-
id: z.ZodString;
|
|
522
|
-
refreshBefore: z.ZodNullable<z.ZodISODateTime>;
|
|
523
|
-
cursor: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
524
|
-
truncated: z.ZodBoolean;
|
|
525
|
-
}, z.core.$loose>;
|
|
526
|
-
type SubscribeEventResult = z.infer<typeof SubscribeEventResultSchema>;
|
|
527
|
-
declare const MCPEventSchema: z.ZodObject<{
|
|
528
|
-
eventId: z.ZodString;
|
|
529
|
-
name: z.ZodString;
|
|
530
|
-
timestamp: z.ZodISODateTime;
|
|
531
|
-
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
532
|
-
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
533
|
-
}, z.core.$loose>;
|
|
534
|
-
type MCPEvent = z.infer<typeof MCPEventSchema>;
|
|
535
|
-
declare const MCPEventControlSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
536
|
-
type: z.ZodLiteral<"gap">;
|
|
537
|
-
cursor: z.ZodString;
|
|
538
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
539
|
-
type: z.ZodLiteral<"terminated">;
|
|
540
|
-
error: z.ZodObject<{
|
|
541
|
-
code: z.ZodNumber;
|
|
542
|
-
message: z.ZodString;
|
|
543
|
-
data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
544
|
-
}, z.core.$loose>;
|
|
545
|
-
}, z.core.$loose>], "type">, z.ZodTransform<{
|
|
546
|
-
[x: string]: unknown;
|
|
547
|
-
type: "terminated";
|
|
548
|
-
error: {
|
|
549
|
-
[x: string]: unknown;
|
|
550
|
-
code: number;
|
|
551
|
-
message: string;
|
|
552
|
-
data?: unknown;
|
|
553
|
-
};
|
|
554
|
-
} | {
|
|
555
|
-
truncated: true;
|
|
556
|
-
type: "gap";
|
|
557
|
-
cursor: string;
|
|
558
|
-
}, {
|
|
559
|
-
[x: string]: unknown;
|
|
560
|
-
type: "gap";
|
|
561
|
-
cursor: string;
|
|
562
|
-
} | {
|
|
563
|
-
[x: string]: unknown;
|
|
564
|
-
type: "terminated";
|
|
565
|
-
error: {
|
|
566
|
-
[x: string]: unknown;
|
|
567
|
-
code: number;
|
|
568
|
-
message: string;
|
|
569
|
-
data?: unknown;
|
|
570
|
-
};
|
|
571
|
-
}>>;
|
|
572
|
-
type MCPEventControl = z.infer<typeof MCPEventControlSchema>;
|
|
573
|
-
/** Persisted privately by the application, including the signing secret. */
|
|
574
|
-
type MCPEventSubscription = {
|
|
575
|
-
key: string;
|
|
576
|
-
id?: string;
|
|
577
|
-
name: string;
|
|
578
|
-
arguments: JSONObject;
|
|
579
|
-
definition: MCPEventDefinition;
|
|
580
|
-
delivery: {
|
|
581
|
-
mode: 'webhook';
|
|
582
|
-
url: string;
|
|
583
|
-
secret: string;
|
|
584
|
-
};
|
|
585
|
-
refreshBefore?: string | null;
|
|
586
|
-
cursor: string | null;
|
|
587
|
-
truncated: boolean;
|
|
588
|
-
ttlMs?: number | null;
|
|
589
|
-
maxAgeMs?: number;
|
|
590
|
-
status: 'pending' | 'active';
|
|
591
|
-
};
|
|
592
|
-
/** Subscription metadata safe to pass to event handlers; excludes the secret. */
|
|
593
|
-
type MCPEventSubscriptionInfo = {
|
|
594
|
-
id: string;
|
|
595
|
-
name: string;
|
|
596
|
-
arguments: JSONObject;
|
|
597
|
-
delivery: {
|
|
598
|
-
mode: 'webhook';
|
|
599
|
-
url: string;
|
|
600
|
-
};
|
|
601
|
-
refreshBefore: string | null;
|
|
602
|
-
};
|
|
603
|
-
/**
|
|
604
|
-
* Use durable, private storage scoped to one MCP server and authenticated
|
|
605
|
-
* principal. update must atomically merge only the supplied fields. Never
|
|
606
|
-
* expose these records to a browser: delivery.secret authenticates webhooks.
|
|
607
|
-
*/
|
|
608
|
-
interface MCPEventStore {
|
|
609
|
-
get(key: string): Promise<MCPEventSubscription | undefined>;
|
|
610
|
-
getById(id: string): Promise<MCPEventSubscription | undefined>;
|
|
611
|
-
set(subscription: MCPEventSubscription): Promise<void>;
|
|
612
|
-
update(key: string, patch: Partial<MCPEventSubscription>): Promise<void>;
|
|
613
|
-
delete(key: string): Promise<void>;
|
|
614
|
-
}
|
|
615
|
-
type MCPEventsConfig = {
|
|
616
|
-
store: MCPEventStore;
|
|
617
|
-
adapter?: never;
|
|
618
|
-
/**
|
|
619
|
-
* Optionally validate subscription arguments using an application schema or
|
|
620
|
-
* the server's inputSchema. Throw to reject before persisting or subscribing.
|
|
621
|
-
*/
|
|
622
|
-
validateArguments?: (args: {
|
|
623
|
-
definition: MCPEventDefinition;
|
|
624
|
-
arguments: JSONObject;
|
|
625
|
-
}) => void | PromiseLike<void>;
|
|
626
|
-
} | {
|
|
627
|
-
adapter: MCPEventAdapter;
|
|
628
|
-
store?: never;
|
|
629
|
-
validateArguments?: never;
|
|
630
|
-
};
|
|
631
|
-
type SubscribeEventOptions = {
|
|
632
|
-
name: string;
|
|
633
|
-
arguments?: JSONObject;
|
|
634
|
-
delivery: {
|
|
635
|
-
mode: 'webhook';
|
|
636
|
-
/** HTTPS callback served by createMCPEventWebhook before subscribing. */
|
|
637
|
-
url: string;
|
|
638
|
-
/** Development only: allow HTTP callbacks to literal loopback addresses. */
|
|
639
|
-
allowInsecureLocalhost?: boolean;
|
|
640
|
-
/** Generated securely when omitted; persisted before the subscribe request. */
|
|
641
|
-
secret?: string;
|
|
642
|
-
};
|
|
643
|
-
cursor?: string | null;
|
|
644
|
-
ttlMs?: number | null;
|
|
645
|
-
maxAgeMs?: number;
|
|
646
|
-
options?: RequestOptions;
|
|
647
|
-
};
|
|
648
|
-
type MCPEventSubscriptionOptions = ({
|
|
649
|
-
id: string;
|
|
650
|
-
key?: never;
|
|
651
|
-
} | {
|
|
652
|
-
key: string;
|
|
653
|
-
id?: never;
|
|
654
|
-
}) & {
|
|
655
|
-
options?: RequestOptions;
|
|
656
|
-
};
|
|
657
|
-
interface MCPEvents {
|
|
658
|
-
list(options?: {
|
|
659
|
-
params?: {
|
|
660
|
-
cursor?: string;
|
|
661
|
-
};
|
|
662
|
-
options?: RequestOptions;
|
|
663
|
-
}): Promise<ListEventsResult>;
|
|
664
|
-
subscribe(options: SubscribeEventOptions): Promise<SubscribeEventResult>;
|
|
665
|
-
refresh(options: MCPEventSubscriptionOptions): Promise<SubscribeEventResult>;
|
|
666
|
-
unsubscribe(options: MCPEventSubscriptionOptions): Promise<void>;
|
|
667
|
-
}
|
|
668
|
-
//#endregion
|
|
669
|
-
//#region src/tool/mcp-events-adapter.d.ts
|
|
670
|
-
/** A durable watch owned by the adapter's backend, not an upstream MCP lease. */
|
|
671
|
-
type ManagedSubscription = {
|
|
672
|
-
/** Backend subscription ID; use it for managed lifecycle operations. */
|
|
673
|
-
id: string;
|
|
674
|
-
name: string;
|
|
675
|
-
arguments: JSONObject;
|
|
676
|
-
status: 'pending' | 'active' | 'needs_auth' | 'stopped' | 'expired' | 'failed';
|
|
677
|
-
/** Application monitoring deadline. null means until explicitly stopped. */
|
|
678
|
-
expiresAt: string | null;
|
|
679
|
-
cleanupStatus?: 'pending' | 'complete' | 'exhausted';
|
|
680
|
-
};
|
|
681
|
-
type ManagedSubscribeInput = {
|
|
682
|
-
name: string;
|
|
683
|
-
arguments: JSONObject;
|
|
684
|
-
/** Application metadata, not an authorization grant. */
|
|
685
|
-
context?: JSONObject;
|
|
686
|
-
/** Reuse the original key when recovering an uncertain create result. */
|
|
687
|
-
idempotencyKey: string;
|
|
688
|
-
/** Application lifetime in milliseconds, or null until explicitly stopped. */
|
|
689
|
-
ttlMs: number | null;
|
|
690
|
-
options?: RequestOptions;
|
|
691
|
-
};
|
|
692
|
-
/**
|
|
693
|
-
* Bound to an authorized account and destination by the application. The backend
|
|
694
|
-
* owns callback provisioning, verification, persistence, renewal and cleanup.
|
|
695
|
-
* Implementations must honor request options and preserve actionable errors.
|
|
696
|
-
* Cancelling a request does not cancel an already accepted remote subscription.
|
|
697
|
-
*/
|
|
698
|
-
interface MCPEventOperations {
|
|
699
|
-
subscribe(input: ManagedSubscribeInput): Promise<ManagedSubscription>;
|
|
700
|
-
getSubscription(input: {
|
|
701
|
-
id: string;
|
|
702
|
-
options?: RequestOptions;
|
|
703
|
-
}): Promise<ManagedSubscription>;
|
|
704
|
-
listSubscriptions(input?: {
|
|
705
|
-
cursor?: string;
|
|
706
|
-
limit?: number;
|
|
707
|
-
status?: ManagedSubscription['status'];
|
|
708
|
-
options?: RequestOptions;
|
|
709
|
-
}): Promise<{
|
|
710
|
-
subscriptions: ManagedSubscription[];
|
|
711
|
-
nextCursor?: string;
|
|
712
|
-
}>;
|
|
713
|
-
unsubscribe(input: {
|
|
714
|
-
id: string;
|
|
715
|
-
options?: RequestOptions;
|
|
716
|
-
}): Promise<ManagedSubscription>;
|
|
717
|
-
}
|
|
718
|
-
/**
|
|
719
|
-
* Creates bound subscription operations once per client, before the transport starts.
|
|
720
|
-
* Receives transport metadata, not credentials or a live transport instance.
|
|
721
|
-
* HTTP/SSE URLs are the configured endpoints, not resolved redirect targets.
|
|
722
|
-
* Custom transports have no standard URL and receive only their type.
|
|
723
|
-
*/
|
|
724
|
-
interface MCPEventAdapter {
|
|
725
|
-
createAdapter(context: {
|
|
726
|
-
transport: {
|
|
727
|
-
type: 'http' | 'sse';
|
|
728
|
-
url: string;
|
|
729
|
-
} | {
|
|
730
|
-
type: 'custom';
|
|
731
|
-
};
|
|
732
|
-
}): MCPEventOperations;
|
|
733
|
-
}
|
|
734
|
-
/** Catalog discovery uses MCP; all subscription operations use the adapter. */
|
|
735
|
-
interface ManagedMCPEvents extends MCPEventOperations {
|
|
736
|
-
list: MCPEvents['list'];
|
|
737
|
-
}
|
|
738
|
-
//#endregion
|
|
739
|
-
//#region src/tool/oauth-types.d.ts
|
|
740
|
-
/**
|
|
741
|
-
* OAuth 2.1 token response
|
|
742
|
-
*/
|
|
743
|
-
declare const OAuthTokensSchema: z.ZodObject<{
|
|
744
|
-
access_token: z.ZodString;
|
|
745
|
-
id_token: z.ZodOptional<z.ZodString>;
|
|
746
|
-
token_type: z.ZodString;
|
|
747
|
-
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
748
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
749
|
-
refresh_token: z.ZodOptional<z.ZodString>;
|
|
750
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
751
|
-
authorization_server: z.ZodOptional<z.ZodString>;
|
|
752
|
-
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
753
|
-
}, z.core.$strip>;
|
|
754
|
-
declare const OAuthMetadataSchema: z.ZodObject<{
|
|
755
|
-
issuer: z.ZodString;
|
|
756
|
-
authorization_endpoint: z.ZodString;
|
|
757
|
-
token_endpoint: z.ZodString;
|
|
758
|
-
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
759
|
-
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
760
|
-
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
|
761
|
-
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
762
|
-
response_types_supported: z.ZodArray<z.ZodString>;
|
|
763
|
-
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
764
|
-
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
765
|
-
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
766
|
-
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
767
|
-
}, z.core.$loose>;
|
|
768
|
-
/**
|
|
769
|
-
* OpenID Connect Discovery metadata that may include OAuth 2.0 fields
|
|
770
|
-
* This schema represents the real-world scenario where OIDC providers
|
|
771
|
-
* return a mix of OpenID Connect and OAuth 2.0 metadata fields
|
|
772
|
-
*/
|
|
773
|
-
declare const OpenIdProviderDiscoveryMetadataSchema: z.ZodObject<{
|
|
774
|
-
issuer: z.ZodString;
|
|
775
|
-
authorization_endpoint: z.ZodString;
|
|
776
|
-
token_endpoint: z.ZodString;
|
|
777
|
-
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
778
|
-
jwks_uri: z.ZodString;
|
|
779
|
-
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
780
|
-
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
781
|
-
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
-
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
783
|
-
response_types_supported: z.ZodArray<z.ZodString>;
|
|
784
|
-
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
785
|
-
subject_types_supported: z.ZodArray<z.ZodString>;
|
|
786
|
-
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
787
|
-
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
788
|
-
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
789
|
-
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
790
|
-
}, z.core.$loose>;
|
|
791
|
-
declare const OAuthClientInformationSchema: z.ZodObject<{
|
|
792
|
-
client_id: z.ZodString;
|
|
793
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
794
|
-
client_id_issued_at: z.ZodOptional<z.ZodNumber>;
|
|
795
|
-
client_secret_expires_at: z.ZodOptional<z.ZodNumber>;
|
|
796
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
797
|
-
authorization_server: z.ZodOptional<z.ZodString>;
|
|
798
|
-
token_endpoint: z.ZodOptional<z.ZodString>;
|
|
799
|
-
}, z.core.$strip>;
|
|
800
|
-
declare const OAuthClientMetadataSchema: z.ZodObject<{
|
|
801
|
-
redirect_uris: z.ZodArray<z.ZodString>;
|
|
802
|
-
application_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"native">, z.ZodLiteral<"web">]>>;
|
|
803
|
-
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
|
804
|
-
grant_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
805
|
-
response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
806
|
-
client_name: z.ZodOptional<z.ZodString>;
|
|
807
|
-
client_uri: z.ZodOptional<z.ZodString>;
|
|
808
|
-
logo_uri: z.ZodOptional<z.ZodString>;
|
|
809
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
810
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
811
|
-
tos_uri: z.ZodOptional<z.ZodString>;
|
|
812
|
-
policy_uri: z.ZodOptional<z.ZodString>;
|
|
813
|
-
jwks_uri: z.ZodOptional<z.ZodString>;
|
|
814
|
-
jwks: z.ZodOptional<z.ZodAny>;
|
|
815
|
-
software_id: z.ZodOptional<z.ZodString>;
|
|
816
|
-
software_version: z.ZodOptional<z.ZodString>;
|
|
817
|
-
software_statement: z.ZodOptional<z.ZodString>;
|
|
818
|
-
}, z.core.$strip>;
|
|
819
|
-
type OAuthMetadata = z.infer<typeof OAuthMetadataSchema>;
|
|
820
|
-
type OpenIdProviderDiscoveryMetadata = z.infer<typeof OpenIdProviderDiscoveryMetadataSchema>;
|
|
821
|
-
type OAuthTokens = z.infer<typeof OAuthTokensSchema>;
|
|
822
|
-
type OAuthClientInformation = z.infer<typeof OAuthClientInformationSchema>;
|
|
823
|
-
type AuthorizationServerMetadata = OAuthMetadata | OpenIdProviderDiscoveryMetadata;
|
|
824
|
-
type OAuthClientMetadata = z.infer<typeof OAuthClientMetadataSchema>;
|
|
825
|
-
//#endregion
|
|
826
|
-
//#region src/error/oauth-error.d.ts
|
|
827
|
-
declare const symbol$1: unique symbol;
|
|
828
|
-
/**
|
|
829
|
-
* An error occurred with the MCP client within the OAuth flow.
|
|
830
|
-
*/
|
|
831
|
-
export declare class MCPClientOAuthError extends AISDKError {
|
|
832
|
-
private readonly [symbol$1];
|
|
833
|
-
constructor({ name, message, cause }: {
|
|
834
|
-
name?: string;
|
|
835
|
-
message: string;
|
|
836
|
-
cause?: unknown;
|
|
837
|
-
});
|
|
838
|
-
static isInstance(error: unknown): error is MCPClientOAuthError;
|
|
839
|
-
}
|
|
840
|
-
declare const mismatchSymbol: unique symbol;
|
|
841
|
-
export declare class AuthorizationServerMismatchError extends MCPClientOAuthError {
|
|
842
|
-
private readonly [mismatchSymbol];
|
|
843
|
-
static errorCode: string;
|
|
844
|
-
constructor({ message, cause }: {
|
|
845
|
-
message: string;
|
|
846
|
-
cause?: unknown;
|
|
847
|
-
});
|
|
848
|
-
static isInstance(error: unknown): error is AuthorizationServerMismatchError;
|
|
849
|
-
}
|
|
850
|
-
//#endregion
|
|
851
|
-
//#region src/tool/oauth.d.ts
|
|
852
|
-
type AuthResult = 'AUTHORIZED' | 'REDIRECT';
|
|
853
|
-
interface OAuthAuthorizationServerInformation {
|
|
854
|
-
issuer?: string;
|
|
855
|
-
authorizationServerUrl: string;
|
|
856
|
-
tokenEndpoint: string;
|
|
857
|
-
}
|
|
858
|
-
interface OAuthClientProvider {
|
|
859
|
-
/**
|
|
860
|
-
* Returns current access token if present; undefined otherwise.
|
|
861
|
-
*/
|
|
862
|
-
tokens(): OAuthTokens | undefined | Promise<OAuthTokens | undefined>;
|
|
863
|
-
saveTokens(tokens: OAuthTokens): void | Promise<void>;
|
|
864
|
-
redirectToAuthorization(authorizationUrl: URL): void | Promise<void>;
|
|
865
|
-
saveCodeVerifier(codeVerifier: string): void | Promise<void>;
|
|
866
|
-
codeVerifier(): string | Promise<string>;
|
|
867
|
-
/**
|
|
868
|
-
* Adds custom client authentication to OAuth token requests.
|
|
869
|
-
*
|
|
870
|
-
* This optional method allows implementations to customize how client credentials
|
|
871
|
-
* are included in token exchange and refresh requests. When provided, this method
|
|
872
|
-
* is called instead of the default authentication logic, giving full control over
|
|
873
|
-
* the authentication mechanism.
|
|
874
|
-
*
|
|
875
|
-
* Common use cases include:
|
|
876
|
-
* - Supporting authentication methods beyond the standard OAuth 2.0 methods
|
|
877
|
-
* - Adding custom headers for proprietary authentication schemes
|
|
878
|
-
* - Implementing client assertion-based authentication (e.g., JWT bearer tokens)
|
|
879
|
-
*
|
|
880
|
-
* @param headers - The request headers (can be modified to add authentication)
|
|
881
|
-
* @param params - The request body parameters (can be modified to add credentials)
|
|
882
|
-
* @param url - The token endpoint URL being called
|
|
883
|
-
* @param metadata - Optional OAuth metadata for the server, which may include supported authentication methods
|
|
884
|
-
*/
|
|
885
|
-
addClientAuthentication?(headers: Headers, params: URLSearchParams, url: string | URL, metadata?: AuthorizationServerMetadata): void | Promise<void>;
|
|
886
|
-
/**
|
|
887
|
-
* If implemented, provides a way for the client to invalidate (e.g. delete) the specified
|
|
888
|
-
* credentials, in the case where the server has indicated that they are no longer valid.
|
|
889
|
-
* This avoids requiring the user to intervene manually.
|
|
890
|
-
*
|
|
891
|
-
* For token invalidation, context identifies the token generation being invalidated
|
|
892
|
-
* when available. Providers sharing storage must atomically compare and delete
|
|
893
|
-
* that generation so a concurrent refresh's tokens are preserved. Omitting or
|
|
894
|
-
* ignoring context retains unconditional invalidation.
|
|
895
|
-
*/
|
|
896
|
-
invalidateCredentials?(scope: 'all' | 'client' | 'tokens' | 'verifier', context?: {
|
|
897
|
-
tokens: OAuthTokens;
|
|
898
|
-
}): void | Promise<void>;
|
|
899
|
-
get redirectUrl(): string | URL;
|
|
900
|
-
get clientMetadata(): OAuthClientMetadata;
|
|
901
|
-
/**
|
|
902
|
-
* Returns client credentials. Pre-registered confidential clients must specify
|
|
903
|
-
* their authorization server's `issuer` or provide stored authorization server
|
|
904
|
-
* information. `validateAuthorizationServerURL` does not replace this binding.
|
|
905
|
-
*/
|
|
906
|
-
clientInformation(): OAuthClientInformation | undefined | Promise<OAuthClientInformation | undefined>;
|
|
907
|
-
/**
|
|
908
|
-
* Returns whether the current client information was obtained through
|
|
909
|
-
* dynamic client registration.
|
|
910
|
-
*
|
|
911
|
-
* Return `true` only when the current client information was saved after a
|
|
912
|
-
* dynamic registration response. When this method is omitted or returns
|
|
913
|
-
* `false`, the client information is treated as pre-registered and is not
|
|
914
|
-
* automatically invalidated after client authentication errors.
|
|
915
|
-
*/
|
|
916
|
-
isClientInformationDynamicallyRegistered?(): boolean | Promise<boolean>;
|
|
917
|
-
saveClientInformation?(clientInformation: OAuthClientInformation): void | Promise<void>;
|
|
918
|
-
authorizationServerInformation?(): OAuthAuthorizationServerInformation | undefined | Promise<OAuthAuthorizationServerInformation | undefined>;
|
|
919
|
-
saveAuthorizationServerInformation?(authorizationServerInformation: OAuthAuthorizationServerInformation): void | Promise<void>;
|
|
920
|
-
/**
|
|
921
|
-
* Validates an authorization server URL discovered from MCP protected resource
|
|
922
|
-
* metadata before the client fetches its OAuth metadata.
|
|
923
|
-
* This additional restriction does not bind client credentials to that server.
|
|
924
|
-
*/
|
|
925
|
-
validateAuthorizationServerURL?(serverUrl: string | URL, authorizationServerUrl: string | URL): void | Promise<void>;
|
|
926
|
-
state?(): string | Promise<string>;
|
|
927
|
-
saveState?(state: string): void | Promise<void>;
|
|
928
|
-
storedState?(): string | undefined | Promise<string | undefined>;
|
|
929
|
-
/**
|
|
930
|
-
* Overrides protected resource validation and selection. Return a resource URL
|
|
931
|
-
* or throw to reject it. Returning undefined uses the canonical MCP server URL
|
|
932
|
-
* with its fragment removed, so OAuth requests always include a resource.
|
|
933
|
-
*/
|
|
934
|
-
validateResourceURL?(serverUrl: string | URL, resource?: string): Promise<URL | undefined>;
|
|
935
|
-
}
|
|
936
|
-
export declare class UnauthorizedError extends Error {
|
|
937
|
-
constructor(message?: string);
|
|
938
|
-
}
|
|
939
|
-
export declare function auth(provider: OAuthClientProvider, options: {
|
|
940
|
-
serverUrl: string | URL;
|
|
941
|
-
authorizationCode?: string;
|
|
942
|
-
callbackState?: string;
|
|
943
|
-
/**
|
|
944
|
-
* Value of the `iss` parameter from the authorization response.
|
|
945
|
-
*/
|
|
946
|
-
callbackIssuer?: string;
|
|
947
|
-
scope?: string;
|
|
948
|
-
resourceMetadataUrl?: URL;
|
|
949
|
-
fetchFn?: FetchFunction;
|
|
950
|
-
}): Promise<AuthResult>;
|
|
951
|
-
//#endregion
|
|
952
|
-
//#region src/tool/mcp-transport.d.ts
|
|
953
|
-
/**
|
|
954
|
-
* Transport interface for MCP (Model Context Protocol) communication.
|
|
955
|
-
* Maps to the `Transport` interface in the MCP spec.
|
|
956
|
-
*/
|
|
957
|
-
type MCPTransportSendOptions = {
|
|
958
|
-
/**
|
|
959
|
-
* Cancels the transport operation for this message.
|
|
960
|
-
*/
|
|
961
|
-
signal?: AbortSignal;
|
|
962
|
-
/**
|
|
963
|
-
* Request-specific HTTP headers produced from MCP tool parameters.
|
|
964
|
-
*/
|
|
965
|
-
headers?: Record<string, string>;
|
|
966
|
-
/**
|
|
967
|
-
* Associates an outgoing message with an incoming request.
|
|
968
|
-
*/
|
|
969
|
-
relatedRequestId?: string | number;
|
|
970
|
-
/**
|
|
971
|
-
* Resumes a previously interrupted request.
|
|
972
|
-
*/
|
|
973
|
-
resumptionToken?: string;
|
|
974
|
-
/**
|
|
975
|
-
* Receives updated resumption tokens from transports that support them.
|
|
976
|
-
*/
|
|
977
|
-
onresumptiontoken?: (token: string) => void;
|
|
978
|
-
};
|
|
979
|
-
type MCPTransportCloseOptions = {
|
|
980
|
-
/**
|
|
981
|
-
* Cancels transport cleanup.
|
|
982
|
-
*/
|
|
983
|
-
signal?: AbortSignal;
|
|
984
|
-
};
|
|
985
|
-
interface MCPTransport {
|
|
986
|
-
/**
|
|
987
|
-
* Whether this transport can probe for stateless MCP protocol versions.
|
|
988
|
-
*
|
|
989
|
-
* Custom transports default to the legacy initialization flow unless they
|
|
990
|
-
* explicitly opt in.
|
|
991
|
-
*/
|
|
992
|
-
supportsProtocolVersionDiscovery?: boolean;
|
|
993
|
-
/**
|
|
994
|
-
* Whether the client waits for the `server/discover` response instead of
|
|
995
|
-
* treating a slow response as a legacy server.
|
|
996
|
-
*
|
|
997
|
-
* Transports that always deliver a response, such as Streamable HTTP, set
|
|
998
|
-
* this so a slow modern server is not downgraded to `initialize`. Other
|
|
999
|
-
* transports keep a short probe timeout because a legacy server may never
|
|
1000
|
-
* answer the unknown method.
|
|
1001
|
-
*/
|
|
1002
|
-
waitsForProtocolVersionDiscovery?: boolean;
|
|
1003
|
-
/**
|
|
1004
|
-
* Whether this transport mirrors x-mcp-header tool parameters into request
|
|
1005
|
-
* headers.
|
|
1006
|
-
*/
|
|
1007
|
-
supportsMcpToolParameterHeaders?: boolean;
|
|
1008
|
-
/**
|
|
1009
|
-
* Initialize and start the transport
|
|
1010
|
-
*/
|
|
1011
|
-
start(): Promise<void>;
|
|
1012
|
-
/**
|
|
1013
|
-
* Send a JSON-RPC message through the transport
|
|
1014
|
-
* @param message The JSON-RPC message to send
|
|
1015
|
-
* @param options Optional request-scoped cancellation options
|
|
1016
|
-
*/
|
|
1017
|
-
send(message: JSONRPCMessage, options?: MCPTransportSendOptions): Promise<void>;
|
|
1018
|
-
/**
|
|
1019
|
-
* Clean up and close the transport
|
|
1020
|
-
* @param options Optional cancellation options for transport cleanup
|
|
1021
|
-
*/
|
|
1022
|
-
close(options?: MCPTransportCloseOptions): Promise<void>;
|
|
1023
|
-
/**
|
|
1024
|
-
* Event handler for transport closure
|
|
1025
|
-
*/
|
|
1026
|
-
onclose?: () => void;
|
|
1027
|
-
/**
|
|
1028
|
-
* Event handler for transport errors
|
|
1029
|
-
*/
|
|
1030
|
-
onerror?: (error: Error) => void;
|
|
1031
|
-
/**
|
|
1032
|
-
* Event handler for received messages
|
|
1033
|
-
*/
|
|
1034
|
-
onmessage?: (message: JSONRPCMessage) => void;
|
|
1035
|
-
/**
|
|
1036
|
-
* The protocol version negotiated during initialization.
|
|
1037
|
-
*/
|
|
1038
|
-
protocolVersion?: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* Set the protocol version negotiated during initialization.
|
|
1041
|
-
*/
|
|
1042
|
-
setProtocolVersion?(version: string): void;
|
|
1043
|
-
}
|
|
1044
|
-
type MCPTransportConfig = {
|
|
1045
|
-
type: 'sse' | 'http';
|
|
1046
|
-
/**
|
|
1047
|
-
* The URL of the MCP server.
|
|
1048
|
-
*/
|
|
1049
|
-
url: string;
|
|
1050
|
-
/**
|
|
1051
|
-
* Additional HTTP headers to be sent with requests.
|
|
1052
|
-
*/
|
|
1053
|
-
headers?: Record<string, string>;
|
|
1054
|
-
/**
|
|
1055
|
-
* An optional OAuth client provider to use for authentication for MCP servers.
|
|
1056
|
-
*/
|
|
1057
|
-
authProvider?: OAuthClientProvider;
|
|
1058
|
-
/**
|
|
1059
|
-
* Controls how HTTP redirects are handled for transport requests.
|
|
1060
|
-
* - `'follow'`: Follow redirects automatically (standard fetch behavior).
|
|
1061
|
-
* - `'error'`: Reject any redirect response with an error.
|
|
1062
|
-
* @default 'error'
|
|
1063
|
-
*/
|
|
1064
|
-
redirect?: 'follow' | 'error';
|
|
1065
|
-
/**
|
|
1066
|
-
* Initial MCP session id to send with resumed Streamable HTTP requests after
|
|
1067
|
-
* initialization.
|
|
1068
|
-
* Only used by the HTTP transport.
|
|
1069
|
-
*/
|
|
1070
|
-
initialSessionId?: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* Initial MCP protocol version to send before initialize negotiates one.
|
|
1073
|
-
* Only used by the HTTP transport.
|
|
1074
|
-
*/
|
|
1075
|
-
initialProtocolVersion?: string;
|
|
1076
|
-
/**
|
|
1077
|
-
* Called when the Streamable HTTP server creates, changes, or clears the MCP
|
|
1078
|
-
* session id.
|
|
1079
|
-
* Only used by the HTTP transport.
|
|
1080
|
-
*/
|
|
1081
|
-
onSessionIdChange?: (sessionId: string | undefined) => void;
|
|
1082
|
-
/**
|
|
1083
|
-
* Called when a Streamable HTTP request returns 404 for an existing MCP
|
|
1084
|
-
* session id. The transport clears the session id before reporting the
|
|
1085
|
-
* underlying HTTP error.
|
|
1086
|
-
* Only used by the HTTP transport.
|
|
1087
|
-
*/
|
|
1088
|
-
onSessionExpired?: (sessionId: string) => void;
|
|
1089
|
-
/**
|
|
1090
|
-
* Whether close() should send DELETE for the current MCP session id.
|
|
1091
|
-
* Set to false when the application intends to reattach to the session later.
|
|
1092
|
-
* Only used by the HTTP transport.
|
|
1093
|
-
* @default true
|
|
1094
|
-
*/
|
|
1095
|
-
terminateSessionOnClose?: boolean;
|
|
1096
|
-
/**
|
|
1097
|
-
* Optional custom fetch implementation to use for HTTP requests.
|
|
1098
|
-
* Useful for runtimes that need a request-local fetch.
|
|
1099
|
-
* @default globalThis.fetch
|
|
1100
|
-
*/
|
|
1101
|
-
fetch?: FetchFunction;
|
|
1102
|
-
};
|
|
1103
|
-
//#endregion
|
|
1104
|
-
//#region src/tool/mcp-client.d.ts
|
|
1105
|
-
interface MCPClientConfig {
|
|
1106
|
-
/** Experimental events: choose a private durable store or a managed adapter. */
|
|
1107
|
-
experimental_events?: MCPEventsConfig;
|
|
1108
|
-
/** Transport configuration for connecting to the MCP server */
|
|
1109
|
-
transport: MCPTransportConfig | MCPTransport;
|
|
1110
|
-
/**
|
|
1111
|
-
* Whether transports that support stateless protocol discovery should probe
|
|
1112
|
-
* with `server/discover` before falling back to legacy initialization.
|
|
1113
|
-
*
|
|
1114
|
-
* Disable this for legacy servers that require `initialize` to be the first
|
|
1115
|
-
* request.
|
|
1116
|
-
*
|
|
1117
|
-
* @default true
|
|
1118
|
-
*/
|
|
1119
|
-
protocolVersionDiscovery?: boolean;
|
|
1120
|
-
/**
|
|
1121
|
-
* Options that bound or cancel transport startup and the initialize request.
|
|
1122
|
-
*/
|
|
1123
|
-
initializationOptions?: RequestOptions;
|
|
1124
|
-
/** Optional callback for uncaught errors */
|
|
1125
|
-
onUncaughtError?: (error: unknown) => void;
|
|
1126
|
-
/**
|
|
1127
|
-
* Maximum number of retries for transient MCP tool call failures.
|
|
1128
|
-
*
|
|
1129
|
-
* Set to 0 to disable retries. Retries only apply to tools/call requests.
|
|
1130
|
-
* JSON-RPC application errors, such as invalid params, are not retried.
|
|
1131
|
-
*
|
|
1132
|
-
* @default 0
|
|
1133
|
-
*/
|
|
1134
|
-
maxRetries?: number;
|
|
1135
|
-
/**
|
|
1136
|
-
* Initialize result from a previous MCP session. When provided, the client
|
|
1137
|
-
* starts the transport and reuses this metadata without sending a new
|
|
1138
|
-
* initialize request.
|
|
1139
|
-
*/
|
|
1140
|
-
initialInitializeResult?: InitializeResult;
|
|
1141
|
-
/** Optional client name, defaults to 'ai-sdk-mcp-client' */
|
|
1142
|
-
clientName?: string;
|
|
1143
|
-
/**
|
|
1144
|
-
* Optional client name, defaults to 'ai-sdk-mcp-client'
|
|
1145
|
-
*
|
|
1146
|
-
* @deprecated Use `clientName` instead.
|
|
1147
|
-
*/
|
|
1148
|
-
name?: string;
|
|
1149
|
-
/** Optional client version, defaults to '1.0.0' */
|
|
1150
|
-
version?: string;
|
|
1151
|
-
/**
|
|
1152
|
-
* Optional client capabilities to advertise during initialization
|
|
1153
|
-
*
|
|
1154
|
-
* NOTE: It is up to the client application to handle the requests properly. This parameter just helps surface the request from the server
|
|
1155
|
-
*/
|
|
1156
|
-
capabilities?: ClientCapabilities;
|
|
1157
|
-
}
|
|
1158
|
-
type ManagedMCPClient = Omit<MCPClient, 'experimental_events'> & {
|
|
1159
|
-
readonly experimental_events: ManagedMCPEvents;
|
|
1160
|
-
};
|
|
1161
|
-
export declare function createMCPClient(config: MCPClientConfig & {
|
|
1162
|
-
experimental_events: {
|
|
1163
|
-
adapter: MCPEventAdapter;
|
|
1164
|
-
};
|
|
1165
|
-
}): Promise<ManagedMCPClient>;
|
|
1166
|
-
export declare function createMCPClient(config: MCPClientConfig & {
|
|
1167
|
-
experimental_events?: {
|
|
1168
|
-
adapter?: never;
|
|
1169
|
-
};
|
|
1170
|
-
}): Promise<MCPClient>;
|
|
1171
|
-
export declare function createMCPClient(config: MCPClientConfig): Promise<MCPClient | ManagedMCPClient>;
|
|
1172
|
-
interface MCPClient {
|
|
1173
|
-
/** Experimental event discovery and webhook subscription lifecycle. */
|
|
1174
|
-
readonly experimental_events: MCPEvents;
|
|
1175
|
-
/**
|
|
1176
|
-
* Information about the connected MCP server, as reported during initialization.
|
|
1177
|
-
* @see https://modelcontextprotocol.io/specification/2025-11-25/schema#implementation
|
|
1178
|
-
*/
|
|
1179
|
-
readonly serverInfo: Configuration;
|
|
1180
|
-
/**
|
|
1181
|
-
* The full initialize result used by this client, either from the server
|
|
1182
|
-
* during initialization or from `initialInitializeResult`.
|
|
1183
|
-
*/
|
|
1184
|
-
readonly initializeResult: InitializeResult;
|
|
1185
|
-
/**
|
|
1186
|
-
* Optional instructions provided by the server during the initialize handshake.
|
|
1187
|
-
*
|
|
1188
|
-
* These describe how to use the server and its features, and can be used by clients
|
|
1189
|
-
* to improve LLM interactions (e.g. by including them in the system prompt).
|
|
1190
|
-
*
|
|
1191
|
-
* @see https://modelcontextprotocol.io/specification/2025-11-25/schema#initializeresult
|
|
1192
|
-
*/
|
|
1193
|
-
readonly instructions?: string;
|
|
1194
|
-
tools<TOOL_SCHEMAS extends ToolSchemas = 'automatic'>(options?: {
|
|
1195
|
-
schemas?: TOOL_SCHEMAS;
|
|
1196
|
-
}): Promise<McpToolSet<TOOL_SCHEMAS>>;
|
|
1197
|
-
/**
|
|
1198
|
-
* Lists available tools from the MCP server.
|
|
1199
|
-
*/
|
|
1200
|
-
listTools(options?: {
|
|
1201
|
-
params?: PaginatedRequest['params'];
|
|
1202
|
-
options?: RequestOptions;
|
|
1203
|
-
}): Promise<ListToolsResult>;
|
|
1204
|
-
/**
|
|
1205
|
-
* Calls a tool on the MCP server.
|
|
1206
|
-
*/
|
|
1207
|
-
callTool(args: {
|
|
1208
|
-
name: string;
|
|
1209
|
-
arguments?: Record<string, unknown>;
|
|
1210
|
-
options?: RequestOptions;
|
|
1211
|
-
}): Promise<CallToolResult>;
|
|
1212
|
-
/**
|
|
1213
|
-
* Creates AI SDK tools from tool definitions.
|
|
1214
|
-
*/
|
|
1215
|
-
toolsFromDefinitions<TOOL_SCHEMAS extends ToolSchemas = 'automatic'>(definitions: ListToolsResult, options?: {
|
|
1216
|
-
schemas?: TOOL_SCHEMAS;
|
|
1217
|
-
}): McpToolSet<TOOL_SCHEMAS>;
|
|
1218
|
-
listResources(options?: {
|
|
1219
|
-
params?: PaginatedRequest['params'];
|
|
1220
|
-
options?: RequestOptions;
|
|
1221
|
-
}): Promise<ListResourcesResult>;
|
|
1222
|
-
readResource(args: {
|
|
1223
|
-
uri: string;
|
|
1224
|
-
options?: RequestOptions;
|
|
1225
|
-
}): Promise<ReadResourceResult>;
|
|
1226
|
-
listResourceTemplates(options?: {
|
|
1227
|
-
options?: RequestOptions;
|
|
1228
|
-
}): Promise<ListResourceTemplatesResult>;
|
|
1229
|
-
listPrompts(options?: {
|
|
1230
|
-
params?: PaginatedRequest['params'];
|
|
1231
|
-
options?: RequestOptions;
|
|
1232
|
-
}): Promise<ListPromptsResult>;
|
|
1233
|
-
getPrompt(args: {
|
|
1234
|
-
name: string;
|
|
1235
|
-
arguments?: Record<string, unknown>;
|
|
1236
|
-
options?: RequestOptions;
|
|
1237
|
-
}): Promise<GetPromptResult>;
|
|
1238
|
-
/** @deprecated Use `listPrompts` instead. */
|
|
1239
|
-
experimental_listPrompts(options?: {
|
|
1240
|
-
params?: PaginatedRequest['params'];
|
|
1241
|
-
options?: RequestOptions;
|
|
1242
|
-
}): Promise<ListPromptsResult>;
|
|
1243
|
-
/** @deprecated Use `getPrompt` instead. */
|
|
1244
|
-
experimental_getPrompt(args: {
|
|
1245
|
-
name: string;
|
|
1246
|
-
arguments?: Record<string, unknown>;
|
|
1247
|
-
options?: RequestOptions;
|
|
1248
|
-
}): Promise<GetPromptResult>;
|
|
1249
|
-
complete(args: CompleteRequestParams & {
|
|
1250
|
-
options?: RequestOptions;
|
|
1251
|
-
}): Promise<CompleteResult>;
|
|
1252
|
-
onElicitationRequest(schema: typeof ElicitationRequestSchema, handler: (request: ElicitationRequest) => Promise<ElicitResult> | ElicitResult): void;
|
|
1253
|
-
close: () => Promise<void>;
|
|
1254
|
-
}
|
|
1255
|
-
//#endregion
|
|
1256
|
-
//#region src/tool/mcp-apps.d.ts
|
|
1257
|
-
/**
|
|
1258
|
-
* MIME type for HTML resources that are meant to be rendered as MCP Apps.
|
|
1259
|
-
*/
|
|
1260
|
-
export declare const MCP_APP_MIME_TYPE: "text/html;profile=mcp-app";
|
|
1261
|
-
/**
|
|
1262
|
-
* Client capabilities to pass to `createMCPClient` when the host supports MCP Apps.
|
|
1263
|
-
*/
|
|
1264
|
-
export declare const mcpAppClientCapabilities: {
|
|
1265
|
-
readonly extensions: {
|
|
1266
|
-
readonly "io.modelcontextprotocol/ui": {
|
|
1267
|
-
readonly mimeTypes: readonly ["text/html;profile=mcp-app"];
|
|
1268
|
-
};
|
|
1269
|
-
};
|
|
1270
|
-
};
|
|
1271
|
-
/**
|
|
1272
|
-
* Content security policy metadata requested by an MCP App resource.
|
|
1273
|
-
*/
|
|
1274
|
-
type MCPAppResourceCSP = {
|
|
1275
|
-
connectDomains?: string[];
|
|
1276
|
-
resourceDomains?: string[];
|
|
1277
|
-
frameDomains?: string[];
|
|
1278
|
-
baseUriDomains?: string[];
|
|
1279
|
-
[key: string]: unknown;
|
|
1280
|
-
};
|
|
1281
|
-
/**
|
|
1282
|
-
* Host rendering metadata from an MCP App resource.
|
|
1283
|
-
*/
|
|
1284
|
-
type MCPAppResourceMeta = {
|
|
1285
|
-
prefersBorder?: boolean;
|
|
1286
|
-
csp?: MCPAppResourceCSP;
|
|
1287
|
-
permissions?: Record<string, unknown>;
|
|
1288
|
-
[key: string]: unknown;
|
|
1289
|
-
};
|
|
1290
|
-
/**
|
|
1291
|
-
* HTML and metadata needed by a host to render an MCP App.
|
|
1292
|
-
*/
|
|
1293
|
-
type MCPAppResource = {
|
|
1294
|
-
uri: string;
|
|
1295
|
-
mimeType: typeof MCP_APP_MIME_TYPE;
|
|
1296
|
-
html: string;
|
|
1297
|
-
meta?: MCPAppResourceMeta;
|
|
1298
|
-
};
|
|
1299
|
-
/**
|
|
1300
|
-
* Splits tool definitions into model-visible tools and app-visible tools.
|
|
1301
|
-
*/
|
|
1302
|
-
export declare function splitMCPAppTools(definitions: ListToolsResult): {
|
|
1303
|
-
modelVisible: ListToolsResult;
|
|
1304
|
-
appVisible: ListToolsResult;
|
|
1305
|
-
};
|
|
1306
|
-
/**
|
|
1307
|
-
* Reads a `ui://` resource from an MCP server and normalizes it for rendering.
|
|
1308
|
-
*/
|
|
1309
|
-
export declare function readMCPAppResource({ client, uri, options }: {
|
|
1310
|
-
client: Pick<MCPClient, 'readResource'>;
|
|
1311
|
-
uri: string;
|
|
1312
|
-
options?: RequestOptions;
|
|
1313
|
-
}): Promise<MCPAppResource>;
|
|
1314
|
-
//#endregion
|
|
1315
|
-
//#region src/tool/mcp-app-fingerprint.d.ts
|
|
1316
|
-
/**
|
|
1317
|
-
* Stable SHA-256 digest (base64url) over an MCP App resource's `html`, `csp`,
|
|
1318
|
-
* and `permissions`.
|
|
1319
|
-
*
|
|
1320
|
-
* Capture a baseline on first load and compare later reads with
|
|
1321
|
-
* {@link detectMCPAppResourceDrift} to detect a changed resource. Baseline
|
|
1322
|
-
* storage and the response are the host's concern, mirroring `fingerprintTools`.
|
|
1323
|
-
*/
|
|
1324
|
-
export declare function fingerprintMCPAppResource(resource: MCPAppResource): Promise<string>;
|
|
1325
|
-
/**
|
|
1326
|
-
* Compares two fingerprints from {@link fingerprintMCPAppResource}. Returns
|
|
1327
|
-
* `true` when the current resource differs from its baseline.
|
|
1328
|
-
*/
|
|
1329
|
-
export declare function detectMCPAppResourceDrift(current: string, baseline: string): boolean;
|
|
1330
|
-
//#endregion
|
|
1331
|
-
//#region src/error/mcp-client-error.d.ts
|
|
1332
|
-
declare const symbol: unique symbol;
|
|
1333
|
-
/**
|
|
1334
|
-
* An error occurred with the MCP client.
|
|
1335
|
-
*/
|
|
1336
|
-
export declare class MCPClientError extends AISDKError {
|
|
1337
|
-
private readonly [symbol];
|
|
1338
|
-
readonly data?: unknown;
|
|
1339
|
-
/**
|
|
1340
|
-
* JSON-RPC error code from the server response, per the JSON-RPC 2.0
|
|
1341
|
-
* spec (e.g. `-32601` method-not-found, `-32602` invalid-params, or
|
|
1342
|
-
* MCP-specific codes such as `-32002` resource-not-found). This is the
|
|
1343
|
-
* application-level error code populated from `error.code` in the
|
|
1344
|
-
* server's JSON-RPC error payload. Distinct from `statusCode`, which
|
|
1345
|
-
* is the HTTP transport status.
|
|
1346
|
-
*/
|
|
1347
|
-
readonly code?: number;
|
|
1348
|
-
/**
|
|
1349
|
-
* HTTP status code from the failed response, when the error originated
|
|
1350
|
-
* from an HTTP-based transport. Undefined for stdio transport
|
|
1351
|
-
* errors and for failures that do not have an associated response
|
|
1352
|
-
* status (e.g. network errors, abort). Distinct from `code`, which is
|
|
1353
|
-
* the JSON-RPC application error code.
|
|
1354
|
-
*/
|
|
1355
|
-
readonly statusCode?: number;
|
|
1356
|
-
/**
|
|
1357
|
-
* URL of the MCP endpoint the failing request was sent to, when the
|
|
1358
|
-
* error originated from an HTTP transport failure.
|
|
1359
|
-
*/
|
|
1360
|
-
readonly url?: string;
|
|
1361
|
-
/**
|
|
1362
|
-
* Body of the failing HTTP response, decoded as text, when available.
|
|
1363
|
-
* Undefined when the body could not be read or the error did not have
|
|
1364
|
-
* an associated response.
|
|
1365
|
-
*/
|
|
1366
|
-
readonly responseBody?: string;
|
|
1367
|
-
constructor({ name, message, cause, data, code, statusCode, url, responseBody }: {
|
|
1368
|
-
name?: string;
|
|
1369
|
-
message: string;
|
|
1370
|
-
cause?: unknown;
|
|
1371
|
-
data?: unknown;
|
|
1372
|
-
code?: number;
|
|
1373
|
-
statusCode?: number;
|
|
1374
|
-
url?: string;
|
|
1375
|
-
responseBody?: string;
|
|
1376
|
-
});
|
|
1377
|
-
static isInstance(error: unknown): error is MCPClientError;
|
|
1378
|
-
}
|
|
1379
|
-
//#endregion
|
|
1380
|
-
//#region src/tool/mcp-event-webhook.d.ts
|
|
1381
|
-
type MCPEventWebhookOptions = {
|
|
1382
|
-
store: MCPEventStore;
|
|
1383
|
-
/**
|
|
1384
|
-
* Optionally validate event data using an application schema or the server's
|
|
1385
|
-
* payloadSchema. Throw to reject the payload with 400 before onEvent runs.
|
|
1386
|
-
* The event envelope and signature are always checked.
|
|
1387
|
-
*/
|
|
1388
|
-
validatePayload?: (args: {
|
|
1389
|
-
definition: MCPEventDefinition;
|
|
1390
|
-
data: MCPEvent['data'];
|
|
1391
|
-
}) => void | PromiseLike<void>;
|
|
1392
|
-
/**
|
|
1393
|
-
* Resolve only after durable acceptance or successful processing. Deliveries
|
|
1394
|
-
* may be duplicated or reordered; deduplicate by subscription ID + eventId.
|
|
1395
|
-
* Throw to return 503 so the server can retry. The helper does not run agents.
|
|
1396
|
-
*/
|
|
1397
|
-
onEvent: (args: {
|
|
1398
|
-
subscription: MCPEventSubscriptionInfo;
|
|
1399
|
-
event: MCPEvent;
|
|
1400
|
-
}) => Promise<void>;
|
|
1401
|
-
/**
|
|
1402
|
-
* Handles a signed replay gap: some events are no longer available. Reconcile
|
|
1403
|
-
* application state or notify the agent, then resolve after durable acceptance.
|
|
1404
|
-
* The helper saves the fresh cursor and truncated flag; delivery continues.
|
|
1405
|
-
* Throw to return 503 without changing saved state. Deduplicate by subscription
|
|
1406
|
-
* ID + messageId.
|
|
1407
|
-
*/
|
|
1408
|
-
onGap?: (args: {
|
|
1409
|
-
subscription: MCPEventSubscriptionInfo;
|
|
1410
|
-
messageId: string;
|
|
1411
|
-
gap: Extract<MCPEventControl, {
|
|
1412
|
-
type: 'gap';
|
|
1413
|
-
}>;
|
|
1414
|
-
}) => Promise<void>;
|
|
1415
|
-
/**
|
|
1416
|
-
* Handles signed termination: the server has ended the subscription. Inspect
|
|
1417
|
-
* termination.error and notify the agent, then resolve after durable acceptance.
|
|
1418
|
-
* The helper removes the saved subscription after this callback succeeds.
|
|
1419
|
-
* Throw to return 503 without changing saved state. Deduplicate by subscription
|
|
1420
|
-
* ID + messageId.
|
|
1421
|
-
*/
|
|
1422
|
-
onTerminated?: (args: {
|
|
1423
|
-
subscription: MCPEventSubscriptionInfo;
|
|
1424
|
-
messageId: string;
|
|
1425
|
-
termination: Extract<MCPEventControl, {
|
|
1426
|
-
type: 'terminated';
|
|
1427
|
-
}>;
|
|
1428
|
-
}) => Promise<void>;
|
|
1429
|
-
onError?: (error: unknown) => void;
|
|
1430
|
-
};
|
|
1431
|
-
/**
|
|
1432
|
-
* Create a Web Request/Response handler for MCP webhook deliveries. Mount it
|
|
1433
|
-
* at the callback URL before subscribing. Verification is enabled automatically
|
|
1434
|
-
* using the pending delivery secret saved by the client's subscribe method.
|
|
1435
|
-
*/
|
|
1436
|
-
declare function createMCPEventWebhook({ store, validatePayload, onEvent, onGap, onTerminated, onError }: MCPEventWebhookOptions): (request: Request) => Promise<Response>;
|
|
1437
|
-
//#endregion
|
|
1438
|
-
export { type CallToolResult, type CompleteRequestParams, type CompleteResult, type Configuration, type ElicitResult, type ElicitationRequest, type ListEventsResult as Experimental_ListEventsResult, type MCPEvent as Experimental_MCPEvent, type MCPEventAdapter as Experimental_MCPEventAdapter, type MCPEventControl as Experimental_MCPEventControl, type MCPEventDefinition as Experimental_MCPEventDefinition, type MCPEventOperations as Experimental_MCPEventOperations, type MCPEventStore as Experimental_MCPEventStore, type MCPEventSubscription as Experimental_MCPEventSubscription, type MCPEventSubscriptionInfo as Experimental_MCPEventSubscriptionInfo, type MCPEventWebhookOptions as Experimental_MCPEventWebhookOptions, type MCPEvents as Experimental_MCPEvents, type MCPEventsConfig as Experimental_MCPEventsConfig, type ManagedMCPClient as Experimental_ManagedMCPClient, type ManagedMCPEvents as Experimental_ManagedMCPEvents, type ManagedSubscribeInput as Experimental_ManagedSubscribeInput, type ManagedSubscription as Experimental_ManagedSubscription, type SubscribeEventOptions as Experimental_SubscribeEventOptions, type SubscribeEventResult as Experimental_SubscribeEventResult, type InitializeResult, type JSONRPCError, type JSONRPCMessage, type JSONRPCNotification, type JSONRPCRequest, type JSONRPCResponse, type ListToolsResult, type MCPAppResource, type MCPAppResourceCSP, type MCPAppResourceMeta, type MCPClient, type MCPClient as experimental_MCPClient, type ClientCapabilities as MCPClientCapabilities, type ClientCapabilities as experimental_MCPClientCapabilities, type MCPClientConfig, type MCPClientConfig as experimental_MCPClientConfig, type MCPTransport, type MCPTransportCloseOptions, type MCPTransportSendOptions, type McpProviderMetadata, type McpToolAnnotations, type OAuthAuthorizationServerInformation, type OAuthClientInformation, type OAuthClientMetadata, type OAuthClientProvider, type OAuthTokens, createMCPClient as experimental_createMCPClient, createMCPEventWebhook as experimental_createMCPEventWebhook };
|
|
1439
|
-
//# sourceMappingURL=index.d.ts.map
|