eve 1.0.0 → 1.0.2
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 +5 -375
- 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 +2 -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/test/mock-terminal.js +4 -4
- package/dist/src/cli/dev/tui/tui.js +1 -1
- package/dist/src/cli/run.js +1 -1
- package/dist/src/cli/ui/live-region.js +1 -1
- package/dist/src/cli/ui/live-row.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,4093 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A JSON-RPC request object.
|
|
3
|
-
*/
|
|
4
|
-
export type AgentRequest = {
|
|
5
|
-
/**
|
|
6
|
-
* The request id used to correlate the matching response.
|
|
7
|
-
*/
|
|
8
|
-
id: RequestId;
|
|
9
|
-
/**
|
|
10
|
-
* The method name to invoke.
|
|
11
|
-
*/
|
|
12
|
-
method: string;
|
|
13
|
-
/**
|
|
14
|
-
* Method-specific request parameters.
|
|
15
|
-
*/
|
|
16
|
-
params?: WriteTextFileRequest | ReadTextFileRequest | RequestPermissionRequest | CreateTerminalRequest | TerminalOutputRequest | ReleaseTerminalRequest | WaitForTerminalExitRequest | KillTerminalRequest | CreateElicitationRequest | ExtRequest | null;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* JSON RPC Request Id
|
|
20
|
-
*
|
|
21
|
-
* An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null \[1\] and Numbers SHOULD NOT contain fractional parts \[2\]
|
|
22
|
-
*
|
|
23
|
-
* The Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects.
|
|
24
|
-
*
|
|
25
|
-
* \[1\] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling.
|
|
26
|
-
*
|
|
27
|
-
* \[2\] Fractional parts may be problematic, since many decimal fractions cannot be represented exactly as binary fractions.
|
|
28
|
-
*/
|
|
29
|
-
export type RequestId = null | number | string;
|
|
30
|
-
/**
|
|
31
|
-
* Request to write content to a text file.
|
|
32
|
-
*
|
|
33
|
-
* Only available if the client supports the `fs.writeTextFile` capability.
|
|
34
|
-
*/
|
|
35
|
-
export type WriteTextFileRequest = {
|
|
36
|
-
/**
|
|
37
|
-
* The session ID for this request.
|
|
38
|
-
*/
|
|
39
|
-
sessionId: SessionId;
|
|
40
|
-
/**
|
|
41
|
-
* Absolute path to the file to write.
|
|
42
|
-
*/
|
|
43
|
-
path: string;
|
|
44
|
-
/**
|
|
45
|
-
* The text content to write to the file.
|
|
46
|
-
*/
|
|
47
|
-
content: string;
|
|
48
|
-
/**
|
|
49
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
50
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
51
|
-
* these keys.
|
|
52
|
-
*
|
|
53
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
54
|
-
*/
|
|
55
|
-
_meta?: {
|
|
56
|
-
[key: string]: unknown;
|
|
57
|
-
} | null;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* A unique identifier for a conversation session between a client and agent.
|
|
61
|
-
*
|
|
62
|
-
* Each session has its own context, conversation history, and state, so one
|
|
63
|
-
* agent can run several independent sessions.
|
|
64
|
-
*
|
|
65
|
-
* See protocol docs: [Session ID](https://agentclientprotocol.com/protocol/v1/session-setup#session-id)
|
|
66
|
-
*/
|
|
67
|
-
export type SessionId = string;
|
|
68
|
-
/**
|
|
69
|
-
* Request to read content from a text file.
|
|
70
|
-
*
|
|
71
|
-
* Only available if the client supports the `fs.readTextFile` capability.
|
|
72
|
-
*/
|
|
73
|
-
export type ReadTextFileRequest = {
|
|
74
|
-
/**
|
|
75
|
-
* The session ID for this request.
|
|
76
|
-
*/
|
|
77
|
-
sessionId: SessionId;
|
|
78
|
-
/**
|
|
79
|
-
* Absolute path to the file to read.
|
|
80
|
-
*/
|
|
81
|
-
path: string;
|
|
82
|
-
/**
|
|
83
|
-
* Line number to start reading from (1-based).
|
|
84
|
-
*/
|
|
85
|
-
line?: number | null;
|
|
86
|
-
/**
|
|
87
|
-
* Maximum number of lines to read.
|
|
88
|
-
*/
|
|
89
|
-
limit?: number | null;
|
|
90
|
-
/**
|
|
91
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
92
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
93
|
-
* these keys.
|
|
94
|
-
*
|
|
95
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
96
|
-
*/
|
|
97
|
-
_meta?: {
|
|
98
|
-
[key: string]: unknown;
|
|
99
|
-
} | null;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Request for user permission to execute a tool call.
|
|
103
|
-
*
|
|
104
|
-
* Sent when the agent needs authorization before performing a sensitive operation.
|
|
105
|
-
*
|
|
106
|
-
* See protocol docs: [Requesting Permission](https://agentclientprotocol.com/protocol/v1/tool-calls#requesting-permission)
|
|
107
|
-
*/
|
|
108
|
-
export type RequestPermissionRequest = {
|
|
109
|
-
/**
|
|
110
|
-
* The session ID for this request.
|
|
111
|
-
*/
|
|
112
|
-
sessionId: SessionId;
|
|
113
|
-
/**
|
|
114
|
-
* Details about the tool call requiring permission.
|
|
115
|
-
*/
|
|
116
|
-
toolCall: ToolCallUpdate;
|
|
117
|
-
/**
|
|
118
|
-
* Available permission options for the user to choose from.
|
|
119
|
-
*/
|
|
120
|
-
options: Array<PermissionOption>;
|
|
121
|
-
/**
|
|
122
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
123
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
124
|
-
* these keys.
|
|
125
|
-
*
|
|
126
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
127
|
-
*/
|
|
128
|
-
_meta?: {
|
|
129
|
-
[key: string]: unknown;
|
|
130
|
-
} | null;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* An update to an existing tool call.
|
|
134
|
-
*
|
|
135
|
-
* Used to report progress and results as tools execute. All fields except
|
|
136
|
-
* the tool call ID are optional - only changed fields need to be included.
|
|
137
|
-
*
|
|
138
|
-
* See protocol docs: [Updating](https://agentclientprotocol.com/protocol/v1/tool-calls#updating)
|
|
139
|
-
*/
|
|
140
|
-
export type ToolCallUpdate = {
|
|
141
|
-
/**
|
|
142
|
-
* The ID of the tool call being updated.
|
|
143
|
-
*/
|
|
144
|
-
toolCallId: ToolCallId;
|
|
145
|
-
/**
|
|
146
|
-
* Update the tool kind.
|
|
147
|
-
*/
|
|
148
|
-
kind?: ToolKind | null;
|
|
149
|
-
/**
|
|
150
|
-
* Update the execution status.
|
|
151
|
-
*/
|
|
152
|
-
status?: ToolCallStatus | null;
|
|
153
|
-
/**
|
|
154
|
-
* Update the human-readable title.
|
|
155
|
-
*/
|
|
156
|
-
title?: string | null;
|
|
157
|
-
/**
|
|
158
|
-
* Update the programmatic name of the tool being invoked.
|
|
159
|
-
*
|
|
160
|
-
* This field is optional. Omitting it or sending `null` both mean that
|
|
161
|
-
* the existing name is left unchanged.
|
|
162
|
-
*/
|
|
163
|
-
name?: string | null;
|
|
164
|
-
/**
|
|
165
|
-
* Replace the content collection.
|
|
166
|
-
*/
|
|
167
|
-
content?: Array<ToolCallContent> | null;
|
|
168
|
-
/**
|
|
169
|
-
* Replace the locations collection.
|
|
170
|
-
*/
|
|
171
|
-
locations?: Array<ToolCallLocation> | null;
|
|
172
|
-
/**
|
|
173
|
-
* Update the raw input.
|
|
174
|
-
*/
|
|
175
|
-
rawInput?: unknown;
|
|
176
|
-
/**
|
|
177
|
-
* Update the raw output.
|
|
178
|
-
*/
|
|
179
|
-
rawOutput?: unknown;
|
|
180
|
-
/**
|
|
181
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
182
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
183
|
-
* these keys.
|
|
184
|
-
*
|
|
185
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
186
|
-
*/
|
|
187
|
-
_meta?: {
|
|
188
|
-
[key: string]: unknown;
|
|
189
|
-
} | null;
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* Unique identifier for a tool call within a session.
|
|
193
|
-
*/
|
|
194
|
-
export type ToolCallId = string;
|
|
195
|
-
/**
|
|
196
|
-
* Categories of tools that can be invoked.
|
|
197
|
-
*
|
|
198
|
-
* Tool kinds help clients choose appropriate icons and optimize how they
|
|
199
|
-
* display tool execution progress.
|
|
200
|
-
*
|
|
201
|
-
* See protocol docs: [Creating](https://agentclientprotocol.com/protocol/v1/tool-calls#creating)
|
|
202
|
-
*/
|
|
203
|
-
export type ToolKind = "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "switch_mode" | "other";
|
|
204
|
-
/**
|
|
205
|
-
* Execution status of a tool call.
|
|
206
|
-
*
|
|
207
|
-
* Tool calls progress through different statuses during their lifecycle.
|
|
208
|
-
*
|
|
209
|
-
* See protocol docs: [Status](https://agentclientprotocol.com/protocol/v1/tool-calls#status)
|
|
210
|
-
*/
|
|
211
|
-
export type ToolCallStatus = "pending" | "in_progress" | "completed" | "failed";
|
|
212
|
-
/**
|
|
213
|
-
* Content produced by a tool call.
|
|
214
|
-
*
|
|
215
|
-
* Tool calls can produce different types of content including
|
|
216
|
-
* standard content blocks (text, images) or file diffs.
|
|
217
|
-
*
|
|
218
|
-
* See protocol docs: [Content](https://agentclientprotocol.com/protocol/v1/tool-calls#content)
|
|
219
|
-
*/
|
|
220
|
-
export type ToolCallContent = (Content & {
|
|
221
|
-
type: "content";
|
|
222
|
-
}) | (Diff & {
|
|
223
|
-
type: "diff";
|
|
224
|
-
}) | (Terminal & {
|
|
225
|
-
type: "terminal";
|
|
226
|
-
});
|
|
227
|
-
/**
|
|
228
|
-
* Content blocks represent displayable information in the Agent Client Protocol.
|
|
229
|
-
*
|
|
230
|
-
* Content blocks appear in:
|
|
231
|
-
* - User prompts sent via `session/prompt`
|
|
232
|
-
* - Language model output streamed through `session/update` notifications
|
|
233
|
-
* - Progress updates and results from tool calls
|
|
234
|
-
*
|
|
235
|
-
* This structure is compatible with the Model Context Protocol (MCP), so agents can
|
|
236
|
-
* forward content from MCP tool outputs without transformation.
|
|
237
|
-
*
|
|
238
|
-
* See protocol docs: [Content](https://agentclientprotocol.com/protocol/v1/content)
|
|
239
|
-
*/
|
|
240
|
-
export type ContentBlock = (TextContent & {
|
|
241
|
-
type: "text";
|
|
242
|
-
}) | (ImageContent & {
|
|
243
|
-
type: "image";
|
|
244
|
-
}) | (AudioContent & {
|
|
245
|
-
type: "audio";
|
|
246
|
-
}) | (ResourceLink & {
|
|
247
|
-
type: "resource_link";
|
|
248
|
-
}) | (EmbeddedResource & {
|
|
249
|
-
type: "resource";
|
|
250
|
-
});
|
|
251
|
-
/**
|
|
252
|
-
* Optional annotations for the client. The client can use annotations to inform how objects are used or displayed
|
|
253
|
-
*/
|
|
254
|
-
export type Annotations = {
|
|
255
|
-
/**
|
|
256
|
-
* Intended recipients for this content, such as the user or assistant.
|
|
257
|
-
*/
|
|
258
|
-
audience?: Array<Role> | null;
|
|
259
|
-
/**
|
|
260
|
-
* Timestamp indicating when the underlying resource was last modified.
|
|
261
|
-
*/
|
|
262
|
-
lastModified?: string | null;
|
|
263
|
-
/**
|
|
264
|
-
* Relative importance of this content when clients choose what to surface.
|
|
265
|
-
*/
|
|
266
|
-
priority?: number | null;
|
|
267
|
-
/**
|
|
268
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
269
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
270
|
-
* these keys.
|
|
271
|
-
*
|
|
272
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
273
|
-
*/
|
|
274
|
-
_meta?: {
|
|
275
|
-
[key: string]: unknown;
|
|
276
|
-
} | null;
|
|
277
|
-
};
|
|
278
|
-
/**
|
|
279
|
-
* The sender or recipient of messages and data in a conversation.
|
|
280
|
-
*/
|
|
281
|
-
export type Role = "assistant" | "user";
|
|
282
|
-
/**
|
|
283
|
-
* Text provided to or from an LLM.
|
|
284
|
-
*/
|
|
285
|
-
export type TextContent = {
|
|
286
|
-
/**
|
|
287
|
-
* Optional annotations that help clients decide how to display or route this content.
|
|
288
|
-
*/
|
|
289
|
-
annotations?: Annotations | null;
|
|
290
|
-
/**
|
|
291
|
-
* Text payload carried by this content block.
|
|
292
|
-
*/
|
|
293
|
-
text: string;
|
|
294
|
-
/**
|
|
295
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
296
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
297
|
-
* these keys.
|
|
298
|
-
*
|
|
299
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
300
|
-
*/
|
|
301
|
-
_meta?: {
|
|
302
|
-
[key: string]: unknown;
|
|
303
|
-
} | null;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* An image provided to or from an LLM.
|
|
307
|
-
*/
|
|
308
|
-
export type ImageContent = {
|
|
309
|
-
/**
|
|
310
|
-
* Optional annotations that help clients decide how to display or route this content.
|
|
311
|
-
*/
|
|
312
|
-
annotations?: Annotations | null;
|
|
313
|
-
/**
|
|
314
|
-
* Base64-encoded media payload.
|
|
315
|
-
*/
|
|
316
|
-
data: string;
|
|
317
|
-
/**
|
|
318
|
-
* MIME type describing the encoded media payload.
|
|
319
|
-
*/
|
|
320
|
-
mimeType: string;
|
|
321
|
-
/**
|
|
322
|
-
* URI associated with this resource or media payload.
|
|
323
|
-
*/
|
|
324
|
-
uri?: string | null;
|
|
325
|
-
/**
|
|
326
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
327
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
328
|
-
* these keys.
|
|
329
|
-
*
|
|
330
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
331
|
-
*/
|
|
332
|
-
_meta?: {
|
|
333
|
-
[key: string]: unknown;
|
|
334
|
-
} | null;
|
|
335
|
-
};
|
|
336
|
-
/**
|
|
337
|
-
* Audio provided to or from an LLM.
|
|
338
|
-
*/
|
|
339
|
-
export type AudioContent = {
|
|
340
|
-
/**
|
|
341
|
-
* Optional annotations that help clients decide how to display or route this content.
|
|
342
|
-
*/
|
|
343
|
-
annotations?: Annotations | null;
|
|
344
|
-
/**
|
|
345
|
-
* Base64-encoded media payload.
|
|
346
|
-
*/
|
|
347
|
-
data: string;
|
|
348
|
-
/**
|
|
349
|
-
* MIME type describing the encoded media payload.
|
|
350
|
-
*/
|
|
351
|
-
mimeType: string;
|
|
352
|
-
/**
|
|
353
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
354
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
355
|
-
* these keys.
|
|
356
|
-
*
|
|
357
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
358
|
-
*/
|
|
359
|
-
_meta?: {
|
|
360
|
-
[key: string]: unknown;
|
|
361
|
-
} | null;
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* A resource that the server is capable of reading, included in a prompt or tool call result.
|
|
365
|
-
*/
|
|
366
|
-
export type ResourceLink = {
|
|
367
|
-
/**
|
|
368
|
-
* Optional annotations that help clients decide how to display or route this content.
|
|
369
|
-
*/
|
|
370
|
-
annotations?: Annotations | null;
|
|
371
|
-
/**
|
|
372
|
-
* Optional human-readable details shown with this protocol object.
|
|
373
|
-
*/
|
|
374
|
-
description?: string | null;
|
|
375
|
-
/**
|
|
376
|
-
* MIME type describing the encoded media payload.
|
|
377
|
-
*/
|
|
378
|
-
mimeType?: string | null;
|
|
379
|
-
/**
|
|
380
|
-
* Human-readable name shown for this protocol object.
|
|
381
|
-
*/
|
|
382
|
-
name: string;
|
|
383
|
-
/**
|
|
384
|
-
* Optional size of the linked resource in bytes, if known.
|
|
385
|
-
*/
|
|
386
|
-
size?: number | null;
|
|
387
|
-
/**
|
|
388
|
-
* Optional display title for end-user UI.
|
|
389
|
-
*/
|
|
390
|
-
title?: string | null;
|
|
391
|
-
/**
|
|
392
|
-
* URI associated with this resource or media payload.
|
|
393
|
-
*/
|
|
394
|
-
uri: string;
|
|
395
|
-
/**
|
|
396
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
397
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
398
|
-
* these keys.
|
|
399
|
-
*
|
|
400
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
401
|
-
*/
|
|
402
|
-
_meta?: {
|
|
403
|
-
[key: string]: unknown;
|
|
404
|
-
} | null;
|
|
405
|
-
};
|
|
406
|
-
/**
|
|
407
|
-
* Resource content that can be embedded in a message.
|
|
408
|
-
*/
|
|
409
|
-
export type EmbeddedResourceResource = TextResourceContents | BlobResourceContents;
|
|
410
|
-
/**
|
|
411
|
-
* Text-based resource contents.
|
|
412
|
-
*/
|
|
413
|
-
export type TextResourceContents = {
|
|
414
|
-
/**
|
|
415
|
-
* MIME type describing the encoded media payload.
|
|
416
|
-
*/
|
|
417
|
-
mimeType?: string | null;
|
|
418
|
-
/**
|
|
419
|
-
* Text payload carried by this content block.
|
|
420
|
-
*/
|
|
421
|
-
text: string;
|
|
422
|
-
/**
|
|
423
|
-
* URI associated with this resource or media payload.
|
|
424
|
-
*/
|
|
425
|
-
uri: string;
|
|
426
|
-
/**
|
|
427
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
428
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
429
|
-
* these keys.
|
|
430
|
-
*
|
|
431
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
432
|
-
*/
|
|
433
|
-
_meta?: {
|
|
434
|
-
[key: string]: unknown;
|
|
435
|
-
} | null;
|
|
436
|
-
};
|
|
437
|
-
/**
|
|
438
|
-
* Binary resource contents.
|
|
439
|
-
*/
|
|
440
|
-
export type BlobResourceContents = {
|
|
441
|
-
/**
|
|
442
|
-
* Base64-encoded bytes for a binary resource payload.
|
|
443
|
-
*/
|
|
444
|
-
blob: string;
|
|
445
|
-
/**
|
|
446
|
-
* MIME type describing the encoded media payload.
|
|
447
|
-
*/
|
|
448
|
-
mimeType?: string | null;
|
|
449
|
-
/**
|
|
450
|
-
* URI associated with this resource or media payload.
|
|
451
|
-
*/
|
|
452
|
-
uri: string;
|
|
453
|
-
/**
|
|
454
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
455
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
456
|
-
* these keys.
|
|
457
|
-
*
|
|
458
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
459
|
-
*/
|
|
460
|
-
_meta?: {
|
|
461
|
-
[key: string]: unknown;
|
|
462
|
-
} | null;
|
|
463
|
-
};
|
|
464
|
-
/**
|
|
465
|
-
* The contents of a resource, embedded into a prompt or tool call result.
|
|
466
|
-
*/
|
|
467
|
-
export type EmbeddedResource = {
|
|
468
|
-
/**
|
|
469
|
-
* Optional annotations that help clients decide how to display or route this content.
|
|
470
|
-
*/
|
|
471
|
-
annotations?: Annotations | null;
|
|
472
|
-
/**
|
|
473
|
-
* Embedded resource payload, either text or binary data.
|
|
474
|
-
*/
|
|
475
|
-
resource: EmbeddedResourceResource;
|
|
476
|
-
/**
|
|
477
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
478
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
479
|
-
* these keys.
|
|
480
|
-
*
|
|
481
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
482
|
-
*/
|
|
483
|
-
_meta?: {
|
|
484
|
-
[key: string]: unknown;
|
|
485
|
-
} | null;
|
|
486
|
-
};
|
|
487
|
-
/**
|
|
488
|
-
* Standard content block (text, images, resources).
|
|
489
|
-
*/
|
|
490
|
-
export type Content = {
|
|
491
|
-
/**
|
|
492
|
-
* The actual content block.
|
|
493
|
-
*/
|
|
494
|
-
content: ContentBlock;
|
|
495
|
-
/**
|
|
496
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
497
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
498
|
-
* these keys.
|
|
499
|
-
*
|
|
500
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
501
|
-
*/
|
|
502
|
-
_meta?: {
|
|
503
|
-
[key: string]: unknown;
|
|
504
|
-
} | null;
|
|
505
|
-
};
|
|
506
|
-
/**
|
|
507
|
-
* A diff representing file modifications.
|
|
508
|
-
*
|
|
509
|
-
* Shows changes to files in a format suitable for display in the client UI.
|
|
510
|
-
*
|
|
511
|
-
* See protocol docs: [Content](https://agentclientprotocol.com/protocol/v1/tool-calls#content)
|
|
512
|
-
*/
|
|
513
|
-
export type Diff = {
|
|
514
|
-
/**
|
|
515
|
-
* The absolute file path being modified.
|
|
516
|
-
*/
|
|
517
|
-
path: string;
|
|
518
|
-
/**
|
|
519
|
-
* The original content (omitted or `null` for new files).
|
|
520
|
-
*/
|
|
521
|
-
oldText?: string | null;
|
|
522
|
-
/**
|
|
523
|
-
* The new content after modification.
|
|
524
|
-
*/
|
|
525
|
-
newText: string;
|
|
526
|
-
/**
|
|
527
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
528
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
529
|
-
* these keys.
|
|
530
|
-
*
|
|
531
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
532
|
-
*/
|
|
533
|
-
_meta?: {
|
|
534
|
-
[key: string]: unknown;
|
|
535
|
-
} | null;
|
|
536
|
-
};
|
|
537
|
-
/**
|
|
538
|
-
* Typed identifier used for terminal values on the wire.
|
|
539
|
-
*/
|
|
540
|
-
export type TerminalId = string;
|
|
541
|
-
/**
|
|
542
|
-
* Embed a terminal created with `terminal/create` by its id.
|
|
543
|
-
*
|
|
544
|
-
* The terminal must be added before calling `terminal/release`.
|
|
545
|
-
*
|
|
546
|
-
* See protocol docs: [Terminal](https://agentclientprotocol.com/protocol/v1/terminals)
|
|
547
|
-
*/
|
|
548
|
-
export type Terminal = {
|
|
549
|
-
/**
|
|
550
|
-
* Identifier of the terminal instance to embed in the content stream.
|
|
551
|
-
*/
|
|
552
|
-
terminalId: TerminalId;
|
|
553
|
-
/**
|
|
554
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
555
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
556
|
-
* these keys.
|
|
557
|
-
*
|
|
558
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
559
|
-
*/
|
|
560
|
-
_meta?: {
|
|
561
|
-
[key: string]: unknown;
|
|
562
|
-
} | null;
|
|
563
|
-
};
|
|
564
|
-
/**
|
|
565
|
-
* A file location being accessed or modified by a tool.
|
|
566
|
-
*
|
|
567
|
-
* Enables clients to implement "follow-along" features that track
|
|
568
|
-
* which files the agent is working with in real-time.
|
|
569
|
-
*
|
|
570
|
-
* See protocol docs: [Following the Agent](https://agentclientprotocol.com/protocol/v1/tool-calls#following-the-agent)
|
|
571
|
-
*/
|
|
572
|
-
export type ToolCallLocation = {
|
|
573
|
-
/**
|
|
574
|
-
* The absolute file path being accessed or modified.
|
|
575
|
-
*/
|
|
576
|
-
path: string;
|
|
577
|
-
/**
|
|
578
|
-
* Optional 1-based line number within the file.
|
|
579
|
-
*/
|
|
580
|
-
line?: number | null;
|
|
581
|
-
/**
|
|
582
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
583
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
584
|
-
* these keys.
|
|
585
|
-
*
|
|
586
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
587
|
-
*/
|
|
588
|
-
_meta?: {
|
|
589
|
-
[key: string]: unknown;
|
|
590
|
-
} | null;
|
|
591
|
-
};
|
|
592
|
-
/**
|
|
593
|
-
* An option presented to the user when requesting permission.
|
|
594
|
-
*/
|
|
595
|
-
export type PermissionOption = {
|
|
596
|
-
/**
|
|
597
|
-
* Unique identifier for this permission option.
|
|
598
|
-
*/
|
|
599
|
-
optionId: PermissionOptionId;
|
|
600
|
-
/**
|
|
601
|
-
* Human-readable label to display to the user.
|
|
602
|
-
*/
|
|
603
|
-
name: string;
|
|
604
|
-
/**
|
|
605
|
-
* Hint about the nature of this permission option.
|
|
606
|
-
*/
|
|
607
|
-
kind: PermissionOptionKind;
|
|
608
|
-
/**
|
|
609
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
610
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
611
|
-
* these keys.
|
|
612
|
-
*
|
|
613
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
614
|
-
*/
|
|
615
|
-
_meta?: {
|
|
616
|
-
[key: string]: unknown;
|
|
617
|
-
} | null;
|
|
618
|
-
};
|
|
619
|
-
/**
|
|
620
|
-
* Unique identifier for a permission option.
|
|
621
|
-
*/
|
|
622
|
-
export type PermissionOptionId = string;
|
|
623
|
-
/**
|
|
624
|
-
* The type of permission option being presented to the user.
|
|
625
|
-
*
|
|
626
|
-
* Helps clients choose appropriate icons and UI treatment.
|
|
627
|
-
*/
|
|
628
|
-
export type PermissionOptionKind = "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
629
|
-
/**
|
|
630
|
-
* Request to create a new terminal and execute a command.
|
|
631
|
-
*/
|
|
632
|
-
export type CreateTerminalRequest = {
|
|
633
|
-
/**
|
|
634
|
-
* The session ID for this request.
|
|
635
|
-
*/
|
|
636
|
-
sessionId: SessionId;
|
|
637
|
-
/**
|
|
638
|
-
* The command to execute.
|
|
639
|
-
*/
|
|
640
|
-
command: string;
|
|
641
|
-
/**
|
|
642
|
-
* Array of command arguments.
|
|
643
|
-
*/
|
|
644
|
-
args?: Array<string>;
|
|
645
|
-
/**
|
|
646
|
-
* Environment variables for the command.
|
|
647
|
-
*/
|
|
648
|
-
env?: Array<EnvVariable>;
|
|
649
|
-
/**
|
|
650
|
-
* Working directory for the command. Must be an absolute path.
|
|
651
|
-
*/
|
|
652
|
-
cwd?: string | null;
|
|
653
|
-
/**
|
|
654
|
-
* Maximum number of output bytes to retain.
|
|
655
|
-
*
|
|
656
|
-
* When the limit is exceeded, the Client truncates from the beginning of the output
|
|
657
|
-
* to stay within the limit.
|
|
658
|
-
*
|
|
659
|
-
* The Client MUST ensure truncation happens at a character boundary to maintain valid
|
|
660
|
-
* string output, even if this means the retained output is slightly less than the
|
|
661
|
-
* specified limit.
|
|
662
|
-
*/
|
|
663
|
-
outputByteLimit?: number | null;
|
|
664
|
-
/**
|
|
665
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
666
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
667
|
-
* these keys.
|
|
668
|
-
*
|
|
669
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
670
|
-
*/
|
|
671
|
-
_meta?: {
|
|
672
|
-
[key: string]: unknown;
|
|
673
|
-
} | null;
|
|
674
|
-
};
|
|
675
|
-
/**
|
|
676
|
-
* An environment variable to set when launching an MCP server.
|
|
677
|
-
*/
|
|
678
|
-
export type EnvVariable = {
|
|
679
|
-
/**
|
|
680
|
-
* The name of the environment variable.
|
|
681
|
-
*/
|
|
682
|
-
name: string;
|
|
683
|
-
/**
|
|
684
|
-
* The value to set for the environment variable.
|
|
685
|
-
*/
|
|
686
|
-
value: string;
|
|
687
|
-
/**
|
|
688
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
689
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
690
|
-
* these keys.
|
|
691
|
-
*
|
|
692
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
693
|
-
*/
|
|
694
|
-
_meta?: {
|
|
695
|
-
[key: string]: unknown;
|
|
696
|
-
} | null;
|
|
697
|
-
};
|
|
698
|
-
/**
|
|
699
|
-
* Request to get the current output and status of a terminal.
|
|
700
|
-
*/
|
|
701
|
-
export type TerminalOutputRequest = {
|
|
702
|
-
/**
|
|
703
|
-
* The session ID for this request.
|
|
704
|
-
*/
|
|
705
|
-
sessionId: SessionId;
|
|
706
|
-
/**
|
|
707
|
-
* The ID of the terminal to get output from.
|
|
708
|
-
*/
|
|
709
|
-
terminalId: TerminalId;
|
|
710
|
-
/**
|
|
711
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
712
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
713
|
-
* these keys.
|
|
714
|
-
*
|
|
715
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
716
|
-
*/
|
|
717
|
-
_meta?: {
|
|
718
|
-
[key: string]: unknown;
|
|
719
|
-
} | null;
|
|
720
|
-
};
|
|
721
|
-
/**
|
|
722
|
-
* Request to release a terminal and free its resources.
|
|
723
|
-
*/
|
|
724
|
-
export type ReleaseTerminalRequest = {
|
|
725
|
-
/**
|
|
726
|
-
* The session ID for this request.
|
|
727
|
-
*/
|
|
728
|
-
sessionId: SessionId;
|
|
729
|
-
/**
|
|
730
|
-
* The ID of the terminal to release.
|
|
731
|
-
*/
|
|
732
|
-
terminalId: TerminalId;
|
|
733
|
-
/**
|
|
734
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
735
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
736
|
-
* these keys.
|
|
737
|
-
*
|
|
738
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
739
|
-
*/
|
|
740
|
-
_meta?: {
|
|
741
|
-
[key: string]: unknown;
|
|
742
|
-
} | null;
|
|
743
|
-
};
|
|
744
|
-
/**
|
|
745
|
-
* Request to wait for a terminal command to exit.
|
|
746
|
-
*/
|
|
747
|
-
export type WaitForTerminalExitRequest = {
|
|
748
|
-
/**
|
|
749
|
-
* The session ID for this request.
|
|
750
|
-
*/
|
|
751
|
-
sessionId: SessionId;
|
|
752
|
-
/**
|
|
753
|
-
* The ID of the terminal to wait for.
|
|
754
|
-
*/
|
|
755
|
-
terminalId: TerminalId;
|
|
756
|
-
/**
|
|
757
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
758
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
759
|
-
* these keys.
|
|
760
|
-
*
|
|
761
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
762
|
-
*/
|
|
763
|
-
_meta?: {
|
|
764
|
-
[key: string]: unknown;
|
|
765
|
-
} | null;
|
|
766
|
-
};
|
|
767
|
-
/**
|
|
768
|
-
* Request to kill a terminal without releasing it.
|
|
769
|
-
*/
|
|
770
|
-
export type KillTerminalRequest = {
|
|
771
|
-
/**
|
|
772
|
-
* The session ID for this request.
|
|
773
|
-
*/
|
|
774
|
-
sessionId: SessionId;
|
|
775
|
-
/**
|
|
776
|
-
* The ID of the terminal to kill.
|
|
777
|
-
*/
|
|
778
|
-
terminalId: TerminalId;
|
|
779
|
-
/**
|
|
780
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
781
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
782
|
-
* these keys.
|
|
783
|
-
*
|
|
784
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
785
|
-
*/
|
|
786
|
-
_meta?: {
|
|
787
|
-
[key: string]: unknown;
|
|
788
|
-
} | null;
|
|
789
|
-
};
|
|
790
|
-
/**
|
|
791
|
-
* Request from the agent to elicit structured user input.
|
|
792
|
-
*
|
|
793
|
-
* The agent sends this to the client to request information from the user,
|
|
794
|
-
* either via a form or by directing them to a URL.
|
|
795
|
-
* Elicitations are tied to a session (optionally a tool call) or a request.
|
|
796
|
-
*/
|
|
797
|
-
export type CreateElicitationRequest = ((ElicitationFormMode & {
|
|
798
|
-
mode: "form";
|
|
799
|
-
}) | (ElicitationUrlMode & {
|
|
800
|
-
mode: "url";
|
|
801
|
-
}) | ((ElicitationSessionScope | ElicitationRequestScope) & {
|
|
802
|
-
/**
|
|
803
|
-
* Custom or future elicitation mode.
|
|
804
|
-
*
|
|
805
|
-
* Values beginning with `_` are reserved for implementation-specific
|
|
806
|
-
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
807
|
-
* future ACP variants.
|
|
808
|
-
*/
|
|
809
|
-
mode: string;
|
|
810
|
-
[key: string]: unknown;
|
|
811
|
-
})) & {
|
|
812
|
-
/**
|
|
813
|
-
* A human-readable message describing what input is needed.
|
|
814
|
-
*/
|
|
815
|
-
message: string;
|
|
816
|
-
/**
|
|
817
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
818
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
819
|
-
* these keys.
|
|
820
|
-
*
|
|
821
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
822
|
-
*
|
|
823
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
824
|
-
*/
|
|
825
|
-
_meta?: {
|
|
826
|
-
[key: string]: unknown;
|
|
827
|
-
} | null;
|
|
828
|
-
};
|
|
829
|
-
/**
|
|
830
|
-
* Session-scoped elicitation, optionally tied to a specific tool call.
|
|
831
|
-
*
|
|
832
|
-
* When `toolCallId` is set, the elicitation is tied to a specific tool call.
|
|
833
|
-
* This is useful when an agent receives an elicitation from an MCP server
|
|
834
|
-
* during a tool call and needs to redirect it to the user.
|
|
835
|
-
*/
|
|
836
|
-
export type ElicitationSessionScope = {
|
|
837
|
-
/**
|
|
838
|
-
* The session this elicitation is tied to.
|
|
839
|
-
*/
|
|
840
|
-
sessionId: SessionId;
|
|
841
|
-
/**
|
|
842
|
-
* Optional tool call within the session.
|
|
843
|
-
*
|
|
844
|
-
* Optional. Omitted and `null` are equivalent and mean the elicitation is scoped to the
|
|
845
|
-
* session without a specific tool call.
|
|
846
|
-
*/
|
|
847
|
-
toolCallId?: ToolCallId | null;
|
|
848
|
-
};
|
|
849
|
-
/**
|
|
850
|
-
* Request-scoped elicitation, tied to a specific JSON-RPC request outside of a session
|
|
851
|
-
* (e.g., during auth/configuration phases before any session is started).
|
|
852
|
-
*/
|
|
853
|
-
export type ElicitationRequestScope = {
|
|
854
|
-
/**
|
|
855
|
-
* The request this elicitation is tied to.
|
|
856
|
-
*/
|
|
857
|
-
requestId: RequestId;
|
|
858
|
-
};
|
|
859
|
-
/**
|
|
860
|
-
* Type-safe elicitation schema for requesting structured user input.
|
|
861
|
-
*
|
|
862
|
-
* This represents a JSON Schema object with primitive-typed properties,
|
|
863
|
-
* as required by the elicitation specification.
|
|
864
|
-
*/
|
|
865
|
-
export type ElicitationSchema = {
|
|
866
|
-
/**
|
|
867
|
-
* Type discriminator. Always `"object"`.
|
|
868
|
-
*/
|
|
869
|
-
type?: ElicitationSchemaType;
|
|
870
|
-
/**
|
|
871
|
-
* Optional title for the schema.
|
|
872
|
-
*
|
|
873
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
874
|
-
*/
|
|
875
|
-
title?: string | null;
|
|
876
|
-
/**
|
|
877
|
-
* Property definitions (must be primitive types).
|
|
878
|
-
*/
|
|
879
|
-
properties?: {
|
|
880
|
-
[key: string]: ElicitationPropertySchema;
|
|
881
|
-
};
|
|
882
|
-
/**
|
|
883
|
-
* List of required property names.
|
|
884
|
-
*
|
|
885
|
-
* Optional. Omitted and `null` are equivalent and mean no property names are required.
|
|
886
|
-
*/
|
|
887
|
-
required?: Array<string> | null;
|
|
888
|
-
/**
|
|
889
|
-
* Optional description of what this schema represents.
|
|
890
|
-
*
|
|
891
|
-
* Optional. Omitted and `null` are equivalent and mean no schema description is provided.
|
|
892
|
-
*/
|
|
893
|
-
description?: string | null;
|
|
894
|
-
/**
|
|
895
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
896
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
897
|
-
* these keys.
|
|
898
|
-
*
|
|
899
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
900
|
-
*
|
|
901
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
902
|
-
*/
|
|
903
|
-
_meta?: {
|
|
904
|
-
[key: string]: unknown;
|
|
905
|
-
} | null;
|
|
906
|
-
};
|
|
907
|
-
/**
|
|
908
|
-
* Object schema type.
|
|
909
|
-
*/
|
|
910
|
-
export type ElicitationSchemaType = "object";
|
|
911
|
-
/**
|
|
912
|
-
* Property schema for elicitation form fields.
|
|
913
|
-
*
|
|
914
|
-
* Each variant corresponds to a JSON Schema `"type"` value.
|
|
915
|
-
* Single-select enums use `type: "string"` with `enum` or `oneOf` set.
|
|
916
|
-
* Multi-select enums use `type: "array"`.
|
|
917
|
-
*/
|
|
918
|
-
export type ElicitationPropertySchema = (StringPropertySchema & {
|
|
919
|
-
type: "string";
|
|
920
|
-
}) | (NumberPropertySchema & {
|
|
921
|
-
type: "number";
|
|
922
|
-
}) | (IntegerPropertySchema & {
|
|
923
|
-
type: "integer";
|
|
924
|
-
}) | (BooleanPropertySchema & {
|
|
925
|
-
type: "boolean";
|
|
926
|
-
}) | (MultiSelectPropertySchema & {
|
|
927
|
-
type: "array";
|
|
928
|
-
}) | {
|
|
929
|
-
/**
|
|
930
|
-
* Custom or future elicitation property schema type.
|
|
931
|
-
*
|
|
932
|
-
* Values beginning with `_` are reserved for implementation-specific
|
|
933
|
-
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
934
|
-
* future ACP variants.
|
|
935
|
-
*/
|
|
936
|
-
type: string;
|
|
937
|
-
[key: string]: unknown;
|
|
938
|
-
};
|
|
939
|
-
/**
|
|
940
|
-
* String format types for string properties in elicitation schemas.
|
|
941
|
-
*/
|
|
942
|
-
export type StringFormat = "email" | "uri" | "date" | "date-time";
|
|
943
|
-
/**
|
|
944
|
-
* A titled enum option with a const value, human-readable title, and optional description.
|
|
945
|
-
*/
|
|
946
|
-
export type EnumOption = {
|
|
947
|
-
/**
|
|
948
|
-
* The constant value for this option.
|
|
949
|
-
*/
|
|
950
|
-
const: string;
|
|
951
|
-
/**
|
|
952
|
-
* Human-readable title for this option.
|
|
953
|
-
*/
|
|
954
|
-
title: string;
|
|
955
|
-
/**
|
|
956
|
-
* Human-readable description.
|
|
957
|
-
*
|
|
958
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
959
|
-
*/
|
|
960
|
-
description?: string | null;
|
|
961
|
-
/**
|
|
962
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
963
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
964
|
-
* these keys.
|
|
965
|
-
*
|
|
966
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
967
|
-
*
|
|
968
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
969
|
-
*/
|
|
970
|
-
_meta?: {
|
|
971
|
-
[key: string]: unknown;
|
|
972
|
-
} | null;
|
|
973
|
-
};
|
|
974
|
-
/**
|
|
975
|
-
* Schema for string properties in an elicitation form.
|
|
976
|
-
*
|
|
977
|
-
* When `enum` or `oneOf` is set, this represents a single-select enum
|
|
978
|
-
* with `"type": "string"`.
|
|
979
|
-
*/
|
|
980
|
-
export type StringPropertySchema = {
|
|
981
|
-
/**
|
|
982
|
-
* Optional title for the property.
|
|
983
|
-
*
|
|
984
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
985
|
-
*/
|
|
986
|
-
title?: string | null;
|
|
987
|
-
/**
|
|
988
|
-
* Human-readable description.
|
|
989
|
-
*
|
|
990
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
991
|
-
*/
|
|
992
|
-
description?: string | null;
|
|
993
|
-
/**
|
|
994
|
-
* Minimum string length.
|
|
995
|
-
*
|
|
996
|
-
* Optional. Omitted and `null` are equivalent and mean there is no minimum length constraint.
|
|
997
|
-
*/
|
|
998
|
-
minLength?: number | null;
|
|
999
|
-
/**
|
|
1000
|
-
* Maximum string length.
|
|
1001
|
-
*
|
|
1002
|
-
* Optional. Omitted and `null` are equivalent and mean there is no maximum length constraint.
|
|
1003
|
-
*/
|
|
1004
|
-
maxLength?: number | null;
|
|
1005
|
-
/**
|
|
1006
|
-
* Pattern the string must match.
|
|
1007
|
-
*
|
|
1008
|
-
* Optional. Omitted and `null` are equivalent and mean there is no pattern constraint.
|
|
1009
|
-
*/
|
|
1010
|
-
pattern?: string | null;
|
|
1011
|
-
/**
|
|
1012
|
-
* String format.
|
|
1013
|
-
*
|
|
1014
|
-
* Optional. Omitted and `null` are equivalent and mean there is no format constraint.
|
|
1015
|
-
*/
|
|
1016
|
-
format?: StringFormat | null;
|
|
1017
|
-
/**
|
|
1018
|
-
* Default value.
|
|
1019
|
-
*
|
|
1020
|
-
* Optional. Omitted and `null` are equivalent and mean no default value is provided.
|
|
1021
|
-
*/
|
|
1022
|
-
default?: string | null;
|
|
1023
|
-
/**
|
|
1024
|
-
* Enum values for untitled single-select enums.
|
|
1025
|
-
* Optional. Omitted and `null` are equivalent and mean no untitled single-select choices are
|
|
1026
|
-
* declared by `enum`.
|
|
1027
|
-
*/
|
|
1028
|
-
enum?: Array<string> | null;
|
|
1029
|
-
/**
|
|
1030
|
-
* Titled enum options for titled single-select enums.
|
|
1031
|
-
* Optional. Omitted and `null` are equivalent and mean no titled single-select choices are
|
|
1032
|
-
* declared by `oneOf`.
|
|
1033
|
-
*/
|
|
1034
|
-
oneOf?: Array<EnumOption> | null;
|
|
1035
|
-
/**
|
|
1036
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1037
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1038
|
-
* these keys.
|
|
1039
|
-
*
|
|
1040
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1041
|
-
*
|
|
1042
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1043
|
-
*/
|
|
1044
|
-
_meta?: {
|
|
1045
|
-
[key: string]: unknown;
|
|
1046
|
-
} | null;
|
|
1047
|
-
};
|
|
1048
|
-
/**
|
|
1049
|
-
* Schema for number (floating-point) properties in an elicitation form.
|
|
1050
|
-
*/
|
|
1051
|
-
export type NumberPropertySchema = {
|
|
1052
|
-
/**
|
|
1053
|
-
* Optional title for the property.
|
|
1054
|
-
*
|
|
1055
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
1056
|
-
*/
|
|
1057
|
-
title?: string | null;
|
|
1058
|
-
/**
|
|
1059
|
-
* Human-readable description.
|
|
1060
|
-
*
|
|
1061
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
1062
|
-
*/
|
|
1063
|
-
description?: string | null;
|
|
1064
|
-
/**
|
|
1065
|
-
* Minimum value (inclusive).
|
|
1066
|
-
*
|
|
1067
|
-
* Optional. Omitted and `null` are equivalent and mean there is no inclusive lower bound.
|
|
1068
|
-
*/
|
|
1069
|
-
minimum?: number | null;
|
|
1070
|
-
/**
|
|
1071
|
-
* Maximum value (inclusive).
|
|
1072
|
-
*
|
|
1073
|
-
* Optional. Omitted and `null` are equivalent and mean there is no inclusive upper bound.
|
|
1074
|
-
*/
|
|
1075
|
-
maximum?: number | null;
|
|
1076
|
-
/**
|
|
1077
|
-
* Default value.
|
|
1078
|
-
*
|
|
1079
|
-
* Optional. Omitted and `null` are equivalent and mean no default value is provided.
|
|
1080
|
-
*/
|
|
1081
|
-
default?: number | null;
|
|
1082
|
-
/**
|
|
1083
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1084
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1085
|
-
* these keys.
|
|
1086
|
-
*
|
|
1087
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1088
|
-
*
|
|
1089
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1090
|
-
*/
|
|
1091
|
-
_meta?: {
|
|
1092
|
-
[key: string]: unknown;
|
|
1093
|
-
} | null;
|
|
1094
|
-
};
|
|
1095
|
-
/**
|
|
1096
|
-
* Schema for integer properties in an elicitation form.
|
|
1097
|
-
*/
|
|
1098
|
-
export type IntegerPropertySchema = {
|
|
1099
|
-
/**
|
|
1100
|
-
* Optional title for the property.
|
|
1101
|
-
*
|
|
1102
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
1103
|
-
*/
|
|
1104
|
-
title?: string | null;
|
|
1105
|
-
/**
|
|
1106
|
-
* Human-readable description.
|
|
1107
|
-
*
|
|
1108
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
1109
|
-
*/
|
|
1110
|
-
description?: string | null;
|
|
1111
|
-
/**
|
|
1112
|
-
* Minimum value (inclusive).
|
|
1113
|
-
*
|
|
1114
|
-
* Optional. Omitted and `null` are equivalent and mean there is no inclusive lower bound.
|
|
1115
|
-
*/
|
|
1116
|
-
minimum?: number | null;
|
|
1117
|
-
/**
|
|
1118
|
-
* Maximum value (inclusive).
|
|
1119
|
-
*
|
|
1120
|
-
* Optional. Omitted and `null` are equivalent and mean there is no inclusive upper bound.
|
|
1121
|
-
*/
|
|
1122
|
-
maximum?: number | null;
|
|
1123
|
-
/**
|
|
1124
|
-
* Default value.
|
|
1125
|
-
*
|
|
1126
|
-
* Optional. Omitted and `null` are equivalent and mean no default value is provided.
|
|
1127
|
-
*/
|
|
1128
|
-
default?: number | null;
|
|
1129
|
-
/**
|
|
1130
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1131
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1132
|
-
* these keys.
|
|
1133
|
-
*
|
|
1134
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1135
|
-
*
|
|
1136
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1137
|
-
*/
|
|
1138
|
-
_meta?: {
|
|
1139
|
-
[key: string]: unknown;
|
|
1140
|
-
} | null;
|
|
1141
|
-
};
|
|
1142
|
-
/**
|
|
1143
|
-
* Schema for boolean properties in an elicitation form.
|
|
1144
|
-
*/
|
|
1145
|
-
export type BooleanPropertySchema = {
|
|
1146
|
-
/**
|
|
1147
|
-
* Optional title for the property.
|
|
1148
|
-
*
|
|
1149
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
1150
|
-
*/
|
|
1151
|
-
title?: string | null;
|
|
1152
|
-
/**
|
|
1153
|
-
* Human-readable description.
|
|
1154
|
-
*
|
|
1155
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
1156
|
-
*/
|
|
1157
|
-
description?: string | null;
|
|
1158
|
-
/**
|
|
1159
|
-
* Default value.
|
|
1160
|
-
*
|
|
1161
|
-
* Optional. Omitted and `null` are equivalent and mean no default value is provided.
|
|
1162
|
-
*/
|
|
1163
|
-
default?: boolean | null;
|
|
1164
|
-
/**
|
|
1165
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1166
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1167
|
-
* these keys.
|
|
1168
|
-
*
|
|
1169
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1170
|
-
*
|
|
1171
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1172
|
-
*/
|
|
1173
|
-
_meta?: {
|
|
1174
|
-
[key: string]: unknown;
|
|
1175
|
-
} | null;
|
|
1176
|
-
};
|
|
1177
|
-
/**
|
|
1178
|
-
* Items for a multi-select (array) property schema.
|
|
1179
|
-
*/
|
|
1180
|
-
export type MultiSelectItems = (StringMultiSelectItems & {
|
|
1181
|
-
type: "string";
|
|
1182
|
-
}) | {
|
|
1183
|
-
/**
|
|
1184
|
-
* Custom or future multi-select item type.
|
|
1185
|
-
*
|
|
1186
|
-
* Values beginning with `_` are reserved for implementation-specific
|
|
1187
|
-
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
1188
|
-
* future ACP variants.
|
|
1189
|
-
*/
|
|
1190
|
-
type: string;
|
|
1191
|
-
[key: string]: unknown;
|
|
1192
|
-
} | TitledMultiSelectItems;
|
|
1193
|
-
/**
|
|
1194
|
-
* String item schema for multi-select enum properties.
|
|
1195
|
-
*/
|
|
1196
|
-
export type StringMultiSelectItems = {
|
|
1197
|
-
/**
|
|
1198
|
-
* Allowed enum values.
|
|
1199
|
-
*/
|
|
1200
|
-
enum: Array<string>;
|
|
1201
|
-
/**
|
|
1202
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1203
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1204
|
-
* these keys.
|
|
1205
|
-
*
|
|
1206
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1207
|
-
*
|
|
1208
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1209
|
-
*/
|
|
1210
|
-
_meta?: {
|
|
1211
|
-
[key: string]: unknown;
|
|
1212
|
-
} | null;
|
|
1213
|
-
};
|
|
1214
|
-
/**
|
|
1215
|
-
* Items definition for titled multi-select enum properties.
|
|
1216
|
-
*/
|
|
1217
|
-
export type TitledMultiSelectItems = {
|
|
1218
|
-
/**
|
|
1219
|
-
* Titled enum options.
|
|
1220
|
-
*/
|
|
1221
|
-
anyOf: Array<EnumOption>;
|
|
1222
|
-
/**
|
|
1223
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1224
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1225
|
-
* these keys.
|
|
1226
|
-
*
|
|
1227
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1228
|
-
*
|
|
1229
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1230
|
-
*/
|
|
1231
|
-
_meta?: {
|
|
1232
|
-
[key: string]: unknown;
|
|
1233
|
-
} | null;
|
|
1234
|
-
};
|
|
1235
|
-
/**
|
|
1236
|
-
* Schema for multi-select (array) properties in an elicitation form.
|
|
1237
|
-
*/
|
|
1238
|
-
export type MultiSelectPropertySchema = {
|
|
1239
|
-
/**
|
|
1240
|
-
* Optional title for the property.
|
|
1241
|
-
*
|
|
1242
|
-
* Optional. Omitted and `null` are equivalent and mean no title is provided.
|
|
1243
|
-
*/
|
|
1244
|
-
title?: string | null;
|
|
1245
|
-
/**
|
|
1246
|
-
* Human-readable description.
|
|
1247
|
-
*
|
|
1248
|
-
* Optional. Omitted and `null` are equivalent and mean no description is provided.
|
|
1249
|
-
*/
|
|
1250
|
-
description?: string | null;
|
|
1251
|
-
/**
|
|
1252
|
-
* Minimum number of items to select.
|
|
1253
|
-
*
|
|
1254
|
-
* Optional. Omitted and `null` are equivalent and mean there is no minimum selection count.
|
|
1255
|
-
*/
|
|
1256
|
-
minItems?: number | null;
|
|
1257
|
-
/**
|
|
1258
|
-
* Maximum number of items to select.
|
|
1259
|
-
*
|
|
1260
|
-
* Optional. Omitted and `null` are equivalent and mean there is no maximum selection count.
|
|
1261
|
-
*/
|
|
1262
|
-
maxItems?: number | null;
|
|
1263
|
-
/**
|
|
1264
|
-
* The items definition describing allowed values.
|
|
1265
|
-
*/
|
|
1266
|
-
items: MultiSelectItems;
|
|
1267
|
-
/**
|
|
1268
|
-
* Default selected values.
|
|
1269
|
-
*
|
|
1270
|
-
* Optional. Omitted and `null` are equivalent and mean no default selections are provided.
|
|
1271
|
-
*/
|
|
1272
|
-
default?: Array<string> | null;
|
|
1273
|
-
/**
|
|
1274
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1275
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1276
|
-
* these keys.
|
|
1277
|
-
*
|
|
1278
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
1279
|
-
*
|
|
1280
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1281
|
-
*/
|
|
1282
|
-
_meta?: {
|
|
1283
|
-
[key: string]: unknown;
|
|
1284
|
-
} | null;
|
|
1285
|
-
};
|
|
1286
|
-
/**
|
|
1287
|
-
* Form-based elicitation mode where the client renders a form from the provided schema.
|
|
1288
|
-
*/
|
|
1289
|
-
export type ElicitationFormMode = (ElicitationSessionScope | ElicitationRequestScope) & {
|
|
1290
|
-
/**
|
|
1291
|
-
* A JSON Schema describing the form fields to present to the user.
|
|
1292
|
-
*/
|
|
1293
|
-
requestedSchema: ElicitationSchema;
|
|
1294
|
-
};
|
|
1295
|
-
/**
|
|
1296
|
-
* Unique identifier for an elicitation.
|
|
1297
|
-
*/
|
|
1298
|
-
export type ElicitationId = string;
|
|
1299
|
-
/**
|
|
1300
|
-
* URL-based elicitation mode where the client directs the user to a URL.
|
|
1301
|
-
*/
|
|
1302
|
-
export type ElicitationUrlMode = (ElicitationSessionScope | ElicitationRequestScope) & {
|
|
1303
|
-
/**
|
|
1304
|
-
* The unique identifier for this elicitation.
|
|
1305
|
-
*/
|
|
1306
|
-
elicitationId: ElicitationId;
|
|
1307
|
-
/**
|
|
1308
|
-
* The URL to direct the user to.
|
|
1309
|
-
*/
|
|
1310
|
-
url: string;
|
|
1311
|
-
};
|
|
1312
|
-
/**
|
|
1313
|
-
* Allows for sending an arbitrary request that is not part of the ACP spec.
|
|
1314
|
-
* Extension methods provide a way to add custom functionality while maintaining
|
|
1315
|
-
* protocol compatibility.
|
|
1316
|
-
*
|
|
1317
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1318
|
-
*/
|
|
1319
|
-
export type ExtRequest = unknown;
|
|
1320
|
-
/**
|
|
1321
|
-
* A JSON-RPC response object.
|
|
1322
|
-
*/
|
|
1323
|
-
export type AgentResponse = {
|
|
1324
|
-
/**
|
|
1325
|
-
* The id of the request this response answers.
|
|
1326
|
-
*/
|
|
1327
|
-
id: RequestId;
|
|
1328
|
-
/**
|
|
1329
|
-
* Method-specific response data.
|
|
1330
|
-
*/
|
|
1331
|
-
result: InitializeResponse | AuthenticateResponse | LogoutResponse | NewSessionResponse | LoadSessionResponse | ListSessionsResponse | DeleteSessionResponse | ResumeSessionResponse | CloseSessionResponse | SetSessionModeResponse | SetSessionConfigOptionResponse | PromptResponse | ExtResponse;
|
|
1332
|
-
} | {
|
|
1333
|
-
/**
|
|
1334
|
-
* The id of the request this response answers.
|
|
1335
|
-
*/
|
|
1336
|
-
id: RequestId;
|
|
1337
|
-
/**
|
|
1338
|
-
* Method-specific error data.
|
|
1339
|
-
*/
|
|
1340
|
-
error: Error;
|
|
1341
|
-
};
|
|
1342
|
-
/**
|
|
1343
|
-
* Response to the `initialize` method.
|
|
1344
|
-
*
|
|
1345
|
-
* Contains the negotiated protocol version and agent capabilities.
|
|
1346
|
-
*
|
|
1347
|
-
* See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/v1/initialization)
|
|
1348
|
-
*/
|
|
1349
|
-
export type InitializeResponse = {
|
|
1350
|
-
/**
|
|
1351
|
-
* The protocol version the client specified if supported by the agent,
|
|
1352
|
-
* or the latest protocol version supported by the agent.
|
|
1353
|
-
*
|
|
1354
|
-
* The client should disconnect, if it doesn't support this version.
|
|
1355
|
-
*/
|
|
1356
|
-
protocolVersion: ProtocolVersion;
|
|
1357
|
-
/**
|
|
1358
|
-
* Capabilities supported by the agent.
|
|
1359
|
-
*/
|
|
1360
|
-
agentCapabilities?: AgentCapabilities;
|
|
1361
|
-
/**
|
|
1362
|
-
* Authentication methods supported by the agent.
|
|
1363
|
-
*/
|
|
1364
|
-
authMethods?: Array<AuthMethod>;
|
|
1365
|
-
/**
|
|
1366
|
-
* Information about the Agent name and version sent to the Client.
|
|
1367
|
-
*
|
|
1368
|
-
* Note: in future versions of the protocol, this will be required.
|
|
1369
|
-
*/
|
|
1370
|
-
agentInfo?: Implementation | null;
|
|
1371
|
-
/**
|
|
1372
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1373
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1374
|
-
* these keys.
|
|
1375
|
-
*
|
|
1376
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1377
|
-
*/
|
|
1378
|
-
_meta?: {
|
|
1379
|
-
[key: string]: unknown;
|
|
1380
|
-
} | null;
|
|
1381
|
-
};
|
|
1382
|
-
/**
|
|
1383
|
-
* Protocol version identifier.
|
|
1384
|
-
*
|
|
1385
|
-
* This version is only bumped for breaking changes.
|
|
1386
|
-
* Non-breaking changes should be introduced via capabilities.
|
|
1387
|
-
*/
|
|
1388
|
-
export type ProtocolVersion = number;
|
|
1389
|
-
/**
|
|
1390
|
-
* Capabilities supported by the agent.
|
|
1391
|
-
*
|
|
1392
|
-
* Advertised during initialization to inform the client about
|
|
1393
|
-
* available features and content types.
|
|
1394
|
-
*
|
|
1395
|
-
* See protocol docs: [Agent Capabilities](https://agentclientprotocol.com/protocol/v1/initialization#agent-capabilities)
|
|
1396
|
-
*/
|
|
1397
|
-
export type AgentCapabilities = {
|
|
1398
|
-
/**
|
|
1399
|
-
* Whether the agent supports `session/load`.
|
|
1400
|
-
*/
|
|
1401
|
-
loadSession?: boolean;
|
|
1402
|
-
/**
|
|
1403
|
-
* Prompt capabilities supported by the agent.
|
|
1404
|
-
*/
|
|
1405
|
-
promptCapabilities?: PromptCapabilities;
|
|
1406
|
-
/**
|
|
1407
|
-
* MCP capabilities supported by the agent.
|
|
1408
|
-
*/
|
|
1409
|
-
mcpCapabilities?: McpCapabilities;
|
|
1410
|
-
/**
|
|
1411
|
-
* Session lifecycle and prompt capabilities advertised by the agent.
|
|
1412
|
-
*/
|
|
1413
|
-
sessionCapabilities?: SessionCapabilities;
|
|
1414
|
-
/**
|
|
1415
|
-
* Authentication-related capabilities supported by the agent.
|
|
1416
|
-
*/
|
|
1417
|
-
auth?: AgentAuthCapabilities;
|
|
1418
|
-
/**
|
|
1419
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1420
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1421
|
-
* these keys.
|
|
1422
|
-
*
|
|
1423
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1424
|
-
*/
|
|
1425
|
-
_meta?: {
|
|
1426
|
-
[key: string]: unknown;
|
|
1427
|
-
} | null;
|
|
1428
|
-
};
|
|
1429
|
-
/**
|
|
1430
|
-
* Prompt capabilities supported by the agent in `session/prompt` requests.
|
|
1431
|
-
*
|
|
1432
|
-
* Baseline agent functionality requires support for `text`
|
|
1433
|
-
* and `resource_link` content blocks in prompt requests.
|
|
1434
|
-
*
|
|
1435
|
-
* Other variants must be explicitly opted in to.
|
|
1436
|
-
* Capabilities for different types of content in prompt requests.
|
|
1437
|
-
*
|
|
1438
|
-
* Indicates which content types beyond the baseline (text and resource links)
|
|
1439
|
-
* the agent can process.
|
|
1440
|
-
*
|
|
1441
|
-
* See protocol docs: [Prompt Capabilities](https://agentclientprotocol.com/protocol/v1/initialization#prompt-capabilities)
|
|
1442
|
-
*/
|
|
1443
|
-
export type PromptCapabilities = {
|
|
1444
|
-
/**
|
|
1445
|
-
* Agent supports `image` content blocks.
|
|
1446
|
-
*/
|
|
1447
|
-
image?: boolean;
|
|
1448
|
-
/**
|
|
1449
|
-
* Agent supports `audio` content blocks.
|
|
1450
|
-
*/
|
|
1451
|
-
audio?: boolean;
|
|
1452
|
-
/**
|
|
1453
|
-
* Agent supports embedded context in `session/prompt` requests.
|
|
1454
|
-
*
|
|
1455
|
-
* When enabled, the Client is allowed to include `resource` content blocks
|
|
1456
|
-
* in prompt requests for pieces of context that are referenced in the message.
|
|
1457
|
-
*/
|
|
1458
|
-
embeddedContext?: boolean;
|
|
1459
|
-
/**
|
|
1460
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1461
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1462
|
-
* these keys.
|
|
1463
|
-
*
|
|
1464
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1465
|
-
*/
|
|
1466
|
-
_meta?: {
|
|
1467
|
-
[key: string]: unknown;
|
|
1468
|
-
} | null;
|
|
1469
|
-
};
|
|
1470
|
-
/**
|
|
1471
|
-
* MCP capabilities supported by the agent
|
|
1472
|
-
*/
|
|
1473
|
-
export type McpCapabilities = {
|
|
1474
|
-
/**
|
|
1475
|
-
* Agent supports `http` MCP servers.
|
|
1476
|
-
*/
|
|
1477
|
-
http?: boolean;
|
|
1478
|
-
/**
|
|
1479
|
-
* Agent supports `sse` MCP servers.
|
|
1480
|
-
*/
|
|
1481
|
-
sse?: boolean;
|
|
1482
|
-
/**
|
|
1483
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1484
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1485
|
-
* these keys.
|
|
1486
|
-
*
|
|
1487
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1488
|
-
*/
|
|
1489
|
-
_meta?: {
|
|
1490
|
-
[key: string]: unknown;
|
|
1491
|
-
} | null;
|
|
1492
|
-
};
|
|
1493
|
-
/**
|
|
1494
|
-
* Session capabilities supported by the agent.
|
|
1495
|
-
*
|
|
1496
|
-
* As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `session/cancel`, and `session/update`.
|
|
1497
|
-
*
|
|
1498
|
-
* Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities.
|
|
1499
|
-
*
|
|
1500
|
-
* Note: `session/load` is still handled by the top-level `loadSession` capability. This will be unified in future versions of the protocol.
|
|
1501
|
-
*
|
|
1502
|
-
* See protocol docs: [Session Capabilities](https://agentclientprotocol.com/protocol/v1/initialization#session-capabilities)
|
|
1503
|
-
*/
|
|
1504
|
-
export type SessionCapabilities = {
|
|
1505
|
-
/**
|
|
1506
|
-
* Whether the agent supports `session/list`.
|
|
1507
|
-
*
|
|
1508
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1509
|
-
* Supplying `{}` means the agent supports listing sessions.
|
|
1510
|
-
*/
|
|
1511
|
-
list?: SessionListCapabilities | null;
|
|
1512
|
-
/**
|
|
1513
|
-
* Whether the agent supports `session/delete`.
|
|
1514
|
-
*
|
|
1515
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1516
|
-
* Supplying `{}` means the agent supports deleting sessions from `session/list`.
|
|
1517
|
-
*/
|
|
1518
|
-
delete?: SessionDeleteCapabilities | null;
|
|
1519
|
-
/**
|
|
1520
|
-
* Whether the agent supports `additionalDirectories` on supported session lifecycle requests.
|
|
1521
|
-
*
|
|
1522
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1523
|
-
* Supplying `{}` means the agent supports `additionalDirectories` on
|
|
1524
|
-
* supported session lifecycle requests.
|
|
1525
|
-
*
|
|
1526
|
-
* Agents that also support `session/list` may return
|
|
1527
|
-
* `SessionInfo.additionalDirectories` to report the complete ordered
|
|
1528
|
-
* additional-root list associated with a listed session.
|
|
1529
|
-
*/
|
|
1530
|
-
additionalDirectories?: SessionAdditionalDirectoriesCapabilities | null;
|
|
1531
|
-
/**
|
|
1532
|
-
* Whether the agent supports `systemPrompt` on session lifecycle requests.
|
|
1533
|
-
*
|
|
1534
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1535
|
-
* Supplying `{}` means the agent supports `systemPrompt` in `append` mode.
|
|
1536
|
-
*/
|
|
1537
|
-
systemPrompt?: SessionSystemPromptCapabilities | null;
|
|
1538
|
-
/**
|
|
1539
|
-
* Whether the agent supports `session/resume`.
|
|
1540
|
-
*
|
|
1541
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1542
|
-
* Supplying `{}` means the agent supports resuming sessions.
|
|
1543
|
-
*/
|
|
1544
|
-
resume?: SessionResumeCapabilities | null;
|
|
1545
|
-
/**
|
|
1546
|
-
* Whether the agent supports `session/close`.
|
|
1547
|
-
*
|
|
1548
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1549
|
-
* Supplying `{}` means the agent supports closing sessions.
|
|
1550
|
-
*/
|
|
1551
|
-
close?: SessionCloseCapabilities | null;
|
|
1552
|
-
/**
|
|
1553
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1554
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1555
|
-
* these keys.
|
|
1556
|
-
*
|
|
1557
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1558
|
-
*/
|
|
1559
|
-
_meta?: {
|
|
1560
|
-
[key: string]: unknown;
|
|
1561
|
-
} | null;
|
|
1562
|
-
};
|
|
1563
|
-
/**
|
|
1564
|
-
* Capabilities for the `session/list` method.
|
|
1565
|
-
*
|
|
1566
|
-
* Supplying `{}` means the agent supports listing sessions.
|
|
1567
|
-
*/
|
|
1568
|
-
export type SessionListCapabilities = {
|
|
1569
|
-
/**
|
|
1570
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1571
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1572
|
-
* these keys.
|
|
1573
|
-
*
|
|
1574
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1575
|
-
*/
|
|
1576
|
-
_meta?: {
|
|
1577
|
-
[key: string]: unknown;
|
|
1578
|
-
} | null;
|
|
1579
|
-
};
|
|
1580
|
-
/**
|
|
1581
|
-
* Capabilities for the `session/delete` method.
|
|
1582
|
-
*
|
|
1583
|
-
* Supplying `{}` means the agent supports deleting sessions from `session/list`.
|
|
1584
|
-
*/
|
|
1585
|
-
export type SessionDeleteCapabilities = {
|
|
1586
|
-
/**
|
|
1587
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1588
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1589
|
-
* these keys.
|
|
1590
|
-
*
|
|
1591
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1592
|
-
*/
|
|
1593
|
-
_meta?: {
|
|
1594
|
-
[key: string]: unknown;
|
|
1595
|
-
} | null;
|
|
1596
|
-
};
|
|
1597
|
-
/**
|
|
1598
|
-
* Capabilities for additional session directories support.
|
|
1599
|
-
*
|
|
1600
|
-
* Supplying `{}` means the agent supports the `additionalDirectories` field on
|
|
1601
|
-
* supported session lifecycle requests. Agents that also support
|
|
1602
|
-
* `session/list` may return `SessionInfo.additionalDirectories` to report the
|
|
1603
|
-
* complete ordered additional-root list associated with a listed session.
|
|
1604
|
-
*/
|
|
1605
|
-
export type SessionAdditionalDirectoriesCapabilities = {
|
|
1606
|
-
/**
|
|
1607
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1608
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1609
|
-
* these keys.
|
|
1610
|
-
*
|
|
1611
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1612
|
-
*/
|
|
1613
|
-
_meta?: {
|
|
1614
|
-
[key: string]: unknown;
|
|
1615
|
-
} | null;
|
|
1616
|
-
};
|
|
1617
|
-
/**
|
|
1618
|
-
* Capabilities for client-provided system prompts.
|
|
1619
|
-
*
|
|
1620
|
-
* Supplying `{}` means the agent supports `systemPrompt` on session lifecycle
|
|
1621
|
-
* requests in `append` mode.
|
|
1622
|
-
*/
|
|
1623
|
-
export type SessionSystemPromptCapabilities = {
|
|
1624
|
-
/**
|
|
1625
|
-
* Delivery modes the agent supports in addition to `append`.
|
|
1626
|
-
*
|
|
1627
|
-
* Optional. Omitted or `null` both mean the agent supports only `append`.
|
|
1628
|
-
*/
|
|
1629
|
-
mode?: SessionSystemPromptModeCapabilities | null;
|
|
1630
|
-
/**
|
|
1631
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1632
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1633
|
-
* these keys.
|
|
1634
|
-
*
|
|
1635
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1636
|
-
*/
|
|
1637
|
-
_meta?: {
|
|
1638
|
-
[key: string]: unknown;
|
|
1639
|
-
} | null;
|
|
1640
|
-
};
|
|
1641
|
-
/**
|
|
1642
|
-
* System prompt delivery modes the agent supports in addition to `append`.
|
|
1643
|
-
*
|
|
1644
|
-
* `append` has no entry because every agent advertising
|
|
1645
|
-
* `sessionCapabilities.systemPrompt` supports it.
|
|
1646
|
-
*/
|
|
1647
|
-
export type SessionSystemPromptModeCapabilities = {
|
|
1648
|
-
/**
|
|
1649
|
-
* Whether the agent supports `override` mode.
|
|
1650
|
-
*
|
|
1651
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1652
|
-
* Supplying `{}` means the agent supports replacing its built-in default
|
|
1653
|
-
* instructions with the client-provided system prompt.
|
|
1654
|
-
*/
|
|
1655
|
-
override?: SessionSystemPromptOverrideCapabilities | null;
|
|
1656
|
-
/**
|
|
1657
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1658
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1659
|
-
* these keys.
|
|
1660
|
-
*
|
|
1661
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1662
|
-
*/
|
|
1663
|
-
_meta?: {
|
|
1664
|
-
[key: string]: unknown;
|
|
1665
|
-
} | null;
|
|
1666
|
-
};
|
|
1667
|
-
/**
|
|
1668
|
-
* Capabilities for the `override` system prompt mode.
|
|
1669
|
-
*
|
|
1670
|
-
* Supplying `{}` means the agent supports replacing its built-in default
|
|
1671
|
-
* instructions with the client-provided system prompt.
|
|
1672
|
-
*/
|
|
1673
|
-
export type SessionSystemPromptOverrideCapabilities = {
|
|
1674
|
-
/**
|
|
1675
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1676
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1677
|
-
* these keys.
|
|
1678
|
-
*
|
|
1679
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1680
|
-
*/
|
|
1681
|
-
_meta?: {
|
|
1682
|
-
[key: string]: unknown;
|
|
1683
|
-
} | null;
|
|
1684
|
-
};
|
|
1685
|
-
/**
|
|
1686
|
-
* Capabilities for the `session/resume` method.
|
|
1687
|
-
*
|
|
1688
|
-
* Supplying `{}` means the agent supports resuming sessions.
|
|
1689
|
-
*/
|
|
1690
|
-
export type SessionResumeCapabilities = {
|
|
1691
|
-
/**
|
|
1692
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1693
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1694
|
-
* these keys.
|
|
1695
|
-
*
|
|
1696
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1697
|
-
*/
|
|
1698
|
-
_meta?: {
|
|
1699
|
-
[key: string]: unknown;
|
|
1700
|
-
} | null;
|
|
1701
|
-
};
|
|
1702
|
-
/**
|
|
1703
|
-
* Capabilities for the `session/close` method.
|
|
1704
|
-
*
|
|
1705
|
-
* Supplying `{}` means the agent supports closing sessions.
|
|
1706
|
-
*/
|
|
1707
|
-
export type SessionCloseCapabilities = {
|
|
1708
|
-
/**
|
|
1709
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1710
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1711
|
-
* these keys.
|
|
1712
|
-
*
|
|
1713
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1714
|
-
*/
|
|
1715
|
-
_meta?: {
|
|
1716
|
-
[key: string]: unknown;
|
|
1717
|
-
} | null;
|
|
1718
|
-
};
|
|
1719
|
-
/**
|
|
1720
|
-
* Authentication-related capabilities supported by the agent.
|
|
1721
|
-
*/
|
|
1722
|
-
export type AgentAuthCapabilities = {
|
|
1723
|
-
/**
|
|
1724
|
-
* Whether the agent supports the logout method.
|
|
1725
|
-
*
|
|
1726
|
-
* Optional. Omitted or `null` both mean the agent does not advertise support.
|
|
1727
|
-
* Supplying `{}` means the agent supports the logout method.
|
|
1728
|
-
*/
|
|
1729
|
-
logout?: LogoutCapabilities | null;
|
|
1730
|
-
/**
|
|
1731
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1732
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1733
|
-
* these keys.
|
|
1734
|
-
*
|
|
1735
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1736
|
-
*/
|
|
1737
|
-
_meta?: {
|
|
1738
|
-
[key: string]: unknown;
|
|
1739
|
-
} | null;
|
|
1740
|
-
};
|
|
1741
|
-
/**
|
|
1742
|
-
* Logout capabilities supported by the agent.
|
|
1743
|
-
*
|
|
1744
|
-
* Supplying `{}` means the agent supports the logout method.
|
|
1745
|
-
*/
|
|
1746
|
-
export type LogoutCapabilities = {
|
|
1747
|
-
/**
|
|
1748
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1749
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1750
|
-
* these keys.
|
|
1751
|
-
*
|
|
1752
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1753
|
-
*/
|
|
1754
|
-
_meta?: {
|
|
1755
|
-
[key: string]: unknown;
|
|
1756
|
-
} | null;
|
|
1757
|
-
};
|
|
1758
|
-
/**
|
|
1759
|
-
* Describes an available authentication method.
|
|
1760
|
-
*
|
|
1761
|
-
* The `type` field acts as the discriminator in the serialized JSON form.
|
|
1762
|
-
* When no `type` is present, the method is treated as `agent`.
|
|
1763
|
-
*/
|
|
1764
|
-
export type AuthMethod = (AuthMethodTerminal & {
|
|
1765
|
-
type: "terminal";
|
|
1766
|
-
}) | AuthMethodAgent;
|
|
1767
|
-
/**
|
|
1768
|
-
* Typed identifier used for auth method values on the wire.
|
|
1769
|
-
*/
|
|
1770
|
-
export type AuthMethodId = string;
|
|
1771
|
-
/**
|
|
1772
|
-
* Terminal-based authentication method.
|
|
1773
|
-
*
|
|
1774
|
-
* The client runs the configured agent program as a separate interactive
|
|
1775
|
-
* process for the user to authenticate via a TUI. Agents MUST advertise this
|
|
1776
|
-
* method only when the client enabled its terminal authentication capability.
|
|
1777
|
-
* A zero exit status signals success. Any other termination signals failure.
|
|
1778
|
-
* The client MUST NOT pass this method to `authenticate`.
|
|
1779
|
-
*/
|
|
1780
|
-
export type AuthMethodTerminal = {
|
|
1781
|
-
/**
|
|
1782
|
-
* Unique identifier for this authentication method.
|
|
1783
|
-
*/
|
|
1784
|
-
id: AuthMethodId;
|
|
1785
|
-
/**
|
|
1786
|
-
* Human-readable name of the authentication method.
|
|
1787
|
-
*/
|
|
1788
|
-
name: string;
|
|
1789
|
-
/**
|
|
1790
|
-
* Optional human-readable description of this authentication method.
|
|
1791
|
-
*/
|
|
1792
|
-
description?: string | null;
|
|
1793
|
-
/**
|
|
1794
|
-
* Additional arguments to append to the configured agent invocation for terminal auth.
|
|
1795
|
-
*/
|
|
1796
|
-
args?: Array<string>;
|
|
1797
|
-
/**
|
|
1798
|
-
* Additional environment variables to set on the configured agent invocation for terminal auth.
|
|
1799
|
-
* These values override same-named variables in the base launch configuration.
|
|
1800
|
-
*/
|
|
1801
|
-
env?: {
|
|
1802
|
-
[key: string]: string;
|
|
1803
|
-
};
|
|
1804
|
-
/**
|
|
1805
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1806
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1807
|
-
* these keys.
|
|
1808
|
-
*
|
|
1809
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1810
|
-
*/
|
|
1811
|
-
_meta?: {
|
|
1812
|
-
[key: string]: unknown;
|
|
1813
|
-
} | null;
|
|
1814
|
-
};
|
|
1815
|
-
/**
|
|
1816
|
-
* Agent handles authentication itself through `authenticate`.
|
|
1817
|
-
*
|
|
1818
|
-
* This is the default authentication method type.
|
|
1819
|
-
*/
|
|
1820
|
-
export type AuthMethodAgent = {
|
|
1821
|
-
/**
|
|
1822
|
-
* Unique identifier for this authentication method.
|
|
1823
|
-
*/
|
|
1824
|
-
id: AuthMethodId;
|
|
1825
|
-
/**
|
|
1826
|
-
* Human-readable name of the authentication method.
|
|
1827
|
-
*/
|
|
1828
|
-
name: string;
|
|
1829
|
-
/**
|
|
1830
|
-
* Optional human-readable description of this authentication method.
|
|
1831
|
-
*/
|
|
1832
|
-
description?: string | null;
|
|
1833
|
-
/**
|
|
1834
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1835
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1836
|
-
* these keys.
|
|
1837
|
-
*
|
|
1838
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1839
|
-
*/
|
|
1840
|
-
_meta?: {
|
|
1841
|
-
[key: string]: unknown;
|
|
1842
|
-
} | null;
|
|
1843
|
-
};
|
|
1844
|
-
/**
|
|
1845
|
-
* Metadata about the implementation of the client or agent.
|
|
1846
|
-
* Describes the name and version of an ACP implementation, with an optional
|
|
1847
|
-
* title for UI representation.
|
|
1848
|
-
*/
|
|
1849
|
-
export type Implementation = {
|
|
1850
|
-
/**
|
|
1851
|
-
* Intended for programmatic or logical use, but can be used as a display
|
|
1852
|
-
* name fallback if title isn't present.
|
|
1853
|
-
*/
|
|
1854
|
-
name: string;
|
|
1855
|
-
/**
|
|
1856
|
-
* Intended for UI and end-user contexts and optimized to be human-readable
|
|
1857
|
-
* and easily understood.
|
|
1858
|
-
*
|
|
1859
|
-
* If not provided, the name should be used for display.
|
|
1860
|
-
*/
|
|
1861
|
-
title?: string | null;
|
|
1862
|
-
/**
|
|
1863
|
-
* Version of the implementation. Can be displayed to the user or used
|
|
1864
|
-
* for debugging or metrics purposes. (e.g. "1.0.0").
|
|
1865
|
-
*/
|
|
1866
|
-
version: string;
|
|
1867
|
-
/**
|
|
1868
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1869
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1870
|
-
* these keys.
|
|
1871
|
-
*
|
|
1872
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1873
|
-
*/
|
|
1874
|
-
_meta?: {
|
|
1875
|
-
[key: string]: unknown;
|
|
1876
|
-
} | null;
|
|
1877
|
-
};
|
|
1878
|
-
/**
|
|
1879
|
-
* Response to the `authenticate` method.
|
|
1880
|
-
*/
|
|
1881
|
-
export type AuthenticateResponse = {
|
|
1882
|
-
/**
|
|
1883
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1884
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1885
|
-
* these keys.
|
|
1886
|
-
*
|
|
1887
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1888
|
-
*/
|
|
1889
|
-
_meta?: {
|
|
1890
|
-
[key: string]: unknown;
|
|
1891
|
-
} | null;
|
|
1892
|
-
};
|
|
1893
|
-
/**
|
|
1894
|
-
* Response to the `logout` method.
|
|
1895
|
-
*/
|
|
1896
|
-
export type LogoutResponse = {
|
|
1897
|
-
/**
|
|
1898
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1899
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1900
|
-
* these keys.
|
|
1901
|
-
*
|
|
1902
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1903
|
-
*/
|
|
1904
|
-
_meta?: {
|
|
1905
|
-
[key: string]: unknown;
|
|
1906
|
-
} | null;
|
|
1907
|
-
};
|
|
1908
|
-
/**
|
|
1909
|
-
* Response from creating a new session.
|
|
1910
|
-
*
|
|
1911
|
-
* See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/v1/session-setup#creating-a-session)
|
|
1912
|
-
*/
|
|
1913
|
-
export type NewSessionResponse = {
|
|
1914
|
-
/**
|
|
1915
|
-
* Unique identifier for the created session.
|
|
1916
|
-
*
|
|
1917
|
-
* Used in all subsequent requests for this conversation.
|
|
1918
|
-
*/
|
|
1919
|
-
sessionId: SessionId;
|
|
1920
|
-
/**
|
|
1921
|
-
* Initial mode state if supported by the Agent
|
|
1922
|
-
*
|
|
1923
|
-
* See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/session-modes)
|
|
1924
|
-
*/
|
|
1925
|
-
modes?: SessionModeState | null;
|
|
1926
|
-
/**
|
|
1927
|
-
* Initial session configuration options if supported by the Agent.
|
|
1928
|
-
*/
|
|
1929
|
-
configOptions?: Array<SessionConfigOption> | null;
|
|
1930
|
-
/**
|
|
1931
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1932
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1933
|
-
* these keys.
|
|
1934
|
-
*
|
|
1935
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1936
|
-
*/
|
|
1937
|
-
_meta?: {
|
|
1938
|
-
[key: string]: unknown;
|
|
1939
|
-
} | null;
|
|
1940
|
-
};
|
|
1941
|
-
/**
|
|
1942
|
-
* The set of modes and the one currently active.
|
|
1943
|
-
*/
|
|
1944
|
-
export type SessionModeState = {
|
|
1945
|
-
/**
|
|
1946
|
-
* The current mode the Agent is in.
|
|
1947
|
-
*/
|
|
1948
|
-
currentModeId: SessionModeId;
|
|
1949
|
-
/**
|
|
1950
|
-
* The set of modes that the Agent can operate in
|
|
1951
|
-
*/
|
|
1952
|
-
availableModes: Array<SessionMode>;
|
|
1953
|
-
/**
|
|
1954
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1955
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1956
|
-
* these keys.
|
|
1957
|
-
*
|
|
1958
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1959
|
-
*/
|
|
1960
|
-
_meta?: {
|
|
1961
|
-
[key: string]: unknown;
|
|
1962
|
-
} | null;
|
|
1963
|
-
};
|
|
1964
|
-
/**
|
|
1965
|
-
* Unique identifier for a Session Mode.
|
|
1966
|
-
*/
|
|
1967
|
-
export type SessionModeId = string;
|
|
1968
|
-
/**
|
|
1969
|
-
* A mode the agent can operate in.
|
|
1970
|
-
*
|
|
1971
|
-
* See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/session-modes)
|
|
1972
|
-
*/
|
|
1973
|
-
export type SessionMode = {
|
|
1974
|
-
/**
|
|
1975
|
-
* Stable identifier used to refer to this protocol object in later messages.
|
|
1976
|
-
*/
|
|
1977
|
-
id: SessionModeId;
|
|
1978
|
-
/**
|
|
1979
|
-
* Human-readable name shown for this protocol object.
|
|
1980
|
-
*/
|
|
1981
|
-
name: string;
|
|
1982
|
-
/**
|
|
1983
|
-
* Optional human-readable details shown with this protocol object.
|
|
1984
|
-
*/
|
|
1985
|
-
description?: string | null;
|
|
1986
|
-
/**
|
|
1987
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
1988
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
1989
|
-
* these keys.
|
|
1990
|
-
*
|
|
1991
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
1992
|
-
*/
|
|
1993
|
-
_meta?: {
|
|
1994
|
-
[key: string]: unknown;
|
|
1995
|
-
} | null;
|
|
1996
|
-
};
|
|
1997
|
-
/**
|
|
1998
|
-
* A session configuration option selector and its current state.
|
|
1999
|
-
*/
|
|
2000
|
-
export type SessionConfigOption = ((SessionConfigSelect & {
|
|
2001
|
-
type: "select";
|
|
2002
|
-
}) | (SessionConfigBoolean & {
|
|
2003
|
-
type: "boolean";
|
|
2004
|
-
})) & {
|
|
2005
|
-
/**
|
|
2006
|
-
* Unique identifier for the configuration option.
|
|
2007
|
-
*/
|
|
2008
|
-
id: SessionConfigId;
|
|
2009
|
-
/**
|
|
2010
|
-
* Human-readable label for the option.
|
|
2011
|
-
*/
|
|
2012
|
-
name: string;
|
|
2013
|
-
/**
|
|
2014
|
-
* Optional description for the Client to display to the user.
|
|
2015
|
-
*/
|
|
2016
|
-
description?: string | null;
|
|
2017
|
-
/**
|
|
2018
|
-
* Optional semantic category for this option (UX only).
|
|
2019
|
-
*/
|
|
2020
|
-
category?: SessionConfigOptionCategory | null;
|
|
2021
|
-
/**
|
|
2022
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2023
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2024
|
-
* these keys.
|
|
2025
|
-
*
|
|
2026
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2027
|
-
*/
|
|
2028
|
-
_meta?: {
|
|
2029
|
-
[key: string]: unknown;
|
|
2030
|
-
} | null;
|
|
2031
|
-
};
|
|
2032
|
-
/**
|
|
2033
|
-
* Unique identifier for a session configuration option.
|
|
2034
|
-
*/
|
|
2035
|
-
export type SessionConfigId = string;
|
|
2036
|
-
/**
|
|
2037
|
-
* Semantic category for a session configuration option.
|
|
2038
|
-
*
|
|
2039
|
-
* This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs
|
|
2040
|
-
* session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons,
|
|
2041
|
-
* placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown
|
|
2042
|
-
* categories gracefully.
|
|
2043
|
-
*
|
|
2044
|
-
* Category names beginning with `_` are free for custom use, like other ACP extension methods.
|
|
2045
|
-
* Category names that do not begin with `_` are reserved for the ACP spec.
|
|
2046
|
-
*/
|
|
2047
|
-
export type SessionConfigOptionCategory = "mode" | "model" | "model_config" | "thought_level" | string;
|
|
2048
|
-
/**
|
|
2049
|
-
* Unique identifier for a session configuration option value.
|
|
2050
|
-
*/
|
|
2051
|
-
export type SessionConfigValueId = string;
|
|
2052
|
-
/**
|
|
2053
|
-
* Possible values for a session configuration option.
|
|
2054
|
-
*/
|
|
2055
|
-
export type SessionConfigSelectOptions = Array<SessionConfigSelectOption> | Array<SessionConfigSelectGroup>;
|
|
2056
|
-
/**
|
|
2057
|
-
* A possible value for a session configuration option.
|
|
2058
|
-
*/
|
|
2059
|
-
export type SessionConfigSelectOption = {
|
|
2060
|
-
/**
|
|
2061
|
-
* Unique identifier for this option value.
|
|
2062
|
-
*/
|
|
2063
|
-
value: SessionConfigValueId;
|
|
2064
|
-
/**
|
|
2065
|
-
* Human-readable label for this option value.
|
|
2066
|
-
*/
|
|
2067
|
-
name: string;
|
|
2068
|
-
/**
|
|
2069
|
-
* Optional description for this option value.
|
|
2070
|
-
*/
|
|
2071
|
-
description?: string | null;
|
|
2072
|
-
/**
|
|
2073
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2074
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2075
|
-
* these keys.
|
|
2076
|
-
*
|
|
2077
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2078
|
-
*/
|
|
2079
|
-
_meta?: {
|
|
2080
|
-
[key: string]: unknown;
|
|
2081
|
-
} | null;
|
|
2082
|
-
};
|
|
2083
|
-
/**
|
|
2084
|
-
* A group of possible values for a session configuration option.
|
|
2085
|
-
*/
|
|
2086
|
-
export type SessionConfigSelectGroup = {
|
|
2087
|
-
/**
|
|
2088
|
-
* Unique identifier for this group.
|
|
2089
|
-
*/
|
|
2090
|
-
group: SessionConfigGroupId;
|
|
2091
|
-
/**
|
|
2092
|
-
* Human-readable label for this group.
|
|
2093
|
-
*/
|
|
2094
|
-
name: string;
|
|
2095
|
-
/**
|
|
2096
|
-
* The set of option values in this group.
|
|
2097
|
-
*/
|
|
2098
|
-
options: Array<SessionConfigSelectOption>;
|
|
2099
|
-
/**
|
|
2100
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2101
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2102
|
-
* these keys.
|
|
2103
|
-
*
|
|
2104
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2105
|
-
*/
|
|
2106
|
-
_meta?: {
|
|
2107
|
-
[key: string]: unknown;
|
|
2108
|
-
} | null;
|
|
2109
|
-
};
|
|
2110
|
-
/**
|
|
2111
|
-
* Unique identifier for a session configuration option value group.
|
|
2112
|
-
*/
|
|
2113
|
-
export type SessionConfigGroupId = string;
|
|
2114
|
-
/**
|
|
2115
|
-
* A single-value selector (dropdown) session configuration option payload.
|
|
2116
|
-
*/
|
|
2117
|
-
export type SessionConfigSelect = {
|
|
2118
|
-
/**
|
|
2119
|
-
* The currently selected value.
|
|
2120
|
-
*/
|
|
2121
|
-
currentValue: SessionConfigValueId;
|
|
2122
|
-
/**
|
|
2123
|
-
* The set of selectable options.
|
|
2124
|
-
*/
|
|
2125
|
-
options: SessionConfigSelectOptions;
|
|
2126
|
-
};
|
|
2127
|
-
/**
|
|
2128
|
-
* A boolean on/off toggle session configuration option payload.
|
|
2129
|
-
*/
|
|
2130
|
-
export type SessionConfigBoolean = {
|
|
2131
|
-
/**
|
|
2132
|
-
* The current value of the boolean option.
|
|
2133
|
-
*/
|
|
2134
|
-
currentValue: boolean;
|
|
2135
|
-
};
|
|
2136
|
-
/**
|
|
2137
|
-
* Response from loading an existing session.
|
|
2138
|
-
*/
|
|
2139
|
-
export type LoadSessionResponse = {
|
|
2140
|
-
/**
|
|
2141
|
-
* Initial mode state if supported by the Agent
|
|
2142
|
-
*
|
|
2143
|
-
* See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/session-modes)
|
|
2144
|
-
*/
|
|
2145
|
-
modes?: SessionModeState | null;
|
|
2146
|
-
/**
|
|
2147
|
-
* Initial session configuration options if supported by the Agent.
|
|
2148
|
-
*/
|
|
2149
|
-
configOptions?: Array<SessionConfigOption> | null;
|
|
2150
|
-
/**
|
|
2151
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2152
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2153
|
-
* these keys.
|
|
2154
|
-
*
|
|
2155
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2156
|
-
*/
|
|
2157
|
-
_meta?: {
|
|
2158
|
-
[key: string]: unknown;
|
|
2159
|
-
} | null;
|
|
2160
|
-
};
|
|
2161
|
-
/**
|
|
2162
|
-
* Response from listing sessions.
|
|
2163
|
-
*/
|
|
2164
|
-
export type ListSessionsResponse = {
|
|
2165
|
-
/**
|
|
2166
|
-
* Array of session information objects
|
|
2167
|
-
*/
|
|
2168
|
-
sessions: Array<SessionInfo>;
|
|
2169
|
-
/**
|
|
2170
|
-
* Opaque cursor token. If present, pass this in the next request's cursor parameter
|
|
2171
|
-
* to fetch the next page. If absent, there are no more results.
|
|
2172
|
-
*/
|
|
2173
|
-
nextCursor?: string | null;
|
|
2174
|
-
/**
|
|
2175
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2176
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2177
|
-
* these keys.
|
|
2178
|
-
*
|
|
2179
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2180
|
-
*/
|
|
2181
|
-
_meta?: {
|
|
2182
|
-
[key: string]: unknown;
|
|
2183
|
-
} | null;
|
|
2184
|
-
};
|
|
2185
|
-
/**
|
|
2186
|
-
* Information about a session returned by session/list
|
|
2187
|
-
*/
|
|
2188
|
-
export type SessionInfo = {
|
|
2189
|
-
/**
|
|
2190
|
-
* Unique identifier for the session
|
|
2191
|
-
*/
|
|
2192
|
-
sessionId: SessionId;
|
|
2193
|
-
/**
|
|
2194
|
-
* The working directory for this session. Must be an absolute path.
|
|
2195
|
-
*/
|
|
2196
|
-
cwd: string;
|
|
2197
|
-
/**
|
|
2198
|
-
* Additional workspace roots reported for this session. Each path must be absolute.
|
|
2199
|
-
*
|
|
2200
|
-
* When present, this is the complete ordered additional-root list reported
|
|
2201
|
-
* by the Agent. Omitted and empty values are equivalent: the response
|
|
2202
|
-
* reports no additional roots.
|
|
2203
|
-
*/
|
|
2204
|
-
additionalDirectories?: Array<string>;
|
|
2205
|
-
/**
|
|
2206
|
-
* Human-readable title for the session
|
|
2207
|
-
*/
|
|
2208
|
-
title?: string | null;
|
|
2209
|
-
/**
|
|
2210
|
-
* ISO 8601 timestamp of last activity
|
|
2211
|
-
*/
|
|
2212
|
-
updatedAt?: string | null;
|
|
2213
|
-
/**
|
|
2214
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2215
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2216
|
-
* these keys.
|
|
2217
|
-
*
|
|
2218
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2219
|
-
*/
|
|
2220
|
-
_meta?: {
|
|
2221
|
-
[key: string]: unknown;
|
|
2222
|
-
} | null;
|
|
2223
|
-
};
|
|
2224
|
-
/**
|
|
2225
|
-
* Response from deleting a session.
|
|
2226
|
-
*/
|
|
2227
|
-
export type DeleteSessionResponse = {
|
|
2228
|
-
/**
|
|
2229
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2230
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2231
|
-
* these keys.
|
|
2232
|
-
*
|
|
2233
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2234
|
-
*/
|
|
2235
|
-
_meta?: {
|
|
2236
|
-
[key: string]: unknown;
|
|
2237
|
-
} | null;
|
|
2238
|
-
};
|
|
2239
|
-
/**
|
|
2240
|
-
* Response from resuming an existing session.
|
|
2241
|
-
*/
|
|
2242
|
-
export type ResumeSessionResponse = {
|
|
2243
|
-
/**
|
|
2244
|
-
* Initial mode state if supported by the Agent
|
|
2245
|
-
*
|
|
2246
|
-
* See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/session-modes)
|
|
2247
|
-
*/
|
|
2248
|
-
modes?: SessionModeState | null;
|
|
2249
|
-
/**
|
|
2250
|
-
* Initial session configuration options if supported by the Agent.
|
|
2251
|
-
*/
|
|
2252
|
-
configOptions?: Array<SessionConfigOption> | null;
|
|
2253
|
-
/**
|
|
2254
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2255
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2256
|
-
* these keys.
|
|
2257
|
-
*
|
|
2258
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2259
|
-
*/
|
|
2260
|
-
_meta?: {
|
|
2261
|
-
[key: string]: unknown;
|
|
2262
|
-
} | null;
|
|
2263
|
-
};
|
|
2264
|
-
/**
|
|
2265
|
-
* Response from closing a session.
|
|
2266
|
-
*/
|
|
2267
|
-
export type CloseSessionResponse = {
|
|
2268
|
-
/**
|
|
2269
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2270
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2271
|
-
* these keys.
|
|
2272
|
-
*
|
|
2273
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2274
|
-
*/
|
|
2275
|
-
_meta?: {
|
|
2276
|
-
[key: string]: unknown;
|
|
2277
|
-
} | null;
|
|
2278
|
-
};
|
|
2279
|
-
/**
|
|
2280
|
-
* Response to `session/set_mode` method.
|
|
2281
|
-
*/
|
|
2282
|
-
export type SetSessionModeResponse = {
|
|
2283
|
-
/**
|
|
2284
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2285
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2286
|
-
* these keys.
|
|
2287
|
-
*
|
|
2288
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2289
|
-
*/
|
|
2290
|
-
_meta?: {
|
|
2291
|
-
[key: string]: unknown;
|
|
2292
|
-
} | null;
|
|
2293
|
-
};
|
|
2294
|
-
/**
|
|
2295
|
-
* Response to `session/set_config_option` method.
|
|
2296
|
-
*/
|
|
2297
|
-
export type SetSessionConfigOptionResponse = {
|
|
2298
|
-
/**
|
|
2299
|
-
* The full set of configuration options and their current values.
|
|
2300
|
-
*/
|
|
2301
|
-
configOptions: Array<SessionConfigOption>;
|
|
2302
|
-
/**
|
|
2303
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2304
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2305
|
-
* these keys.
|
|
2306
|
-
*
|
|
2307
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2308
|
-
*/
|
|
2309
|
-
_meta?: {
|
|
2310
|
-
[key: string]: unknown;
|
|
2311
|
-
} | null;
|
|
2312
|
-
};
|
|
2313
|
-
/**
|
|
2314
|
-
* Response from processing a user prompt.
|
|
2315
|
-
*
|
|
2316
|
-
* See protocol docs: [Check for Completion](https://agentclientprotocol.com/protocol/v1/prompt-turn#4-check-for-completion)
|
|
2317
|
-
*/
|
|
2318
|
-
export type PromptResponse = {
|
|
2319
|
-
/**
|
|
2320
|
-
* Indicates why the agent stopped processing the turn.
|
|
2321
|
-
*/
|
|
2322
|
-
stopReason: StopReason;
|
|
2323
|
-
/**
|
|
2324
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2325
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2326
|
-
* these keys.
|
|
2327
|
-
*
|
|
2328
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2329
|
-
*/
|
|
2330
|
-
_meta?: {
|
|
2331
|
-
[key: string]: unknown;
|
|
2332
|
-
} | null;
|
|
2333
|
-
};
|
|
2334
|
-
/**
|
|
2335
|
-
* Reasons why an agent stops processing a prompt turn.
|
|
2336
|
-
*
|
|
2337
|
-
* See protocol docs: [Stop Reasons](https://agentclientprotocol.com/protocol/v1/prompt-turn#stop-reasons)
|
|
2338
|
-
*/
|
|
2339
|
-
export type StopReason = "end_turn" | "max_tokens" | "max_turn_requests" | "refusal" | "cancelled";
|
|
2340
|
-
/**
|
|
2341
|
-
* Allows for sending an arbitrary response to an extension request that is not part of the ACP spec.
|
|
2342
|
-
* Extension methods provide a way to add custom functionality while maintaining
|
|
2343
|
-
* protocol compatibility.
|
|
2344
|
-
*
|
|
2345
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2346
|
-
*/
|
|
2347
|
-
export type ExtResponse = unknown;
|
|
2348
|
-
/**
|
|
2349
|
-
* JSON-RPC error object.
|
|
2350
|
-
*
|
|
2351
|
-
* Represents an error that occurred during method execution, following the
|
|
2352
|
-
* JSON-RPC 2.0 error object specification with optional additional data.
|
|
2353
|
-
*
|
|
2354
|
-
* See protocol docs: [JSON-RPC Error Object](https://www.jsonrpc.org/specification#error_object)
|
|
2355
|
-
*/
|
|
2356
|
-
export type Error = {
|
|
2357
|
-
/**
|
|
2358
|
-
* A number indicating the error type that occurred.
|
|
2359
|
-
* This must be an integer as defined in the JSON-RPC specification.
|
|
2360
|
-
*/
|
|
2361
|
-
code: ErrorCode;
|
|
2362
|
-
/**
|
|
2363
|
-
* A string providing a short description of the error.
|
|
2364
|
-
* The message should be limited to a concise single sentence.
|
|
2365
|
-
*/
|
|
2366
|
-
message: string;
|
|
2367
|
-
/**
|
|
2368
|
-
* Optional primitive or structured value that contains additional information about the error.
|
|
2369
|
-
* This may include debugging information or context-specific details.
|
|
2370
|
-
*/
|
|
2371
|
-
data?: unknown;
|
|
2372
|
-
};
|
|
2373
|
-
/**
|
|
2374
|
-
* Predefined error codes for common JSON-RPC and ACP-specific errors.
|
|
2375
|
-
*
|
|
2376
|
-
* Standard errors use the JSON-RPC 2.0 codes. ACP-specific errors use the JSON-RPC
|
|
2377
|
-
* server-error range (-32000 to -32099), and request cancellation uses -32800 from the
|
|
2378
|
-
* range LSP reserves (-32899 to -32800).
|
|
2379
|
-
*/
|
|
2380
|
-
export type ErrorCode = -32700 | -32600 | -32601 | -32602 | -32603 | -32800 | -32000 | -32002 | number;
|
|
2381
|
-
/**
|
|
2382
|
-
* A JSON-RPC notification object.
|
|
2383
|
-
*/
|
|
2384
|
-
export type AgentNotification = {
|
|
2385
|
-
/**
|
|
2386
|
-
* The notification method name.
|
|
2387
|
-
*/
|
|
2388
|
-
method: string;
|
|
2389
|
-
/**
|
|
2390
|
-
* Method-specific notification parameters.
|
|
2391
|
-
*/
|
|
2392
|
-
params?: SessionNotification | CompleteElicitationNotification | ExtNotification | null;
|
|
2393
|
-
};
|
|
2394
|
-
/**
|
|
2395
|
-
* Notification containing a session update from the agent.
|
|
2396
|
-
*
|
|
2397
|
-
* Used to stream real-time progress and results during prompt processing.
|
|
2398
|
-
*
|
|
2399
|
-
* See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/v1/prompt-turn#3-agent-reports-output)
|
|
2400
|
-
*/
|
|
2401
|
-
export type SessionNotification = {
|
|
2402
|
-
/**
|
|
2403
|
-
* The ID of the session this update pertains to.
|
|
2404
|
-
*/
|
|
2405
|
-
sessionId: SessionId;
|
|
2406
|
-
/**
|
|
2407
|
-
* The actual update content.
|
|
2408
|
-
*/
|
|
2409
|
-
update: SessionUpdate;
|
|
2410
|
-
/**
|
|
2411
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2412
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2413
|
-
* these keys.
|
|
2414
|
-
*
|
|
2415
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2416
|
-
*/
|
|
2417
|
-
_meta?: {
|
|
2418
|
-
[key: string]: unknown;
|
|
2419
|
-
} | null;
|
|
2420
|
-
};
|
|
2421
|
-
/**
|
|
2422
|
-
* Different types of updates that can be sent during session processing.
|
|
2423
|
-
*
|
|
2424
|
-
* These updates provide real-time feedback about the agent's progress.
|
|
2425
|
-
*
|
|
2426
|
-
* See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/v1/prompt-turn#3-agent-reports-output)
|
|
2427
|
-
*/
|
|
2428
|
-
export type SessionUpdate = (ContentChunk & {
|
|
2429
|
-
sessionUpdate: "user_message_chunk";
|
|
2430
|
-
}) | (ContentChunk & {
|
|
2431
|
-
sessionUpdate: "agent_message_chunk";
|
|
2432
|
-
}) | (ContentChunk & {
|
|
2433
|
-
sessionUpdate: "agent_thought_chunk";
|
|
2434
|
-
}) | (ToolCall & {
|
|
2435
|
-
sessionUpdate: "tool_call";
|
|
2436
|
-
}) | (ToolCallUpdate & {
|
|
2437
|
-
sessionUpdate: "tool_call_update";
|
|
2438
|
-
}) | (Plan & {
|
|
2439
|
-
sessionUpdate: "plan";
|
|
2440
|
-
}) | (AvailableCommandsUpdate & {
|
|
2441
|
-
sessionUpdate: "available_commands_update";
|
|
2442
|
-
}) | (CurrentModeUpdate & {
|
|
2443
|
-
sessionUpdate: "current_mode_update";
|
|
2444
|
-
}) | (ConfigOptionUpdate & {
|
|
2445
|
-
sessionUpdate: "config_option_update";
|
|
2446
|
-
}) | (SessionInfoUpdate & {
|
|
2447
|
-
sessionUpdate: "session_info_update";
|
|
2448
|
-
}) | (UsageUpdate & {
|
|
2449
|
-
sessionUpdate: "usage_update";
|
|
2450
|
-
}) | (Notice & {
|
|
2451
|
-
sessionUpdate: "notice";
|
|
2452
|
-
}) | (CompactionUpdate & {
|
|
2453
|
-
sessionUpdate: "compaction_update";
|
|
2454
|
-
}) | (CompactionSummaryChunk & {
|
|
2455
|
-
sessionUpdate: "compaction_summary_chunk";
|
|
2456
|
-
});
|
|
2457
|
-
/**
|
|
2458
|
-
* Unique identifier for a message within a session.
|
|
2459
|
-
*/
|
|
2460
|
-
export type MessageId = string;
|
|
2461
|
-
/**
|
|
2462
|
-
* A streamed item of content
|
|
2463
|
-
*/
|
|
2464
|
-
export type ContentChunk = {
|
|
2465
|
-
/**
|
|
2466
|
-
* A single item of content
|
|
2467
|
-
*/
|
|
2468
|
-
content: ContentBlock;
|
|
2469
|
-
/**
|
|
2470
|
-
* A unique identifier for the message this chunk belongs to.
|
|
2471
|
-
*
|
|
2472
|
-
* All chunks belonging to the same message share the same `messageId`.
|
|
2473
|
-
* A change in `messageId` indicates a new message has started.
|
|
2474
|
-
*/
|
|
2475
|
-
messageId?: MessageId | null;
|
|
2476
|
-
/**
|
|
2477
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2478
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2479
|
-
* these keys.
|
|
2480
|
-
*
|
|
2481
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2482
|
-
*/
|
|
2483
|
-
_meta?: {
|
|
2484
|
-
[key: string]: unknown;
|
|
2485
|
-
} | null;
|
|
2486
|
-
};
|
|
2487
|
-
/**
|
|
2488
|
-
* Represents a tool call that the language model has requested.
|
|
2489
|
-
*
|
|
2490
|
-
* Tool calls are actions that the agent executes on behalf of the language model,
|
|
2491
|
-
* such as reading files, executing code, or fetching data from external sources.
|
|
2492
|
-
*
|
|
2493
|
-
* See protocol docs: [Tool Calls](https://agentclientprotocol.com/protocol/v1/tool-calls)
|
|
2494
|
-
*/
|
|
2495
|
-
export type ToolCall = {
|
|
2496
|
-
/**
|
|
2497
|
-
* Unique identifier for this tool call within the session.
|
|
2498
|
-
*/
|
|
2499
|
-
toolCallId: ToolCallId;
|
|
2500
|
-
/**
|
|
2501
|
-
* Human-readable title describing what the tool is doing.
|
|
2502
|
-
*/
|
|
2503
|
-
title: string;
|
|
2504
|
-
/**
|
|
2505
|
-
* Programmatic name of the tool being invoked.
|
|
2506
|
-
*
|
|
2507
|
-
* This field is optional. Omitting it or sending `null` both mean that no
|
|
2508
|
-
* tool name is available.
|
|
2509
|
-
*/
|
|
2510
|
-
name?: string | null;
|
|
2511
|
-
/**
|
|
2512
|
-
* The category of tool being invoked.
|
|
2513
|
-
* Helps clients choose appropriate icons and UI treatment.
|
|
2514
|
-
*/
|
|
2515
|
-
kind?: ToolKind;
|
|
2516
|
-
/**
|
|
2517
|
-
* Current execution status of the tool call.
|
|
2518
|
-
*/
|
|
2519
|
-
status?: ToolCallStatus;
|
|
2520
|
-
/**
|
|
2521
|
-
* Content produced by the tool call.
|
|
2522
|
-
*/
|
|
2523
|
-
content?: Array<ToolCallContent>;
|
|
2524
|
-
/**
|
|
2525
|
-
* File locations affected by this tool call.
|
|
2526
|
-
* Enables "follow-along" features in clients.
|
|
2527
|
-
*/
|
|
2528
|
-
locations?: Array<ToolCallLocation>;
|
|
2529
|
-
/**
|
|
2530
|
-
* Raw input parameters sent to the tool.
|
|
2531
|
-
*/
|
|
2532
|
-
rawInput?: unknown;
|
|
2533
|
-
/**
|
|
2534
|
-
* Raw output returned by the tool.
|
|
2535
|
-
*/
|
|
2536
|
-
rawOutput?: unknown;
|
|
2537
|
-
/**
|
|
2538
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2539
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2540
|
-
* these keys.
|
|
2541
|
-
*
|
|
2542
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2543
|
-
*/
|
|
2544
|
-
_meta?: {
|
|
2545
|
-
[key: string]: unknown;
|
|
2546
|
-
} | null;
|
|
2547
|
-
};
|
|
2548
|
-
/**
|
|
2549
|
-
* A single entry in the execution plan.
|
|
2550
|
-
*
|
|
2551
|
-
* Represents a task or goal that the assistant intends to accomplish
|
|
2552
|
-
* as part of fulfilling the user's request.
|
|
2553
|
-
* See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/v1/agent-plan#plan-entries)
|
|
2554
|
-
*/
|
|
2555
|
-
export type PlanEntry = {
|
|
2556
|
-
/**
|
|
2557
|
-
* Human-readable description of what this task aims to accomplish.
|
|
2558
|
-
*/
|
|
2559
|
-
content: string;
|
|
2560
|
-
/**
|
|
2561
|
-
* The relative importance of this task.
|
|
2562
|
-
* Used to indicate which tasks are most critical to the overall goal.
|
|
2563
|
-
*/
|
|
2564
|
-
priority: PlanEntryPriority;
|
|
2565
|
-
/**
|
|
2566
|
-
* Current execution status of this task.
|
|
2567
|
-
*/
|
|
2568
|
-
status: PlanEntryStatus;
|
|
2569
|
-
/**
|
|
2570
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2571
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2572
|
-
* these keys.
|
|
2573
|
-
*
|
|
2574
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2575
|
-
*/
|
|
2576
|
-
_meta?: {
|
|
2577
|
-
[key: string]: unknown;
|
|
2578
|
-
} | null;
|
|
2579
|
-
};
|
|
2580
|
-
/**
|
|
2581
|
-
* Priority levels for plan entries.
|
|
2582
|
-
*
|
|
2583
|
-
* Used to indicate the relative importance or urgency of different
|
|
2584
|
-
* tasks in the execution plan.
|
|
2585
|
-
* See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/v1/agent-plan#plan-entries)
|
|
2586
|
-
*/
|
|
2587
|
-
export type PlanEntryPriority = "high" | "medium" | "low";
|
|
2588
|
-
/**
|
|
2589
|
-
* Status of a plan entry in the execution flow.
|
|
2590
|
-
*
|
|
2591
|
-
* Tracks the lifecycle of each task from planning through completion.
|
|
2592
|
-
* See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/v1/agent-plan#plan-entries)
|
|
2593
|
-
*/
|
|
2594
|
-
export type PlanEntryStatus = "pending" | "in_progress" | "completed";
|
|
2595
|
-
/**
|
|
2596
|
-
* An execution plan for accomplishing complex tasks.
|
|
2597
|
-
*
|
|
2598
|
-
* Plans consist of multiple entries representing individual tasks or goals.
|
|
2599
|
-
* Agents report plans to clients to provide visibility into their execution strategy.
|
|
2600
|
-
* Plans can evolve during execution as the agent discovers new requirements or completes tasks.
|
|
2601
|
-
*
|
|
2602
|
-
* See protocol docs: [Agent Plan](https://agentclientprotocol.com/protocol/v1/agent-plan)
|
|
2603
|
-
*/
|
|
2604
|
-
export type Plan = {
|
|
2605
|
-
/**
|
|
2606
|
-
* The list of tasks to be accomplished.
|
|
2607
|
-
*
|
|
2608
|
-
* When updating a plan, the agent must send a complete list of all entries
|
|
2609
|
-
* with their current status. The client replaces the entire plan with each update.
|
|
2610
|
-
*/
|
|
2611
|
-
entries: Array<PlanEntry>;
|
|
2612
|
-
/**
|
|
2613
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2614
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2615
|
-
* these keys.
|
|
2616
|
-
*
|
|
2617
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2618
|
-
*/
|
|
2619
|
-
_meta?: {
|
|
2620
|
-
[key: string]: unknown;
|
|
2621
|
-
} | null;
|
|
2622
|
-
};
|
|
2623
|
-
/**
|
|
2624
|
-
* Information about a command.
|
|
2625
|
-
*/
|
|
2626
|
-
export type AvailableCommand = {
|
|
2627
|
-
/**
|
|
2628
|
-
* Command name (e.g., `create_plan`, `research_codebase`).
|
|
2629
|
-
*/
|
|
2630
|
-
name: string;
|
|
2631
|
-
/**
|
|
2632
|
-
* Human-readable description of what the command does.
|
|
2633
|
-
*/
|
|
2634
|
-
description: string;
|
|
2635
|
-
/**
|
|
2636
|
-
* Input for the command if required
|
|
2637
|
-
*/
|
|
2638
|
-
input?: AvailableCommandInput | null;
|
|
2639
|
-
/**
|
|
2640
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2641
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2642
|
-
* these keys.
|
|
2643
|
-
*
|
|
2644
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2645
|
-
*/
|
|
2646
|
-
_meta?: {
|
|
2647
|
-
[key: string]: unknown;
|
|
2648
|
-
} | null;
|
|
2649
|
-
};
|
|
2650
|
-
/**
|
|
2651
|
-
* unstructured
|
|
2652
|
-
*
|
|
2653
|
-
* All text that was typed after the command name is provided as input.
|
|
2654
|
-
*/
|
|
2655
|
-
export type AvailableCommandInput = UnstructuredCommandInput;
|
|
2656
|
-
/**
|
|
2657
|
-
* All text that was typed after the command name is provided as input.
|
|
2658
|
-
*/
|
|
2659
|
-
export type UnstructuredCommandInput = {
|
|
2660
|
-
/**
|
|
2661
|
-
* A hint to display when the input hasn't been provided yet
|
|
2662
|
-
*/
|
|
2663
|
-
hint: string;
|
|
2664
|
-
/**
|
|
2665
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2666
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2667
|
-
* these keys.
|
|
2668
|
-
*
|
|
2669
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2670
|
-
*/
|
|
2671
|
-
_meta?: {
|
|
2672
|
-
[key: string]: unknown;
|
|
2673
|
-
} | null;
|
|
2674
|
-
};
|
|
2675
|
-
/**
|
|
2676
|
-
* Available commands are ready or have changed
|
|
2677
|
-
*/
|
|
2678
|
-
export type AvailableCommandsUpdate = {
|
|
2679
|
-
/**
|
|
2680
|
-
* Commands the agent can execute
|
|
2681
|
-
*/
|
|
2682
|
-
availableCommands: Array<AvailableCommand>;
|
|
2683
|
-
/**
|
|
2684
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2685
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2686
|
-
* these keys.
|
|
2687
|
-
*
|
|
2688
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2689
|
-
*/
|
|
2690
|
-
_meta?: {
|
|
2691
|
-
[key: string]: unknown;
|
|
2692
|
-
} | null;
|
|
2693
|
-
};
|
|
2694
|
-
/**
|
|
2695
|
-
* The current mode of the session has changed
|
|
2696
|
-
*
|
|
2697
|
-
* See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/v1/session-modes)
|
|
2698
|
-
*/
|
|
2699
|
-
export type CurrentModeUpdate = {
|
|
2700
|
-
/**
|
|
2701
|
-
* The ID of the current mode
|
|
2702
|
-
*/
|
|
2703
|
-
currentModeId: SessionModeId;
|
|
2704
|
-
/**
|
|
2705
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2706
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2707
|
-
* these keys.
|
|
2708
|
-
*
|
|
2709
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2710
|
-
*/
|
|
2711
|
-
_meta?: {
|
|
2712
|
-
[key: string]: unknown;
|
|
2713
|
-
} | null;
|
|
2714
|
-
};
|
|
2715
|
-
/**
|
|
2716
|
-
* Session configuration options have been updated.
|
|
2717
|
-
*/
|
|
2718
|
-
export type ConfigOptionUpdate = {
|
|
2719
|
-
/**
|
|
2720
|
-
* The full set of configuration options and their current values.
|
|
2721
|
-
*/
|
|
2722
|
-
configOptions: Array<SessionConfigOption>;
|
|
2723
|
-
/**
|
|
2724
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2725
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2726
|
-
* these keys.
|
|
2727
|
-
*
|
|
2728
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2729
|
-
*/
|
|
2730
|
-
_meta?: {
|
|
2731
|
-
[key: string]: unknown;
|
|
2732
|
-
} | null;
|
|
2733
|
-
};
|
|
2734
|
-
/**
|
|
2735
|
-
* Update to session metadata. All fields are optional to support partial updates.
|
|
2736
|
-
*
|
|
2737
|
-
* Agents send this notification to update session information like title or custom metadata.
|
|
2738
|
-
* Clients can use it to keep session titles and state current.
|
|
2739
|
-
*/
|
|
2740
|
-
export type SessionInfoUpdate = {
|
|
2741
|
-
/**
|
|
2742
|
-
* Human-readable title for the session. Set to null to clear.
|
|
2743
|
-
*/
|
|
2744
|
-
title?: string | null;
|
|
2745
|
-
/**
|
|
2746
|
-
* ISO 8601 timestamp of last activity. Set to null to clear.
|
|
2747
|
-
*/
|
|
2748
|
-
updatedAt?: string | null;
|
|
2749
|
-
/**
|
|
2750
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2751
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2752
|
-
* these keys.
|
|
2753
|
-
*
|
|
2754
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2755
|
-
*/
|
|
2756
|
-
_meta?: {
|
|
2757
|
-
[key: string]: unknown;
|
|
2758
|
-
} | null;
|
|
2759
|
-
};
|
|
2760
|
-
/**
|
|
2761
|
-
* Cost information for a session.
|
|
2762
|
-
*/
|
|
2763
|
-
export type Cost = {
|
|
2764
|
-
/**
|
|
2765
|
-
* Total cumulative cost for session.
|
|
2766
|
-
*/
|
|
2767
|
-
amount: number;
|
|
2768
|
-
/**
|
|
2769
|
-
* Unit of `amount`: an ISO 4217 currency code (e.g., "USD", "EUR") for money, or another
|
|
2770
|
-
* unit such as "credits".
|
|
2771
|
-
*/
|
|
2772
|
-
currency: string;
|
|
2773
|
-
/**
|
|
2774
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2775
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2776
|
-
* these keys.
|
|
2777
|
-
*
|
|
2778
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2779
|
-
*/
|
|
2780
|
-
_meta?: {
|
|
2781
|
-
[key: string]: unknown;
|
|
2782
|
-
} | null;
|
|
2783
|
-
};
|
|
2784
|
-
/**
|
|
2785
|
-
* Context window and cost update for a session.
|
|
2786
|
-
*/
|
|
2787
|
-
export type UsageUpdate = {
|
|
2788
|
-
/**
|
|
2789
|
-
* Tokens currently in context.
|
|
2790
|
-
*/
|
|
2791
|
-
used: number;
|
|
2792
|
-
/**
|
|
2793
|
-
* Total context window size in tokens.
|
|
2794
|
-
*/
|
|
2795
|
-
size: number;
|
|
2796
|
-
/**
|
|
2797
|
-
* Cumulative session cost (optional).
|
|
2798
|
-
*/
|
|
2799
|
-
cost?: Cost | null;
|
|
2800
|
-
/**
|
|
2801
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2802
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2803
|
-
* these keys.
|
|
2804
|
-
*
|
|
2805
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2806
|
-
*/
|
|
2807
|
-
_meta?: {
|
|
2808
|
-
[key: string]: unknown;
|
|
2809
|
-
} | null;
|
|
2810
|
-
};
|
|
2811
|
-
/**
|
|
2812
|
-
* Severity hint for a session notice.
|
|
2813
|
-
*/
|
|
2814
|
-
export type NoticeSeverity = "info" | "warning" | "error" | string;
|
|
2815
|
-
/**
|
|
2816
|
-
* Fire-and-forget information for the user.
|
|
2817
|
-
*
|
|
2818
|
-
* Notices are live events rather than session history. Agents must not rely on
|
|
2819
|
-
* a notice being received, displayed, or seen by the user.
|
|
2820
|
-
* Agents MUST only send notices when the Client advertised
|
|
2821
|
-
* the `session.notices` Client capability. Otherwise, Agents may use an agent
|
|
2822
|
-
* message when the information should still be surfaced to the user.
|
|
2823
|
-
*
|
|
2824
|
-
* See RFD: [Session Notices](https://agentclientprotocol.com/rfds/session-notices)
|
|
2825
|
-
*/
|
|
2826
|
-
export type Notice = {
|
|
2827
|
-
/**
|
|
2828
|
-
* Presentation severity hint.
|
|
2829
|
-
*/
|
|
2830
|
-
severity: NoticeSeverity;
|
|
2831
|
-
/**
|
|
2832
|
-
* Required non-empty plain-text title that can stand alone.
|
|
2833
|
-
*/
|
|
2834
|
-
title: string;
|
|
2835
|
-
/**
|
|
2836
|
-
* Optional plain-text detail or guidance.
|
|
2837
|
-
*
|
|
2838
|
-
* Omitted and `null` are equivalent and mean no description was supplied.
|
|
2839
|
-
*/
|
|
2840
|
-
description?: string | null;
|
|
2841
|
-
/**
|
|
2842
|
-
* Metadata scoped to this notice.
|
|
2843
|
-
*
|
|
2844
|
-
* Omitted and `null` are equivalent and mean no metadata was supplied.
|
|
2845
|
-
*/
|
|
2846
|
-
_meta?: {
|
|
2847
|
-
[key: string]: unknown;
|
|
2848
|
-
} | null;
|
|
2849
|
-
};
|
|
2850
|
-
/**
|
|
2851
|
-
* Unique identifier for a context compaction within a session.
|
|
2852
|
-
*/
|
|
2853
|
-
export type CompactionId = string;
|
|
2854
|
-
/**
|
|
2855
|
-
* Lifecycle state of a context compaction.
|
|
2856
|
-
*/
|
|
2857
|
-
export type CompactionStatus = "in_progress" | "completed" | "failed" | "cancelled" | string;
|
|
2858
|
-
/**
|
|
2859
|
-
* A context compaction upsert. The first notification fixes the compaction's
|
|
2860
|
-
* timeline position. Later updates with the same ID patch that entity in place.
|
|
2861
|
-
* Agents MUST only send this update when the Client advertised
|
|
2862
|
-
* the `session.compaction` Client capability.
|
|
2863
|
-
*
|
|
2864
|
-
* `summary`, `error`, and `_meta` have patch semantics: omission leaves the
|
|
2865
|
-
* stored value unchanged, `null` clears it, and a concrete value replaces it.
|
|
2866
|
-
* `summary: []` also clears the summary.
|
|
2867
|
-
*/
|
|
2868
|
-
export type CompactionUpdate = {
|
|
2869
|
-
/**
|
|
2870
|
-
* The Agent-owned ID of this compaction, unique within the session.
|
|
2871
|
-
*/
|
|
2872
|
-
compactionId: CompactionId;
|
|
2873
|
-
/**
|
|
2874
|
-
* Current lifecycle status.
|
|
2875
|
-
*/
|
|
2876
|
-
status: CompactionStatus;
|
|
2877
|
-
/**
|
|
2878
|
-
* Complete replacement user-displayable summary content for the compaction.
|
|
2879
|
-
*/
|
|
2880
|
-
summary?: Array<ContentBlock> | null;
|
|
2881
|
-
/**
|
|
2882
|
-
* Human-readable error details for the compaction.
|
|
2883
|
-
*/
|
|
2884
|
-
error?: string | null;
|
|
2885
|
-
/**
|
|
2886
|
-
* Extensible metadata patch for this compaction.
|
|
2887
|
-
*/
|
|
2888
|
-
_meta?: {
|
|
2889
|
-
[key: string]: unknown;
|
|
2890
|
-
} | null;
|
|
2891
|
-
};
|
|
2892
|
-
/**
|
|
2893
|
-
* A content block appended to a compaction's summary. A first-seen ID creates
|
|
2894
|
-
* an in-progress compaction. Chunks append in receive order.
|
|
2895
|
-
* Agents MUST only send this update when the Client advertised
|
|
2896
|
-
* the `session.compaction` Client capability.
|
|
2897
|
-
*/
|
|
2898
|
-
export type CompactionSummaryChunk = {
|
|
2899
|
-
/**
|
|
2900
|
-
* ID of the compaction whose summary receives this content.
|
|
2901
|
-
*/
|
|
2902
|
-
compactionId: CompactionId;
|
|
2903
|
-
/**
|
|
2904
|
-
* One content block to append.
|
|
2905
|
-
*/
|
|
2906
|
-
content: ContentBlock;
|
|
2907
|
-
/**
|
|
2908
|
-
* Metadata scoped to this chunk. Omission and `null` both mean absent.
|
|
2909
|
-
*/
|
|
2910
|
-
_meta?: {
|
|
2911
|
-
[key: string]: unknown;
|
|
2912
|
-
} | null;
|
|
2913
|
-
};
|
|
2914
|
-
/**
|
|
2915
|
-
* Notification sent by the agent when a URL-based elicitation is complete.
|
|
2916
|
-
*/
|
|
2917
|
-
export type CompleteElicitationNotification = {
|
|
2918
|
-
/**
|
|
2919
|
-
* The ID of the elicitation that completed.
|
|
2920
|
-
*/
|
|
2921
|
-
elicitationId: ElicitationId;
|
|
2922
|
-
/**
|
|
2923
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2924
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2925
|
-
* these keys.
|
|
2926
|
-
*
|
|
2927
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
2928
|
-
*
|
|
2929
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2930
|
-
*/
|
|
2931
|
-
_meta?: {
|
|
2932
|
-
[key: string]: unknown;
|
|
2933
|
-
} | null;
|
|
2934
|
-
};
|
|
2935
|
-
/**
|
|
2936
|
-
* Allows either side to send an arbitrary notification that is not part of the ACP spec.
|
|
2937
|
-
* Extension notifications provide a way to send one-way messages for custom functionality
|
|
2938
|
-
* while maintaining protocol compatibility.
|
|
2939
|
-
*
|
|
2940
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2941
|
-
*/
|
|
2942
|
-
export type ExtNotification = unknown;
|
|
2943
|
-
/**
|
|
2944
|
-
* A JSON-RPC request object.
|
|
2945
|
-
*/
|
|
2946
|
-
export type ClientRequest = {
|
|
2947
|
-
/**
|
|
2948
|
-
* The request id used to correlate the matching response.
|
|
2949
|
-
*/
|
|
2950
|
-
id: RequestId;
|
|
2951
|
-
/**
|
|
2952
|
-
* The method name to invoke.
|
|
2953
|
-
*/
|
|
2954
|
-
method: string;
|
|
2955
|
-
/**
|
|
2956
|
-
* Method-specific request parameters.
|
|
2957
|
-
*/
|
|
2958
|
-
params?: InitializeRequest | AuthenticateRequest | LogoutRequest | NewSessionRequest | LoadSessionRequest | ListSessionsRequest | DeleteSessionRequest | ResumeSessionRequest | CloseSessionRequest | SetSessionModeRequest | SetSessionConfigOptionRequest | PromptRequest | ExtRequest | null;
|
|
2959
|
-
};
|
|
2960
|
-
/**
|
|
2961
|
-
* Request parameters for the initialize method.
|
|
2962
|
-
*
|
|
2963
|
-
* Sent by the client to establish connection and negotiate capabilities.
|
|
2964
|
-
*
|
|
2965
|
-
* See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/v1/initialization)
|
|
2966
|
-
*/
|
|
2967
|
-
export type InitializeRequest = {
|
|
2968
|
-
/**
|
|
2969
|
-
* The latest protocol version supported by the client.
|
|
2970
|
-
*/
|
|
2971
|
-
protocolVersion: ProtocolVersion;
|
|
2972
|
-
/**
|
|
2973
|
-
* Capabilities supported by the client.
|
|
2974
|
-
*/
|
|
2975
|
-
clientCapabilities?: ClientCapabilities;
|
|
2976
|
-
/**
|
|
2977
|
-
* Information about the Client name and version sent to the Agent.
|
|
2978
|
-
*
|
|
2979
|
-
* Note: in future versions of the protocol, this will be required.
|
|
2980
|
-
*/
|
|
2981
|
-
clientInfo?: Implementation | null;
|
|
2982
|
-
/**
|
|
2983
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2984
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2985
|
-
* these keys.
|
|
2986
|
-
*
|
|
2987
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
2988
|
-
*/
|
|
2989
|
-
_meta?: {
|
|
2990
|
-
[key: string]: unknown;
|
|
2991
|
-
} | null;
|
|
2992
|
-
};
|
|
2993
|
-
/**
|
|
2994
|
-
* Capabilities supported by the client.
|
|
2995
|
-
*
|
|
2996
|
-
* Advertised during initialization to inform the agent about
|
|
2997
|
-
* available features and methods.
|
|
2998
|
-
*
|
|
2999
|
-
* See protocol docs: [Client Capabilities](https://agentclientprotocol.com/protocol/v1/initialization#client-capabilities)
|
|
3000
|
-
*/
|
|
3001
|
-
export type ClientCapabilities = {
|
|
3002
|
-
/**
|
|
3003
|
-
* File system capabilities supported by the client.
|
|
3004
|
-
* Determines which file operations the agent can request.
|
|
3005
|
-
*/
|
|
3006
|
-
fs?: FileSystemCapabilities;
|
|
3007
|
-
/**
|
|
3008
|
-
* Whether the Client support all `terminal*` methods.
|
|
3009
|
-
*/
|
|
3010
|
-
terminal?: boolean;
|
|
3011
|
-
/**
|
|
3012
|
-
* Session-related capabilities supported by the client.
|
|
3013
|
-
*
|
|
3014
|
-
* Optional. Omitted or `null` both mean the client does not advertise any
|
|
3015
|
-
* session-related extensions.
|
|
3016
|
-
*/
|
|
3017
|
-
session?: ClientSessionCapabilities | null;
|
|
3018
|
-
/**
|
|
3019
|
-
* Authentication capabilities supported by the client.
|
|
3020
|
-
* Determines which authentication method types the agent may include
|
|
3021
|
-
* in its `InitializeResponse`.
|
|
3022
|
-
*/
|
|
3023
|
-
auth?: AuthCapabilities;
|
|
3024
|
-
/**
|
|
3025
|
-
* Elicitation capabilities supported by the client.
|
|
3026
|
-
* Determines which elicitation modes the agent may use.
|
|
3027
|
-
*
|
|
3028
|
-
* Optional. Omitted or `null` both mean the client does not advertise
|
|
3029
|
-
* elicitation support.
|
|
3030
|
-
*/
|
|
3031
|
-
elicitation?: ElicitationCapabilities | null;
|
|
3032
|
-
/**
|
|
3033
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3034
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3035
|
-
* these keys.
|
|
3036
|
-
*
|
|
3037
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3038
|
-
*/
|
|
3039
|
-
_meta?: {
|
|
3040
|
-
[key: string]: unknown;
|
|
3041
|
-
} | null;
|
|
3042
|
-
};
|
|
3043
|
-
/**
|
|
3044
|
-
* File system capabilities that a client may support.
|
|
3045
|
-
*
|
|
3046
|
-
* See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#filesystem)
|
|
3047
|
-
*/
|
|
3048
|
-
export type FileSystemCapabilities = {
|
|
3049
|
-
/**
|
|
3050
|
-
* Whether the Client supports `fs/read_text_file` requests.
|
|
3051
|
-
*/
|
|
3052
|
-
readTextFile?: boolean;
|
|
3053
|
-
/**
|
|
3054
|
-
* Whether the Client supports `fs/write_text_file` requests.
|
|
3055
|
-
*/
|
|
3056
|
-
writeTextFile?: boolean;
|
|
3057
|
-
/**
|
|
3058
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3059
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3060
|
-
* these keys.
|
|
3061
|
-
*
|
|
3062
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3063
|
-
*/
|
|
3064
|
-
_meta?: {
|
|
3065
|
-
[key: string]: unknown;
|
|
3066
|
-
} | null;
|
|
3067
|
-
};
|
|
3068
|
-
/**
|
|
3069
|
-
* Session-related capabilities supported by the client.
|
|
3070
|
-
*/
|
|
3071
|
-
export type ClientSessionCapabilities = {
|
|
3072
|
-
/**
|
|
3073
|
-
* Support for ID-addressed context compaction updates. Omitted or `null`
|
|
3074
|
-
* means unsupported. `{}` advertises the complete compaction contract.
|
|
3075
|
-
*/
|
|
3076
|
-
compaction?: CompactionCapabilities | null;
|
|
3077
|
-
/**
|
|
3078
|
-
* Config option capabilities supported by the client.
|
|
3079
|
-
*
|
|
3080
|
-
* Omitted or `null` both mean the client does not advertise support for any
|
|
3081
|
-
* config option extensions.
|
|
3082
|
-
*/
|
|
3083
|
-
configOptions?: SessionConfigOptionsCapabilities | null;
|
|
3084
|
-
/**
|
|
3085
|
-
* Support for live user-facing `notice` session updates.
|
|
3086
|
-
*
|
|
3087
|
-
* Optional. Omitted or `null` both mean the client does not advertise support.
|
|
3088
|
-
* Supplying `{}` means the client can present notices to the user.
|
|
3089
|
-
*/
|
|
3090
|
-
notices?: NoticeCapabilities | null;
|
|
3091
|
-
/**
|
|
3092
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3093
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3094
|
-
* these keys.
|
|
3095
|
-
*
|
|
3096
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3097
|
-
*/
|
|
3098
|
-
_meta?: {
|
|
3099
|
-
[key: string]: unknown;
|
|
3100
|
-
} | null;
|
|
3101
|
-
};
|
|
3102
|
-
/**
|
|
3103
|
-
* Client support for ID-addressed context compaction updates.
|
|
3104
|
-
*/
|
|
3105
|
-
export type CompactionCapabilities = {
|
|
3106
|
-
[key: string]: unknown;
|
|
3107
|
-
};
|
|
3108
|
-
/**
|
|
3109
|
-
* Session configuration option capabilities supported by the client.
|
|
3110
|
-
*/
|
|
3111
|
-
export type SessionConfigOptionsCapabilities = {
|
|
3112
|
-
/**
|
|
3113
|
-
* Whether the client supports boolean session configuration options.
|
|
3114
|
-
*
|
|
3115
|
-
* Optional. Omitted or `null` both mean the client does not advertise support.
|
|
3116
|
-
* Supplying `{}` means agents may include `type: "boolean"` entries in
|
|
3117
|
-
* `configOptions`, and the client may send `session/set_config_option`
|
|
3118
|
-
* requests with `type: "boolean"` and a boolean `value`.
|
|
3119
|
-
*/
|
|
3120
|
-
boolean?: BooleanConfigOptionCapabilities | null;
|
|
3121
|
-
/**
|
|
3122
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3123
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3124
|
-
* these keys.
|
|
3125
|
-
*
|
|
3126
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3127
|
-
*/
|
|
3128
|
-
_meta?: {
|
|
3129
|
-
[key: string]: unknown;
|
|
3130
|
-
} | null;
|
|
3131
|
-
};
|
|
3132
|
-
/**
|
|
3133
|
-
* Capabilities for boolean session configuration options.
|
|
3134
|
-
*
|
|
3135
|
-
* Supplying `{}` means the client supports boolean session configuration options.
|
|
3136
|
-
*/
|
|
3137
|
-
export type BooleanConfigOptionCapabilities = {
|
|
3138
|
-
/**
|
|
3139
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3140
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3141
|
-
* these keys.
|
|
3142
|
-
*
|
|
3143
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3144
|
-
*/
|
|
3145
|
-
_meta?: {
|
|
3146
|
-
[key: string]: unknown;
|
|
3147
|
-
} | null;
|
|
3148
|
-
};
|
|
3149
|
-
/**
|
|
3150
|
-
* Client support for presenting live notices to the user.
|
|
3151
|
-
*/
|
|
3152
|
-
export type NoticeCapabilities = {
|
|
3153
|
-
[key: string]: unknown;
|
|
3154
|
-
};
|
|
3155
|
-
/**
|
|
3156
|
-
* Authentication capabilities supported by the client.
|
|
3157
|
-
*
|
|
3158
|
-
* Advertised during initialization to inform the agent which authentication
|
|
3159
|
-
* method types the client can handle. This governs opt-in types that require
|
|
3160
|
-
* additional client-side support.
|
|
3161
|
-
*/
|
|
3162
|
-
export type AuthCapabilities = {
|
|
3163
|
-
/**
|
|
3164
|
-
* Whether the client supports `terminal` authentication methods.
|
|
3165
|
-
*
|
|
3166
|
-
* The client should set this to `true` only when it can reproduce the
|
|
3167
|
-
* configured agent invocation in an interactive terminal. When `true`, the
|
|
3168
|
-
* agent may include `terminal` entries in its authentication methods.
|
|
3169
|
-
*/
|
|
3170
|
-
terminal?: boolean;
|
|
3171
|
-
/**
|
|
3172
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3173
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3174
|
-
* these keys.
|
|
3175
|
-
*
|
|
3176
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3177
|
-
*/
|
|
3178
|
-
_meta?: {
|
|
3179
|
-
[key: string]: unknown;
|
|
3180
|
-
} | null;
|
|
3181
|
-
};
|
|
3182
|
-
/**
|
|
3183
|
-
* Elicitation capabilities supported by the client.
|
|
3184
|
-
*/
|
|
3185
|
-
export type ElicitationCapabilities = {
|
|
3186
|
-
/**
|
|
3187
|
-
* Whether the client supports form-based elicitation.
|
|
3188
|
-
*
|
|
3189
|
-
* Optional. Omitted and `null` are equivalent and mean form support is not advertised.
|
|
3190
|
-
* Supplying `{}` explicitly advertises form support.
|
|
3191
|
-
*/
|
|
3192
|
-
form?: ElicitationFormCapabilities | null;
|
|
3193
|
-
/**
|
|
3194
|
-
* Whether the client supports URL-based elicitation.
|
|
3195
|
-
*
|
|
3196
|
-
* Optional. Omitted or `null` both mean the client does not advertise support.
|
|
3197
|
-
* Supplying `{}` means the client supports URL-based elicitation.
|
|
3198
|
-
*/
|
|
3199
|
-
url?: ElicitationUrlCapabilities | null;
|
|
3200
|
-
/**
|
|
3201
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3202
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3203
|
-
* these keys.
|
|
3204
|
-
*
|
|
3205
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
3206
|
-
*
|
|
3207
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3208
|
-
*/
|
|
3209
|
-
_meta?: {
|
|
3210
|
-
[key: string]: unknown;
|
|
3211
|
-
} | null;
|
|
3212
|
-
};
|
|
3213
|
-
/**
|
|
3214
|
-
* Form-based elicitation capabilities.
|
|
3215
|
-
*
|
|
3216
|
-
* Supplying `{}` means the client supports form-based elicitation.
|
|
3217
|
-
*/
|
|
3218
|
-
export type ElicitationFormCapabilities = {
|
|
3219
|
-
/**
|
|
3220
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3221
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3222
|
-
* these keys.
|
|
3223
|
-
*
|
|
3224
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
3225
|
-
*
|
|
3226
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3227
|
-
*/
|
|
3228
|
-
_meta?: {
|
|
3229
|
-
[key: string]: unknown;
|
|
3230
|
-
} | null;
|
|
3231
|
-
};
|
|
3232
|
-
/**
|
|
3233
|
-
* URL-based elicitation capabilities.
|
|
3234
|
-
*
|
|
3235
|
-
* Supplying `{}` means the client supports URL-based elicitation.
|
|
3236
|
-
*/
|
|
3237
|
-
export type ElicitationUrlCapabilities = {
|
|
3238
|
-
/**
|
|
3239
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3240
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3241
|
-
* these keys.
|
|
3242
|
-
*
|
|
3243
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
3244
|
-
*
|
|
3245
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3246
|
-
*/
|
|
3247
|
-
_meta?: {
|
|
3248
|
-
[key: string]: unknown;
|
|
3249
|
-
} | null;
|
|
3250
|
-
};
|
|
3251
|
-
/**
|
|
3252
|
-
* Request parameters for the authenticate method.
|
|
3253
|
-
*
|
|
3254
|
-
* Specifies which authentication method to use.
|
|
3255
|
-
*/
|
|
3256
|
-
export type AuthenticateRequest = {
|
|
3257
|
-
/**
|
|
3258
|
-
* The ID of the authentication method to use.
|
|
3259
|
-
* Must be one of the methods advertised in the initialize response.
|
|
3260
|
-
*/
|
|
3261
|
-
methodId: AuthMethodId;
|
|
3262
|
-
/**
|
|
3263
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3264
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3265
|
-
* these keys.
|
|
3266
|
-
*
|
|
3267
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3268
|
-
*/
|
|
3269
|
-
_meta?: {
|
|
3270
|
-
[key: string]: unknown;
|
|
3271
|
-
} | null;
|
|
3272
|
-
};
|
|
3273
|
-
/**
|
|
3274
|
-
* Request parameters for the logout method.
|
|
3275
|
-
*
|
|
3276
|
-
* Terminates the current authenticated session.
|
|
3277
|
-
*/
|
|
3278
|
-
export type LogoutRequest = {
|
|
3279
|
-
/**
|
|
3280
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3281
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3282
|
-
* these keys.
|
|
3283
|
-
*
|
|
3284
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3285
|
-
*/
|
|
3286
|
-
_meta?: {
|
|
3287
|
-
[key: string]: unknown;
|
|
3288
|
-
} | null;
|
|
3289
|
-
};
|
|
3290
|
-
/**
|
|
3291
|
-
* Request parameters for creating a new session.
|
|
3292
|
-
*
|
|
3293
|
-
* See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/v1/session-setup#creating-a-session)
|
|
3294
|
-
*/
|
|
3295
|
-
export type NewSessionRequest = {
|
|
3296
|
-
/**
|
|
3297
|
-
* The working directory for this session. Must be an absolute path.
|
|
3298
|
-
*/
|
|
3299
|
-
cwd: string;
|
|
3300
|
-
/**
|
|
3301
|
-
* Additional workspace roots for this session. Each path must be absolute.
|
|
3302
|
-
*
|
|
3303
|
-
* These expand the session's filesystem scope without changing `cwd`, which
|
|
3304
|
-
* remains the base for relative paths. When omitted or empty, no
|
|
3305
|
-
* additional roots are activated for the new session.
|
|
3306
|
-
*/
|
|
3307
|
-
additionalDirectories?: Array<string>;
|
|
3308
|
-
/**
|
|
3309
|
-
* List of MCP (Model Context Protocol) servers the agent should connect to.
|
|
3310
|
-
*/
|
|
3311
|
-
mcpServers: Array<McpServer>;
|
|
3312
|
-
/**
|
|
3313
|
-
* System-level instructions for the new session.
|
|
3314
|
-
*
|
|
3315
|
-
* Optional. Omitted and `null` are equivalent and mean the Agent uses its
|
|
3316
|
-
* own default instructions. Clients MUST only send this when the Agent
|
|
3317
|
-
* advertises `sessionCapabilities.systemPrompt`.
|
|
3318
|
-
*/
|
|
3319
|
-
systemPrompt?: SystemPrompt | null;
|
|
3320
|
-
/**
|
|
3321
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3322
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3323
|
-
* these keys.
|
|
3324
|
-
*
|
|
3325
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3326
|
-
*/
|
|
3327
|
-
_meta?: {
|
|
3328
|
-
[key: string]: unknown;
|
|
3329
|
-
} | null;
|
|
3330
|
-
};
|
|
3331
|
-
/**
|
|
3332
|
-
* Configuration for connecting to an MCP (Model Context Protocol) server.
|
|
3333
|
-
*
|
|
3334
|
-
* MCP servers provide tools and context that the agent can use when
|
|
3335
|
-
* processing prompts.
|
|
3336
|
-
*
|
|
3337
|
-
* See protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/v1/session-setup#mcp-servers)
|
|
3338
|
-
*/
|
|
3339
|
-
export type McpServer = (McpServerHttp & {
|
|
3340
|
-
type: "http";
|
|
3341
|
-
}) | (McpServerSse & {
|
|
3342
|
-
type: "sse";
|
|
3343
|
-
}) | McpServerStdio;
|
|
3344
|
-
/**
|
|
3345
|
-
* An HTTP header to set when making requests to the MCP server.
|
|
3346
|
-
*/
|
|
3347
|
-
export type HttpHeader = {
|
|
3348
|
-
/**
|
|
3349
|
-
* The name of the HTTP header.
|
|
3350
|
-
*/
|
|
3351
|
-
name: string;
|
|
3352
|
-
/**
|
|
3353
|
-
* The value to set for the HTTP header.
|
|
3354
|
-
*/
|
|
3355
|
-
value: string;
|
|
3356
|
-
/**
|
|
3357
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3358
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3359
|
-
* these keys.
|
|
3360
|
-
*
|
|
3361
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3362
|
-
*/
|
|
3363
|
-
_meta?: {
|
|
3364
|
-
[key: string]: unknown;
|
|
3365
|
-
} | null;
|
|
3366
|
-
};
|
|
3367
|
-
/**
|
|
3368
|
-
* HTTP transport configuration for MCP.
|
|
3369
|
-
*/
|
|
3370
|
-
export type McpServerHttp = {
|
|
3371
|
-
/**
|
|
3372
|
-
* Human-readable name identifying this MCP server.
|
|
3373
|
-
*/
|
|
3374
|
-
name: string;
|
|
3375
|
-
/**
|
|
3376
|
-
* URL to the MCP server.
|
|
3377
|
-
*/
|
|
3378
|
-
url: string;
|
|
3379
|
-
/**
|
|
3380
|
-
* HTTP headers to set when making requests to the MCP server.
|
|
3381
|
-
*/
|
|
3382
|
-
headers: Array<HttpHeader>;
|
|
3383
|
-
/**
|
|
3384
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3385
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3386
|
-
* these keys.
|
|
3387
|
-
*
|
|
3388
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3389
|
-
*/
|
|
3390
|
-
_meta?: {
|
|
3391
|
-
[key: string]: unknown;
|
|
3392
|
-
} | null;
|
|
3393
|
-
};
|
|
3394
|
-
/**
|
|
3395
|
-
* SSE transport configuration for MCP.
|
|
3396
|
-
*/
|
|
3397
|
-
export type McpServerSse = {
|
|
3398
|
-
/**
|
|
3399
|
-
* Human-readable name identifying this MCP server.
|
|
3400
|
-
*/
|
|
3401
|
-
name: string;
|
|
3402
|
-
/**
|
|
3403
|
-
* URL to the MCP server.
|
|
3404
|
-
*/
|
|
3405
|
-
url: string;
|
|
3406
|
-
/**
|
|
3407
|
-
* HTTP headers to set when making requests to the MCP server.
|
|
3408
|
-
*/
|
|
3409
|
-
headers: Array<HttpHeader>;
|
|
3410
|
-
/**
|
|
3411
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3412
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3413
|
-
* these keys.
|
|
3414
|
-
*
|
|
3415
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3416
|
-
*/
|
|
3417
|
-
_meta?: {
|
|
3418
|
-
[key: string]: unknown;
|
|
3419
|
-
} | null;
|
|
3420
|
-
};
|
|
3421
|
-
/**
|
|
3422
|
-
* Stdio transport configuration for MCP.
|
|
3423
|
-
*/
|
|
3424
|
-
export type McpServerStdio = {
|
|
3425
|
-
/**
|
|
3426
|
-
* Human-readable name identifying this MCP server.
|
|
3427
|
-
*/
|
|
3428
|
-
name: string;
|
|
3429
|
-
/**
|
|
3430
|
-
* Absolute path to the MCP server executable.
|
|
3431
|
-
*/
|
|
3432
|
-
command: string;
|
|
3433
|
-
/**
|
|
3434
|
-
* Command-line arguments to pass to the MCP server.
|
|
3435
|
-
*/
|
|
3436
|
-
args: Array<string>;
|
|
3437
|
-
/**
|
|
3438
|
-
* Environment variables to set when launching the MCP server.
|
|
3439
|
-
*/
|
|
3440
|
-
env: Array<EnvVariable>;
|
|
3441
|
-
/**
|
|
3442
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3443
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3444
|
-
* these keys.
|
|
3445
|
-
*
|
|
3446
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3447
|
-
*/
|
|
3448
|
-
_meta?: {
|
|
3449
|
-
[key: string]: unknown;
|
|
3450
|
-
} | null;
|
|
3451
|
-
};
|
|
3452
|
-
/**
|
|
3453
|
-
* Client-provided system-level instructions for a session.
|
|
3454
|
-
*
|
|
3455
|
-
* Clients MUST only send this when the Agent advertises
|
|
3456
|
-
* `sessionCapabilities.systemPrompt`. Agents that cannot apply it, for example
|
|
3457
|
-
* because of an unadvertised mode or an unsupported content block type, MUST
|
|
3458
|
-
* return an error instead of creating, loading, or resuming the session.
|
|
3459
|
-
*/
|
|
3460
|
-
export type SystemPrompt = {
|
|
3461
|
-
/**
|
|
3462
|
-
* How the Agent combines `content` with its own instructions.
|
|
3463
|
-
*
|
|
3464
|
-
* Required. Agents MUST return an error for a mode they do not support rather than
|
|
3465
|
-
* treating it as `append` or `override`.
|
|
3466
|
-
*/
|
|
3467
|
-
mode: SystemPromptMode;
|
|
3468
|
-
/**
|
|
3469
|
-
* The system prompt content.
|
|
3470
|
-
*
|
|
3471
|
-
* Agents advertising the capability MUST accept `text` content blocks.
|
|
3472
|
-
* Clients MUST NOT send other content block types until a future
|
|
3473
|
-
* capability allows them, and Agents MUST return an error for content
|
|
3474
|
-
* blocks they do not support.
|
|
3475
|
-
*
|
|
3476
|
-
* Clients MUST NOT send an empty array. Agents MAY reject one with
|
|
3477
|
-
* `-32602` without creating, loading, or resuming the session.
|
|
3478
|
-
*/
|
|
3479
|
-
content: Array<ContentBlock>;
|
|
3480
|
-
/**
|
|
3481
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3482
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3483
|
-
* these keys.
|
|
3484
|
-
*
|
|
3485
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3486
|
-
*/
|
|
3487
|
-
_meta?: {
|
|
3488
|
-
[key: string]: unknown;
|
|
3489
|
-
} | null;
|
|
3490
|
-
};
|
|
3491
|
-
/**
|
|
3492
|
-
* How the Agent combines a client-provided system prompt with its own instructions.
|
|
3493
|
-
*
|
|
3494
|
-
* Unknown modes are preserved so they can be stored,
|
|
3495
|
-
* proxied, or forwarded. An Agent MUST return an error for a mode it does not
|
|
3496
|
-
* support rather than treating it as `append` or `override`.
|
|
3497
|
-
*/
|
|
3498
|
-
export type SystemPromptMode = "append" | "override" | string;
|
|
3499
|
-
/**
|
|
3500
|
-
* Request parameters for loading an existing session.
|
|
3501
|
-
*
|
|
3502
|
-
* Only available if the Agent supports the `loadSession` capability.
|
|
3503
|
-
*
|
|
3504
|
-
* See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/v1/session-setup#loading-sessions)
|
|
3505
|
-
*/
|
|
3506
|
-
export type LoadSessionRequest = {
|
|
3507
|
-
/**
|
|
3508
|
-
* List of MCP servers to connect to for this session.
|
|
3509
|
-
*/
|
|
3510
|
-
mcpServers: Array<McpServer>;
|
|
3511
|
-
/**
|
|
3512
|
-
* The working directory for this session. Must be an absolute path.
|
|
3513
|
-
*/
|
|
3514
|
-
cwd: string;
|
|
3515
|
-
/**
|
|
3516
|
-
* Additional workspace roots to activate for this session. Each path must be absolute.
|
|
3517
|
-
*
|
|
3518
|
-
* When omitted or empty, no additional roots are activated. When non-empty,
|
|
3519
|
-
* this is the complete resulting additional-root list for the loaded
|
|
3520
|
-
* session. It may differ from any previously used or reported list as long as
|
|
3521
|
-
* the request `cwd` matches the session's `cwd`.
|
|
3522
|
-
*/
|
|
3523
|
-
additionalDirectories?: Array<string>;
|
|
3524
|
-
/**
|
|
3525
|
-
* The ID of the session to load.
|
|
3526
|
-
*/
|
|
3527
|
-
sessionId: SessionId;
|
|
3528
|
-
/**
|
|
3529
|
-
* System-level instructions for the loaded session.
|
|
3530
|
-
*
|
|
3531
|
-
* Optional. Omitted and `null` are equivalent. The Agent may then keep a
|
|
3532
|
-
* system prompt it stored with the session or use its default instructions.
|
|
3533
|
-
* Clients MUST only send this when the Agent advertises
|
|
3534
|
-
* `sessionCapabilities.systemPrompt`, and SHOULD send the same value they used
|
|
3535
|
-
* when the session was created.
|
|
3536
|
-
*/
|
|
3537
|
-
systemPrompt?: SystemPrompt | null;
|
|
3538
|
-
/**
|
|
3539
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3540
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3541
|
-
* these keys.
|
|
3542
|
-
*
|
|
3543
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3544
|
-
*/
|
|
3545
|
-
_meta?: {
|
|
3546
|
-
[key: string]: unknown;
|
|
3547
|
-
} | null;
|
|
3548
|
-
};
|
|
3549
|
-
/**
|
|
3550
|
-
* Request parameters for listing existing sessions.
|
|
3551
|
-
*
|
|
3552
|
-
* Only available if the Agent supports the `sessionCapabilities.list` capability.
|
|
3553
|
-
*/
|
|
3554
|
-
export type ListSessionsRequest = {
|
|
3555
|
-
/**
|
|
3556
|
-
* Filter sessions by working directory. Must be an absolute path.
|
|
3557
|
-
*/
|
|
3558
|
-
cwd?: string | null;
|
|
3559
|
-
/**
|
|
3560
|
-
* Opaque cursor token from a previous response's nextCursor field for cursor-based pagination
|
|
3561
|
-
*/
|
|
3562
|
-
cursor?: string | null;
|
|
3563
|
-
/**
|
|
3564
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3565
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3566
|
-
* these keys.
|
|
3567
|
-
*
|
|
3568
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3569
|
-
*/
|
|
3570
|
-
_meta?: {
|
|
3571
|
-
[key: string]: unknown;
|
|
3572
|
-
} | null;
|
|
3573
|
-
};
|
|
3574
|
-
/**
|
|
3575
|
-
* Request parameters for deleting an existing session from `session/list`.
|
|
3576
|
-
*
|
|
3577
|
-
* Only available if the Agent supports the `sessionCapabilities.delete` capability.
|
|
3578
|
-
*/
|
|
3579
|
-
export type DeleteSessionRequest = {
|
|
3580
|
-
/**
|
|
3581
|
-
* The ID of the session to delete.
|
|
3582
|
-
*/
|
|
3583
|
-
sessionId: SessionId;
|
|
3584
|
-
/**
|
|
3585
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3586
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3587
|
-
* these keys.
|
|
3588
|
-
*
|
|
3589
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3590
|
-
*/
|
|
3591
|
-
_meta?: {
|
|
3592
|
-
[key: string]: unknown;
|
|
3593
|
-
} | null;
|
|
3594
|
-
};
|
|
3595
|
-
/**
|
|
3596
|
-
* Request parameters for resuming an existing session.
|
|
3597
|
-
*
|
|
3598
|
-
* Resumes an existing session without returning previous messages (unlike `session/load`).
|
|
3599
|
-
* This is useful for agents that can resume sessions but don't implement full session loading.
|
|
3600
|
-
*
|
|
3601
|
-
* Only available if the Agent supports the `sessionCapabilities.resume` capability.
|
|
3602
|
-
*/
|
|
3603
|
-
export type ResumeSessionRequest = {
|
|
3604
|
-
/**
|
|
3605
|
-
* The ID of the session to resume.
|
|
3606
|
-
*/
|
|
3607
|
-
sessionId: SessionId;
|
|
3608
|
-
/**
|
|
3609
|
-
* The working directory for this session. Must be an absolute path.
|
|
3610
|
-
*/
|
|
3611
|
-
cwd: string;
|
|
3612
|
-
/**
|
|
3613
|
-
* Additional workspace roots to activate for this session. Each path must be absolute.
|
|
3614
|
-
*
|
|
3615
|
-
* When omitted or empty, no additional roots are activated. When non-empty,
|
|
3616
|
-
* this is the complete resulting additional-root list for the resumed
|
|
3617
|
-
* session. It may differ from any previously used or reported list as long as
|
|
3618
|
-
* the request `cwd` matches the session's `cwd`.
|
|
3619
|
-
*/
|
|
3620
|
-
additionalDirectories?: Array<string>;
|
|
3621
|
-
/**
|
|
3622
|
-
* List of MCP servers to connect to for this session.
|
|
3623
|
-
*/
|
|
3624
|
-
mcpServers?: Array<McpServer>;
|
|
3625
|
-
/**
|
|
3626
|
-
* System-level instructions for the resumed session.
|
|
3627
|
-
*
|
|
3628
|
-
* Optional. Omitted and `null` are equivalent. The Agent may then keep a
|
|
3629
|
-
* system prompt it stored with the session or use its default instructions.
|
|
3630
|
-
* Clients MUST only send this when the Agent advertises
|
|
3631
|
-
* `sessionCapabilities.systemPrompt`, and SHOULD send the same value they used
|
|
3632
|
-
* when the session was created.
|
|
3633
|
-
*/
|
|
3634
|
-
systemPrompt?: SystemPrompt | null;
|
|
3635
|
-
/**
|
|
3636
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3637
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3638
|
-
* these keys.
|
|
3639
|
-
*
|
|
3640
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3641
|
-
*/
|
|
3642
|
-
_meta?: {
|
|
3643
|
-
[key: string]: unknown;
|
|
3644
|
-
} | null;
|
|
3645
|
-
};
|
|
3646
|
-
/**
|
|
3647
|
-
* Request parameters for closing an active session.
|
|
3648
|
-
*
|
|
3649
|
-
* If supported, the agent **must** cancel any ongoing work related to the session
|
|
3650
|
-
* (treat it as if `session/cancel` was called) and then free up any resources
|
|
3651
|
-
* associated with the session.
|
|
3652
|
-
*
|
|
3653
|
-
* Only available if the Agent supports the `sessionCapabilities.close` capability.
|
|
3654
|
-
*/
|
|
3655
|
-
export type CloseSessionRequest = {
|
|
3656
|
-
/**
|
|
3657
|
-
* The ID of the session to close.
|
|
3658
|
-
*/
|
|
3659
|
-
sessionId: SessionId;
|
|
3660
|
-
/**
|
|
3661
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3662
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3663
|
-
* these keys.
|
|
3664
|
-
*
|
|
3665
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3666
|
-
*/
|
|
3667
|
-
_meta?: {
|
|
3668
|
-
[key: string]: unknown;
|
|
3669
|
-
} | null;
|
|
3670
|
-
};
|
|
3671
|
-
/**
|
|
3672
|
-
* Request parameters for setting a session mode.
|
|
3673
|
-
*/
|
|
3674
|
-
export type SetSessionModeRequest = {
|
|
3675
|
-
/**
|
|
3676
|
-
* The ID of the session to set the mode for.
|
|
3677
|
-
*/
|
|
3678
|
-
sessionId: SessionId;
|
|
3679
|
-
/**
|
|
3680
|
-
* The ID of the mode to set.
|
|
3681
|
-
*/
|
|
3682
|
-
modeId: SessionModeId;
|
|
3683
|
-
/**
|
|
3684
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3685
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3686
|
-
* these keys.
|
|
3687
|
-
*
|
|
3688
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3689
|
-
*/
|
|
3690
|
-
_meta?: {
|
|
3691
|
-
[key: string]: unknown;
|
|
3692
|
-
} | null;
|
|
3693
|
-
};
|
|
3694
|
-
/**
|
|
3695
|
-
* Request parameters for setting a session configuration option.
|
|
3696
|
-
*/
|
|
3697
|
-
export type SetSessionConfigOptionRequest = ({
|
|
3698
|
-
type: "boolean";
|
|
3699
|
-
/**
|
|
3700
|
-
* The boolean value.
|
|
3701
|
-
*/
|
|
3702
|
-
value: boolean;
|
|
3703
|
-
} | {
|
|
3704
|
-
/**
|
|
3705
|
-
* The value ID.
|
|
3706
|
-
*/
|
|
3707
|
-
value: SessionConfigValueId;
|
|
3708
|
-
}) & {
|
|
3709
|
-
/**
|
|
3710
|
-
* The ID of the session to set the configuration option for.
|
|
3711
|
-
*/
|
|
3712
|
-
sessionId: SessionId;
|
|
3713
|
-
/**
|
|
3714
|
-
* The ID of the configuration option to set.
|
|
3715
|
-
*/
|
|
3716
|
-
configId: SessionConfigId;
|
|
3717
|
-
/**
|
|
3718
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3719
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3720
|
-
* these keys.
|
|
3721
|
-
*
|
|
3722
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3723
|
-
*/
|
|
3724
|
-
_meta?: {
|
|
3725
|
-
[key: string]: unknown;
|
|
3726
|
-
} | null;
|
|
3727
|
-
};
|
|
3728
|
-
/**
|
|
3729
|
-
* Request parameters for sending a user prompt to the agent.
|
|
3730
|
-
*
|
|
3731
|
-
* Contains the user's message and any additional context.
|
|
3732
|
-
*
|
|
3733
|
-
* See protocol docs: [User Message](https://agentclientprotocol.com/protocol/v1/prompt-turn#1-user-message)
|
|
3734
|
-
*/
|
|
3735
|
-
export type PromptRequest = {
|
|
3736
|
-
/**
|
|
3737
|
-
* The ID of the session to send this user message to
|
|
3738
|
-
*/
|
|
3739
|
-
sessionId: SessionId;
|
|
3740
|
-
/**
|
|
3741
|
-
* The blocks of content that compose the user's message.
|
|
3742
|
-
*
|
|
3743
|
-
* As a baseline, the Agent MUST support `text` and `resource_link` content blocks,
|
|
3744
|
-
* while other variants are optionally enabled via `PromptCapabilities`.
|
|
3745
|
-
*
|
|
3746
|
-
* The Client MUST adapt its interface according to `PromptCapabilities`.
|
|
3747
|
-
*
|
|
3748
|
-
* The client MAY include referenced pieces of context as either
|
|
3749
|
-
* `resource` or `resource_link` content blocks.
|
|
3750
|
-
*
|
|
3751
|
-
* When available, `resource` is preferred
|
|
3752
|
-
* as it avoids extra round-trips and allows the message to include
|
|
3753
|
-
* pieces of context from sources the agent may not have access to.
|
|
3754
|
-
*/
|
|
3755
|
-
prompt: Array<ContentBlock>;
|
|
3756
|
-
/**
|
|
3757
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3758
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3759
|
-
* these keys.
|
|
3760
|
-
*
|
|
3761
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3762
|
-
*/
|
|
3763
|
-
_meta?: {
|
|
3764
|
-
[key: string]: unknown;
|
|
3765
|
-
} | null;
|
|
3766
|
-
};
|
|
3767
|
-
/**
|
|
3768
|
-
* A JSON-RPC response object.
|
|
3769
|
-
*/
|
|
3770
|
-
export type ClientResponse = {
|
|
3771
|
-
/**
|
|
3772
|
-
* The id of the request this response answers.
|
|
3773
|
-
*/
|
|
3774
|
-
id: RequestId;
|
|
3775
|
-
/**
|
|
3776
|
-
* Method-specific response data.
|
|
3777
|
-
*/
|
|
3778
|
-
result: WriteTextFileResponse | ReadTextFileResponse | RequestPermissionResponse | CreateTerminalResponse | TerminalOutputResponse | ReleaseTerminalResponse | WaitForTerminalExitResponse | KillTerminalResponse | CreateElicitationResponse | ExtResponse;
|
|
3779
|
-
} | {
|
|
3780
|
-
/**
|
|
3781
|
-
* The id of the request this response answers.
|
|
3782
|
-
*/
|
|
3783
|
-
id: RequestId;
|
|
3784
|
-
/**
|
|
3785
|
-
* Method-specific error data.
|
|
3786
|
-
*/
|
|
3787
|
-
error: Error;
|
|
3788
|
-
};
|
|
3789
|
-
/**
|
|
3790
|
-
* Response to `fs/write_text_file`
|
|
3791
|
-
*/
|
|
3792
|
-
export type WriteTextFileResponse = {
|
|
3793
|
-
/**
|
|
3794
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3795
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3796
|
-
* these keys.
|
|
3797
|
-
*
|
|
3798
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3799
|
-
*/
|
|
3800
|
-
_meta?: {
|
|
3801
|
-
[key: string]: unknown;
|
|
3802
|
-
} | null;
|
|
3803
|
-
};
|
|
3804
|
-
/**
|
|
3805
|
-
* Response containing the contents of a text file.
|
|
3806
|
-
*/
|
|
3807
|
-
export type ReadTextFileResponse = {
|
|
3808
|
-
/**
|
|
3809
|
-
* Content payload returned by this response.
|
|
3810
|
-
*/
|
|
3811
|
-
content: string;
|
|
3812
|
-
/**
|
|
3813
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3814
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3815
|
-
* these keys.
|
|
3816
|
-
*
|
|
3817
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3818
|
-
*/
|
|
3819
|
-
_meta?: {
|
|
3820
|
-
[key: string]: unknown;
|
|
3821
|
-
} | null;
|
|
3822
|
-
};
|
|
3823
|
-
/**
|
|
3824
|
-
* Response to a permission request.
|
|
3825
|
-
*/
|
|
3826
|
-
export type RequestPermissionResponse = {
|
|
3827
|
-
/**
|
|
3828
|
-
* The user's decision on the permission request.
|
|
3829
|
-
*/
|
|
3830
|
-
outcome: RequestPermissionOutcome;
|
|
3831
|
-
/**
|
|
3832
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3833
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3834
|
-
* these keys.
|
|
3835
|
-
*
|
|
3836
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3837
|
-
*/
|
|
3838
|
-
_meta?: {
|
|
3839
|
-
[key: string]: unknown;
|
|
3840
|
-
} | null;
|
|
3841
|
-
};
|
|
3842
|
-
/**
|
|
3843
|
-
* The outcome of a permission request.
|
|
3844
|
-
*/
|
|
3845
|
-
export type RequestPermissionOutcome = {
|
|
3846
|
-
outcome: "cancelled";
|
|
3847
|
-
} | (SelectedPermissionOutcome & {
|
|
3848
|
-
outcome: "selected";
|
|
3849
|
-
});
|
|
3850
|
-
/**
|
|
3851
|
-
* The user selected one of the provided options.
|
|
3852
|
-
*/
|
|
3853
|
-
export type SelectedPermissionOutcome = {
|
|
3854
|
-
/**
|
|
3855
|
-
* The ID of the option the user selected.
|
|
3856
|
-
*/
|
|
3857
|
-
optionId: PermissionOptionId;
|
|
3858
|
-
/**
|
|
3859
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3860
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3861
|
-
* these keys.
|
|
3862
|
-
*
|
|
3863
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3864
|
-
*/
|
|
3865
|
-
_meta?: {
|
|
3866
|
-
[key: string]: unknown;
|
|
3867
|
-
} | null;
|
|
3868
|
-
};
|
|
3869
|
-
/**
|
|
3870
|
-
* Response containing the ID of the created terminal.
|
|
3871
|
-
*/
|
|
3872
|
-
export type CreateTerminalResponse = {
|
|
3873
|
-
/**
|
|
3874
|
-
* The unique identifier for the created terminal.
|
|
3875
|
-
*/
|
|
3876
|
-
terminalId: TerminalId;
|
|
3877
|
-
/**
|
|
3878
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3879
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3880
|
-
* these keys.
|
|
3881
|
-
*
|
|
3882
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3883
|
-
*/
|
|
3884
|
-
_meta?: {
|
|
3885
|
-
[key: string]: unknown;
|
|
3886
|
-
} | null;
|
|
3887
|
-
};
|
|
3888
|
-
/**
|
|
3889
|
-
* Response containing the terminal output and exit status.
|
|
3890
|
-
*/
|
|
3891
|
-
export type TerminalOutputResponse = {
|
|
3892
|
-
/**
|
|
3893
|
-
* The terminal output captured so far.
|
|
3894
|
-
*/
|
|
3895
|
-
output: string;
|
|
3896
|
-
/**
|
|
3897
|
-
* Whether the output was truncated due to byte limits.
|
|
3898
|
-
*/
|
|
3899
|
-
truncated: boolean;
|
|
3900
|
-
/**
|
|
3901
|
-
* Exit status if the command has completed.
|
|
3902
|
-
*/
|
|
3903
|
-
exitStatus?: TerminalExitStatus | null;
|
|
3904
|
-
/**
|
|
3905
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3906
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3907
|
-
* these keys.
|
|
3908
|
-
*
|
|
3909
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3910
|
-
*/
|
|
3911
|
-
_meta?: {
|
|
3912
|
-
[key: string]: unknown;
|
|
3913
|
-
} | null;
|
|
3914
|
-
};
|
|
3915
|
-
/**
|
|
3916
|
-
* Exit status of a terminal command.
|
|
3917
|
-
*/
|
|
3918
|
-
export type TerminalExitStatus = {
|
|
3919
|
-
/**
|
|
3920
|
-
* The process exit code (may be null if terminated by signal).
|
|
3921
|
-
*/
|
|
3922
|
-
exitCode?: number | null;
|
|
3923
|
-
/**
|
|
3924
|
-
* The signal that terminated the process (may be null if exited normally).
|
|
3925
|
-
*/
|
|
3926
|
-
signal?: string | null;
|
|
3927
|
-
/**
|
|
3928
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3929
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3930
|
-
* these keys.
|
|
3931
|
-
*
|
|
3932
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3933
|
-
*/
|
|
3934
|
-
_meta?: {
|
|
3935
|
-
[key: string]: unknown;
|
|
3936
|
-
} | null;
|
|
3937
|
-
};
|
|
3938
|
-
/**
|
|
3939
|
-
* Response to terminal/release method
|
|
3940
|
-
*/
|
|
3941
|
-
export type ReleaseTerminalResponse = {
|
|
3942
|
-
/**
|
|
3943
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3944
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3945
|
-
* these keys.
|
|
3946
|
-
*
|
|
3947
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3948
|
-
*/
|
|
3949
|
-
_meta?: {
|
|
3950
|
-
[key: string]: unknown;
|
|
3951
|
-
} | null;
|
|
3952
|
-
};
|
|
3953
|
-
/**
|
|
3954
|
-
* Response containing the exit status of a terminal command.
|
|
3955
|
-
*/
|
|
3956
|
-
export type WaitForTerminalExitResponse = {
|
|
3957
|
-
/**
|
|
3958
|
-
* The process exit code (may be null if terminated by signal).
|
|
3959
|
-
*/
|
|
3960
|
-
exitCode?: number | null;
|
|
3961
|
-
/**
|
|
3962
|
-
* The signal that terminated the process (may be null if exited normally).
|
|
3963
|
-
*/
|
|
3964
|
-
signal?: string | null;
|
|
3965
|
-
/**
|
|
3966
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3967
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3968
|
-
* these keys.
|
|
3969
|
-
*
|
|
3970
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3971
|
-
*/
|
|
3972
|
-
_meta?: {
|
|
3973
|
-
[key: string]: unknown;
|
|
3974
|
-
} | null;
|
|
3975
|
-
};
|
|
3976
|
-
/**
|
|
3977
|
-
* Response to `terminal/kill` method
|
|
3978
|
-
*/
|
|
3979
|
-
export type KillTerminalResponse = {
|
|
3980
|
-
/**
|
|
3981
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
3982
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
3983
|
-
* these keys.
|
|
3984
|
-
*
|
|
3985
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
3986
|
-
*/
|
|
3987
|
-
_meta?: {
|
|
3988
|
-
[key: string]: unknown;
|
|
3989
|
-
} | null;
|
|
3990
|
-
};
|
|
3991
|
-
/**
|
|
3992
|
-
* Response from the client to an elicitation request.
|
|
3993
|
-
*/
|
|
3994
|
-
export type CreateElicitationResponse = ((ElicitationAcceptAction & {
|
|
3995
|
-
action: "accept";
|
|
3996
|
-
}) | {
|
|
3997
|
-
action: "decline";
|
|
3998
|
-
} | {
|
|
3999
|
-
action: "cancel";
|
|
4000
|
-
} | {
|
|
4001
|
-
/**
|
|
4002
|
-
* Custom or future elicitation action.
|
|
4003
|
-
*
|
|
4004
|
-
* Values beginning with `_` are reserved for implementation-specific
|
|
4005
|
-
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
4006
|
-
* future ACP variants.
|
|
4007
|
-
*/
|
|
4008
|
-
action: string;
|
|
4009
|
-
[key: string]: unknown;
|
|
4010
|
-
}) & {
|
|
4011
|
-
/**
|
|
4012
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
4013
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
4014
|
-
* these keys.
|
|
4015
|
-
*
|
|
4016
|
-
* Optional. Omitted and `null` are equivalent and mean no metadata.
|
|
4017
|
-
*
|
|
4018
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
4019
|
-
*/
|
|
4020
|
-
_meta?: {
|
|
4021
|
-
[key: string]: unknown;
|
|
4022
|
-
} | null;
|
|
4023
|
-
};
|
|
4024
|
-
/**
|
|
4025
|
-
* Allowed wire representations for `ElicitationContentValue`.
|
|
4026
|
-
*/
|
|
4027
|
-
export type ElicitationContentValue = string | number | number | boolean | Array<string>;
|
|
4028
|
-
/**
|
|
4029
|
-
* The user accepted the elicitation and provided content.
|
|
4030
|
-
*/
|
|
4031
|
-
export type ElicitationAcceptAction = {
|
|
4032
|
-
/**
|
|
4033
|
-
* The user-provided content, if any, as an object matching the requested schema.
|
|
4034
|
-
*/
|
|
4035
|
-
content?: {
|
|
4036
|
-
[key: string]: ElicitationContentValue;
|
|
4037
|
-
} | null;
|
|
4038
|
-
};
|
|
4039
|
-
/**
|
|
4040
|
-
* A JSON-RPC notification object.
|
|
4041
|
-
*/
|
|
4042
|
-
export type ClientNotification = {
|
|
4043
|
-
/**
|
|
4044
|
-
* The notification method name.
|
|
4045
|
-
*/
|
|
4046
|
-
method: string;
|
|
4047
|
-
/**
|
|
4048
|
-
* Method-specific notification parameters.
|
|
4049
|
-
*/
|
|
4050
|
-
params?: CancelNotification | ExtNotification | null;
|
|
4051
|
-
};
|
|
4052
|
-
/**
|
|
4053
|
-
* Notification to cancel ongoing operations for a session.
|
|
4054
|
-
*
|
|
4055
|
-
* See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/v1/prompt-turn#cancellation)
|
|
4056
|
-
*/
|
|
4057
|
-
export type CancelNotification = {
|
|
4058
|
-
/**
|
|
4059
|
-
* The ID of the session to cancel operations for.
|
|
4060
|
-
*/
|
|
4061
|
-
sessionId: SessionId;
|
|
4062
|
-
/**
|
|
4063
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
4064
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
4065
|
-
* these keys.
|
|
4066
|
-
*
|
|
4067
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
4068
|
-
*/
|
|
4069
|
-
_meta?: {
|
|
4070
|
-
[key: string]: unknown;
|
|
4071
|
-
} | null;
|
|
4072
|
-
};
|
|
4073
|
-
/**
|
|
4074
|
-
* Notification to cancel an ongoing request.
|
|
4075
|
-
*
|
|
4076
|
-
* See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/v1/cancellation)
|
|
4077
|
-
*/
|
|
4078
|
-
export type CancelRequestNotification = {
|
|
4079
|
-
/**
|
|
4080
|
-
* The ID of the request to cancel.
|
|
4081
|
-
*/
|
|
4082
|
-
requestId: RequestId;
|
|
4083
|
-
/**
|
|
4084
|
-
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
4085
|
-
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
4086
|
-
* these keys.
|
|
4087
|
-
*
|
|
4088
|
-
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/extensibility)
|
|
4089
|
-
*/
|
|
4090
|
-
_meta?: {
|
|
4091
|
-
[key: string]: unknown;
|
|
4092
|
-
} | null;
|
|
4093
|
-
};
|