eve 0.5.4 → 0.6.0-beta.3
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 +15 -0
- package/LICENSE +2 -2
- package/NOTICE +5 -0
- package/README.md +120 -108
- package/bin/eve.d.ts +66 -0
- package/bin/eve.js +285 -0
- package/dist/docs/public/README.md +89 -0
- package/dist/docs/public/advanced/auth-and-route-protection.md +270 -0
- package/dist/docs/public/advanced/context-control.md +109 -0
- package/dist/docs/public/advanced/default-harness.md +94 -0
- package/dist/docs/public/advanced/deployment.md +113 -0
- package/dist/docs/public/advanced/dev-tui.md +37 -0
- package/dist/docs/public/advanced/dynamic-capabilities.md +129 -0
- package/dist/docs/public/advanced/dynamic-workflows.md +55 -0
- package/dist/docs/public/advanced/evals.md +121 -0
- package/dist/docs/public/advanced/execution-model-and-durability.md +48 -0
- package/dist/docs/public/advanced/hooks.md +154 -0
- package/dist/docs/public/advanced/instrumentation.md +165 -0
- package/dist/docs/public/advanced/meta.json +21 -0
- package/dist/docs/public/advanced/remote-agents.md +60 -0
- package/dist/docs/public/advanced/security-model.md +79 -0
- package/dist/docs/public/advanced/session-context.md +149 -0
- package/dist/docs/public/advanced/sessions-runs-and-streaming.md +127 -0
- package/dist/docs/public/advanced/state.md +62 -0
- package/dist/docs/public/agent-config.md +80 -0
- package/dist/docs/public/channels/custom.mdx +275 -0
- package/dist/docs/public/channels/discord.mdx +74 -0
- package/dist/docs/public/channels/eve.mdx +82 -0
- package/dist/docs/public/channels/github.mdx +56 -0
- package/dist/docs/public/channels/linear.mdx +168 -0
- package/dist/docs/public/channels/meta.json +15 -0
- package/dist/docs/public/channels/overview.mdx +53 -0
- package/dist/docs/public/channels/slack.mdx +92 -0
- package/dist/docs/public/channels/teams.mdx +55 -0
- package/dist/docs/public/channels/telegram.mdx +56 -0
- package/dist/docs/public/channels/twilio.mdx +62 -0
- package/dist/docs/public/client/continuations.mdx +126 -0
- package/dist/docs/public/client/messages.mdx +152 -0
- package/dist/docs/public/client/meta.json +4 -0
- package/dist/docs/public/client/output-schema.mdx +135 -0
- package/dist/docs/public/client/overview.mdx +116 -0
- package/dist/docs/public/client/streaming.mdx +143 -0
- package/dist/docs/public/connections.mdx +196 -0
- package/dist/docs/public/frontend/meta.json +4 -0
- package/dist/docs/public/frontend/nextjs.mdx +79 -0
- package/dist/docs/public/frontend/nuxt.mdx +82 -0
- package/dist/docs/public/frontend/overview.mdx +234 -0
- package/dist/docs/public/frontend/sveltekit.mdx +94 -0
- package/dist/docs/public/frontend/use-eve-agent-svelte.mdx +111 -0
- package/dist/docs/public/frontend/use-eve-agent-vue.mdx +123 -0
- package/dist/docs/public/getting-started.mdx +176 -0
- package/dist/docs/public/instructions.mdx +58 -0
- package/dist/docs/public/introduction.md +102 -0
- package/dist/docs/public/meta.json +22 -0
- package/dist/docs/public/reference/cli.md +123 -0
- package/dist/docs/public/reference/faqs.md +48 -0
- package/dist/docs/public/reference/meta.json +4 -0
- package/dist/docs/public/reference/project-layout.md +111 -0
- package/dist/docs/public/reference/typescript-api.md +97 -0
- package/dist/docs/public/sandbox.mdx +198 -0
- package/dist/docs/public/schedules.mdx +104 -0
- package/dist/docs/public/skills.mdx +79 -0
- package/dist/docs/public/subagents.mdx +76 -0
- package/dist/docs/public/tools.mdx +111 -0
- package/dist/docs/public/tutorial/connect-a-warehouse.mdx +47 -0
- package/dist/docs/public/tutorial/first-agent.mdx +61 -0
- package/dist/docs/public/tutorial/guard-the-spend.mdx +59 -0
- package/dist/docs/public/tutorial/how-it-runs.mdx +24 -0
- package/dist/docs/public/tutorial/meta.json +14 -0
- package/dist/docs/public/tutorial/query-sample-data.mdx +81 -0
- package/dist/docs/public/tutorial/remember-definitions.mdx +72 -0
- package/dist/docs/public/tutorial/run-analysis.mdx +86 -0
- package/dist/docs/public/tutorial/ship-it.mdx +100 -0
- package/dist/docs/public/tutorial/team-playbooks.mdx +63 -0
- package/dist/src/_virtual/_rolldown/runtime.js +1 -0
- package/dist/src/channel/adapter-context.d.ts +11 -0
- package/dist/src/channel/adapter-context.js +1 -0
- package/dist/src/channel/adapter.d.ts +160 -0
- package/dist/src/channel/adapter.js +1 -0
- package/dist/src/channel/compiled-channel.d.ts +21 -0
- package/dist/src/channel/compiled-channel.js +1 -0
- package/dist/src/channel/cross-channel-receive.d.ts +70 -0
- package/dist/src/channel/cross-channel-receive.js +2 -0
- package/dist/src/channel/http.d.ts +29 -0
- package/dist/src/channel/http.js +1 -0
- package/dist/src/channel/instrumentation.d.ts +10 -0
- package/dist/src/channel/instrumentation.js +1 -0
- package/dist/src/channel/receive-target.d.ts +17 -0
- package/dist/src/channel/receive-target.js +1 -0
- package/dist/src/channel/resolve-text.d.ts +19 -0
- package/dist/src/channel/resolve-text.js +1 -0
- package/dist/src/channel/routes.d.ts +217 -0
- package/dist/src/channel/routes.js +1 -0
- package/dist/src/channel/schedule.d.ts +66 -0
- package/dist/src/channel/schedule.js +1 -0
- package/dist/src/channel/send.d.ts +4 -0
- package/dist/src/channel/send.js +1 -0
- package/dist/src/channel/session-callback.d.ts +10 -0
- package/dist/src/channel/session-callback.js +1 -0
- package/dist/src/channel/session.d.ts +46 -0
- package/dist/src/channel/session.js +1 -0
- package/dist/src/channel/types.d.ts +303 -0
- package/dist/src/channel/types.js +1 -0
- package/dist/src/channel/websocket-upgrade-server.d.ts +26 -0
- package/dist/src/channel/websocket-upgrade-server.js +1 -0
- package/dist/src/chunks/use-eve-agent-9vL56Fjy.js +1195 -0
- package/dist/src/chunks/use-eve-agent-DTWI5Lji.js +1225 -0
- package/dist/src/cli/commands/channel-add-conflicts.d.ts +21 -0
- package/dist/src/cli/commands/channel-add-conflicts.js +1 -0
- package/dist/src/cli/commands/channels.d.ts +26 -0
- package/dist/src/cli/commands/channels.js +1 -0
- package/dist/src/cli/commands/info.d.ts +53 -0
- package/dist/src/cli/commands/info.js +2 -0
- package/dist/src/cli/dev/environment.d.ts +20 -0
- package/dist/src/cli/dev/environment.js +1 -0
- package/dist/src/cli/dev/repl/input-requests.d.ts +38 -0
- package/dist/src/cli/dev/repl/input-requests.js +1 -0
- package/dist/src/cli/dev/repl/input.d.ts +19 -0
- package/dist/src/cli/dev/repl/input.js +1 -0
- package/dist/src/cli/dev/repl/repl.d.ts +62 -0
- package/dist/src/cli/dev/repl/repl.js +2 -0
- package/dist/src/cli/dev/repl/terminal.d.ts +21 -0
- package/dist/src/cli/dev/repl/terminal.js +5 -0
- package/dist/src/cli/dev/tui/layout.d.ts +24 -0
- package/dist/src/cli/dev/tui/layout.js +3 -0
- package/dist/src/cli/dev/tui/markdown.d.ts +14 -0
- package/dist/src/cli/dev/tui/markdown.js +3 -0
- package/dist/src/cli/dev/tui/runner.d.ts +211 -0
- package/dist/src/cli/dev/tui/runner.js +1 -0
- package/dist/src/cli/dev/tui/terminal-frame-buffer.d.ts +21 -0
- package/dist/src/cli/dev/tui/terminal-frame-buffer.js +2 -0
- package/dist/src/cli/dev/tui/terminal-renderer.d.ts +111 -0
- package/dist/src/cli/dev/tui/terminal-renderer.js +12 -0
- package/dist/src/cli/dev/tui/terminal-text.d.ts +6 -0
- package/dist/src/cli/dev/tui/terminal-text.js +1 -0
- package/dist/src/cli/dev/tui/test/index.d.ts +11 -0
- package/dist/src/cli/dev/tui/test/index.js +1 -0
- package/dist/src/cli/dev/tui/test/mock-terminal.d.ts +28 -0
- package/dist/src/cli/dev/tui/test/mock-terminal.js +3 -0
- package/dist/src/cli/dev/tui/tui.d.ts +32 -0
- package/dist/src/cli/dev/tui/tui.js +1 -0
- package/dist/src/cli/dev/tui/types.d.ts +68 -0
- package/dist/src/cli/dev/tui/types.js +1 -0
- package/dist/src/cli/dev/url.d.ts +4 -0
- package/dist/src/cli/dev/url.js +1 -0
- package/dist/src/cli/run.d.ts +112 -0
- package/dist/src/cli/run.js +3 -0
- package/dist/src/cli/ui/output.d.ts +62 -0
- package/dist/src/cli/ui/output.js +8 -0
- package/dist/src/client/client-error.d.ts +14 -0
- package/dist/src/client/client-error.js +1 -0
- package/dist/src/client/client.d.ts +28 -0
- package/dist/src/client/client.js +1 -0
- package/dist/src/client/eve-agent-store.d.ts +89 -0
- package/dist/src/client/eve-agent-store.js +2 -0
- package/dist/src/client/index.d.ts +15 -0
- package/dist/src/client/index.js +1 -0
- package/dist/src/client/message-reducer-types.d.ts +174 -0
- package/dist/src/client/message-reducer-types.js +1 -0
- package/dist/src/client/message-reducer.d.ts +14 -0
- package/dist/src/client/message-reducer.js +1 -0
- package/dist/src/client/message-response.d.ts +42 -0
- package/dist/src/client/message-response.js +1 -0
- package/dist/src/client/ndjson.d.ts +16 -0
- package/dist/src/client/ndjson.js +3 -0
- package/dist/src/client/open-stream.d.ts +18 -0
- package/dist/src/client/open-stream.js +1 -0
- package/dist/src/client/output-schema.d.ts +12 -0
- package/dist/src/client/output-schema.js +1 -0
- package/dist/src/client/reducer.d.ts +63 -0
- package/dist/src/client/reducer.js +1 -0
- package/dist/src/client/session-utils.d.ts +29 -0
- package/dist/src/client/session-utils.js +1 -0
- package/dist/src/client/session.d.ts +49 -0
- package/dist/src/client/session.js +1 -0
- package/dist/src/client/types.d.ts +165 -0
- package/dist/src/client/types.js +1 -0
- package/dist/src/client/url.d.ts +8 -0
- package/dist/src/client/url.js +1 -0
- package/dist/src/compiled/.vendor-stamp.json +32 -0
- package/dist/src/compiled/@ai-sdk/anthropic/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/anthropic/_provider-utils.d.ts +15 -0
- package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +1262 -0
- package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -0
- package/dist/src/compiled/@ai-sdk/google/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/google/_provider-utils.d.ts +11 -0
- package/dist/src/compiled/@ai-sdk/google/index.d.ts +627 -0
- package/dist/src/compiled/@ai-sdk/google/index.js +11 -0
- package/dist/src/compiled/@ai-sdk/mcp/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +37 -0
- package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -0
- package/dist/src/compiled/@ai-sdk/openai/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/openai/_provider-utils.d.ts +15 -0
- package/dist/src/compiled/@ai-sdk/openai/index.d.ts +1296 -0
- package/dist/src/compiled/@ai-sdk/openai/index.js +11 -0
- package/dist/src/compiled/@ai-sdk/otel/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/otel/index.d.ts +32 -0
- package/dist/src/compiled/@ai-sdk/otel/index.js +3 -0
- package/dist/src/compiled/@ai-sdk/provider/LICENSE +13 -0
- package/dist/src/compiled/@ai-sdk/provider/_json-schema.d.ts +5 -0
- package/dist/src/compiled/@ai-sdk/provider/index.d.ts +7138 -0
- package/dist/src/compiled/@ai-sdk/provider/index.js +3 -0
- package/dist/src/compiled/@chat-adapter/slack/LICENSE +9 -0
- package/dist/src/compiled/@chat-adapter/slack/_chat-adapter-shared.d.ts +9 -0
- package/dist/src/compiled/@chat-adapter/slack/_slack-web-api.d.ts +7 -0
- package/dist/src/compiled/@chat-adapter/slack/index.d.ts +950 -0
- package/dist/src/compiled/@chat-adapter/slack/index.js +48 -0
- package/dist/src/compiled/@chat-adapter/state-memory/LICENSE +9 -0
- package/dist/src/compiled/@chat-adapter/state-memory/index.d.ts +50 -0
- package/dist/src/compiled/@chat-adapter/state-memory/index.js +1 -0
- package/dist/src/compiled/@opentelemetry/api/LICENSE +201 -0
- package/dist/src/compiled/@opentelemetry/api/index.d.ts +47 -0
- package/dist/src/compiled/@opentelemetry/api/index.js +1 -0
- package/dist/src/compiled/@standard-schema/spec/LICENSE +21 -0
- package/dist/src/compiled/@standard-schema/spec/index.d.ts +119 -0
- package/dist/src/compiled/@standard-schema/spec/index.js +1 -0
- package/dist/src/compiled/@vercel/oidc/LICENSE +202 -0
- package/dist/src/compiled/@vercel/oidc/index.d.ts +21 -0
- package/dist/src/compiled/@vercel/oidc/index.js +2 -0
- package/dist/src/compiled/@vercel/sandbox/LICENSE +201 -0
- package/dist/src/compiled/@vercel/sandbox/index.d.ts +128 -0
- package/dist/src/compiled/@vercel/sandbox/index.js +108 -0
- package/dist/src/compiled/@vercel/sandbox/network-policy.d.ts +161 -0
- package/dist/src/compiled/@workflow/core/LICENSE.md +201 -0
- package/dist/src/compiled/@workflow/core/_ms.d.ts +4 -0
- package/dist/src/compiled/@workflow/core/_workflow-serde.d.ts +5 -0
- package/dist/src/compiled/@workflow/core/_workflow-utils.d.ts +8 -0
- package/dist/src/compiled/@workflow/core/attribute-changes.d.ts +7 -0
- package/dist/src/compiled/@workflow/core/capabilities.d.ts +45 -0
- package/dist/src/compiled/@workflow/core/capture-stack.d.ts +16 -0
- package/dist/src/compiled/@workflow/core/class-serialization.d.ts +31 -0
- package/dist/src/compiled/@workflow/core/classify-error.d.ts +20 -0
- package/dist/src/compiled/@workflow/core/context-errors.d.ts +27 -0
- package/dist/src/compiled/@workflow/core/context-violation-error.d.ts +97 -0
- package/dist/src/compiled/@workflow/core/create-hook.d.ts +179 -0
- package/dist/src/compiled/@workflow/core/define-hook.d.ts +68 -0
- package/dist/src/compiled/@workflow/core/describe-error.d.ts +70 -0
- package/dist/src/compiled/@workflow/core/encryption.d.ts +66 -0
- package/dist/src/compiled/@workflow/core/events-consumer.d.ts +72 -0
- package/dist/src/compiled/@workflow/core/flushable-stream.d.ts +82 -0
- package/dist/src/compiled/@workflow/core/global.d.ts +48 -0
- package/dist/src/compiled/@workflow/core/index.d.ts +20 -0
- package/dist/src/compiled/@workflow/core/index.js +2 -0
- package/dist/src/compiled/@workflow/core/log-format.d.ts +25 -0
- package/dist/src/compiled/@workflow/core/logger.d.ts +29 -0
- package/dist/src/compiled/@workflow/core/private.d.ts +135 -0
- package/dist/src/compiled/@workflow/core/private.js +1 -0
- package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +52 -0
- package/dist/src/compiled/@workflow/core/runtime/get-port-lazy.d.ts +10 -0
- package/dist/src/compiled/@workflow/core/runtime/get-world-lazy.d.ts +32 -0
- package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +105 -0
- package/dist/src/compiled/@workflow/core/runtime/replay-budget.d.ts +98 -0
- package/dist/src/compiled/@workflow/core/runtime/resume-hook.d.ts +77 -0
- package/dist/src/compiled/@workflow/core/runtime/run.d.ts +134 -0
- package/dist/src/compiled/@workflow/core/runtime/runs.d.ts +50 -0
- package/dist/src/compiled/@workflow/core/runtime/start.d.ts +59 -0
- package/dist/src/compiled/@workflow/core/runtime/step-executor.d.ts +42 -0
- package/dist/src/compiled/@workflow/core/runtime/step-handler.d.ts +2 -0
- package/dist/src/compiled/@workflow/core/runtime/suspension-handler.d.ts +42 -0
- package/dist/src/compiled/@workflow/core/runtime/world-init.d.ts +75 -0
- package/dist/src/compiled/@workflow/core/runtime/world.d.ts +32 -0
- package/dist/src/compiled/@workflow/core/runtime.d.ts +22 -0
- package/dist/src/compiled/@workflow/core/runtime.js +141 -0
- package/dist/src/compiled/@workflow/core/schemas.d.ts +15 -0
- package/dist/src/compiled/@workflow/core/serialization/client.d.ts +17 -0
- package/dist/src/compiled/@workflow/core/serialization/codec-devalue.d.ts +14 -0
- package/dist/src/compiled/@workflow/core/serialization/codec.d.ts +90 -0
- package/dist/src/compiled/@workflow/core/serialization/encryption.d.ts +33 -0
- package/dist/src/compiled/@workflow/core/serialization/errors.d.ts +34 -0
- package/dist/src/compiled/@workflow/core/serialization/format.d.ts +60 -0
- package/dist/src/compiled/@workflow/core/serialization/index.d.ts +18 -0
- package/dist/src/compiled/@workflow/core/serialization/reducers/class.d.ts +11 -0
- package/dist/src/compiled/@workflow/core/serialization/reducers/common.d.ts +16 -0
- package/dist/src/compiled/@workflow/core/serialization/reducers/step-function.d.ts +35 -0
- package/dist/src/compiled/@workflow/core/serialization/step.d.ts +17 -0
- package/dist/src/compiled/@workflow/core/serialization/types.d.ts +228 -0
- package/dist/src/compiled/@workflow/core/serialization/workflow.d.ts +29 -0
- package/dist/src/compiled/@workflow/core/serialization-format.d.ts +171 -0
- package/dist/src/compiled/@workflow/core/serialization.d.ts +344 -0
- package/dist/src/compiled/@workflow/core/set-attributes.d.ts +13 -0
- package/dist/src/compiled/@workflow/core/sleep.d.ts +33 -0
- package/dist/src/compiled/@workflow/core/source-map.d.ts +10 -0
- package/dist/src/compiled/@workflow/core/step/context-storage.d.ts +29 -0
- package/dist/src/compiled/@workflow/core/step/get-closure-vars.d.ts +9 -0
- package/dist/src/compiled/@workflow/core/step/get-step-metadata.d.ts +42 -0
- package/dist/src/compiled/@workflow/core/step/get-workflow-metadata.d.ts +7 -0
- package/dist/src/compiled/@workflow/core/step/writable-stream.d.ts +22 -0
- package/dist/src/compiled/@workflow/core/step.d.ts +4 -0
- package/dist/src/compiled/@workflow/core/symbols.d.ts +42 -0
- package/dist/src/compiled/@workflow/core/telemetry/semantic-conventions.d.ts +283 -0
- package/dist/src/compiled/@workflow/core/telemetry.d.ts +53 -0
- package/dist/src/compiled/@workflow/core/types.d.ts +20 -0
- package/dist/src/compiled/@workflow/core/util.d.ts +40 -0
- package/dist/src/compiled/@workflow/core/version.d.ts +2 -0
- package/dist/src/compiled/@workflow/core/vm/index.d.ts +17 -0
- package/dist/src/compiled/@workflow/core/vm/uint8array-base64.d.ts +21 -0
- package/dist/src/compiled/@workflow/core/vm/uuid.d.ts +10 -0
- package/dist/src/compiled/@workflow/core/workflow/abort-controller.d.ts +65 -0
- package/dist/src/compiled/@workflow/core/workflow/create-hook.d.ts +7 -0
- package/dist/src/compiled/@workflow/core/workflow/define-hook.d.ts +10 -0
- package/dist/src/compiled/@workflow/core/workflow/get-workflow-metadata.d.ts +32 -0
- package/dist/src/compiled/@workflow/core/workflow/hook.d.ts +4 -0
- package/dist/src/compiled/@workflow/core/workflow/index.d.ts +12 -0
- package/dist/src/compiled/@workflow/core/workflow/set-attributes.d.ts +74 -0
- package/dist/src/compiled/@workflow/core/workflow/sleep.d.ts +4 -0
- package/dist/src/compiled/@workflow/core/workflow/world-init-stub.d.ts +15 -0
- package/dist/src/compiled/@workflow/core/workflow/writable-stream.d.ts +3 -0
- package/dist/src/compiled/@workflow/core/workflow.d.ts +1 -0
- package/dist/src/compiled/@workflow/core/workflow.js +1 -0
- package/dist/src/compiled/@workflow/errors/LICENSE.md +201 -0
- package/dist/src/compiled/@workflow/errors/_ms.d.ts +4 -0
- package/dist/src/compiled/@workflow/errors/error-codes.d.ts +23 -0
- package/dist/src/compiled/@workflow/errors/index.d.ts +536 -0
- package/dist/src/compiled/@workflow/errors/index.js +1 -0
- package/dist/src/compiled/@workflow/world/LICENSE.md +201 -0
- package/dist/src/compiled/@workflow/world/attributes.d.ts +110 -0
- package/dist/src/compiled/@workflow/world/events.d.ts +415 -0
- package/dist/src/compiled/@workflow/world/hooks.d.ts +72 -0
- package/dist/src/compiled/@workflow/world/index.d.ts +25 -0
- package/dist/src/compiled/@workflow/world/index.js +1 -0
- package/dist/src/compiled/@workflow/world/interfaces.d.ts +264 -0
- package/dist/src/compiled/@workflow/world/queue.d.ts +128 -0
- package/dist/src/compiled/@workflow/world/recovery.d.ts +13 -0
- package/dist/src/compiled/@workflow/world/runs.d.ts +144 -0
- package/dist/src/compiled/@workflow/world/serialization.d.ts +25 -0
- package/dist/src/compiled/@workflow/world/shared.d.ts +83 -0
- package/dist/src/compiled/@workflow/world/spec-version.d.ts +46 -0
- package/dist/src/compiled/@workflow/world/steps.d.ts +70 -0
- package/dist/src/compiled/@workflow/world/ulid.d.ts +35 -0
- package/dist/src/compiled/@workflow/world/waits.d.ts +21 -0
- package/dist/src/compiled/_chunks/node/auth-BsyzphzW.js +2 -0
- package/dist/src/compiled/_chunks/node/dist-BQYUcBqu.js +90 -0
- package/dist/src/compiled/_chunks/node/dist-BdTs18CF.js +1 -0
- package/dist/src/compiled/_chunks/node/retry-DkR2H1Y0.js +1 -0
- package/dist/src/compiled/_chunks/node/token-ORseRyWn.js +1 -0
- package/dist/src/compiled/_chunks/node/version-BGue04qw.js +1 -0
- package/dist/src/compiled/_chunks/workflow/chunk-DSjMdhoD.js +1 -0
- package/dist/src/compiled/_chunks/workflow/coerce-BTuSKQr5.js +1 -0
- package/dist/src/compiled/_chunks/workflow/compat-CG1hDp-3.js +1 -0
- package/dist/src/compiled/_chunks/workflow/core-5Woff_dW.js +65 -0
- package/dist/src/compiled/_chunks/workflow/dist-6a3viBXZ.js +3 -0
- package/dist/src/compiled/_chunks/workflow/dist-D0jyrm7a.js +1 -0
- package/dist/src/compiled/_chunks/workflow/dist-gEXVSMPU.js +14 -0
- package/dist/src/compiled/_chunks/workflow/resume-hook-0Zk0zSvq.js +12 -0
- package/dist/src/compiled/_chunks/workflow/schemas-DWOIBELG.js +1 -0
- package/dist/src/compiled/_chunks/workflow/sleep-DXZr2BgM.js +1 -0
- package/dist/src/compiled/_chunks/workflow/src-B54rYDvB.js +1 -0
- package/dist/src/compiled/_chunks/workflow/symbols-BWCAoPHE.js +48 -0
- package/dist/src/compiled/_chunks/workflow/token-CcaAeZHd.js +1 -0
- package/dist/src/compiled/_chunks/workflow/token-nK4u-N7w.js +1 -0
- package/dist/src/compiled/chat/LICENSE +9 -0
- package/dist/src/compiled/chat/_mdast.d.ts +24 -0
- package/dist/src/compiled/chat/index.d.ts +714 -0
- package/dist/src/compiled/chat/index.js +1 -0
- package/dist/src/compiled/chat/jsx-runtime-CFq1K_Ve.d.ts +782 -0
- package/dist/src/compiled/chokidar/LICENSE +21 -0
- package/dist/src/compiled/chokidar/index.d.ts +33 -0
- package/dist/src/compiled/chokidar/index.js +1 -0
- package/dist/src/compiled/commander/LICENSE +22 -0
- package/dist/src/compiled/commander/index.d.ts +1113 -0
- package/dist/src/compiled/commander/index.js +19 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/LICENSE +21 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/approval-continuation.d.ts +71 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/approval.d.ts +32 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/code-mode-tool.d.ts +16 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/continuation-capability.d.ts +33 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/errors.d.ts +114 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/fetch-policy.d.ts +21 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/host-interrupt.d.ts +25 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/index.d.ts +11 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/index.js +419 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/interrupt-continuation.d.ts +32 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/options.d.ts +3 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/run-code-mode.d.ts +12 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/runtime/guest-sources.d.ts +3 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/runtime/manager.d.ts +22 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/runtime/max-workers.d.ts +20 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/runtime/protocol.d.ts +49 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/runtime/worker-source.d.ts +11 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/serialization.d.ts +5 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/source-cache.d.ts +11 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/telemetry.d.ts +20 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/tool-invocation.d.ts +24 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/tool-prompt.d.ts +3 -0
- package/dist/src/compiled/experimental-ai-sdk-code-mode/types.d.ts +802 -0
- package/dist/src/compiled/gray-matter/LICENSE +21 -0
- package/dist/src/compiled/gray-matter/index.d.ts +62 -0
- package/dist/src/compiled/gray-matter/index.js +48 -0
- package/dist/src/compiled/jose/LICENSE.md +21 -0
- package/dist/src/compiled/jose/index.d.ts +40 -0
- package/dist/src/compiled/jose/index.js +2 -0
- package/dist/src/compiled/jsonc-parser/LICENSE.md +21 -0
- package/dist/src/compiled/jsonc-parser/index.d.ts +13 -0
- package/dist/src/compiled/jsonc-parser/index.js +15 -0
- package/dist/src/compiled/just-bash/LICENSE +201 -0
- package/dist/src/compiled/just-bash/index.d.ts +116 -0
- package/dist/src/compiled/just-bash/index.js +2200 -0
- package/dist/src/compiled/just-bash/network/types.d.ts +155 -0
- package/dist/src/compiled/picocolors/LICENSE +15 -0
- package/dist/src/compiled/picocolors/index.d.ts +55 -0
- package/dist/src/compiled/picocolors/index.js +1 -0
- package/dist/src/compiled/turndown/LICENSE +21 -0
- package/dist/src/compiled/turndown/index.d.ts +13 -0
- package/dist/src/compiled/turndown/index.js +69 -0
- package/dist/src/compiled/zod/LICENSE +21 -0
- package/dist/src/compiled/zod/index.d.ts +5 -0
- package/dist/src/compiled/zod/index.js +1 -0
- package/dist/src/compiled/zod-validation-error/LICENSE +9 -0
- package/dist/src/compiled/zod-validation-error/index.d.ts +12 -0
- package/dist/src/compiled/zod-validation-error/index.js +1 -0
- package/dist/src/compiler/artifacts.d.ts +109 -0
- package/dist/src/compiler/artifacts.js +1 -0
- package/dist/src/compiler/channel-instrumentation-types.d.ts +8 -0
- package/dist/src/compiler/channel-instrumentation-types.js +2 -0
- package/dist/src/compiler/compile-agent.d.ts +41 -0
- package/dist/src/compiler/compile-agent.js +3 -0
- package/dist/src/compiler/compile-from-memory.d.ts +76 -0
- package/dist/src/compiler/compile-from-memory.js +1 -0
- package/dist/src/compiler/manifest.d.ts +504 -0
- package/dist/src/compiler/manifest.js +1 -0
- package/dist/src/compiler/model-catalog.d.ts +60 -0
- package/dist/src/compiler/model-catalog.js +1 -0
- package/dist/src/compiler/module-map.d.ts +48 -0
- package/dist/src/compiler/module-map.js +5 -0
- package/dist/src/compiler/normalize-agent-config.d.ts +18 -0
- package/dist/src/compiler/normalize-agent-config.js +1 -0
- package/dist/src/compiler/normalize-channel.d.ts +16 -0
- package/dist/src/compiler/normalize-channel.js +1 -0
- package/dist/src/compiler/normalize-connection.d.ts +21 -0
- package/dist/src/compiler/normalize-connection.js +1 -0
- package/dist/src/compiler/normalize-helpers.d.ts +28 -0
- package/dist/src/compiler/normalize-helpers.js +1 -0
- package/dist/src/compiler/normalize-hook.d.ts +12 -0
- package/dist/src/compiler/normalize-hook.js +1 -0
- package/dist/src/compiler/normalize-instructions.d.ts +35 -0
- package/dist/src/compiler/normalize-instructions.js +1 -0
- package/dist/src/compiler/normalize-manifest.d.ts +6 -0
- package/dist/src/compiler/normalize-manifest.js +3 -0
- package/dist/src/compiler/normalize-sandbox.d.ts +7 -0
- package/dist/src/compiler/normalize-sandbox.js +1 -0
- package/dist/src/compiler/normalize-schedule.d.ts +14 -0
- package/dist/src/compiler/normalize-schedule.js +1 -0
- package/dist/src/compiler/normalize-skill.d.ts +21 -0
- package/dist/src/compiler/normalize-skill.js +1 -0
- package/dist/src/compiler/normalize-subagent.d.ts +29 -0
- package/dist/src/compiler/normalize-subagent.js +1 -0
- package/dist/src/compiler/normalize-tool.d.ts +34 -0
- package/dist/src/compiler/normalize-tool.js +1 -0
- package/dist/src/compiler/remote-agent-node.d.ts +22 -0
- package/dist/src/compiler/remote-agent-node.js +1 -0
- package/dist/src/compiler/workspace-resources.d.ts +14 -0
- package/dist/src/compiler/workspace-resources.js +1 -0
- package/dist/src/context/accessors.d.ts +40 -0
- package/dist/src/context/accessors.js +1 -0
- package/dist/src/context/build-callback-context.d.ts +8 -0
- package/dist/src/context/build-callback-context.js +1 -0
- package/dist/src/context/build-dynamic-tools.d.ts +13 -0
- package/dist/src/context/build-dynamic-tools.js +1 -0
- package/dist/src/context/container.d.ts +60 -0
- package/dist/src/context/container.js +1 -0
- package/dist/src/context/dynamic-instruction-lifecycle.d.ts +26 -0
- package/dist/src/context/dynamic-instruction-lifecycle.js +1 -0
- package/dist/src/context/dynamic-resolve-context.d.ts +12 -0
- package/dist/src/context/dynamic-resolve-context.js +1 -0
- package/dist/src/context/dynamic-skill-lifecycle.d.ts +24 -0
- package/dist/src/context/dynamic-skill-lifecycle.js +1 -0
- package/dist/src/context/dynamic-tool-lifecycle.d.ts +25 -0
- package/dist/src/context/dynamic-tool-lifecycle.js +1 -0
- package/dist/src/context/hook-lifecycle.d.ts +14 -0
- package/dist/src/context/hook-lifecycle.js +1 -0
- package/dist/src/context/key.d.ts +47 -0
- package/dist/src/context/key.js +1 -0
- package/dist/src/context/keys.d.ts +105 -0
- package/dist/src/context/keys.js +1 -0
- package/dist/src/context/node.d.ts +7 -0
- package/dist/src/context/node.js +1 -0
- package/dist/src/context/provider.d.ts +27 -0
- package/dist/src/context/provider.js +1 -0
- package/dist/src/context/providers/connection.d.ts +12 -0
- package/dist/src/context/providers/connection.js +1 -0
- package/dist/src/context/providers/sandbox.d.ts +3 -0
- package/dist/src/context/providers/sandbox.js +1 -0
- package/dist/src/context/providers/session.d.ts +3 -0
- package/dist/src/context/providers/session.js +1 -0
- package/dist/src/context/run-step.d.ts +23 -0
- package/dist/src/context/run-step.js +1 -0
- package/dist/src/context/serialize.d.ts +15 -0
- package/dist/src/context/serialize.js +1 -0
- package/dist/src/discover/connections.d.ts +34 -0
- package/dist/src/discover/connections.js +1 -0
- package/dist/src/discover/diagnostics.d.ts +53 -0
- package/dist/src/discover/diagnostics.js +1 -0
- package/dist/src/discover/discover-agent.d.ts +30 -0
- package/dist/src/discover/discover-agent.js +1 -0
- package/dist/src/discover/discover-subagent.d.ts +36 -0
- package/dist/src/discover/discover-subagent.js +1 -0
- package/dist/src/discover/filesystem.d.ts +71 -0
- package/dist/src/discover/filesystem.js +1 -0
- package/dist/src/discover/grammar.d.ts +202 -0
- package/dist/src/discover/grammar.js +1 -0
- package/dist/src/discover/lib.d.ts +34 -0
- package/dist/src/discover/lib.js +1 -0
- package/dist/src/discover/manifest.d.ts +250 -0
- package/dist/src/discover/manifest.js +1 -0
- package/dist/src/discover/markdown.d.ts +19 -0
- package/dist/src/discover/markdown.js +1 -0
- package/dist/src/discover/named-source-directory.d.ts +97 -0
- package/dist/src/discover/named-source-directory.js +1 -0
- package/dist/src/discover/project-source.d.ts +107 -0
- package/dist/src/discover/project-source.js +1 -0
- package/dist/src/discover/project.d.ts +33 -0
- package/dist/src/discover/project.js +1 -0
- package/dist/src/discover/sandbox.d.ts +37 -0
- package/dist/src/discover/sandbox.js +1 -0
- package/dist/src/discover/schedules.d.ts +38 -0
- package/dist/src/discover/schedules.js +1 -0
- package/dist/src/discover/skills.d.ts +38 -0
- package/dist/src/discover/skills.js +1 -0
- package/dist/src/discover/slots.d.ts +30 -0
- package/dist/src/discover/slots.js +1 -0
- package/dist/src/evals/cli/eval.d.ts +18 -0
- package/dist/src/evals/cli/eval.js +1 -0
- package/dist/src/evals/define-eval-suite.d.ts +16 -0
- package/dist/src/evals/define-eval-suite.js +1 -0
- package/dist/src/evals/index.d.ts +3 -0
- package/dist/src/evals/index.js +1 -0
- package/dist/src/evals/loaders/index.d.ts +2 -0
- package/dist/src/evals/loaders/index.js +1 -0
- package/dist/src/evals/loaders/json.d.ts +12 -0
- package/dist/src/evals/loaders/json.js +1 -0
- package/dist/src/evals/loaders/yaml.d.ts +16 -0
- package/dist/src/evals/loaders/yaml.js +1 -0
- package/dist/src/evals/reporters/index.d.ts +2 -0
- package/dist/src/evals/reporters/index.js +1 -0
- package/dist/src/evals/runner/artifacts.d.ts +11 -0
- package/dist/src/evals/runner/artifacts.js +3 -0
- package/dist/src/evals/runner/derive-run-facts.d.ts +9 -0
- package/dist/src/evals/runner/derive-run-facts.js +1 -0
- package/dist/src/evals/runner/discover.d.ts +20 -0
- package/dist/src/evals/runner/discover.js +1 -0
- package/dist/src/evals/runner/execute-case.d.ts +23 -0
- package/dist/src/evals/runner/execute-case.js +1 -0
- package/dist/src/evals/runner/execute-suite.d.ts +24 -0
- package/dist/src/evals/runner/execute-suite.js +1 -0
- package/dist/src/evals/runner/reporters/braintrust.d.ts +27 -0
- package/dist/src/evals/runner/reporters/braintrust.js +2 -0
- package/dist/src/evals/runner/reporters/console.d.ts +15 -0
- package/dist/src/evals/runner/reporters/console.js +1 -0
- package/dist/src/evals/runner/reporters/types.d.ts +20 -0
- package/dist/src/evals/runner/reporters/types.js +1 -0
- package/dist/src/evals/runner/resolve-git-metadata.d.ts +16 -0
- package/dist/src/evals/runner/resolve-git-metadata.js +1 -0
- package/dist/src/evals/scorers/autoevals-client.d.ts +14 -0
- package/dist/src/evals/scorers/autoevals-client.js +2 -0
- package/dist/src/evals/scorers/autoevals.d.ts +58 -0
- package/dist/src/evals/scorers/autoevals.js +1 -0
- package/dist/src/evals/scorers/json.d.ts +10 -0
- package/dist/src/evals/scorers/json.js +1 -0
- package/dist/src/evals/scorers/run.d.ts +18 -0
- package/dist/src/evals/scorers/run.js +1 -0
- package/dist/src/evals/scorers/sql.d.ts +9 -0
- package/dist/src/evals/scorers/sql.js +1 -0
- package/dist/src/evals/scorers/text.d.ts +18 -0
- package/dist/src/evals/scorers/text.js +1 -0
- package/dist/src/evals/scores/index.d.ts +72 -0
- package/dist/src/evals/scores/index.js +1 -0
- package/dist/src/evals/types.d.ts +272 -0
- package/dist/src/evals/types.js +1 -0
- package/dist/src/execution/channel-context.d.ts +5 -0
- package/dist/src/execution/channel-context.js +1 -0
- package/dist/src/execution/connection-auth-tool-result.d.ts +2 -0
- package/dist/src/execution/connection-auth-tool-result.js +1 -0
- package/dist/src/execution/create-session-step.d.ts +43 -0
- package/dist/src/execution/create-session-step.js +1 -0
- package/dist/src/execution/delegated-parent-notification.d.ts +15 -0
- package/dist/src/execution/delegated-parent-notification.js +1 -0
- package/dist/src/execution/delegated-parent-result.d.ts +14 -0
- package/dist/src/execution/delegated-parent-result.js +1 -0
- package/dist/src/execution/dispatch-code-mode-runtime-actions-step.d.ts +21 -0
- package/dist/src/execution/dispatch-code-mode-runtime-actions-step.js +1 -0
- package/dist/src/execution/dispatch-runtime-actions-step.d.ts +19 -0
- package/dist/src/execution/dispatch-runtime-actions-step.js +1 -0
- package/dist/src/execution/durable-session-migrations/chain.d.ts +38 -0
- package/dist/src/execution/durable-session-migrations/chain.js +1 -0
- package/dist/src/execution/durable-session-migrations/snapshot.d.ts +22 -0
- package/dist/src/execution/durable-session-migrations/snapshot.js +1 -0
- package/dist/src/execution/durable-session-migrations/turn-workflow-v0-to-v1.d.ts +12 -0
- package/dist/src/execution/durable-session-migrations/turn-workflow-v0-to-v1.js +1 -0
- package/dist/src/execution/durable-session-migrations/turn-workflow.d.ts +40 -0
- package/dist/src/execution/durable-session-migrations/turn-workflow.js +1 -0
- package/dist/src/execution/durable-session-store.d.ts +113 -0
- package/dist/src/execution/durable-session-store.js +1 -0
- package/dist/src/execution/eve-workflow-attributes.d.ts +136 -0
- package/dist/src/execution/eve-workflow-attributes.js +1 -0
- package/dist/src/execution/next-driver-action.d.ts +37 -0
- package/dist/src/execution/next-driver-action.js +1 -0
- package/dist/src/execution/node-step.d.ts +52 -0
- package/dist/src/execution/node-step.js +1 -0
- package/dist/src/execution/remote-agent-dispatch.d.ts +15 -0
- package/dist/src/execution/remote-agent-dispatch.js +1 -0
- package/dist/src/execution/runtime-context.d.ts +10 -0
- package/dist/src/execution/runtime-context.js +1 -0
- package/dist/src/execution/runtime-errors.d.ts +13 -0
- package/dist/src/execution/runtime-errors.js +1 -0
- package/dist/src/execution/sandbox/bash-tool.d.ts +30 -0
- package/dist/src/execution/sandbox/bash-tool.js +1 -0
- package/dist/src/execution/sandbox/bindings/local.d.ts +22 -0
- package/dist/src/execution/sandbox/bindings/local.js +1 -0
- package/dist/src/execution/sandbox/bindings/vercel.d.ts +28 -0
- package/dist/src/execution/sandbox/bindings/vercel.js +1 -0
- package/dist/src/execution/sandbox/ensure.d.ts +27 -0
- package/dist/src/execution/sandbox/ensure.js +1 -0
- package/dist/src/execution/sandbox/glob-tool.d.ts +22 -0
- package/dist/src/execution/sandbox/glob-tool.js +3 -0
- package/dist/src/execution/sandbox/grep-tool.d.ts +26 -0
- package/dist/src/execution/sandbox/grep-tool.js +3 -0
- package/dist/src/execution/sandbox/lazy-backend.d.ts +15 -0
- package/dist/src/execution/sandbox/lazy-backend.js +1 -0
- package/dist/src/execution/sandbox/prewarm.d.ts +57 -0
- package/dist/src/execution/sandbox/prewarm.js +1 -0
- package/dist/src/execution/sandbox/read-file-tool.d.ts +28 -0
- package/dist/src/execution/sandbox/read-file-tool.js +3 -0
- package/dist/src/execution/sandbox/require-sandbox.d.ts +15 -0
- package/dist/src/execution/sandbox/require-sandbox.js +1 -0
- package/dist/src/execution/sandbox/ripgrep-probe.d.ts +9 -0
- package/dist/src/execution/sandbox/ripgrep-probe.js +1 -0
- package/dist/src/execution/sandbox/session.d.ts +17 -0
- package/dist/src/execution/sandbox/session.js +3 -0
- package/dist/src/execution/sandbox/shell-quote.d.ts +12 -0
- package/dist/src/execution/sandbox/shell-quote.js +1 -0
- package/dist/src/execution/sandbox/stream-utils.d.ts +9 -0
- package/dist/src/execution/sandbox/stream-utils.js +1 -0
- package/dist/src/execution/sandbox/truncate-output.d.ts +72 -0
- package/dist/src/execution/sandbox/truncate-output.js +3 -0
- package/dist/src/execution/sandbox/write-file-tool.d.ts +23 -0
- package/dist/src/execution/sandbox/write-file-tool.js +1 -0
- package/dist/src/execution/session-callback-step.d.ts +16 -0
- package/dist/src/execution/session-callback-step.js +1 -0
- package/dist/src/execution/session.d.ts +81 -0
- package/dist/src/execution/session.js +5 -0
- package/dist/src/execution/skills/instructions.d.ts +19 -0
- package/dist/src/execution/skills/instructions.js +2 -0
- package/dist/src/execution/skills/types.d.ts +22 -0
- package/dist/src/execution/skills/types.js +1 -0
- package/dist/src/execution/subagent-adapter.d.ts +43 -0
- package/dist/src/execution/subagent-adapter.js +1 -0
- package/dist/src/execution/subagent-hitl-proxy.d.ts +37 -0
- package/dist/src/execution/subagent-hitl-proxy.js +1 -0
- package/dist/src/execution/subagent-invocation.d.ts +16 -0
- package/dist/src/execution/subagent-invocation.js +2 -0
- package/dist/src/execution/subagent-tool.d.ts +39 -0
- package/dist/src/execution/subagent-tool.js +1 -0
- package/dist/src/execution/tool-auth.d.ts +42 -0
- package/dist/src/execution/tool-auth.js +1 -0
- package/dist/src/execution/tool-compaction.d.ts +9 -0
- package/dist/src/execution/tool-compaction.js +1 -0
- package/dist/src/execution/turn-workflow.d.ts +30 -0
- package/dist/src/execution/turn-workflow.js +1 -0
- package/dist/src/execution/web-fetch/html.d.ts +15 -0
- package/dist/src/execution/web-fetch/html.js +7 -0
- package/dist/src/execution/web-fetch/tool.d.ts +34 -0
- package/dist/src/execution/web-fetch/tool.js +1 -0
- package/dist/src/execution/workflow-callback-url.d.ts +12 -0
- package/dist/src/execution/workflow-callback-url.js +1 -0
- package/dist/src/execution/workflow-entry.d.ts +26 -0
- package/dist/src/execution/workflow-entry.js +1 -0
- package/dist/src/execution/workflow-errors.d.ts +14 -0
- package/dist/src/execution/workflow-errors.js +1 -0
- package/dist/src/execution/workflow-runtime.d.ts +48 -0
- package/dist/src/execution/workflow-runtime.js +3 -0
- package/dist/src/execution/workflow-steps.d.ts +103 -0
- package/dist/src/execution/workflow-steps.js +1 -0
- package/dist/src/harness/action-result-helpers.d.ts +40 -0
- package/dist/src/harness/action-result-helpers.js +1 -0
- package/dist/src/harness/attachment-staging.d.ts +30 -0
- package/dist/src/harness/attachment-staging.js +1 -0
- package/dist/src/harness/authorization.d.ts +116 -0
- package/dist/src/harness/authorization.js +1 -0
- package/dist/src/harness/code-mode-interrupt-state.d.ts +26 -0
- package/dist/src/harness/code-mode-interrupt-state.js +1 -0
- package/dist/src/harness/code-mode-lifecycle.d.ts +16 -0
- package/dist/src/harness/code-mode-lifecycle.js +1 -0
- package/dist/src/harness/code-mode-runtime-action-state.d.ts +6 -0
- package/dist/src/harness/code-mode-runtime-action-state.js +1 -0
- package/dist/src/harness/code-mode.d.ts +26 -0
- package/dist/src/harness/code-mode.js +1 -0
- package/dist/src/harness/compaction.d.ts +43 -0
- package/dist/src/harness/compaction.js +4 -0
- package/dist/src/harness/emission.d.ts +124 -0
- package/dist/src/harness/emission.js +1 -0
- package/dist/src/harness/execute-tool.d.ts +28 -0
- package/dist/src/harness/execute-tool.js +1 -0
- package/dist/src/harness/input-extraction.d.ts +17 -0
- package/dist/src/harness/input-extraction.js +1 -0
- package/dist/src/harness/input-requests.d.ts +75 -0
- package/dist/src/harness/input-requests.js +1 -0
- package/dist/src/harness/instrumentation-config.d.ts +18 -0
- package/dist/src/harness/instrumentation-config.js +1 -0
- package/dist/src/harness/instrumentation-runtime-context.d.ts +23 -0
- package/dist/src/harness/instrumentation-runtime-context.js +1 -0
- package/dist/src/harness/messages.d.ts +41 -0
- package/dist/src/harness/messages.js +1 -0
- package/dist/src/harness/model-call-error.d.ts +53 -0
- package/dist/src/harness/model-call-error.js +1 -0
- package/dist/src/harness/otel-integration.d.ts +9 -0
- package/dist/src/harness/otel-integration.js +1 -0
- package/dist/src/harness/prompt-cache.d.ts +83 -0
- package/dist/src/harness/prompt-cache.js +1 -0
- package/dist/src/harness/provider-tools.d.ts +62 -0
- package/dist/src/harness/provider-tools.js +1 -0
- package/dist/src/harness/proxy-input-requests.d.ts +32 -0
- package/dist/src/harness/proxy-input-requests.js +1 -0
- package/dist/src/harness/runtime-actions.d.ts +106 -0
- package/dist/src/harness/runtime-actions.js +1 -0
- package/dist/src/harness/sandbox-surface.d.ts +68 -0
- package/dist/src/harness/sandbox-surface.js +1 -0
- package/dist/src/harness/step-hooks.d.ts +109 -0
- package/dist/src/harness/step-hooks.js +1 -0
- package/dist/src/harness/tool-interrupts.d.ts +22 -0
- package/dist/src/harness/tool-interrupts.js +1 -0
- package/dist/src/harness/tool-loop.d.ts +2 -0
- package/dist/src/harness/tool-loop.js +1 -0
- package/dist/src/harness/tool-result-pruning.d.ts +8 -0
- package/dist/src/harness/tool-result-pruning.js +1 -0
- package/dist/src/harness/tools.d.ts +69 -0
- package/dist/src/harness/tools.js +1 -0
- package/dist/src/harness/turn-tag-state.d.ts +50 -0
- package/dist/src/harness/turn-tag-state.js +1 -0
- package/dist/src/harness/types.d.ts +229 -0
- package/dist/src/harness/types.js +1 -0
- package/dist/src/harness/workflow-stream-error.d.ts +29 -0
- package/dist/src/harness/workflow-stream-error.js +1 -0
- package/dist/src/harness/workflow-tool-description.d.ts +17 -0
- package/dist/src/harness/workflow-tool-description.js +23 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/internal/application/cache-metadata.d.ts +9 -0
- package/dist/src/internal/application/cache-metadata.js +1 -0
- package/dist/src/internal/application/compiled-artifacts.d.ts +33 -0
- package/dist/src/internal/application/compiled-artifacts.js +4 -0
- package/dist/src/internal/application/import-specifier.d.ts +17 -0
- package/dist/src/internal/application/import-specifier.js +1 -0
- package/dist/src/internal/application/package.d.ts +34 -0
- package/dist/src/internal/application/package.js +1 -0
- package/dist/src/internal/application/paths.d.ts +47 -0
- package/dist/src/internal/application/paths.js +1 -0
- package/dist/src/internal/application/runtime-compiled-artifacts-source.d.ts +6 -0
- package/dist/src/internal/application/runtime-compiled-artifacts-source.js +1 -0
- package/dist/src/internal/attachments/data.d.ts +18 -0
- package/dist/src/internal/attachments/data.js +1 -0
- package/dist/src/internal/attachments/errors.d.ts +38 -0
- package/dist/src/internal/attachments/errors.js +1 -0
- package/dist/src/internal/attachments/refs.d.ts +55 -0
- package/dist/src/internal/attachments/refs.js +1 -0
- package/dist/src/internal/attachments/sandbox-refs.d.ts +46 -0
- package/dist/src/internal/attachments/sandbox-refs.js +1 -0
- package/dist/src/internal/attachments/url-refs.d.ts +17 -0
- package/dist/src/internal/attachments/url-refs.js +1 -0
- package/dist/src/internal/authored-asset-import-plugin.d.ts +5 -0
- package/dist/src/internal/authored-asset-import-plugin.js +1 -0
- package/dist/src/internal/authored-definition/channel.d.ts +16 -0
- package/dist/src/internal/authored-definition/channel.js +1 -0
- package/dist/src/internal/authored-definition/connection.d.ts +18 -0
- package/dist/src/internal/authored-definition/connection.js +1 -0
- package/dist/src/internal/authored-definition/core.d.ts +46 -0
- package/dist/src/internal/authored-definition/core.js +1 -0
- package/dist/src/internal/authored-definition/sandbox.d.ts +17 -0
- package/dist/src/internal/authored-definition/sandbox.js +1 -0
- package/dist/src/internal/authored-definition/schema-backed.d.ts +36 -0
- package/dist/src/internal/authored-definition/schema-backed.js +1 -0
- package/dist/src/internal/authored-module-bundle.d.ts +4 -0
- package/dist/src/internal/authored-module-bundle.js +2 -0
- package/dist/src/internal/authored-module-loader.d.ts +6 -0
- package/dist/src/internal/authored-module-loader.js +2 -0
- package/dist/src/internal/authored-module-map-loader.d.ts +10 -0
- package/dist/src/internal/authored-module-map-loader.js +1 -0
- package/dist/src/internal/authored-module.d.ts +42 -0
- package/dist/src/internal/authored-module.js +1 -0
- package/dist/src/internal/authored-package-tsconfig-paths.d.ts +9 -0
- package/dist/src/internal/authored-package-tsconfig-paths.js +1 -0
- package/dist/src/internal/bundler/nitro-rolldown.d.ts +26 -0
- package/dist/src/internal/bundler/nitro-rolldown.js +1 -0
- package/dist/src/internal/helpers/markdown.d.ts +45 -0
- package/dist/src/internal/helpers/markdown.js +3 -0
- package/dist/src/internal/instrumentation.d.ts +40 -0
- package/dist/src/internal/instrumentation.js +1 -0
- package/dist/src/internal/json-schema.d.ts +1 -0
- package/dist/src/internal/json-schema.js +1 -0
- package/dist/src/internal/logging.d.ts +100 -0
- package/dist/src/internal/logging.js +1 -0
- package/dist/src/internal/nitro/dev-runtime-artifacts.d.ts +32 -0
- package/dist/src/internal/nitro/dev-runtime-artifacts.js +1 -0
- package/dist/src/internal/nitro/host/artifacts-config.d.ts +16 -0
- package/dist/src/internal/nitro/host/artifacts-config.js +1 -0
- package/dist/src/internal/nitro/host/build-application.d.ts +4 -0
- package/dist/src/internal/nitro/host/build-application.js +1 -0
- package/dist/src/internal/nitro/host/build-vercel-agent-summary.d.ts +40 -0
- package/dist/src/internal/nitro/host/build-vercel-agent-summary.js +1 -0
- package/dist/src/internal/nitro/host/channel-routes.d.ts +38 -0
- package/dist/src/internal/nitro/host/channel-routes.js +3 -0
- package/dist/src/internal/nitro/host/code-mode-runtime-dependency-plugin.d.ts +1 -0
- package/dist/src/internal/nitro/host/code-mode-runtime-dependency-plugin.js +1 -0
- package/dist/src/internal/nitro/host/compiled-sandbox-backend-prune-plugin.d.ts +13 -0
- package/dist/src/internal/nitro/host/compiled-sandbox-backend-prune-plugin.js +2 -0
- package/dist/src/internal/nitro/host/configure-nitro-routes.d.ts +9 -0
- package/dist/src/internal/nitro/host/configure-nitro-routes.js +4 -0
- package/dist/src/internal/nitro/host/create-application-nitro.d.ts +14 -0
- package/dist/src/internal/nitro/host/create-application-nitro.js +1 -0
- package/dist/src/internal/nitro/host/cron-handler-route.d.ts +41 -0
- package/dist/src/internal/nitro/host/cron-handler-route.js +1 -0
- package/dist/src/internal/nitro/host/dev-authored-source-watcher.d.ts +29 -0
- package/dist/src/internal/nitro/host/dev-authored-source-watcher.js +1 -0
- package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.d.ts +41 -0
- package/dist/src/internal/nitro/host/dispatch-schedule-in-dev.js +1 -0
- package/dist/src/internal/nitro/host/nitro-bundler-config.d.ts +5 -0
- package/dist/src/internal/nitro/host/nitro-bundler-config.js +1 -0
- package/dist/src/internal/nitro/host/nitro-routing-import-specifier-plugin.d.ts +6 -0
- package/dist/src/internal/nitro/host/nitro-routing-import-specifier-plugin.js +1 -0
- package/dist/src/internal/nitro/host/prepare-application-host.d.ts +8 -0
- package/dist/src/internal/nitro/host/prepare-application-host.js +1 -0
- package/dist/src/internal/nitro/host/schedule-task-routes.d.ts +60 -0
- package/dist/src/internal/nitro/host/schedule-task-routes.js +2 -0
- package/dist/src/internal/nitro/host/server-external-packages.d.ts +5 -0
- package/dist/src/internal/nitro/host/server-external-packages.js +1 -0
- package/dist/src/internal/nitro/host/start-development-server.d.ts +20 -0
- package/dist/src/internal/nitro/host/start-development-server.js +1 -0
- package/dist/src/internal/nitro/host/start-production-server.d.ts +8 -0
- package/dist/src/internal/nitro/host/start-production-server.js +3 -0
- package/dist/src/internal/nitro/host/types.d.ts +31 -0
- package/dist/src/internal/nitro/host/types.js +1 -0
- package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +8 -0
- package/dist/src/internal/nitro/host/vercel-build-output-config.js +1 -0
- package/dist/src/internal/nitro/host/vercel-build-prewarm.d.ts +19 -0
- package/dist/src/internal/nitro/host/vercel-build-prewarm.js +1 -0
- package/dist/src/internal/nitro/host.d.ts +4 -0
- package/dist/src/internal/nitro/host.js +1 -0
- package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +86 -0
- package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +6 -0
- package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.d.ts +26 -0
- package/dist/src/internal/nitro/routes/agent-info/load-agent-info-data.js +1 -0
- package/dist/src/internal/nitro/routes/channel-dispatch.d.ts +22 -0
- package/dist/src/internal/nitro/routes/channel-dispatch.js +1 -0
- package/dist/src/internal/nitro/routes/dev-runtime-artifacts.d.ts +10 -0
- package/dist/src/internal/nitro/routes/dev-runtime-artifacts.js +1 -0
- package/dist/src/internal/nitro/routes/dev-schedule-dispatch.d.ts +15 -0
- package/dist/src/internal/nitro/routes/dev-schedule-dispatch.js +1 -0
- package/dist/src/internal/nitro/routes/health.d.ts +14 -0
- package/dist/src/internal/nitro/routes/health.js +1 -0
- package/dist/src/internal/nitro/routes/index.d.ts +12 -0
- package/dist/src/internal/nitro/routes/index.js +151 -0
- package/dist/src/internal/nitro/routes/info.d.ts +16 -0
- package/dist/src/internal/nitro/routes/info.js +1 -0
- package/dist/src/internal/nitro/routes/runtime-artifacts.d.ts +17 -0
- package/dist/src/internal/nitro/routes/runtime-artifacts.js +1 -0
- package/dist/src/internal/nitro/routes/runtime-stack.d.ts +26 -0
- package/dist/src/internal/nitro/routes/runtime-stack.js +1 -0
- package/dist/src/internal/nitro/routes/schedule-task.d.ts +12 -0
- package/dist/src/internal/nitro/routes/schedule-task.js +1 -0
- package/dist/src/internal/node-esm-compat-banner.d.ts +46 -0
- package/dist/src/internal/node-esm-compat-banner.js +4 -0
- package/dist/src/internal/package-name.d.ts +8 -0
- package/dist/src/internal/package-name.js +1 -0
- package/dist/src/internal/process/pnpm.d.ts +28 -0
- package/dist/src/internal/process/pnpm.js +1 -0
- package/dist/src/internal/runtime-model.d.ts +13 -0
- package/dist/src/internal/runtime-model.js +1 -0
- package/dist/src/internal/runtime-registry.d.ts +77 -0
- package/dist/src/internal/runtime-registry.js +1 -0
- package/dist/src/internal/vercel-agent-summary.d.ts +210 -0
- package/dist/src/internal/vercel-agent-summary.js +1 -0
- package/dist/src/internal/workflow/builtins.d.ts +41 -0
- package/dist/src/internal/workflow/builtins.js +1 -0
- package/dist/src/internal/workflow/index.d.ts +6 -0
- package/dist/src/internal/workflow/index.js +1 -0
- package/dist/src/internal/workflow-bundle/builder-support.d.ts +71 -0
- package/dist/src/internal/workflow-bundle/builder-support.js +9 -0
- package/dist/src/internal/workflow-bundle/builder.d.ts +36 -0
- package/dist/src/internal/workflow-bundle/builder.js +5 -0
- package/dist/src/internal/workflow-bundle/dynamic-tool-transform.d.ts +39 -0
- package/dist/src/internal/workflow-bundle/dynamic-tool-transform.js +4 -0
- package/dist/src/internal/workflow-bundle/eve-service-route-output.d.ts +4 -0
- package/dist/src/internal/workflow-bundle/eve-service-route-output.js +54 -0
- package/dist/src/internal/workflow-bundle/nitro-step-entry.d.ts +17 -0
- package/dist/src/internal/workflow-bundle/nitro-step-entry.js +2 -0
- package/dist/src/internal/workflow-bundle/vercel-workflow-output.d.ts +66 -0
- package/dist/src/internal/workflow-bundle/vercel-workflow-output.js +3 -0
- package/dist/src/internal/workflow-bundle/workflow-builders.d.ts +44 -0
- package/dist/src/internal/workflow-bundle/workflow-builders.js +1 -0
- package/dist/src/internal/workflow-bundle/workflow-core-shim.d.ts +82 -0
- package/dist/src/internal/workflow-bundle/workflow-core-shim.js +1 -0
- package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +25 -0
- package/dist/src/internal/workflow-bundle/workflow-transformer.js +5 -0
- package/dist/src/node_modules/.pnpm/@clack_core@1.3.1/node_modules/@clack/core/dist/index.js +10 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js +2 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js +4 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +4 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js +1 -0
- package/dist/src/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +1 -0
- package/dist/src/node_modules/.pnpm/autoevals@0.0.132_ws@8.21.0/node_modules/autoevals/jsdist/index.js +384 -0
- package/dist/src/node_modules/.pnpm/compute-cosine-similarity@1.1.0/node_modules/compute-cosine-similarity/lib/index.js +1 -0
- package/dist/src/node_modules/.pnpm/compute-dot@1.1.0/node_modules/compute-dot/lib/index.js +1 -0
- package/dist/src/node_modules/.pnpm/compute-l2norm@1.1.0/node_modules/compute-l2norm/lib/index.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +1 -0
- package/dist/src/node_modules/.pnpm/fast-wrap-ansi@0.2.2/node_modules/fast-wrap-ansi/lib/main.js +5 -0
- package/dist/src/node_modules/.pnpm/js-levenshtein@1.1.6/node_modules/js-levenshtein/index.js +1 -0
- package/dist/src/node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.js +32 -0
- package/dist/src/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +1 -0
- package/dist/src/node_modules/.pnpm/mustache@4.2.0/node_modules/mustache/mustache.js +4 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/_vendor/partial-json-parser/parser.js +2 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/auth/workload-identity-auth.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/azure.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/client.js +11 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/api-promise.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/error.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/pagination.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/resource.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/streaming.js +3 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/core/uploads.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/error.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/index.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/decoders/line.js +3 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/detect-platform.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/errors.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/headers.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/parse.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/qs/formats.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/qs/stringify.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/qs/utils.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/request-options.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/shims.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/to-file.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/tslib.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/uploads.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/base64.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/bytes.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/env.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/log.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/path.js +2 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/query.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/sleep.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/uuid.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils/values.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/internal/utils.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/AbstractChatCompletionRunner.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/AssistantStream.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/ChatCompletionRunner.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/ChatCompletionStream.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/ChatCompletionStreamingRunner.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/EventStream.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/ResponsesParser.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/RunnableFunction.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/Util.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/chatCompletionUtils.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/parser.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/lib/responses/ResponseStream.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/admin.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/admin-api-keys.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/audit-logs.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/certificates.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/data-retention.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/groups/groups.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/groups/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/groups/users.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/invites.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/organization.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/api-keys.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/certificates.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/data-retention.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/groups/groups.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/groups/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/model-permissions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/projects.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/rate-limits.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/service-accounts.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/spend-alerts.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/users/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/projects/users/users.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/spend-alerts.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/usage.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/users/roles.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/admin/organization/users/users.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/audio/audio.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/audio/speech.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/audio/transcriptions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/audio/translations.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/batches.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/assistants.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/beta.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/chatkit/chatkit.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/chatkit/sessions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/chatkit/threads.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/realtime/realtime.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/realtime/sessions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/realtime/transcription-sessions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/threads/messages.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/threads/runs/runs.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/threads/runs/steps.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/beta/threads/threads.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/chat/chat.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/chat/completions/completions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/chat/completions/index.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/chat/completions/messages.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/chat/index.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/completions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/containers/containers.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/containers/files/content.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/containers/files/files.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/conversations/conversations.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/conversations/items.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/embeddings.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/evals/evals.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/evals/runs/output-items.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/evals/runs/runs.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/files.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/alpha/alpha.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/alpha/graders.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/fine-tuning.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/jobs/jobs.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/fine-tuning/methods.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/graders/grader-models.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/graders/graders.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/images.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/index.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/models.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/moderations.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/realtime/calls.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/realtime/client-secrets.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/realtime/realtime.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/responses/input-items.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/responses/input-tokens.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/responses/responses.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/shared.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/skills/content.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/skills/skills.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/skills/versions/content.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/skills/versions/versions.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/uploads/parts.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/uploads/uploads.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/vector-stores/file-batches.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/vector-stores/files.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/vector-stores/vector-stores.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/videos.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/webhooks/index.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/webhooks/webhooks.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/resources/webhooks.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/streaming.js +1 -0
- package/dist/src/node_modules/.pnpm/openai@6.39.1_ws@8.21.0_zod@3.25.76/node_modules/openai/version.js +1 -0
- package/dist/src/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js +1 -0
- package/dist/src/node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js +1 -0
- package/dist/src/node_modules/.pnpm/validate.io-array@1.0.6/node_modules/validate.io-array/lib/index.js +1 -0
- package/dist/src/node_modules/.pnpm/validate.io-function@1.0.2/node_modules/validate.io-function/lib/index.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Refs.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/index.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseDef.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +3 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/selectParser.js +1 -0
- package/dist/src/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js +1 -0
- package/dist/src/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js +1 -0
- package/dist/src/packages/eve-catalog/src/index.js +1 -0
- package/dist/src/packages/eve-scaffold/src/channels-catalog.js +1 -0
- package/dist/src/packages/eve-scaffold/src/channels.js +7 -0
- package/dist/src/packages/eve-scaffold/src/cli/channel-add-prompter.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/channel-setup-prompter.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/command-output.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/connection-add-prompter.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/index.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/prompt-ui.js +5 -0
- package/dist/src/packages/eve-scaffold/src/cli/rail-log.js +2 -0
- package/dist/src/packages/eve-scaffold/src/cli/select-component.js +1 -0
- package/dist/src/packages/eve-scaffold/src/cli/select-state.js +1 -0
- package/dist/src/packages/eve-scaffold/src/connections/catalog.js +1 -0
- package/dist/src/packages/eve-scaffold/src/connections.js +21 -0
- package/dist/src/packages/eve-scaffold/src/files.js +1 -0
- package/dist/src/packages/eve-scaffold/src/human-action.js +1 -0
- package/dist/src/packages/eve-scaffold/src/index.js +1 -0
- package/dist/src/packages/eve-scaffold/src/module-files.js +1 -0
- package/dist/src/packages/eve-scaffold/src/package-json.js +1 -0
- package/dist/src/packages/eve-scaffold/src/pnpm-workspace.js +11 -0
- package/dist/src/packages/eve-scaffold/src/primitives/detect-deployment.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/index.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/pnpm-invocation.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/process-output.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/run-pnpm.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/run-vercel.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/update-connection-connector.js +1 -0
- package/dist/src/packages/eve-scaffold/src/primitives/update-slack-channel.js +1 -0
- package/dist/src/packages/eve-scaffold/src/project.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/deploy-to-vercel.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/index.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/project-resolution.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/run-add-connection.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/run-add-to-agent.js +2 -0
- package/dist/src/packages/eve-scaffold/src/steps/setup-connection.js +1 -0
- package/dist/src/packages/eve-scaffold/src/steps/setup-slackbot.js +1 -0
- package/dist/src/packages/eve-scaffold/src/web-template.js +4691 -0
- package/dist/src/protocol/message.d.ts +732 -0
- package/dist/src/protocol/message.js +2 -0
- package/dist/src/protocol/routes.d.ts +108 -0
- package/dist/src/protocol/routes.js +1 -0
- package/dist/src/public/agents/auth.d.ts +46 -0
- package/dist/src/public/agents/auth.js +1 -0
- package/dist/src/public/channels/auth.d.ts +416 -0
- package/dist/src/public/channels/auth.js +1 -0
- package/dist/src/public/channels/discord/api.d.ts +106 -0
- package/dist/src/public/channels/discord/api.js +2 -0
- package/dist/src/public/channels/discord/defaults.d.ts +15 -0
- package/dist/src/public/channels/discord/defaults.js +3 -0
- package/dist/src/public/channels/discord/discordChannel.d.ts +134 -0
- package/dist/src/public/channels/discord/discordChannel.js +1 -0
- package/dist/src/public/channels/discord/hitl.d.ts +47 -0
- package/dist/src/public/channels/discord/hitl.js +1 -0
- package/dist/src/public/channels/discord/inbound.d.ts +106 -0
- package/dist/src/public/channels/discord/inbound.js +2 -0
- package/dist/src/public/channels/discord/index.d.ts +23 -0
- package/dist/src/public/channels/discord/index.js +1 -0
- package/dist/src/public/channels/discord/responses.d.ts +11 -0
- package/dist/src/public/channels/discord/responses.js +1 -0
- package/dist/src/public/channels/discord/verify.d.ts +46 -0
- package/dist/src/public/channels/discord/verify.js +1 -0
- package/dist/src/public/channels/discord/verifyInbound.d.ts +6 -0
- package/dist/src/public/channels/discord/verifyInbound.js +1 -0
- package/dist/src/public/channels/eve.d.ts +81 -0
- package/dist/src/public/channels/eve.js +2 -0
- package/dist/src/public/channels/github/api.d.ts +177 -0
- package/dist/src/public/channels/github/api.js +1 -0
- package/dist/src/public/channels/github/auth.d.ts +82 -0
- package/dist/src/public/channels/github/auth.js +2 -0
- package/dist/src/public/channels/github/binding.d.ts +59 -0
- package/dist/src/public/channels/github/binding.js +1 -0
- package/dist/src/public/channels/github/checkout.d.ts +48 -0
- package/dist/src/public/channels/github/checkout.js +1 -0
- package/dist/src/public/channels/github/constants.d.ts +2 -0
- package/dist/src/public/channels/github/constants.js +1 -0
- package/dist/src/public/channels/github/defaults.d.ts +26 -0
- package/dist/src/public/channels/github/defaults.js +3 -0
- package/dist/src/public/channels/github/dispatch.d.ts +34 -0
- package/dist/src/public/channels/github/dispatch.js +1 -0
- package/dist/src/public/channels/github/githubChannel.d.ts +126 -0
- package/dist/src/public/channels/github/githubChannel.js +1 -0
- package/dist/src/public/channels/github/inbound.d.ts +183 -0
- package/dist/src/public/channels/github/inbound.js +2 -0
- package/dist/src/public/channels/github/index.d.ts +9 -0
- package/dist/src/public/channels/github/index.js +1 -0
- package/dist/src/public/channels/github/limits.d.ts +4 -0
- package/dist/src/public/channels/github/limits.js +2 -0
- package/dist/src/public/channels/github/pr-context.d.ts +46 -0
- package/dist/src/public/channels/github/pr-context.js +5 -0
- package/dist/src/public/channels/github/state.d.ts +60 -0
- package/dist/src/public/channels/github/state.js +1 -0
- package/dist/src/public/channels/github/verify.d.ts +35 -0
- package/dist/src/public/channels/github/verify.js +1 -0
- package/dist/src/public/channels/index.d.ts +89 -0
- package/dist/src/public/channels/index.js +1 -0
- package/dist/src/public/channels/linear/api.d.ts +122 -0
- package/dist/src/public/channels/linear/api.js +69 -0
- package/dist/src/public/channels/linear/auth.d.ts +22 -0
- package/dist/src/public/channels/linear/auth.js +1 -0
- package/dist/src/public/channels/linear/constants.d.ts +2 -0
- package/dist/src/public/channels/linear/constants.js +1 -0
- package/dist/src/public/channels/linear/defaults.d.ts +16 -0
- package/dist/src/public/channels/linear/defaults.js +3 -0
- package/dist/src/public/channels/linear/hitl.d.ts +14 -0
- package/dist/src/public/channels/linear/hitl.js +4 -0
- package/dist/src/public/channels/linear/inbound.d.ts +88 -0
- package/dist/src/public/channels/linear/inbound.js +2 -0
- package/dist/src/public/channels/linear/index.d.ts +8 -0
- package/dist/src/public/channels/linear/index.js +1 -0
- package/dist/src/public/channels/linear/linearChannel.d.ts +138 -0
- package/dist/src/public/channels/linear/linearChannel.js +1 -0
- package/dist/src/public/channels/linear/verify.d.ts +22 -0
- package/dist/src/public/channels/linear/verify.js +1 -0
- package/dist/src/public/channels/slack/api-encoding.d.ts +5 -0
- package/dist/src/public/channels/slack/api-encoding.js +1 -0
- package/dist/src/public/channels/slack/api.d.ts +258 -0
- package/dist/src/public/channels/slack/api.js +1 -0
- package/dist/src/public/channels/slack/attachments.d.ts +51 -0
- package/dist/src/public/channels/slack/attachments.js +1 -0
- package/dist/src/public/channels/slack/auth.d.ts +16 -0
- package/dist/src/public/channels/slack/auth.js +1 -0
- package/dist/src/public/channels/slack/blocks.d.ts +45 -0
- package/dist/src/public/channels/slack/blocks.js +3 -0
- package/dist/src/public/channels/slack/connections.d.ts +53 -0
- package/dist/src/public/channels/slack/connections.js +1 -0
- package/dist/src/public/channels/slack/constants.d.ts +7 -0
- package/dist/src/public/channels/slack/constants.js +1 -0
- package/dist/src/public/channels/slack/defaults.d.ts +36 -0
- package/dist/src/public/channels/slack/defaults.js +4 -0
- package/dist/src/public/channels/slack/hitl.d.ts +141 -0
- package/dist/src/public/channels/slack/hitl.js +1 -0
- package/dist/src/public/channels/slack/inbound.d.ts +122 -0
- package/dist/src/public/channels/slack/inbound.js +2 -0
- package/dist/src/public/channels/slack/index.d.ts +22 -0
- package/dist/src/public/channels/slack/index.js +1 -0
- package/dist/src/public/channels/slack/interactions.d.ts +64 -0
- package/dist/src/public/channels/slack/interactions.js +1 -0
- package/dist/src/public/channels/slack/limits.d.ts +62 -0
- package/dist/src/public/channels/slack/limits.js +1 -0
- package/dist/src/public/channels/slack/mrkdwn.d.ts +38 -0
- package/dist/src/public/channels/slack/mrkdwn.js +1 -0
- package/dist/src/public/channels/slack/slackChannel.d.ts +303 -0
- package/dist/src/public/channels/slack/slackChannel.js +1 -0
- package/dist/src/public/channels/slack/thread.d.ts +33 -0
- package/dist/src/public/channels/slack/thread.js +1 -0
- package/dist/src/public/channels/slack/utils.d.ts +1 -0
- package/dist/src/public/channels/slack/utils.js +1 -0
- package/dist/src/public/channels/slack/verify.d.ts +48 -0
- package/dist/src/public/channels/slack/verify.js +1 -0
- package/dist/src/public/channels/teams/api.d.ts +155 -0
- package/dist/src/public/channels/teams/api.js +4 -0
- package/dist/src/public/channels/teams/attachments.d.ts +35 -0
- package/dist/src/public/channels/teams/attachments.js +1 -0
- package/dist/src/public/channels/teams/defaults.d.ts +24 -0
- package/dist/src/public/channels/teams/defaults.js +3 -0
- package/dist/src/public/channels/teams/hitl.d.ts +49 -0
- package/dist/src/public/channels/teams/hitl.js +1 -0
- package/dist/src/public/channels/teams/inbound.d.ts +85 -0
- package/dist/src/public/channels/teams/inbound.js +3 -0
- package/dist/src/public/channels/teams/index.d.ts +19 -0
- package/dist/src/public/channels/teams/index.js +1 -0
- package/dist/src/public/channels/teams/limits.d.ts +8 -0
- package/dist/src/public/channels/teams/limits.js +1 -0
- package/dist/src/public/channels/teams/teamsChannel.d.ts +164 -0
- package/dist/src/public/channels/teams/teamsChannel.js +1 -0
- package/dist/src/public/channels/teams/verify.d.ts +50 -0
- package/dist/src/public/channels/teams/verify.js +1 -0
- package/dist/src/public/channels/telegram/api.d.ts +120 -0
- package/dist/src/public/channels/telegram/api.js +2 -0
- package/dist/src/public/channels/telegram/attachments.d.ts +31 -0
- package/dist/src/public/channels/telegram/attachments.js +1 -0
- package/dist/src/public/channels/telegram/defaults.d.ts +9 -0
- package/dist/src/public/channels/telegram/defaults.js +3 -0
- package/dist/src/public/channels/telegram/hitl.d.ts +59 -0
- package/dist/src/public/channels/telegram/hitl.js +1 -0
- package/dist/src/public/channels/telegram/inbound.d.ts +102 -0
- package/dist/src/public/channels/telegram/inbound.js +2 -0
- package/dist/src/public/channels/telegram/index.d.ts +19 -0
- package/dist/src/public/channels/telegram/index.js +1 -0
- package/dist/src/public/channels/telegram/telegramChannel.d.ts +127 -0
- package/dist/src/public/channels/telegram/telegramChannel.js +1 -0
- package/dist/src/public/channels/telegram/verify.d.ts +35 -0
- package/dist/src/public/channels/telegram/verify.js +1 -0
- package/dist/src/public/channels/twilio/api.d.ts +74 -0
- package/dist/src/public/channels/twilio/api.js +1 -0
- package/dist/src/public/channels/twilio/defaults.d.ts +17 -0
- package/dist/src/public/channels/twilio/defaults.js +3 -0
- package/dist/src/public/channels/twilio/inbound.d.ts +60 -0
- package/dist/src/public/channels/twilio/inbound.js +2 -0
- package/dist/src/public/channels/twilio/index.d.ts +5 -0
- package/dist/src/public/channels/twilio/index.js +1 -0
- package/dist/src/public/channels/twilio/twilioChannel.d.ts +195 -0
- package/dist/src/public/channels/twilio/twilioChannel.js +1 -0
- package/dist/src/public/channels/twilio/twiml.d.ts +37 -0
- package/dist/src/public/channels/twilio/twiml.js +1 -0
- package/dist/src/public/channels/twilio/verify.d.ts +50 -0
- package/dist/src/public/channels/twilio/verify.js +1 -0
- package/dist/src/public/channels/upload-policy.d.ts +101 -0
- package/dist/src/public/channels/upload-policy.js +1 -0
- package/dist/src/public/connections/errors.d.ts +117 -0
- package/dist/src/public/connections/errors.js +1 -0
- package/dist/src/public/connections/index.d.ts +9 -0
- package/dist/src/public/connections/index.js +1 -0
- package/dist/src/public/context/index.d.ts +14 -0
- package/dist/src/public/context/index.js +1 -0
- package/dist/src/public/definitions/agent.d.ts +24 -0
- package/dist/src/public/definitions/agent.js +1 -0
- package/dist/src/public/definitions/callback-context.d.ts +33 -0
- package/dist/src/public/definitions/callback-context.js +1 -0
- package/dist/src/public/definitions/channel.d.ts +126 -0
- package/dist/src/public/definitions/channel.js +1 -0
- package/dist/src/public/definitions/connections/mcp.d.ts +82 -0
- package/dist/src/public/definitions/connections/mcp.js +1 -0
- package/dist/src/public/definitions/connections/openapi.d.ts +99 -0
- package/dist/src/public/definitions/connections/openapi.js +1 -0
- package/dist/src/public/definitions/connections/protocol.d.ts +12 -0
- package/dist/src/public/definitions/connections/protocol.js +1 -0
- package/dist/src/public/definitions/defineChannel.d.ts +145 -0
- package/dist/src/public/definitions/defineChannel.js +1 -0
- package/dist/src/public/definitions/exact.d.ts +7 -0
- package/dist/src/public/definitions/exact.js +1 -0
- package/dist/src/public/definitions/hook.d.ts +60 -0
- package/dist/src/public/definitions/hook.js +1 -0
- package/dist/src/public/definitions/instructions.d.ts +31 -0
- package/dist/src/public/definitions/instructions.js +1 -0
- package/dist/src/public/definitions/instrumentation.d.ts +1 -0
- package/dist/src/public/definitions/instrumentation.js +1 -0
- package/dist/src/public/definitions/remote-agent.d.ts +49 -0
- package/dist/src/public/definitions/remote-agent.js +1 -0
- package/dist/src/public/definitions/sandbox-backend.d.ts +17 -0
- package/dist/src/public/definitions/sandbox-backend.js +1 -0
- package/dist/src/public/definitions/sandbox.d.ts +24 -0
- package/dist/src/public/definitions/sandbox.js +1 -0
- package/dist/src/public/definitions/schedule.d.ts +96 -0
- package/dist/src/public/definitions/schedule.js +1 -0
- package/dist/src/public/definitions/skill.d.ts +21 -0
- package/dist/src/public/definitions/skill.js +1 -0
- package/dist/src/public/definitions/source.d.ts +8 -0
- package/dist/src/public/definitions/source.js +1 -0
- package/dist/src/public/definitions/state.d.ts +37 -0
- package/dist/src/public/definitions/state.js +1 -0
- package/dist/src/public/definitions/tool.d.ts +285 -0
- package/dist/src/public/definitions/tool.js +1 -0
- package/dist/src/public/hooks/index.d.ts +8 -0
- package/dist/src/public/hooks/index.js +1 -0
- package/dist/src/public/index.d.ts +5 -0
- package/dist/src/public/index.js +1 -0
- package/dist/src/public/instructions/index.d.ts +7 -0
- package/dist/src/public/instructions/index.js +1 -0
- package/dist/src/public/instrumentation/index.d.ts +144 -0
- package/dist/src/public/instrumentation/index.js +1 -0
- package/dist/src/public/next/index.d.ts +86 -0
- package/dist/src/public/next/index.js +1 -0
- package/dist/src/public/next/server.d.ts +6 -0
- package/dist/src/public/next/server.js +1 -0
- package/dist/src/public/next/vercel-output-config.d.ts +9 -0
- package/dist/src/public/next/vercel-output-config.js +1 -0
- package/dist/src/public/nuxt/dev-server.d.ts +24 -0
- package/dist/src/public/nuxt/dev-server.js +1 -0
- package/dist/src/public/nuxt/index.d.ts +1 -0
- package/dist/src/public/nuxt/index.js +1 -0
- package/dist/src/public/nuxt/module.d.ts +43 -0
- package/dist/src/public/nuxt/module.js +1 -0
- package/dist/src/public/nuxt/routing.d.ts +55 -0
- package/dist/src/public/nuxt/routing.js +1 -0
- package/dist/src/public/nuxt/vercel-json.d.ts +17 -0
- package/dist/src/public/nuxt/vercel-json.js +1 -0
- package/dist/src/public/sandbox/backends/default.d.ts +22 -0
- package/dist/src/public/sandbox/backends/default.js +1 -0
- package/dist/src/public/sandbox/backends/local.d.ts +17 -0
- package/dist/src/public/sandbox/backends/local.js +1 -0
- package/dist/src/public/sandbox/backends/vercel.d.ts +24 -0
- package/dist/src/public/sandbox/backends/vercel.js +1 -0
- package/dist/src/public/sandbox/index.d.ts +13 -0
- package/dist/src/public/sandbox/index.js +1 -0
- package/dist/src/public/sandbox/local-sandbox.d.ts +7 -0
- package/dist/src/public/sandbox/local-sandbox.js +1 -0
- package/dist/src/public/sandbox/vercel-sandbox.d.ts +42 -0
- package/dist/src/public/sandbox/vercel-sandbox.js +1 -0
- package/dist/src/public/schedules/index.d.ts +4 -0
- package/dist/src/public/schedules/index.js +1 -0
- package/dist/src/public/skills/index.d.ts +7 -0
- package/dist/src/public/skills/index.js +1 -0
- package/dist/src/public/sveltekit/dev-server.d.ts +24 -0
- package/dist/src/public/sveltekit/dev-server.js +1 -0
- package/dist/src/public/sveltekit/index.d.ts +44 -0
- package/dist/src/public/sveltekit/index.js +1 -0
- package/dist/src/public/sveltekit/routing.d.ts +32 -0
- package/dist/src/public/sveltekit/routing.js +1 -0
- package/dist/src/public/sveltekit/vercel-json.d.ts +17 -0
- package/dist/src/public/sveltekit/vercel-json.js +1 -0
- package/dist/src/public/tool-result-narrowing.d.ts +74 -0
- package/dist/src/public/tool-result-narrowing.js +1 -0
- package/dist/src/public/tools/approval/approval-helpers.d.ts +19 -0
- package/dist/src/public/tools/approval/approval-helpers.js +1 -0
- package/dist/src/public/tools/approval/index.d.ts +5 -0
- package/dist/src/public/tools/approval/index.js +1 -0
- package/dist/src/public/tools/defaults.d.ts +60 -0
- package/dist/src/public/tools/defaults.js +1 -0
- package/dist/src/public/tools/define-bash-tool.d.ts +21 -0
- package/dist/src/public/tools/define-bash-tool.js +1 -0
- package/dist/src/public/tools/define-glob-tool.d.ts +22 -0
- package/dist/src/public/tools/define-glob-tool.js +1 -0
- package/dist/src/public/tools/define-grep-tool.d.ts +22 -0
- package/dist/src/public/tools/define-grep-tool.js +1 -0
- package/dist/src/public/tools/define-read-file-tool.d.ts +27 -0
- package/dist/src/public/tools/define-read-file-tool.js +1 -0
- package/dist/src/public/tools/define-write-file-tool.d.ts +22 -0
- package/dist/src/public/tools/define-write-file-tool.js +1 -0
- package/dist/src/public/tools/index.d.ts +12 -0
- package/dist/src/public/tools/index.js +1 -0
- package/dist/src/public/tools/internal.d.ts +12 -0
- package/dist/src/public/tools/internal.js +1 -0
- package/dist/src/public/types/json.d.ts +28 -0
- package/dist/src/public/types/json.js +1 -0
- package/dist/src/react/index.d.ts +3 -0
- package/dist/src/react/index.js +1 -0
- package/dist/src/react/use-eve-agent.d.ts +76 -0
- package/dist/src/react/use-eve-agent.js +1 -0
- package/dist/src/runtime/actions/keys.d.ts +11 -0
- package/dist/src/runtime/actions/keys.js +1 -0
- package/dist/src/runtime/actions/types.d.ts +150 -0
- package/dist/src/runtime/actions/types.js +1 -0
- package/dist/src/runtime/agent/bootstrap-model-utils.d.ts +37 -0
- package/dist/src/runtime/agent/bootstrap-model-utils.js +1 -0
- package/dist/src/runtime/agent/bootstrap-model.d.ts +7 -0
- package/dist/src/runtime/agent/bootstrap-model.js +1 -0
- package/dist/src/runtime/agent/bootstrap.d.ts +44 -0
- package/dist/src/runtime/agent/bootstrap.js +1 -0
- package/dist/src/runtime/agent/mock-model-adapter.d.ts +21 -0
- package/dist/src/runtime/agent/mock-model-adapter.js +5 -0
- package/dist/src/runtime/agent/mock-model-skill-selection.d.ts +9 -0
- package/dist/src/runtime/agent/mock-model-skill-selection.js +4 -0
- package/dist/src/runtime/agent/mock-structured-output.d.ts +5 -0
- package/dist/src/runtime/agent/mock-structured-output.js +1 -0
- package/dist/src/runtime/agent/resolve-model.d.ts +11 -0
- package/dist/src/runtime/agent/resolve-model.js +1 -0
- package/dist/src/runtime/attributes/emit.d.ts +73 -0
- package/dist/src/runtime/attributes/emit.js +1 -0
- package/dist/src/runtime/cache-key.d.ts +9 -0
- package/dist/src/runtime/cache-key.js +1 -0
- package/dist/src/runtime/channels/registry.d.ts +27 -0
- package/dist/src/runtime/channels/registry.js +1 -0
- package/dist/src/runtime/compiled-artifacts-source.d.ts +44 -0
- package/dist/src/runtime/compiled-artifacts-source.js +1 -0
- package/dist/src/runtime/connections/authorization-complete-page.d.ts +11 -0
- package/dist/src/runtime/connections/authorization-complete-page.js +53 -0
- package/dist/src/runtime/connections/authorization-tokens.d.ts +51 -0
- package/dist/src/runtime/connections/authorization-tokens.js +1 -0
- package/dist/src/runtime/connections/callback-route.d.ts +55 -0
- package/dist/src/runtime/connections/callback-route.js +1 -0
- package/dist/src/runtime/connections/mcp-client.d.ts +74 -0
- package/dist/src/runtime/connections/mcp-client.js +1 -0
- package/dist/src/runtime/connections/openapi-client.d.ts +43 -0
- package/dist/src/runtime/connections/openapi-client.js +1 -0
- package/dist/src/runtime/connections/openapi-operations.d.ts +30 -0
- package/dist/src/runtime/connections/openapi-operations.js +1 -0
- package/dist/src/runtime/connections/openapi-schema.d.ts +39 -0
- package/dist/src/runtime/connections/openapi-schema.js +1 -0
- package/dist/src/runtime/connections/openapi-security.d.ts +41 -0
- package/dist/src/runtime/connections/openapi-security.js +1 -0
- package/dist/src/runtime/connections/openapi-spec.d.ts +20 -0
- package/dist/src/runtime/connections/openapi-spec.js +1 -0
- package/dist/src/runtime/connections/principal.d.ts +66 -0
- package/dist/src/runtime/connections/principal.js +1 -0
- package/dist/src/runtime/connections/registry.d.ts +36 -0
- package/dist/src/runtime/connections/registry.js +1 -0
- package/dist/src/runtime/connections/scoped-authorization.d.ts +61 -0
- package/dist/src/runtime/connections/scoped-authorization.js +1 -0
- package/dist/src/runtime/connections/types.d.ts +349 -0
- package/dist/src/runtime/connections/types.js +1 -0
- package/dist/src/runtime/connections/validate-authorization.d.ts +21 -0
- package/dist/src/runtime/connections/validate-authorization.js +1 -0
- package/dist/src/runtime/framework-channels/index.d.ts +11 -0
- package/dist/src/runtime/framework-channels/index.js +1 -0
- package/dist/src/runtime/framework-tools/ask-question.d.ts +21 -0
- package/dist/src/runtime/framework-tools/ask-question.js +1 -0
- package/dist/src/runtime/framework-tools/bash.d.ts +17 -0
- package/dist/src/runtime/framework-tools/bash.js +1 -0
- package/dist/src/runtime/framework-tools/code-mode-connection-auth.d.ts +29 -0
- package/dist/src/runtime/framework-tools/code-mode-connection-auth.js +1 -0
- package/dist/src/runtime/framework-tools/connection-search-dynamic.d.ts +35 -0
- package/dist/src/runtime/framework-tools/connection-search-dynamic.js +1 -0
- package/dist/src/runtime/framework-tools/file-state.d.ts +62 -0
- package/dist/src/runtime/framework-tools/file-state.js +1 -0
- package/dist/src/runtime/framework-tools/final-output.d.ts +14 -0
- package/dist/src/runtime/framework-tools/final-output.js +1 -0
- package/dist/src/runtime/framework-tools/glob.d.ts +17 -0
- package/dist/src/runtime/framework-tools/glob.js +2 -0
- package/dist/src/runtime/framework-tools/grep.d.ts +17 -0
- package/dist/src/runtime/framework-tools/grep.js +2 -0
- package/dist/src/runtime/framework-tools/index.d.ts +26 -0
- package/dist/src/runtime/framework-tools/index.js +1 -0
- package/dist/src/runtime/framework-tools/read-file.d.ts +17 -0
- package/dist/src/runtime/framework-tools/read-file.js +2 -0
- package/dist/src/runtime/framework-tools/skill.d.ts +4 -0
- package/dist/src/runtime/framework-tools/skill.js +1 -0
- package/dist/src/runtime/framework-tools/todo.d.ts +39 -0
- package/dist/src/runtime/framework-tools/todo.js +3 -0
- package/dist/src/runtime/framework-tools/web-fetch.d.ts +5 -0
- package/dist/src/runtime/framework-tools/web-fetch.js +2 -0
- package/dist/src/runtime/framework-tools/web-search.d.ts +26 -0
- package/dist/src/runtime/framework-tools/web-search.js +1 -0
- package/dist/src/runtime/framework-tools/write-file.d.ts +17 -0
- package/dist/src/runtime/framework-tools/write-file.js +2 -0
- package/dist/src/runtime/governance/auth/http-basic.d.ts +8 -0
- package/dist/src/runtime/governance/auth/http-basic.js +1 -0
- package/dist/src/runtime/governance/auth/jwt-ecdsa.d.ts +8 -0
- package/dist/src/runtime/governance/auth/jwt-ecdsa.js +1 -0
- package/dist/src/runtime/governance/auth/jwt-hmac.d.ts +8 -0
- package/dist/src/runtime/governance/auth/jwt-hmac.js +1 -0
- package/dist/src/runtime/governance/auth/oidc.d.ts +8 -0
- package/dist/src/runtime/governance/auth/oidc.js +1 -0
- package/dist/src/runtime/governance/auth/token-claims.d.ts +17 -0
- package/dist/src/runtime/governance/auth/token-claims.js +1 -0
- package/dist/src/runtime/governance/auth/types.d.ts +104 -0
- package/dist/src/runtime/governance/auth/types.js +1 -0
- package/dist/src/runtime/governance/network/ip-allow-list.d.ts +17 -0
- package/dist/src/runtime/governance/network/ip-allow-list.js +1 -0
- package/dist/src/runtime/graph.d.ts +46 -0
- package/dist/src/runtime/graph.js +1 -0
- package/dist/src/runtime/hooks/registry.d.ts +40 -0
- package/dist/src/runtime/hooks/registry.js +1 -0
- package/dist/src/runtime/input/types.d.ts +78 -0
- package/dist/src/runtime/input/types.js +1 -0
- package/dist/src/runtime/loaders/artifact-paths.d.ts +18 -0
- package/dist/src/runtime/loaders/artifact-paths.js +1 -0
- package/dist/src/runtime/loaders/bundled-artifacts.d.ts +36 -0
- package/dist/src/runtime/loaders/bundled-artifacts.js +1 -0
- package/dist/src/runtime/loaders/compile-metadata.d.ts +14 -0
- package/dist/src/runtime/loaders/compile-metadata.js +1 -0
- package/dist/src/runtime/loaders/manifest.d.ts +21 -0
- package/dist/src/runtime/loaders/manifest.js +1 -0
- package/dist/src/runtime/loaders/module-map.d.ts +21 -0
- package/dist/src/runtime/loaders/module-map.js +1 -0
- package/dist/src/runtime/prompt/compose.d.ts +19 -0
- package/dist/src/runtime/prompt/compose.js +2 -0
- package/dist/src/runtime/prompt/connections.d.ts +9 -0
- package/dist/src/runtime/prompt/connections.js +2 -0
- package/dist/src/runtime/resolve-agent-graph.d.ts +17 -0
- package/dist/src/runtime/resolve-agent-graph.js +1 -0
- package/dist/src/runtime/resolve-agent.d.ts +16 -0
- package/dist/src/runtime/resolve-agent.js +1 -0
- package/dist/src/runtime/resolve-channel.d.ts +17 -0
- package/dist/src/runtime/resolve-channel.js +1 -0
- package/dist/src/runtime/resolve-connection.d.ts +15 -0
- package/dist/src/runtime/resolve-connection.js +1 -0
- package/dist/src/runtime/resolve-dynamic-instructions.d.ts +4 -0
- package/dist/src/runtime/resolve-dynamic-instructions.js +1 -0
- package/dist/src/runtime/resolve-dynamic-skill.d.ts +8 -0
- package/dist/src/runtime/resolve-dynamic-skill.js +1 -0
- package/dist/src/runtime/resolve-dynamic-tool.d.ts +12 -0
- package/dist/src/runtime/resolve-dynamic-tool.js +1 -0
- package/dist/src/runtime/resolve-helpers.d.ts +43 -0
- package/dist/src/runtime/resolve-helpers.js +1 -0
- package/dist/src/runtime/resolve-hook.d.ts +13 -0
- package/dist/src/runtime/resolve-hook.js +1 -0
- package/dist/src/runtime/resolve-sandbox.d.ts +13 -0
- package/dist/src/runtime/resolve-sandbox.js +1 -0
- package/dist/src/runtime/resolve-tool.d.ts +14 -0
- package/dist/src/runtime/resolve-tool.js +1 -0
- package/dist/src/runtime/sandbox/keys.d.ts +38 -0
- package/dist/src/runtime/sandbox/keys.js +1 -0
- package/dist/src/runtime/sandbox/registry.d.ts +61 -0
- package/dist/src/runtime/sandbox/registry.js +1 -0
- package/dist/src/runtime/sandbox/template-plan.d.ts +26 -0
- package/dist/src/runtime/sandbox/template-plan.js +1 -0
- package/dist/src/runtime/schedules/register.d.ts +35 -0
- package/dist/src/runtime/schedules/register.js +1 -0
- package/dist/src/runtime/schedules/resolve-schedule.d.ts +31 -0
- package/dist/src/runtime/schedules/resolve-schedule.js +1 -0
- package/dist/src/runtime/session-callback-route.d.ts +6 -0
- package/dist/src/runtime/session-callback-route.js +1 -0
- package/dist/src/runtime/sessions/auth.d.ts +39 -0
- package/dist/src/runtime/sessions/auth.js +1 -0
- package/dist/src/runtime/sessions/compiled-agent-cache.d.ts +47 -0
- package/dist/src/runtime/sessions/compiled-agent-cache.js +1 -0
- package/dist/src/runtime/sessions/runtime-context-keys.d.ts +11 -0
- package/dist/src/runtime/sessions/runtime-context-keys.js +1 -0
- package/dist/src/runtime/sessions/runtime-session.d.ts +52 -0
- package/dist/src/runtime/sessions/runtime-session.js +1 -0
- package/dist/src/runtime/sessions/turn.d.ts +33 -0
- package/dist/src/runtime/sessions/turn.js +1 -0
- package/dist/src/runtime/skills/fragment-context.d.ts +4 -0
- package/dist/src/runtime/skills/fragment-context.js +1 -0
- package/dist/src/runtime/skills/sandbox-access.d.ts +21 -0
- package/dist/src/runtime/skills/sandbox-access.js +1 -0
- package/dist/src/runtime/subagents/registry.d.ts +32 -0
- package/dist/src/runtime/subagents/registry.js +1 -0
- package/dist/src/runtime/tools/registry.d.ts +30 -0
- package/dist/src/runtime/tools/registry.js +1 -0
- package/dist/src/runtime/types.d.ts +368 -0
- package/dist/src/runtime/types.js +1 -0
- package/dist/src/runtime/validation.d.ts +5 -0
- package/dist/src/runtime/validation.js +1 -0
- package/dist/src/runtime/workspace/seed-files.d.ts +15 -0
- package/dist/src/runtime/workspace/seed-files.js +1 -0
- package/dist/src/runtime/workspace/spec.d.ts +6 -0
- package/dist/src/runtime/workspace/spec.js +2 -0
- package/dist/src/runtime/workspace/types.d.ts +18 -0
- package/dist/src/runtime/workspace/types.js +1 -0
- package/dist/src/sandbox/state.d.ts +33 -0
- package/dist/src/sandbox/state.js +1 -0
- package/dist/src/services/dev-client/request-headers.d.ts +74 -0
- package/dist/src/services/dev-client/request-headers.js +1 -0
- package/dist/src/services/dev-client/stream.d.ts +5 -0
- package/dist/src/services/dev-client/stream.js +1 -0
- package/dist/src/services/dev-client/url.d.ts +11 -0
- package/dist/src/services/dev-client/url.js +1 -0
- package/dist/src/services/dev-client/vercel-auth-error.d.ts +42 -0
- package/dist/src/services/dev-client/vercel-auth-error.js +2 -0
- package/dist/src/services/dev-client.d.ts +75 -0
- package/dist/src/services/dev-client.js +1 -0
- package/dist/src/services/inspect-application.d.ts +23 -0
- package/dist/src/services/inspect-application.js +1 -0
- package/dist/src/shared/agent-definition.d.ts +154 -0
- package/dist/src/shared/agent-definition.js +1 -0
- package/dist/src/shared/code-mode.d.ts +29 -0
- package/dist/src/shared/code-mode.js +1 -0
- package/dist/src/shared/dynamic-tool-definition.d.ts +159 -0
- package/dist/src/shared/dynamic-tool-definition.js +1 -0
- package/dist/src/shared/errors.d.ts +17 -0
- package/dist/src/shared/errors.js +1 -0
- package/dist/src/shared/guards.d.ts +45 -0
- package/dist/src/shared/guards.js +1 -0
- package/dist/src/shared/json-schema.d.ts +9 -0
- package/dist/src/shared/json-schema.js +1 -0
- package/dist/src/shared/json-schemas.d.ts +10 -0
- package/dist/src/shared/json-schemas.js +1 -0
- package/dist/src/shared/json.d.ts +34 -0
- package/dist/src/shared/json.js +1 -0
- package/dist/src/shared/network-address.d.ts +11 -0
- package/dist/src/shared/network-address.js +1 -0
- package/dist/src/shared/node.d.ts +6 -0
- package/dist/src/shared/node.js +1 -0
- package/dist/src/shared/optional.d.ts +3 -0
- package/dist/src/shared/optional.js +1 -0
- package/dist/src/shared/run-mode.d.ts +7 -0
- package/dist/src/shared/run-mode.js +1 -0
- package/dist/src/shared/sandbox-backend.d.ts +149 -0
- package/dist/src/shared/sandbox-backend.js +1 -0
- package/dist/src/shared/sandbox-definition.d.ts +110 -0
- package/dist/src/shared/sandbox-definition.js +1 -0
- package/dist/src/shared/sandbox-network-policy.d.ts +23 -0
- package/dist/src/shared/sandbox-network-policy.js +1 -0
- package/dist/src/shared/sandbox-session.d.ts +144 -0
- package/dist/src/shared/sandbox-session.js +1 -0
- package/dist/src/shared/skill-definition.d.ts +24 -0
- package/dist/src/shared/skill-definition.js +1 -0
- package/dist/src/shared/skill-package.d.ts +50 -0
- package/dist/src/shared/skill-package.js +1 -0
- package/dist/src/shared/source-ref.d.ts +53 -0
- package/dist/src/shared/source-ref.js +1 -0
- package/dist/src/shared/tool-definition.d.ts +58 -0
- package/dist/src/shared/tool-definition.js +1 -0
- package/dist/src/shared/vercel-output-directory.d.ts +2 -0
- package/dist/src/shared/vercel-output-directory.js +1 -0
- package/dist/src/svelte/index.d.ts +3 -0
- package/dist/src/svelte/index.js +3 -0
- package/dist/src/svelte/use-eve-agent.d.ts +105 -0
- package/dist/src/svelte/use-eve-agent.js +3 -0
- package/dist/src/vue/index.d.ts +3 -0
- package/dist/src/vue/index.js +3 -0
- package/dist/src/vue/use-eve-agent.d.ts +103 -0
- package/dist/src/vue/use-eve-agent.js +3 -0
- package/package.json +336 -71
- package/.npmignore +0 -2
- package/component.json +0 -13
- package/dr.json +0 -10
- package/e.html +0 -66
- package/eve.js +0 -435
- package/template.dot +0 -13
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const EVE_SESSION_ID_HEADER=`x-eve-session-id`,EVE_STREAM_FORMAT_HEADER=`x-eve-stream-format`,EVE_STREAM_VERSION_HEADER=`x-eve-stream-version`,EVE_MESSAGE_STREAM_CONTENT_TYPE=`application/x-ndjson; charset=utf-8`,EVE_MESSAGE_STREAM_FORMAT=`ndjson`,EVE_MESSAGE_STREAM_VERSION=`15`,textEncoder=new TextEncoder;function isCurrentTurnBoundaryEvent(e){return e.type===`session.completed`||e.type===`session.failed`||e.type===`session.waiting`}function createSessionStartedEvent(e){let t={};return e?.invocation!==void 0&&(t.invocation=e.invocation),e?.runtime!==void 0&&(t.runtime=e.runtime),{data:t,type:`session.started`}}function createTurnStartedEvent(e){return{data:{sequence:e.sequence,turnId:e.turnId},type:`turn.started`}}function createMessageReceivedEvent(e){return{data:{message:summarizeUserContent(e.message),sequence:e.sequence,turnId:e.turnId},type:`message.received`}}function summarizeUserContent(e){if(typeof e==`string`)return e;let t=[];for(let n of e)if(n.type===`text`)t.push(n.text);else if(n.type===`file`){let e=n.filename??n.mediaType;t.push(`[file: ${e} (${n.mediaType})]`)}else n.type===`image`&&t.push(`[image: ${n.mediaType??`image`}]`);return t.join(`
|
|
2
|
+
`)}function createActionsRequestedEvent(e){return{data:{actions:e.actions,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`actions.requested`}}function createAuthorizationRequiredEvent(e){let t={description:e.description,name:e.name,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId};return e.authorization!==void 0&&(t.authorization=e.authorization),e.webhookUrl!==void 0&&(t.webhookUrl=e.webhookUrl),{data:t,type:`authorization.required`}}function createAuthorizationCompletedEvent(e){let t={name:e.name,outcome:e.outcome,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId};return e.reason!==void 0&&(t.reason=e.reason),{data:t,type:`authorization.completed`}}function createInputRequestedEvent(e){return{data:{requests:e.requests,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`input.requested`}}function createActionResultEvent(e){let t=normalizeActionResultOutcome(e.result);return{data:{error:t.error,result:e.result,sequence:e.sequence,stepIndex:e.stepIndex,status:t.status,turnId:e.turnId},type:`action.result`}}function createSubagentCalledEvent(e){return{data:{callId:e.callId,childSessionId:e.childSessionId,sessionId:e.sessionId,sequence:e.sequence,name:e.name,remote:e.remote,toolName:e.toolName,turnId:e.turnId,workflowId:e.workflowId},type:`subagent.called`}}function createMessageAppendedEvent(e){return{data:{messageDelta:e.messageDelta,messageSoFar:e.messageSoFar,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`message.appended`}}function createReasoningAppendedEvent(e){return{data:{reasoningDelta:e.reasoningDelta,reasoningSoFar:e.reasoningSoFar,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`reasoning.appended`}}function createMessageCompletedEvent(e){return{data:{finishReason:e.finishReason??`stop`,message:e.message,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`message.completed`}}function createReasoningCompletedEvent(e){return{data:{reasoning:e.reasoning,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`reasoning.completed`}}function createResultCompletedEvent(e){return{data:{result:e.result,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`result.completed`}}function createStepStartedEvent(e){return{data:{sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`step.started`}}function createStepCompletedEvent(e){let t={finishReason:e.finishReason,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId};return e.usage!==void 0&&(t.usage=e.usage),{data:t,type:`step.completed`}}function createStepFailedEvent(e){return{data:{code:e.code,details:e.details,message:e.message,sequence:e.sequence,stepIndex:e.stepIndex,turnId:e.turnId},type:`step.failed`}}function createTurnCompletedEvent(e){return{data:{sequence:e.sequence,turnId:e.turnId},type:`turn.completed`}}function createTurnFailedEvent(e){return{data:{code:e.code,details:e.details,message:e.message,sequence:e.sequence,turnId:e.turnId},type:`turn.failed`}}function createCompactionRequestedEvent(e){return{data:{modelId:e.modelId,sequence:e.sequence,sessionId:e.sessionId,turnId:e.turnId,usageInputTokens:e.usageInputTokens??null},type:`compaction.requested`}}function createCompactionCompletedEvent(e){return{data:{modelId:e.modelId,sequence:e.sequence,sessionId:e.sessionId,turnId:e.turnId},type:`compaction.completed`}}function createSessionWaitingEvent(){return{data:{wait:`next-user-message`},type:`session.waiting`}}function createSessionFailedEvent(e){return{data:{code:e.code,details:e.details,message:e.message,sessionId:e.sessionId},type:`session.failed`}}function createSessionCompletedEvent(){return{type:`session.completed`}}function timestampHandleMessageStreamEvent(e,t=new Date().toISOString()){return{...e,meta:{at:t}}}function encodeMessageStreamEvent(e){return textEncoder.encode(`${JSON.stringify(e)}\n`)}function normalizeActionResultOutcome(e){if(e.isError===!0)return{error:buildActionResultError(e),status:`failed`};let t=readActionResultOutputError(e.output);return t===void 0?{status:`completed`}:{error:t,status:`failed`}}function buildActionResultError(e){let t=readActionResultOutputError(e.output);return t===void 0?{code:`ACTION_RESULT_FAILED`,message:formatActionResultOutput(e.output)}:t}function readActionResultOutputError(e){let t=parseActionResultOutputRecord(e);if(t===void 0)return;let n=typeof t.code==`string`&&t.code.length>0?t.code:void 0,r=typeof t.message==`string`&&t.message.length>0?t.message:void 0;if(!(n===void 0||r===void 0))return{code:n,message:r}}function parseActionResultOutputRecord(e){if(typeof e==`object`&&e)return e;if(typeof e!=`string`)return;let t=e.trim();if(t.length!==0)try{let e=JSON.parse(t);if(typeof e==`object`&&e)return e}catch{return}}function formatActionResultOutput(e){if(typeof e==`string`)return e;let t=JSON.stringify(e);return typeof t==`string`&&t.length>0?t:`Action failed.`}export{EVE_MESSAGE_STREAM_CONTENT_TYPE,EVE_MESSAGE_STREAM_FORMAT,EVE_MESSAGE_STREAM_VERSION,EVE_SESSION_ID_HEADER,EVE_STREAM_FORMAT_HEADER,EVE_STREAM_VERSION_HEADER,createActionResultEvent,createActionsRequestedEvent,createAuthorizationCompletedEvent,createAuthorizationRequiredEvent,createCompactionCompletedEvent,createCompactionRequestedEvent,createInputRequestedEvent,createMessageAppendedEvent,createMessageCompletedEvent,createMessageReceivedEvent,createReasoningAppendedEvent,createReasoningCompletedEvent,createResultCompletedEvent,createSessionCompletedEvent,createSessionFailedEvent,createSessionStartedEvent,createSessionWaitingEvent,createStepCompletedEvent,createStepFailedEvent,createStepStartedEvent,createSubagentCalledEvent,createTurnCompletedEvent,createTurnFailedEvent,createTurnStartedEvent,encodeMessageStreamEvent,isCurrentTurnBoundaryEvent,timestampHandleMessageStreamEvent};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stable framework-owned route prefix reserved for Eve's runtime transport
|
|
3
|
+
* surfaces.
|
|
4
|
+
*/
|
|
5
|
+
export declare const EVE_ROUTE_PREFIX = "/eve/v1";
|
|
6
|
+
/**
|
|
7
|
+
* Stable framework-owned health route.
|
|
8
|
+
*/
|
|
9
|
+
export declare const EVE_HEALTH_ROUTE_PATH = "/eve/v1/health";
|
|
10
|
+
/**
|
|
11
|
+
* Stable framework-owned route exposing the JSON inspection payload for
|
|
12
|
+
* the current agent (model id, instructions preview, skills, schedules,
|
|
13
|
+
* subagents, tools, sandbox, and the runtime's own endpoint catalog).
|
|
14
|
+
*
|
|
15
|
+
* Default auth on this route is `[localDev(), vercelOidc()]` — the same
|
|
16
|
+
* chain the framework applies to the eve channel — so deployed Vercel
|
|
17
|
+
* targets require a valid OIDC bearer (with the same-project bypass for
|
|
18
|
+
* in-deployment callers) while local development accepts anonymously.
|
|
19
|
+
* See `routes/info.ts` for the handler.
|
|
20
|
+
*/
|
|
21
|
+
export declare const EVE_INFO_ROUTE_PATH = "/eve/v1/info";
|
|
22
|
+
/**
|
|
23
|
+
* Stable framework-owned route for creating a new session.
|
|
24
|
+
*/
|
|
25
|
+
export declare const EVE_CREATE_SESSION_ROUTE_PATH = "/eve/v1/session";
|
|
26
|
+
/**
|
|
27
|
+
* Stable framework-owned route pattern for sending a message to an existing
|
|
28
|
+
* session.
|
|
29
|
+
*/
|
|
30
|
+
export declare const EVE_CONTINUE_SESSION_ROUTE_PATTERN = "/eve/v1/session/:sessionId";
|
|
31
|
+
/**
|
|
32
|
+
* Stable framework-owned message stream route pattern.
|
|
33
|
+
*/
|
|
34
|
+
export declare const EVE_MESSAGE_STREAM_ROUTE_PATTERN = "/eve/v1/session/:sessionId/stream";
|
|
35
|
+
/**
|
|
36
|
+
* Framework-owned route pattern for dispatching one authored schedule
|
|
37
|
+
* exactly once from the dev server.
|
|
38
|
+
*
|
|
39
|
+
* Only registered when Nitro is running in dev mode — production builds
|
|
40
|
+
* never mount this route. Smoke tests and human developers use it to
|
|
41
|
+
* trigger a schedule out-of-band (without a cron firing) and recover the
|
|
42
|
+
* resulting `{ scheduleId, sessionIds }` payload as JSON so they can
|
|
43
|
+
* subscribe to {@link EVE_MESSAGE_STREAM_ROUTE_PATTERN} for each session.
|
|
44
|
+
*
|
|
45
|
+
* `:scheduleId` is the authored schedule's filesystem-derived name (e.g.
|
|
46
|
+
* `agent/schedules/heartbeat.ts` -> `"heartbeat"`).
|
|
47
|
+
*/
|
|
48
|
+
export declare const EVE_DEV_DISPATCH_SCHEDULE_ROUTE_PATTERN = "/eve/v1/dev/schedules/:scheduleId";
|
|
49
|
+
/**
|
|
50
|
+
* Dev-only route exposing the current runtime artifact revision.
|
|
51
|
+
*
|
|
52
|
+
* Local development clients use this to decide when an HMR rebuild has
|
|
53
|
+
* published new runtime artifacts, so their next normal prompt can start a
|
|
54
|
+
* fresh server-side session while in-flight sessions keep their original
|
|
55
|
+
* snapshot.
|
|
56
|
+
*/
|
|
57
|
+
export declare const EVE_DEV_RUNTIME_ARTIFACTS_ROUTE_PATH = "/eve/v1/dev/runtime-artifacts";
|
|
58
|
+
/**
|
|
59
|
+
* Builds the dev-only schedule dispatch URL for one named authored
|
|
60
|
+
* schedule. The path encodes the schedule id so reserved characters in
|
|
61
|
+
* authored filenames round-trip safely.
|
|
62
|
+
*/
|
|
63
|
+
export declare function createEveDevDispatchSchedulePath(scheduleId: string): string;
|
|
64
|
+
/**
|
|
65
|
+
* Stable framework-owned route pattern for receiving inbound IdP redirects
|
|
66
|
+
* during in-turn interactive connection authorization.
|
|
67
|
+
*
|
|
68
|
+
* `:name` is the connection name; `:token` is the workflow hook token minted
|
|
69
|
+
* by the workflow body so the route handler can resume the suspended turn
|
|
70
|
+
* via `resumeHook(token, payload)`.
|
|
71
|
+
*
|
|
72
|
+
* The route is unauthenticated by design: an OAuth IdP follows this URL
|
|
73
|
+
* via a 3xx redirect from the user's browser with no Eve credentials
|
|
74
|
+
* attached. The token is the unguessable capability that authorizes the
|
|
75
|
+
* resume; anyone who has it can deliver the callback payload, which is
|
|
76
|
+
* exactly what the IdP needs to do.
|
|
77
|
+
*/
|
|
78
|
+
export declare const EVE_CONNECTION_CALLBACK_ROUTE_PATTERN = "/eve/v1/connections/:name/callback/:token";
|
|
79
|
+
/**
|
|
80
|
+
* Stable framework-owned route pattern for terminal session callbacks.
|
|
81
|
+
*
|
|
82
|
+
* The `:token` segment is an unguessable workflow hook capability. The route
|
|
83
|
+
* is unauthenticated by design and resumes the matching parked runtime action.
|
|
84
|
+
*/
|
|
85
|
+
export declare const EVE_CALLBACK_ROUTE_PATTERN = "/eve/v1/callback/:token";
|
|
86
|
+
/**
|
|
87
|
+
* Creates the stable framework-owned message stream route path for one session.
|
|
88
|
+
*/
|
|
89
|
+
export declare function createEveMessageStreamRoutePath(sessionId: string): string;
|
|
90
|
+
/**
|
|
91
|
+
* Creates the stable framework-owned continue-session route path.
|
|
92
|
+
*/
|
|
93
|
+
export declare function createEveContinueSessionRoutePath(sessionId: string): string;
|
|
94
|
+
/**
|
|
95
|
+
* Creates the stable framework-owned connection callback route path for
|
|
96
|
+
* one (`name`, `token`) pair.
|
|
97
|
+
*
|
|
98
|
+
* The workflow body builds this path against {@link EVE_ROUTE_PREFIX} when
|
|
99
|
+
* minting the redirect URL it hands to the IdP via `startAuthorization`.
|
|
100
|
+
* The runtime's framework callback route handler matches the same path
|
|
101
|
+
* pattern and forwards the projected request payload into
|
|
102
|
+
* `resumeHook(token, payload)`.
|
|
103
|
+
*/
|
|
104
|
+
export declare function createEveConnectionCallbackRoutePath(name: string, token: string): string;
|
|
105
|
+
/**
|
|
106
|
+
* Creates the stable framework-owned terminal callback route path.
|
|
107
|
+
*/
|
|
108
|
+
export declare function createEveCallbackRoutePath(token: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const EVE_ROUTE_PREFIX=`/eve/v1`,EVE_HEALTH_ROUTE_PATH=`${EVE_ROUTE_PREFIX}/health`,EVE_INFO_ROUTE_PATH=`${EVE_ROUTE_PREFIX}/info`,EVE_CREATE_SESSION_ROUTE_PATH=`${EVE_ROUTE_PREFIX}/session`,EVE_CONTINUE_SESSION_ROUTE_PATTERN=`${EVE_ROUTE_PREFIX}/session/:sessionId`,EVE_MESSAGE_STREAM_ROUTE_PATTERN=`${EVE_ROUTE_PREFIX}/session/:sessionId/stream`,EVE_DEV_DISPATCH_SCHEDULE_ROUTE_PATTERN=`${EVE_ROUTE_PREFIX}/dev/schedules/:scheduleId`,EVE_DEV_RUNTIME_ARTIFACTS_ROUTE_PATH=`${EVE_ROUTE_PREFIX}/dev/runtime-artifacts`;function createEveDevDispatchSchedulePath(e){return`${EVE_ROUTE_PREFIX}/dev/schedules/${encodeURIComponent(e)}`}const EVE_CONNECTION_CALLBACK_ROUTE_PATTERN=`${EVE_ROUTE_PREFIX}/connections/:name/callback/:token`,EVE_CALLBACK_ROUTE_PATTERN=`${EVE_ROUTE_PREFIX}/callback/:token`;function createEveMessageStreamRoutePath(e){return`${EVE_ROUTE_PREFIX}/session/${encodeURIComponent(e)}/stream`}function createEveContinueSessionRoutePath(e){return`${EVE_ROUTE_PREFIX}/session/${encodeURIComponent(e)}`}function createEveConnectionCallbackRoutePath(e,t){return`${EVE_ROUTE_PREFIX}/connections/${encodeURIComponent(e)}/callback/${encodeURIComponent(t)}`}function createEveCallbackRoutePath(e){return`${EVE_ROUTE_PREFIX}/callback/${encodeURIComponent(e)}`}export{EVE_CALLBACK_ROUTE_PATTERN,EVE_CONNECTION_CALLBACK_ROUTE_PATTERN,EVE_CONTINUE_SESSION_ROUTE_PATTERN,EVE_CREATE_SESSION_ROUTE_PATH,EVE_DEV_DISPATCH_SCHEDULE_ROUTE_PATTERN,EVE_DEV_RUNTIME_ARTIFACTS_ROUTE_PATH,EVE_HEALTH_ROUTE_PATH,EVE_INFO_ROUTE_PATH,EVE_MESSAGE_STREAM_ROUTE_PATTERN,EVE_ROUTE_PREFIX,createEveCallbackRoutePath,createEveConnectionCallbackRoutePath,createEveContinueSessionRoutePath,createEveDevDispatchSchedulePath,createEveMessageStreamRoutePath};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { TokenValue } from "#client/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Outbound request auth hook for remote agent dispatch. Runs once per
|
|
4
|
+
* outbound request; returns the headers (e.g. `authorization`) to merge onto
|
|
5
|
+
* that request. Use {@link vercelOidc}, {@link bearer}, or {@link basic} to
|
|
6
|
+
* construct one, or supply a custom function for other schemes.
|
|
7
|
+
*/
|
|
8
|
+
export type OutboundAuthFn = () => Promise<{
|
|
9
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
10
|
+
}>;
|
|
11
|
+
/**
|
|
12
|
+
* Eve-owned mirror of the `@vercel/oidc` token lookup options forwarded to
|
|
13
|
+
* {@link vercelOidc}.
|
|
14
|
+
*/
|
|
15
|
+
export interface VercelOidcOptions {
|
|
16
|
+
/** Buffer in milliseconds before token expiry that triggers a refresh. */
|
|
17
|
+
readonly expirationBufferMs?: number;
|
|
18
|
+
/** Project ID (`prj_*`) or slug to use for token refresh. */
|
|
19
|
+
readonly project?: string;
|
|
20
|
+
/** Team ID (`team_*`) or slug to use for token refresh. */
|
|
21
|
+
readonly team?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns an {@link OutboundAuthFn} that emits a `Bearer` Vercel OIDC token for
|
|
25
|
+
* outbound remote-agent requests. Reads the token from the request context or
|
|
26
|
+
* the `VERCEL_OIDC_TOKEN` environment variable (refreshed in development when
|
|
27
|
+
* expired). Pass {@link VercelOidcOptions} to scope the refresh to a team or
|
|
28
|
+
* project; defaults to `{}`.
|
|
29
|
+
*/
|
|
30
|
+
export declare function vercelOidc(options?: VercelOidcOptions): OutboundAuthFn;
|
|
31
|
+
/**
|
|
32
|
+
* Returns an {@link OutboundAuthFn} that emits a `Bearer` `Authorization`
|
|
33
|
+
* header. `token` is a {@link TokenValue}: pass a string for a static token, or
|
|
34
|
+
* a function to resolve a fresh token on each outbound request.
|
|
35
|
+
*/
|
|
36
|
+
export declare function bearer(token: TokenValue): OutboundAuthFn;
|
|
37
|
+
/**
|
|
38
|
+
* Returns an {@link OutboundAuthFn} that emits an HTTP Basic `Authorization`
|
|
39
|
+
* header. `username` is a literal string; `password` is a {@link TokenValue}
|
|
40
|
+
* (static string or per-request resolver). Base64-encodes the credentials per
|
|
41
|
+
* request.
|
|
42
|
+
*/
|
|
43
|
+
export declare function basic(input: {
|
|
44
|
+
readonly password: TokenValue;
|
|
45
|
+
readonly username: string;
|
|
46
|
+
}): OutboundAuthFn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getVercelOidcToken}from"#compiled/@vercel/oidc/index.js";function vercelOidc(t={}){return async()=>({headers:{authorization:`Bearer ${await getVercelOidcToken(t)}`}})}function bearer(e){return async()=>({headers:{authorization:`Bearer ${await resolveTokenValue(e)}`}})}function basic(e){return async()=>({headers:{authorization:`Basic ${btoa(`${e.username}:${await resolveTokenValue(e.password)}`)}`}})}async function resolveTokenValue(e){return typeof e==`function`?await e():e}export{basic,bearer,vercelOidc};
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Route-level HTTP authentication primitives.
|
|
3
|
+
*
|
|
4
|
+
* Strategy helpers return an {@link AuthFn} for route factories. Verifier
|
|
5
|
+
* helpers are lower-level pure functions for custom `fetch` handlers.
|
|
6
|
+
*/
|
|
7
|
+
import type { SessionAuthContext } from "#channel/types.js";
|
|
8
|
+
import { type RuntimeIpAllowList } from "#runtime/governance/network/ip-allow-list.js";
|
|
9
|
+
/**
|
|
10
|
+
* Result returned by the verifier helpers below. On success, `sessionAuth`
|
|
11
|
+
* is a fully-constructed {@link SessionAuthContext}; on failure no detail is
|
|
12
|
+
* returned so routes do not leak which credential check failed.
|
|
13
|
+
*/
|
|
14
|
+
export type VerifyResult = {
|
|
15
|
+
readonly ok: true;
|
|
16
|
+
readonly sessionAuth: SessionAuthContext;
|
|
17
|
+
} | {
|
|
18
|
+
readonly ok: false;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Credentials accepted by {@link verifyHttpBasic}.
|
|
22
|
+
*/
|
|
23
|
+
export interface HttpBasicCredentials {
|
|
24
|
+
readonly username: string;
|
|
25
|
+
readonly password: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Verifies an HTTP Basic credential against the supplied username and
|
|
29
|
+
* password. Returns `{ ok: true, sessionAuth }` on success or `{ ok: false }`
|
|
30
|
+
* on a missing or mismatched credential. The password is compared with
|
|
31
|
+
* constant-time hash equality so a timing side channel cannot leak it; the
|
|
32
|
+
* username is compared directly.
|
|
33
|
+
*/
|
|
34
|
+
export declare function verifyHttpBasic(authorizationHeader: string | null, credentials: HttpBasicCredentials): VerifyResult;
|
|
35
|
+
/**
|
|
36
|
+
* Configuration for {@link verifyJwtHmac}. Optional fields have defaults so
|
|
37
|
+
* adapters can omit unused matchers. `secret` is read by the adapter from its
|
|
38
|
+
* secret store (e.g. `process.env`) and passed in directly.
|
|
39
|
+
*/
|
|
40
|
+
export interface VerifyJwtHmacConfig {
|
|
41
|
+
readonly algorithm: "HS256" | "HS384" | "HS512";
|
|
42
|
+
readonly audiences: readonly string[];
|
|
43
|
+
readonly issuer: string;
|
|
44
|
+
readonly secret: string;
|
|
45
|
+
/**
|
|
46
|
+
* Tolerance in seconds for the `exp` and `nbf` claims. Defaults to 30.
|
|
47
|
+
*/
|
|
48
|
+
readonly clockSkewSeconds?: number;
|
|
49
|
+
/**
|
|
50
|
+
* AWS IAM-style `*`-wildcard patterns matched against the token `sub`.
|
|
51
|
+
* When supplied, the token is rejected unless one matches.
|
|
52
|
+
*/
|
|
53
|
+
readonly subjects?: readonly string[];
|
|
54
|
+
/**
|
|
55
|
+
* Per-claim membership matcher: each named claim must contain at least one
|
|
56
|
+
* of the listed values, or the token is rejected.
|
|
57
|
+
*/
|
|
58
|
+
readonly claims?: Readonly<Record<string, readonly string[]>>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Verifies a bearer JWT signed with an HMAC secret. Pass the token without
|
|
62
|
+
* the `Bearer ` prefix (see {@link extractBearerToken}). Returns
|
|
63
|
+
* `{ ok: true, sessionAuth }` on success or `{ ok: false }` when verification
|
|
64
|
+
* fails or the token's claims don't match the supplied matchers.
|
|
65
|
+
*/
|
|
66
|
+
export declare function verifyJwtHmac(token: string | null, config: VerifyJwtHmacConfig): Promise<VerifyResult>;
|
|
67
|
+
/**
|
|
68
|
+
* Configuration for {@link verifyJwtEcdsa}.
|
|
69
|
+
*/
|
|
70
|
+
export interface VerifyJwtEcdsaConfig {
|
|
71
|
+
readonly algorithm: "ES256" | "ES384" | "ES512";
|
|
72
|
+
readonly audiences: readonly string[];
|
|
73
|
+
readonly issuer: string;
|
|
74
|
+
/**
|
|
75
|
+
* PEM-encoded ECDSA public key (`-----BEGIN PUBLIC KEY-----` ...).
|
|
76
|
+
*/
|
|
77
|
+
readonly publicKey: string;
|
|
78
|
+
/**
|
|
79
|
+
* Tolerance in seconds for the `exp` and `nbf` claims. Defaults to 30.
|
|
80
|
+
*/
|
|
81
|
+
readonly clockSkewSeconds?: number;
|
|
82
|
+
/**
|
|
83
|
+
* AWS IAM-style `*`-wildcard patterns matched against the token `sub`.
|
|
84
|
+
* When supplied, the token is rejected unless one matches.
|
|
85
|
+
*/
|
|
86
|
+
readonly subjects?: readonly string[];
|
|
87
|
+
/**
|
|
88
|
+
* Per-claim membership matcher: each named claim must contain at least one
|
|
89
|
+
* of the listed values, or the token is rejected.
|
|
90
|
+
*/
|
|
91
|
+
readonly claims?: Readonly<Record<string, readonly string[]>>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Verifies a bearer JWT signed with an ECDSA private key against the supplied
|
|
95
|
+
* PEM public key. Pass the token without the `Bearer ` prefix (see
|
|
96
|
+
* {@link extractBearerToken}). Returns `{ ok: true, sessionAuth }` on success
|
|
97
|
+
* or `{ ok: false }` when verification fails or the token's claims do not
|
|
98
|
+
* match the configured `subjects`/`claims`.
|
|
99
|
+
*/
|
|
100
|
+
export declare function verifyJwtEcdsa(token: string | null, config: VerifyJwtEcdsaConfig): Promise<VerifyResult>;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration for {@link verifyOidc}.
|
|
103
|
+
*/
|
|
104
|
+
export interface VerifyOidcConfig {
|
|
105
|
+
readonly audiences: readonly string[];
|
|
106
|
+
readonly issuer: string;
|
|
107
|
+
/**
|
|
108
|
+
* OIDC discovery URL. Defaults to
|
|
109
|
+
* `${issuer}/.well-known/openid-configuration` (any trailing slash on
|
|
110
|
+
* `issuer` is stripped first).
|
|
111
|
+
*/
|
|
112
|
+
readonly discoveryUrl?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Tolerance in seconds for the `exp` and `nbf` claims. Defaults to 30.
|
|
115
|
+
*/
|
|
116
|
+
readonly clockSkewSeconds?: number;
|
|
117
|
+
/**
|
|
118
|
+
* AWS IAM-style `*`-wildcard patterns matched against the token `sub`.
|
|
119
|
+
* When supplied, the token is rejected unless one matches.
|
|
120
|
+
*/
|
|
121
|
+
readonly subjects?: readonly string[];
|
|
122
|
+
/**
|
|
123
|
+
* Per-claim membership matcher: each named claim must contain at least one
|
|
124
|
+
* of the listed values, or the token is rejected.
|
|
125
|
+
*/
|
|
126
|
+
readonly claims?: Readonly<Record<string, readonly string[]>>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Verifies a bearer OIDC token against an issuer's discovery URL. Pass the
|
|
130
|
+
* token without the `Bearer ` prefix (see {@link extractBearerToken}). The
|
|
131
|
+
* token must satisfy the configured `subjects`/`claims` matchers; on success
|
|
132
|
+
* the principal is tagged `principalType: "service"`. Unlike
|
|
133
|
+
* {@link verifyVercelOidc}, this never grants the Vercel current-project
|
|
134
|
+
* bypass. Returns `{ ok: false }` on failed verification or matchers.
|
|
135
|
+
*/
|
|
136
|
+
export declare function verifyOidc(token: string | null, config: VerifyOidcConfig): Promise<VerifyResult>;
|
|
137
|
+
/**
|
|
138
|
+
* Extracts the bearer token from an `Authorization: Bearer <token>` header.
|
|
139
|
+
* Returns `null` if the header is missing, the scheme isn't `Bearer`, or the
|
|
140
|
+
* value after `Bearer ` is empty.
|
|
141
|
+
*/
|
|
142
|
+
export declare function extractBearerToken(authorizationHeader: string | null): string | null;
|
|
143
|
+
/**
|
|
144
|
+
* Parsed IP allowlist for repeated checks. Construct once at module load,
|
|
145
|
+
* then call {@link isIpAllowed} per request.
|
|
146
|
+
*/
|
|
147
|
+
export type IpAllowList = RuntimeIpAllowList;
|
|
148
|
+
/**
|
|
149
|
+
* Parses exact IP addresses or CIDR blocks into a reusable
|
|
150
|
+
* {@link IpAllowList}. Entries are trimmed; throws on an empty entry, a `*`
|
|
151
|
+
* wildcard (use exact IP/CIDR syntax), or an invalid address or CIDR prefix.
|
|
152
|
+
*/
|
|
153
|
+
export declare function createIpAllowList(entries: readonly string[]): IpAllowList;
|
|
154
|
+
/**
|
|
155
|
+
* Returns whether `ip` is permitted by `allowList`. `null` always returns
|
|
156
|
+
* `false`. Adapters that need to allow unknown IPs should not call this.
|
|
157
|
+
*/
|
|
158
|
+
export declare function isIpAllowed(ip: string | null, allowList: IpAllowList): boolean;
|
|
159
|
+
/**
|
|
160
|
+
* One challenge entry attached to the `www-authenticate` header on a failure
|
|
161
|
+
* response. For a Basic+Bearer prompt, pass both:
|
|
162
|
+
* `[{ scheme: "Basic", parameters: { realm: "agent" } }, { scheme: "Bearer" }]`
|
|
163
|
+
*/
|
|
164
|
+
export interface UnauthorizedChallenge {
|
|
165
|
+
readonly scheme: "Basic" | "Bearer";
|
|
166
|
+
readonly parameters?: Readonly<Record<string, string>>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Options accepted by {@link createUnauthorizedResponse}.
|
|
170
|
+
*/
|
|
171
|
+
export interface UnauthorizedResponseOptions {
|
|
172
|
+
/**
|
|
173
|
+
* HTTP status code. Defaults to `401`. Use `403` for "authenticated but
|
|
174
|
+
* not allowed" outcomes.
|
|
175
|
+
*/
|
|
176
|
+
readonly status?: 401 | 403;
|
|
177
|
+
/**
|
|
178
|
+
* Machine-readable error code returned in the JSON body. Defaults to
|
|
179
|
+
* `"unauthorized"` (401) or `"forbidden"` (403).
|
|
180
|
+
*/
|
|
181
|
+
readonly code?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Human-readable error message returned in the JSON body. Defaults to a
|
|
184
|
+
* generic prompt.
|
|
185
|
+
*/
|
|
186
|
+
readonly message?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Optional `www-authenticate` challenge entries.
|
|
189
|
+
*/
|
|
190
|
+
readonly challenges?: readonly UnauthorizedChallenge[];
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Builds a JSON failure response shaped like the framework's other auth
|
|
194
|
+
* failures: `cache-control: no-store`, one `www-authenticate` header per
|
|
195
|
+
* challenge, and a `{ ok: false, code, error }` body.
|
|
196
|
+
*/
|
|
197
|
+
export declare function createUnauthorizedResponse(opts?: UnauthorizedResponseOptions): Response;
|
|
198
|
+
/**
|
|
199
|
+
* Options accepted by auth error classes. The class chooses the HTTP status.
|
|
200
|
+
*/
|
|
201
|
+
export type AuthErrorOptions = Omit<UnauthorizedResponseOptions, "status">;
|
|
202
|
+
/**
|
|
203
|
+
* Error thrown by auth callbacks to reject a route with a structured 401
|
|
204
|
+
* response. `routeAuth` catches it and returns its response; other errors
|
|
205
|
+
* propagate through the normal channel failure path.
|
|
206
|
+
*/
|
|
207
|
+
export declare class UnauthenticatedError extends Error {
|
|
208
|
+
readonly response: Response;
|
|
209
|
+
constructor(opts?: AuthErrorOptions);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Error thrown by auth callbacks to reject a route with a structured 403
|
|
213
|
+
* response. `routeAuth` catches it and returns its response; other errors
|
|
214
|
+
* propagate through the normal channel failure path.
|
|
215
|
+
*/
|
|
216
|
+
export declare class ForbiddenError extends Error {
|
|
217
|
+
readonly response: Response;
|
|
218
|
+
constructor(opts?: AuthErrorOptions);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Route auth callback. Returned value semantics inside {@link routeAuth}:
|
|
222
|
+
*
|
|
223
|
+
* - A {@link SessionAuthContext} accepts the request and halts the walk.
|
|
224
|
+
* - `null` or `undefined` skips to the next entry.
|
|
225
|
+
*
|
|
226
|
+
* If every entry skips (including the empty `[]` case), the walker returns a
|
|
227
|
+
* 401. To reject with a specific response, throw an
|
|
228
|
+
* {@link UnauthenticatedError} or {@link ForbiddenError}. To accept anonymous
|
|
229
|
+
* traffic, include {@link none} as the final entry.
|
|
230
|
+
*/
|
|
231
|
+
export type AuthFn<TEvent = Request> = (event: TEvent) => SessionAuthContext | null | undefined | Promise<SessionAuthContext | null | undefined>;
|
|
232
|
+
/**
|
|
233
|
+
* Walks an `AuthFn` (or array) in order against `request`. The first entry
|
|
234
|
+
* returning a {@link SessionAuthContext} wins; entries returning `null` or
|
|
235
|
+
* `undefined` are skipped. If the walk exhausts without a winner (including
|
|
236
|
+
* the empty-array case), returns a 401 {@link createUnauthorizedResponse}.
|
|
237
|
+
*
|
|
238
|
+
* Channel factories that share this resolution policy (e.g. `eveChannel`, or
|
|
239
|
+
* a custom `defineChannel` route handler) should call `routeAuth` rather than
|
|
240
|
+
* re-implement the walk.
|
|
241
|
+
*/
|
|
242
|
+
export declare function routeAuth(request: Request, auth: AuthFn<Request> | readonly AuthFn<Request>[]): Promise<SessionAuthContext | Response>;
|
|
243
|
+
/**
|
|
244
|
+
* Returns an {@link AuthFn} for scaffolded apps that makes unfinished
|
|
245
|
+
* production auth fail as an intentional 401 rather than an internal route
|
|
246
|
+
* error. Replace it before serving real users:
|
|
247
|
+
*
|
|
248
|
+
* ```ts
|
|
249
|
+
* eveChannel({ auth: [localDev(), vercelOidc(), placeholderAuth()] });
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* Outside production it returns `null`, so the auth walk keeps the same local
|
|
253
|
+
* development behavior as any other skipped entry.
|
|
254
|
+
*/
|
|
255
|
+
export declare function placeholderAuth(): AuthFn<Request>;
|
|
256
|
+
/**
|
|
257
|
+
* Returns an {@link AuthFn} that accepts any request anonymously, producing
|
|
258
|
+
* a synthetic principal with `principalType: "anonymous"`. Use it as the
|
|
259
|
+
* final entry in an `auth` array to opt routes into unauthenticated access:
|
|
260
|
+
*
|
|
261
|
+
* ```ts
|
|
262
|
+
* eveChannel({ auth: [none()] }); // every request accepted anonymously
|
|
263
|
+
* ```
|
|
264
|
+
*
|
|
265
|
+
* The returned `SessionAuthContext` halts the {@link routeAuth} walk, so
|
|
266
|
+
* `none()` terminates whatever array it appears in. It ignores its event
|
|
267
|
+
* argument, so `TEvent` is inferred from the surrounding array (defaulting
|
|
268
|
+
* to `unknown`) and composes with `AuthFn<Request>` entries without a type
|
|
269
|
+
* argument.
|
|
270
|
+
*/
|
|
271
|
+
export declare function none<TEvent = unknown>(): AuthFn<TEvent>;
|
|
272
|
+
/**
|
|
273
|
+
* Returns an {@link AuthFn} that authenticates requests during local
|
|
274
|
+
* development, keyed on the request URL's hostname (not the host process).
|
|
275
|
+
* A hostname is treated as loopback when it is `localhost` or any
|
|
276
|
+
* `*.localhost` subdomain (RFC 6761 routes the `.localhost` TLD to
|
|
277
|
+
* loopback), any IPv4 in `127.0.0.0/8`, or the IPv6 loopback `::1`.
|
|
278
|
+
*
|
|
279
|
+
* Matching requests get a synthetic principal with `principalType:
|
|
280
|
+
* "local-dev"`. Every other request returns `null`, skipping to the next
|
|
281
|
+
* entry under {@link routeAuth}, which makes `[localDev(), vercelOidc()]`
|
|
282
|
+
* the canonical "open on localhost, Vercel OIDC in prod" pattern.
|
|
283
|
+
*
|
|
284
|
+
* The check is not based on bare `process.env.VERCEL`: a deployment
|
|
285
|
+
* outside Vercel (Fly, Railway, raw container) leaves `VERCEL` unset and
|
|
286
|
+
* would then accept every public request. The one process-level exception
|
|
287
|
+
* is `vercel dev`, detected by `VERCEL=1` and `VERCEL_ENV=development`
|
|
288
|
+
* together. Only the local `vercel dev` server sets that pair (preview and
|
|
289
|
+
* production report `VERCEL_ENV=preview`/`production`), so it opens the
|
|
290
|
+
* dev server (which may serve over a non-loopback host) without opening a
|
|
291
|
+
* real deployment.
|
|
292
|
+
*
|
|
293
|
+
* Caveat: this assumes a sane edge in front of public origins. An origin
|
|
294
|
+
* that trusts an attacker-controlled `Host` header (no CDN, no normalizing
|
|
295
|
+
* reverse proxy) lets an attacker spoof `Host: localhost` and reach
|
|
296
|
+
* `localDev()`. Layer a real authenticator on such deployments.
|
|
297
|
+
*/
|
|
298
|
+
export declare function localDev(): AuthFn<Request>;
|
|
299
|
+
/**
|
|
300
|
+
* Options for {@link verifyVercelOidc} and {@link vercelOidc}.
|
|
301
|
+
*/
|
|
302
|
+
export interface VerifyVercelOidcOptions {
|
|
303
|
+
/**
|
|
304
|
+
* Optional `sub` patterns granting callers access on top of the always-on
|
|
305
|
+
* current-project bypass. Patterns use AWS IAM-style `*` wildcards and may
|
|
306
|
+
* target tokens minted by other Vercel projects (e.g.
|
|
307
|
+
* `"owner:acme:project:partner-agent:environment:*"`). The current project
|
|
308
|
+
* is always accepted regardless of this list.
|
|
309
|
+
*/
|
|
310
|
+
readonly subjects?: readonly string[];
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Verifies a bearer JWT minted by Vercel OIDC.
|
|
314
|
+
*
|
|
315
|
+
* Acceptance rule:
|
|
316
|
+
*
|
|
317
|
+
* - Tokens whose `project_id` matches `VERCEL_PROJECT_ID` are **always**
|
|
318
|
+
* accepted regardless of `subjects`, so the deployment's own runtime
|
|
319
|
+
* callers (subagent, internal fetches) authenticate without being
|
|
320
|
+
* enumerated.
|
|
321
|
+
* - Tokens with an `external_sub` claim authenticate as
|
|
322
|
+
* `principalType: "user"` when they match the current `VERCEL_PROJECT_ID`
|
|
323
|
+
* (if set) and `VERCEL_TARGET_ENV` / `VERCEL_ENV` (if set). `external_sub`
|
|
324
|
+
* becomes the Eve subject, `external_iss` or `connector_id` the Eve issuer
|
|
325
|
+
* when present, and string-valued OIDC profile claims (`name`, `picture`,
|
|
326
|
+
* `email`) are exposed as auth attributes.
|
|
327
|
+
* - Tokens from other Vercel projects are accepted **only** when their `sub`
|
|
328
|
+
* matches one of {@link VerifyVercelOidcOptions.subjects}.
|
|
329
|
+
*
|
|
330
|
+
* The `environment` claim is not constrained: production, preview, and
|
|
331
|
+
* development tokens for the current project all authenticate. Non-user
|
|
332
|
+
* principals are tagged `"runtime"` when the token's `environment` matches
|
|
333
|
+
* the current deployment, otherwise `"service"`.
|
|
334
|
+
*/
|
|
335
|
+
export declare function verifyVercelOidc(token: string | null, opts?: VerifyVercelOidcOptions): Promise<VerifyResult>;
|
|
336
|
+
/**
|
|
337
|
+
* Allowed values for {@link VercelSubjectInput.environment}. Use `"*"`
|
|
338
|
+
* to match any of `production`, `preview`, and `development` for the
|
|
339
|
+
* named project.
|
|
340
|
+
*/
|
|
341
|
+
export type VercelSubjectEnvironment = "production" | "preview" | "development" | "*";
|
|
342
|
+
/**
|
|
343
|
+
* Strict input shape accepted by {@link vercelSubject}.
|
|
344
|
+
*
|
|
345
|
+
* The `sub` claim carries human-readable slugs/names, not IDs. Stable
|
|
346
|
+
* project and team IDs (`prj_...`, `team_...`) live on the separate
|
|
347
|
+
* `project_id` / `owner_id` claims, which `verifyVercelOidc` matches
|
|
348
|
+
* against `VERCEL_PROJECT_ID` for the current-project bind. This helper
|
|
349
|
+
* composes a `sub` matcher, so its inputs are slugs.
|
|
350
|
+
*/
|
|
351
|
+
export interface VercelSubjectInput {
|
|
352
|
+
/**
|
|
353
|
+
* Vercel team slug (a.k.a. "owner"; e.g. `"acme"`) as embedded in the
|
|
354
|
+
* `sub` claim, **not** the stable team ID `team_...` (`VERCEL_TEAM_ID`).
|
|
355
|
+
*
|
|
356
|
+
* Must not contain `*` or `:` so authors cannot widen the matcher to
|
|
357
|
+
* "any team with a project of this name". Hand-write the subject string
|
|
358
|
+
* when cross-team federation is intentional.
|
|
359
|
+
*/
|
|
360
|
+
readonly teamSlug: string;
|
|
361
|
+
/**
|
|
362
|
+
* Vercel project name (e.g. `"acme_website"`) as embedded in the `sub`
|
|
363
|
+
* claim, **not** the stable project ID `prj_...` (`VERCEL_PROJECT_ID`).
|
|
364
|
+
* Same constraints as {@link teamSlug}.
|
|
365
|
+
*/
|
|
366
|
+
readonly projectName: string;
|
|
367
|
+
/**
|
|
368
|
+
* Vercel deployment environment, or `"*"` to match any environment for
|
|
369
|
+
* the named project. Defaults to `"production"` so an unspecified
|
|
370
|
+
* environment cannot silently accept preview/development tokens.
|
|
371
|
+
*/
|
|
372
|
+
readonly environment?: VercelSubjectEnvironment;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Builds a Vercel OIDC `sub` matcher pattern from a typed input.
|
|
376
|
+
*
|
|
377
|
+
* Vercel-issued tokens carry a `sub` of the form
|
|
378
|
+
* `owner:[TEAM_SLUG]:project:[PROJECT_NAME]:environment:[ENVIRONMENT]`.
|
|
379
|
+
* Hand-writing it invites two foot-guns: a misspelled slug (silently
|
|
380
|
+
* rejecting all callers) and over-broad wildcards (silently accepting
|
|
381
|
+
* unrelated callers). This helper rejects malformed inputs at construction
|
|
382
|
+
* time and forces an explicit `environment`.
|
|
383
|
+
*
|
|
384
|
+
* Use it inside {@link VerifyVercelOidcOptions.subjects} to layer
|
|
385
|
+
* additional Vercel-project callers on top of the current-project bypass:
|
|
386
|
+
*
|
|
387
|
+
* ```ts
|
|
388
|
+
* vercelOidc({
|
|
389
|
+
* subjects: [vercelSubject({ teamSlug: "partner", projectName: "data" })],
|
|
390
|
+
* });
|
|
391
|
+
* ```
|
|
392
|
+
*
|
|
393
|
+
* The `sub` claim flips when a team or project name changes, so any policy
|
|
394
|
+
* built on this helper must update with it; the stable team/project IDs are
|
|
395
|
+
* not exposed in `sub`. See Vercel's OIDC reference for the token anatomy.
|
|
396
|
+
*/
|
|
397
|
+
export declare function vercelSubject(input: VercelSubjectInput): string;
|
|
398
|
+
/**
|
|
399
|
+
* Returns an HTTP route auth callback backed by Vercel OIDC. See
|
|
400
|
+
* {@link verifyVercelOidc} for the always-on current-project bypass and how
|
|
401
|
+
* `subjects` extends acceptance to other Vercel projects.
|
|
402
|
+
*/
|
|
403
|
+
export declare function vercelOidc(opts?: VerifyVercelOidcOptions): AuthFn<Request>;
|
|
404
|
+
/** Returns an {@link AuthFn} that verifies HTTP Basic credentials via {@link verifyHttpBasic}. */
|
|
405
|
+
export declare function httpBasic(credentials: HttpBasicCredentials): AuthFn<Request>;
|
|
406
|
+
/** Returns an {@link AuthFn} that verifies an HMAC-signed bearer JWT via {@link verifyJwtHmac}. */
|
|
407
|
+
export declare function jwtHmac(config: VerifyJwtHmacConfig): AuthFn<Request>;
|
|
408
|
+
/** Returns an {@link AuthFn} that verifies an ECDSA-signed bearer JWT via {@link verifyJwtEcdsa}. */
|
|
409
|
+
export declare function jwtEcdsa(config: VerifyJwtEcdsaConfig): AuthFn<Request>;
|
|
410
|
+
/**
|
|
411
|
+
* Returns an {@link AuthFn} that verifies an OIDC bearer token on the inbound
|
|
412
|
+
* request via {@link verifyOidc}. Use {@link vercelOidc} instead for
|
|
413
|
+
* Vercel-issued tokens: it preconfigures the issuer, audience, and runtime
|
|
414
|
+
* principal flag.
|
|
415
|
+
*/
|
|
416
|
+
export declare function oidc(config: VerifyOidcConfig): AuthFn<Request>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createLogger}from"#internal/logging.js";import{decodeJwt}from"#compiled/jose/index.js";import{authenticateHttpBasicStrategy}from"#runtime/governance/auth/http-basic.js";import{authenticateJwtEcdsaStrategy}from"#runtime/governance/auth/jwt-ecdsa.js";import{authenticateJwtHmacStrategy}from"#runtime/governance/auth/jwt-hmac.js";import{authenticateOidcStrategy}from"#runtime/governance/auth/oidc.js";import{createRuntimeSessionAuthContext}from"#runtime/governance/auth/types.js";import{createRuntimeIpAllowList,isRuntimeIpAllowed}from"#runtime/governance/network/ip-allow-list.js";const vercelOidcLog=createLogger(`auth.vercel-oidc`);function verifyHttpBasic(e,t){if(e===null)return{ok:!1};let r=authenticateHttpBasicStrategy({authorization:e,strategy:{kind:`http-basic`,password:t.password,username:t.username}});return r.kind===`authenticated`?{ok:!0,sessionAuth:createRuntimeSessionAuthContext(r.principal)}:{ok:!1}}async function verifyJwtHmac(e,t){if(e===null||e.length===0)return{ok:!1};let n=await authenticateJwtHmacStrategy({strategy:{algorithm:t.algorithm,audiences:[...t.audiences],clockSkewSeconds:t.clockSkewSeconds??30,issuer:t.issuer,kind:`jwt-hmac`,secret:t.secret,...t.claims===void 0?{}:{claims:t.claims},...t.subjects===void 0?{}:{subjects:t.subjects}},token:e});return n.kind===`authenticated`?{ok:!0,sessionAuth:createRuntimeSessionAuthContext(n.principal)}:{ok:!1}}async function verifyJwtEcdsa(e,t){if(e===null||e.length===0)return{ok:!1};let n=await authenticateJwtEcdsaStrategy({strategy:{algorithm:t.algorithm,audiences:[...t.audiences],clockSkewSeconds:t.clockSkewSeconds??30,issuer:t.issuer,kind:`jwt-ecdsa`,publicKey:t.publicKey,...t.claims===void 0?{}:{claims:t.claims},...t.subjects===void 0?{}:{subjects:t.subjects}},token:e});return n.kind===`authenticated`?{ok:!0,sessionAuth:createRuntimeSessionAuthContext(n.principal)}:{ok:!1}}async function verifyOidc(e,t){let n=await runOidcVerification(e,{...t,acceptCurrentVercelProject:!1});return n.kind===`authenticated`?{ok:!0,sessionAuth:createRuntimeSessionAuthContext(n.principal)}:{ok:!1}}async function runOidcVerification(e,t){return e===null||e.length===0?{kind:`not-authenticated`}:await authenticateOidcStrategy({strategy:{acceptCurrentVercelProject:t.acceptCurrentVercelProject,audiences:[...t.audiences],clockSkewSeconds:t.clockSkewSeconds??30,discoveryUrl:t.discoveryUrl??`${t.issuer.replace(/\/$/,``)}/.well-known/openid-configuration`,issuer:t.issuer,kind:`oidc`,...t.claims===void 0?{}:{claims:t.claims},...t.subjects===void 0?{}:{subjects:t.subjects}},token:e})}function extractBearerToken(e){if(e===null)return null;let t=/^Bearer\s+(.+)$/i.exec(e)?.[1]?.trim();return t===void 0||t.length===0?null:t}function createIpAllowList(e){return createRuntimeIpAllowList(e)}function isIpAllowed(e,t){return e===null?!1:isRuntimeIpAllowed(e,t)}function createUnauthorizedResponse(e={}){let t=e.status??401,n=e.code??(t===403?`forbidden`:`unauthorized`),r=e.message??(t===403?`Forbidden.`:`Authorization is required for this route.`),i=e.challenges??[],a=new Headers({"cache-control":`no-store`});for(let e of i)a.append(`www-authenticate`,formatChallenge(e));return Response.json({code:n,error:r,ok:!1},{headers:a,status:t})}function formatChallenge(e){if(e.parameters===void 0||Object.keys(e.parameters).length===0)return e.scheme;let t=Object.entries(e.parameters).map(([e,t])=>`${e}="${escapeChallengeValue(t)}"`).join(`, `);return`${e.scheme} ${t}`}function escapeChallengeValue(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`)}var UnauthenticatedError=class extends Error{response;constructor(e={}){super(e.message??`Authorization is required for this route.`),this.name=`UnauthenticatedError`,this.response=createUnauthorizedResponse({...e,status:401})}},ForbiddenError=class extends Error{response;constructor(e={}){super(e.message??`Forbidden.`),this.name=`ForbiddenError`,this.response=createUnauthorizedResponse({...e,status:403})}};async function routeAuth(e,t){let n=Array.isArray(t)?t:[t];try{for(let t of n){let n=await t(e);if(n)return n}}catch(e){if(typeof e==`object`&&e&&`response`in e&&e.response instanceof Response)return e.response;throw e}return createUnauthorizedResponse({challenges:[{scheme:`Bearer`}]})}function placeholderAuth(){return()=>{if(process.env.VERCEL_ENV!==`production`)return null;throw new UnauthenticatedError({code:`eve_production_auth_not_configured`,message:`Production auth is not configured. Replace placeholderAuth() in agent/channels/eve.ts with your app's auth provider.`})}}function none(){return()=>ANONYMOUS_SESSION_AUTH_CONTEXT}function localDev(){return e=>process.env.VERCEL&&process.env.VERCEL_ENV===`development`||isLoopbackRequest(e)?LOCAL_DEV_SESSION_AUTH_CONTEXT:null}const LOOPBACK_HOSTNAMES=new Set([`localhost`,`[::1]`]),LOOPBACK_IPV4_PREFIX=/^127\./;function isLoopbackRequest(e){let t;try{t=new URL(e.url).hostname}catch{return!1}return!!(LOOPBACK_HOSTNAMES.has(t)||LOOPBACK_IPV4_PREFIX.test(t)||t.endsWith(`.localhost`))}const ANONYMOUS_SESSION_AUTH_CONTEXT={attributes:{},authenticator:`none`,principalId:`anonymous`,principalType:`anonymous`},LOCAL_DEV_SESSION_AUTH_CONTEXT={attributes:{},authenticator:`local-dev`,principalId:`local-dev`,principalType:`local-dev`};async function verifyVercelOidc(e,t={}){if(e===null||e.length===0)return{ok:!1};let n=decodeUnverifiedJwtClaims(e);if(n===null)return vercelOidcLog.debug(`Rejected token that failed to decode as a JWT.`),{ok:!1};if(!n.issuer.startsWith(`https://oidc.vercel.com/`))return vercelOidcLog.debug(`Rejected token whose issuer is not a Vercel OIDC issuer.`,{issuer:n.issuer}),{ok:!1};if(n.audiences.length===0)return vercelOidcLog.debug(`Rejected token with no audience claim.`,{issuer:n.issuer}),{ok:!1};if(!n.audiences.some(e=>e.startsWith(`https://vercel.com/`)))return vercelOidcLog.debug(`Rejected token whose audience is not a Vercel audience.`,{audiences:n.audiences,issuer:n.issuer}),{ok:!1};let r=await runOidcVerification(e,{acceptCurrentVercelProject:!0,audiences:n.audiences,issuer:n.issuer,subjects:t.subjects??[]});return r.kind===`authenticated`?(vercelOidcLog.debug(`Accepted Vercel OIDC token.`,{issuer:n.issuer,principalType:r.principal.principalType,subject:r.principal.subject}),{ok:!0,sessionAuth:createRuntimeSessionAuthContext(r.principal)}):(vercelOidcLog.debug(`Rejected Vercel OIDC token after verification.`,{audiences:n.audiences,issuer:n.issuer,reason:r.kind,subjectsConfigured:(t.subjects??[]).length>0,...r.kind===`misconfigured`?{detail:r.message}:{}}),{ok:!1})}function vercelSubject(e){assertVercelSubjectSegment(`teamSlug`,e.teamSlug),assertVercelSubjectSegment(`projectName`,e.projectName);let t=e.environment??`production`;if(t!==`production`&&t!==`preview`&&t!==`development`&&t!==`*`)throw Error(`vercelSubject: invalid environment ${JSON.stringify(t)}; expected "production", "preview", "development", or "*".`);return`owner:${e.teamSlug}:project:${e.projectName}:environment:${t}`}function assertVercelSubjectSegment(e,t){if(t.length===0)throw Error(`vercelSubject: ${e} must be a non-empty string.`);if(t.includes(`*`)||t.includes(`:`))throw Error(`vercelSubject: ${e} ${JSON.stringify(t)} may not contain ${t.includes(`:`)?`':'`:`'*'`}. Hand-write the subject string when wildcards are intentional.`)}function vercelOidc(e={}){return async t=>{let n=await verifyVercelOidc(extractBearerToken(t.headers.get(`authorization`)),e);return n.ok?n.sessionAuth:null}}function httpBasic(e){return t=>{let n=verifyHttpBasic(t.headers.get(`authorization`),e);return n.ok?n.sessionAuth:null}}function jwtHmac(e){return async t=>{let n=await verifyJwtHmac(extractBearerToken(t.headers.get(`authorization`)),e);return n.ok?n.sessionAuth:null}}function jwtEcdsa(e){return async t=>{let n=await verifyJwtEcdsa(extractBearerToken(t.headers.get(`authorization`)),e);return n.ok?n.sessionAuth:null}}function oidc(e){return async t=>{let n=await verifyOidc(extractBearerToken(t.headers.get(`authorization`)),e);return n.ok?n.sessionAuth:null}}function decodeUnverifiedJwtClaims(e){let n;try{n=decodeJwt(e)}catch{return null}return typeof n.iss!=`string`||n.iss.length===0?null:{audiences:typeof n.aud==`string`?[n.aud]:Array.isArray(n.aud)?n.aud.filter(e=>typeof e==`string`):[],issuer:n.iss}}export{ForbiddenError,UnauthenticatedError,createIpAllowList,createUnauthorizedResponse,extractBearerToken,httpBasic,isIpAllowed,jwtEcdsa,jwtHmac,localDev,none,oidc,placeholderAuth,routeAuth,vercelOidc,vercelSubject,verifyHttpBasic,verifyJwtEcdsa,verifyJwtHmac,verifyOidc,verifyVercelOidc};
|