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,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Durable session storage.
|
|
3
|
+
*
|
|
4
|
+
* Session-mutating steps return the current snapshot inside
|
|
5
|
+
* {@link DurableSessionState}; Workflow step results are the atomic
|
|
6
|
+
* persistence boundary for session program memory. The legacy
|
|
7
|
+
* `"eve.session"` stream remains as a fallback for old in-flight
|
|
8
|
+
* sessions that only carry a small state handle.
|
|
9
|
+
*
|
|
10
|
+
* The driver workflow run is pinned to the deployment that called
|
|
11
|
+
* `start()`; child turn workflows run on latest. Both
|
|
12
|
+
* {@link DurableSessionState} and {@link DurableSessionSnapshot} carry
|
|
13
|
+
* a `version` so a pinned driver can ferry shapes written by newer
|
|
14
|
+
* steps. Adding optional fields is forward-compatible (devalue
|
|
15
|
+
* preserves unknown POJO fields); shape-breaking changes bump
|
|
16
|
+
* `version` and add a migrator.
|
|
17
|
+
*/
|
|
18
|
+
import type { ModelMessage } from "ai";
|
|
19
|
+
import { type HarnessEmissionState } from "#harness/emission.js";
|
|
20
|
+
import type { HarnessSession, SessionStateMap } from "#harness/types.js";
|
|
21
|
+
import type { SandboxState } from "#sandbox/state.js";
|
|
22
|
+
import type { JsonObject } from "#shared/json.js";
|
|
23
|
+
/** Current wire version for {@link DurableSessionState} and {@link DurableSessionSnapshot}. */
|
|
24
|
+
export declare const DURABLE_SESSION_VERSION = 1;
|
|
25
|
+
/**
|
|
26
|
+
* Serializable handle to a durable session.
|
|
27
|
+
*
|
|
28
|
+
* Carries the current session snapshot plus the small projections the
|
|
29
|
+
* workflow body needs without taking a step boundary: identity, the
|
|
30
|
+
* hook continuation token,
|
|
31
|
+
* `hasProxyInputRequests` (a closed-contract short-circuit that lets
|
|
32
|
+
* the driver skip a per-delivery proxy-routing step when no
|
|
33
|
+
* descendant subagent is active), and `emissionState` (so workflow-body
|
|
34
|
+
* framework steps can stamp protocol events
|
|
35
|
+
* with `{ turnId, sequence, stepIndex }` without reading the full
|
|
36
|
+
* durable session). All other control-plane state travels via
|
|
37
|
+
* {@link import("#execution/next-driver-action.js").NextDriverAction}.
|
|
38
|
+
* `snapshot` is optional so old stream-backed states can still read
|
|
39
|
+
* from the legacy `eve.session` fallback.
|
|
40
|
+
*/
|
|
41
|
+
export interface DurableSessionState {
|
|
42
|
+
readonly version: typeof DURABLE_SESSION_VERSION;
|
|
43
|
+
readonly sessionId: string;
|
|
44
|
+
readonly continuationToken: string;
|
|
45
|
+
readonly hasProxyInputRequests: boolean;
|
|
46
|
+
readonly emissionState: HarnessEmissionState;
|
|
47
|
+
readonly snapshot?: DurableSessionSnapshot;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Durable projection of {@link HarnessSession} embedded in state
|
|
51
|
+
* snapshots or legacy `eve.session` stream chunks.
|
|
52
|
+
*
|
|
53
|
+
* Omits `agent.modelReference`, `agent.tools`,
|
|
54
|
+
* `agent.compactionModelReference`, and the `compaction` thresholds —
|
|
55
|
+
* those are rebuilt every turn from `bundle.turnAgent` by
|
|
56
|
+
* {@link import("#execution/session.js").hydrateDurableSession}.
|
|
57
|
+
* `agent.system` is the session-start prompt snapshot, pinned at
|
|
58
|
+
* `createSession`.
|
|
59
|
+
*/
|
|
60
|
+
export interface DurableSession {
|
|
61
|
+
readonly sessionId: string;
|
|
62
|
+
/**
|
|
63
|
+
* Top user-facing session id in the dispatch chain. Optional because
|
|
64
|
+
* a top-level session is its own root. Persisted so a rehydrated
|
|
65
|
+
* subagent session still knows its root after a workflow step
|
|
66
|
+
* boundary.
|
|
67
|
+
*/
|
|
68
|
+
readonly rootSessionId?: string;
|
|
69
|
+
readonly continuationToken: string;
|
|
70
|
+
readonly history: ModelMessage[];
|
|
71
|
+
readonly outputSchema?: JsonObject;
|
|
72
|
+
readonly state?: SessionStateMap;
|
|
73
|
+
readonly sandboxState?: SandboxState;
|
|
74
|
+
readonly agent: {
|
|
75
|
+
readonly system: string;
|
|
76
|
+
};
|
|
77
|
+
readonly compaction?: {
|
|
78
|
+
readonly lastKnownInputTokens?: number;
|
|
79
|
+
readonly lastKnownPromptMessageCount?: number;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/** Versioned wrapper around a {@link DurableSession} on the wire. */
|
|
83
|
+
export interface DurableSessionSnapshot {
|
|
84
|
+
readonly version: typeof DURABLE_SESSION_VERSION;
|
|
85
|
+
readonly session: DurableSession;
|
|
86
|
+
}
|
|
87
|
+
/** Projects a {@link HarnessSession} into the boundary-safe state value. */
|
|
88
|
+
export declare function projectSessionState(input: {
|
|
89
|
+
readonly session: HarnessSession;
|
|
90
|
+
}): DurableSessionState;
|
|
91
|
+
/**
|
|
92
|
+
* Reads the latest durable session snapshot and returns the
|
|
93
|
+
* {@link DurableSession} inside.
|
|
94
|
+
*
|
|
95
|
+
* New states carry the snapshot directly through Workflow step
|
|
96
|
+
* results. States without `snapshot` fall back to the legacy
|
|
97
|
+
* `eve.session` stream tail (`startIndex: -1`). The snapshot is
|
|
98
|
+
* migrated to {@link DURABLE_SESSION_VERSION} before return; unknown
|
|
99
|
+
* versions throw.
|
|
100
|
+
*
|
|
101
|
+
* Devalue handles encode/decode so rich types in the session (URL
|
|
102
|
+
* `FilePart.data`, Buffer, Date, Map, Set) round-trip structurally.
|
|
103
|
+
*
|
|
104
|
+
* MUST be called from inside a `"use step"` body.
|
|
105
|
+
*/
|
|
106
|
+
export declare function readDurableSession(state: DurableSessionState): Promise<DurableSession>;
|
|
107
|
+
/**
|
|
108
|
+
* Creates the projected {@link DurableSessionState} with the current
|
|
109
|
+
* snapshot embedded in the Workflow step result.
|
|
110
|
+
*/
|
|
111
|
+
export declare function createDurableSessionState(input: {
|
|
112
|
+
readonly session: HarnessSession;
|
|
113
|
+
}): DurableSessionState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{projectToDurableSession}from"#execution/session.js";import{getHarnessEmissionState}from"#harness/emission.js";import{hasProxyInputRequests}from"#harness/proxy-input-requests.js";import{migrateDurableSessionSnapshot}from"#execution/durable-session-migrations/snapshot.js";const EVE_SESSION_STREAM_NAMESPACE=`eve.session`,DURABLE_SESSION_VERSION=1,DURABLE_SESSION_READ_TIMEOUT_MS=1e4;function projectSessionState(e){return{continuationToken:e.session.continuationToken,emissionState:getHarnessEmissionState(e.session.state),hasProxyInputRequests:hasProxyInputRequests(e.session.state),sessionId:e.session.sessionId,version:1}}async function readDurableSession(e){if(e.snapshot!==void 0)return migrateDurableSessionSnapshot(e.snapshot).session;let{getRun:t}=await import(`#compiled/@workflow/core/runtime.js`),n=t(e.sessionId).getReadable({namespace:EVE_SESSION_STREAM_NAMESPACE,startIndex:-1}).getReader(),r=`eve durable session tail read failed`,i;try{let t=await Promise.race([n.read().then(e=>({kind:`read`,read:e})),new Promise(e=>{i=setTimeout(()=>e({kind:`timeout`}),DURABLE_SESSION_READ_TIMEOUT_MS)})]);if(t.kind===`timeout`)throw r=`eve durable session tail read timed out after ${DURABLE_SESSION_READ_TIMEOUT_MS}ms`,new DurableSessionReadTimeoutError(e);if(t.read.done||t.read.value===void 0)throw r=`eve durable session tail read returned no snapshot`,Error(`No durable session snapshot found in stream "${EVE_SESSION_STREAM_NAMESPACE}" for run ${e.sessionId}.`);return r=`eve durable session tail read complete`,migrateDurableSessionSnapshot(t.read.value).session}finally{i!==void 0&&clearTimeout(i),await n.cancel(r).catch(()=>{}),n.releaseLock()}}var DurableSessionReadTimeoutError=class extends Error{constructor(e){super(`Timed out reading durable session snapshot from stream "${EVE_SESSION_STREAM_NAMESPACE}" for run ${e.sessionId} after ${DURABLE_SESSION_READ_TIMEOUT_MS}ms.`),this.name=`DurableSessionReadTimeoutError`}};function createDurableSessionState(t){let n={session:projectToDurableSession(t.session),version:1};return{...projectSessionState({session:t.session}),snapshot:n}}export{DURABLE_SESSION_VERSION,createDurableSessionState,projectSessionState,readDurableSession};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builders for the framework's reserved `$eve.*` workflow attributes.
|
|
3
|
+
*
|
|
4
|
+
* Each builder returns a plain `Record<string, string | number | undefined>`
|
|
5
|
+
* suitable for `setEveAttributes` from
|
|
6
|
+
* {@link "#runtime/attributes/emit.js" }. Builders are intentionally
|
|
7
|
+
* pure data → data transforms: they hold zero dependencies on the
|
|
8
|
+
* workflow runtime so the workflow body, step bodies, and tests can
|
|
9
|
+
* all call them identically.
|
|
10
|
+
*
|
|
11
|
+
* `$eve.*` is the framework-owned attribute namespace. Authored code
|
|
12
|
+
* never emits these tags directly — they describe the structural shape
|
|
13
|
+
* of a session/turn/subagent run so dashboards can stitch a tree of
|
|
14
|
+
* workflow runs back together without inspecting their bodies.
|
|
15
|
+
*
|
|
16
|
+
* Tag inventory (recap):
|
|
17
|
+
* - `$eve.type` — `"session" | "turn" | "subagent"`
|
|
18
|
+
* - `$eve.parent` — sessionId of the **immediate** parent
|
|
19
|
+
* - `$eve.root` — sessionId of the **root** session in the chain
|
|
20
|
+
* - `$eve.parent_call` — parent runtime-action tool call id (subagent rows only)
|
|
21
|
+
* - `$eve.parent_turn` — parent turn id that dispatched the subagent (subagent rows only)
|
|
22
|
+
* - `$eve.subagent` — active compiled graph node id (subagent rows only)
|
|
23
|
+
* - `$eve.trigger` — channel adapter kind (session/subagent rows)
|
|
24
|
+
* - `$eve.title` — truncated session title from the first user message
|
|
25
|
+
*/
|
|
26
|
+
import type { EveAttributeValue } from "#runtime/attributes/emit.js";
|
|
27
|
+
/**
|
|
28
|
+
* Active compiled graph node id for the session's agent. Returned by
|
|
29
|
+
* `createSessionStep` so workflow bodies don't have to load the bundle
|
|
30
|
+
* themselves. Equal to the framework root sentinel (`"__root__"`) for
|
|
31
|
+
* the root agent; equal to the subagent's compiled node id for
|
|
32
|
+
* delegated child runs. Tag emitters use this to populate
|
|
33
|
+
* `$eve.subagent`.
|
|
34
|
+
*/
|
|
35
|
+
export interface SessionIdentitySummary {
|
|
36
|
+
readonly nodeId: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Parent session lineage decoded from the serialized run context.
|
|
40
|
+
*/
|
|
41
|
+
export interface SessionParentLineage {
|
|
42
|
+
readonly callId?: string;
|
|
43
|
+
readonly rootSessionId?: string;
|
|
44
|
+
readonly sessionId?: string;
|
|
45
|
+
readonly turnId?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Reads the active channel kind from a deserialized context map.
|
|
49
|
+
* Returns `undefined` when the channel slot is missing or malformed —
|
|
50
|
+
* tag emission silently drops undefined values.
|
|
51
|
+
*/
|
|
52
|
+
export declare function readChannelKind(serializedContext: Record<string, unknown>): string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Reads parent session lineage from a deserialized context map. Returns
|
|
55
|
+
* an empty object for top-level runs or malformed delegated contexts.
|
|
56
|
+
*/
|
|
57
|
+
export declare function readParentLineage(serializedContext: Record<string, unknown>): SessionParentLineage;
|
|
58
|
+
/**
|
|
59
|
+
* Reads the immediate parent session id from a deserialized context map.
|
|
60
|
+
* Returns `undefined` when the run is a top-level session.
|
|
61
|
+
*/
|
|
62
|
+
export declare function readParentSessionId(serializedContext: Record<string, unknown>): string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Reads the **root** session id from a deserialized context map.
|
|
65
|
+
*
|
|
66
|
+
* `eve.parentSession.rootSessionId` is denormalized at every dispatch
|
|
67
|
+
* site (see {@link "#channel/types.js".SessionParent}) so a subagent
|
|
68
|
+
* five levels deep can still attribute itself to the top user-facing
|
|
69
|
+
* session without walking the chain. Returns `undefined` for top-level
|
|
70
|
+
* runs, which carry no `eve.parentSession`.
|
|
71
|
+
*/
|
|
72
|
+
export declare function readRootSessionId(serializedContext: Record<string, unknown>): string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Maximum visible length (in code points) of a derived `$eve.title`.
|
|
75
|
+
*
|
|
76
|
+
* The runtime separately caps every tag value to a byte budget
|
|
77
|
+
* (`EVE_ATTRIBUTE_VALUE_MAX_BYTES`), but titles render as the first
|
|
78
|
+
* column of the dashboard's run table, so they get a tighter,
|
|
79
|
+
* display-oriented cap here. Kept well under the byte budget so the
|
|
80
|
+
* value never reaches the runtime truncator.
|
|
81
|
+
*/
|
|
82
|
+
export declare const EVE_SESSION_TITLE_MAX_CHARS = 80;
|
|
83
|
+
/**
|
|
84
|
+
* Derives the `$eve.title` value from the first user message of a
|
|
85
|
+
* top-level session.
|
|
86
|
+
*
|
|
87
|
+
* Returns `undefined` when no plain-text content is available; the
|
|
88
|
+
* attribute emitter strips undefined values. Multimodal messages
|
|
89
|
+
* (image/file parts) contribute only their text parts to keep the
|
|
90
|
+
* title human-readable. Long prompts are truncated to
|
|
91
|
+
* {@link EVE_SESSION_TITLE_MAX_CHARS} code points with a trailing
|
|
92
|
+
* ellipsis so the dashboard's title column stays readable.
|
|
93
|
+
*/
|
|
94
|
+
export declare function deriveSessionTitle(message: unknown): string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Builds the `$eve.*` attribute payload for a top-level session run
|
|
97
|
+
* (`workflowEntry` invoked without an `eve.parentSession`).
|
|
98
|
+
*
|
|
99
|
+
* `$eve.root` is intentionally omitted — the session row IS the root,
|
|
100
|
+
* so its own `workflowRunId` already identifies the chain root.
|
|
101
|
+
*/
|
|
102
|
+
export declare function buildSessionAttributes(input: {
|
|
103
|
+
readonly inputMessage: unknown;
|
|
104
|
+
readonly serializedContext: Record<string, unknown>;
|
|
105
|
+
}): Record<string, EveAttributeValue>;
|
|
106
|
+
/**
|
|
107
|
+
* Builds the `$eve.*` attribute payload for a delegated subagent root
|
|
108
|
+
* run (`workflowEntry` invoked with an `eve.parentSession`).
|
|
109
|
+
*
|
|
110
|
+
* `$eve.root` carries the **root** session id so the dashboard can
|
|
111
|
+
* group every descendant under one query: `search($eve.root=<root>)`
|
|
112
|
+
* returns all turns and nested subagents under that user-facing
|
|
113
|
+
* session in a single round trip.
|
|
114
|
+
*/
|
|
115
|
+
export declare function buildSubagentRootAttributes(input: {
|
|
116
|
+
readonly identity: SessionIdentitySummary;
|
|
117
|
+
readonly parentCallId?: string;
|
|
118
|
+
readonly parentSessionId: string;
|
|
119
|
+
readonly parentTurnId?: string;
|
|
120
|
+
readonly rootSessionId: string;
|
|
121
|
+
readonly serializedContext: Record<string, unknown>;
|
|
122
|
+
}): Record<string, EveAttributeValue>;
|
|
123
|
+
/**
|
|
124
|
+
* Builds the `$eve.*` attribute payload for one turn workflow run.
|
|
125
|
+
*
|
|
126
|
+
* Turns live one level below their session: `$eve.parent` always points
|
|
127
|
+
* to the parent's sessionId (which is the session-row's
|
|
128
|
+
* `workflowRunId`), and `$eve.root` denormalizes the chain root (equal
|
|
129
|
+
* to `$eve.parent` for turns of top-level sessions). Turn ordering is
|
|
130
|
+
* recovered from each run's `createdAt`, so no explicit sequence tag is
|
|
131
|
+
* emitted.
|
|
132
|
+
*/
|
|
133
|
+
export declare function buildTurnAttributes(input: {
|
|
134
|
+
readonly parentSessionId: string;
|
|
135
|
+
readonly rootSessionId: string;
|
|
136
|
+
}): Record<string, EveAttributeValue>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isNonEmptyString}from"#shared/guards.js";function readChannelKind(t){let n=t[`eve.channel`]?.kind;return isNonEmptyString(n)?n:void 0}function readParentLineage(t){let n=t[`eve.parentSession`],r=n?.callId,i=n?.rootSessionId,a=n?.sessionId,o=n?.turn?.id;return{callId:isNonEmptyString(r)?r:void 0,rootSessionId:isNonEmptyString(i)?i:void 0,sessionId:isNonEmptyString(a)?a:void 0,turnId:isNonEmptyString(o)?o:void 0}}function readParentSessionId(e){return readParentLineage(e).sessionId}function readRootSessionId(e){return readParentLineage(e).rootSessionId}const EVE_SESSION_TITLE_MAX_CHARS=80;function deriveSessionTitle(e){let t=collectMessageText(e);if(t===void 0||t.length===0)return;let n=t.replace(/\s+/gu,` `).trim();if(n.length===0)return;let r=Array.from(n);return r.length<=80?n:`${r.slice(0,79).join(``)}…`}function collectMessageText(e){if(typeof e==`string`)return e;if(!Array.isArray(e))return;let t=[];for(let n of e)n&&typeof n==`object`&&n.type===`text`&&typeof n.text==`string`&&t.push(n.text);return t.length>0?t.join(` `):void 0}function buildSessionAttributes(e){return{"$eve.type":`session`,"$eve.trigger":readChannelKind(e.serializedContext),"$eve.title":deriveSessionTitle(e.inputMessage)}}function buildSubagentRootAttributes(e){return{"$eve.type":`subagent`,"$eve.parent":e.parentSessionId,"$eve.parent_call":e.parentCallId,"$eve.parent_turn":e.parentTurnId,"$eve.root":e.rootSessionId,"$eve.subagent":e.identity.nodeId,"$eve.trigger":readChannelKind(e.serializedContext)}}function buildTurnAttributes(e){return{"$eve.type":`turn`,"$eve.parent":e.parentSessionId,"$eve.root":e.rootSessionId}}export{EVE_SESSION_TITLE_MAX_CHARS,buildSessionAttributes,buildSubagentRootAttributes,buildTurnAttributes,deriveSessionTitle,readChannelKind,readParentLineage,readParentSessionId,readRootSessionId};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Closed-contract dispatch surface between session-mutating step
|
|
3
|
+
* bodies (latest deployment) and the durable driver workflow (pinned
|
|
4
|
+
* to whichever deployment called `start()`).
|
|
5
|
+
*
|
|
6
|
+
* The driver matches on `kind` and follows a fixed playbook per arm.
|
|
7
|
+
* Adding a new arm is breaking (pinned drivers can't dispatch an
|
|
8
|
+
* unknown `kind`); adding optional fields inside an existing arm is
|
|
9
|
+
* forward-compatible because the driver passes the action through by
|
|
10
|
+
* reference and devalue preserves unknown POJO fields. Do not
|
|
11
|
+
* destructure-and-rebuild a `NextDriverAction` — full destructuring
|
|
12
|
+
* strips unknown fields.
|
|
13
|
+
*/
|
|
14
|
+
import type { DurableSessionState } from "#execution/durable-session-store.js";
|
|
15
|
+
/** Discriminated union the driver workflow body dispatches on. */
|
|
16
|
+
export type NextDriverAction = {
|
|
17
|
+
readonly kind: "done";
|
|
18
|
+
readonly output: unknown;
|
|
19
|
+
readonly isError?: boolean;
|
|
20
|
+
readonly sessionState: DurableSessionState;
|
|
21
|
+
readonly serializedContext: Record<string, unknown>;
|
|
22
|
+
} | {
|
|
23
|
+
readonly kind: "park";
|
|
24
|
+
readonly sessionState: DurableSessionState;
|
|
25
|
+
readonly serializedContext: Record<string, unknown>;
|
|
26
|
+
readonly authorizationNames?: readonly string[];
|
|
27
|
+
} | {
|
|
28
|
+
readonly kind: "dispatch-runtime-actions";
|
|
29
|
+
readonly pendingActionKeys: readonly string[];
|
|
30
|
+
readonly sessionState: DurableSessionState;
|
|
31
|
+
readonly serializedContext: Record<string, unknown>;
|
|
32
|
+
} | {
|
|
33
|
+
readonly kind: "dispatch-code-mode-runtime-actions";
|
|
34
|
+
readonly pendingActionKeys: readonly string[];
|
|
35
|
+
readonly sessionState: DurableSessionState;
|
|
36
|
+
readonly serializedContext: Record<string, unknown>;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Runtime, SessionCapabilities } from "#channel/types.js";
|
|
2
|
+
import type { HandleEventFn, HarnessToolMap, StepFn } from "#harness/types.js";
|
|
3
|
+
import type { RunMode } from "#shared/run-mode.js";
|
|
4
|
+
import type { RuntimeCompiledArtifactsSource } from "#runtime/compiled-artifacts-source.js";
|
|
5
|
+
import type { ResolvedRuntimeAgentNode } from "#runtime/graph.js";
|
|
6
|
+
/**
|
|
7
|
+
* Factory that creates a {@link Runtime} for the given compiled
|
|
8
|
+
* artifacts source and optional node id. Matches the signature of
|
|
9
|
+
* `createWorkflowRuntime`, so callers pass the constructor directly —
|
|
10
|
+
* no wrapper needed.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateRuntime = (config: {
|
|
13
|
+
readonly compiledArtifactsSource: RuntimeCompiledArtifactsSource;
|
|
14
|
+
readonly nodeId?: string;
|
|
15
|
+
}) => Runtime;
|
|
16
|
+
/**
|
|
17
|
+
* Input for building a harness step for one resolved runtime node.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateExecutionNodeStepInput {
|
|
20
|
+
/**
|
|
21
|
+
* Session-level capabilities propagated from the runtime. The
|
|
22
|
+
* harness passes this through to `buildToolSet` so `ask_question`
|
|
23
|
+
* registration and any other capability-gated behavior tracks the
|
|
24
|
+
* current run.
|
|
25
|
+
*/
|
|
26
|
+
readonly capabilities?: SessionCapabilities;
|
|
27
|
+
readonly compiledArtifactsSource: RuntimeCompiledArtifactsSource;
|
|
28
|
+
/**
|
|
29
|
+
* Runtime constructor used by the subagent tool executor to start
|
|
30
|
+
* delegated child runs on the same workflow runtime as the parent.
|
|
31
|
+
*/
|
|
32
|
+
readonly createRuntime: CreateRuntime;
|
|
33
|
+
readonly handleEvent?: HandleEventFn;
|
|
34
|
+
readonly mode: RunMode;
|
|
35
|
+
readonly node: ResolvedRuntimeAgentNode;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Builds a harness step for one resolved runtime node using the execution-owned
|
|
39
|
+
* tool, sandbox, and subagent wiring.
|
|
40
|
+
*/
|
|
41
|
+
export declare function createExecutionNodeStep(input: CreateExecutionNodeStepInput): StepFn;
|
|
42
|
+
/**
|
|
43
|
+
* Resolves unified {@link HarnessToolDefinition}s from the node's registries.
|
|
44
|
+
*
|
|
45
|
+
* For authored tools: copies all lifecycle fields from the resolved definition.
|
|
46
|
+
* For subagent tools: surfaces runtime-owned subagent-call metadata and leaves
|
|
47
|
+
* execution to the runtime layer.
|
|
48
|
+
* Tools without `execute` (provider-managed) get entries with schema but no execute.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createNodeHarnessTools(input: {
|
|
51
|
+
readonly node: ResolvedRuntimeAgentNode;
|
|
52
|
+
}): HarnessToolMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createLogger}from"#internal/logging.js";import{jsonSchema}from"ai";import{resolveInstalledPackageInfo}from"#internal/application/package.js";import{createToolLoopHarness}from"#harness/tool-loop.js";import{resolveCodeModeEnabled}from"#shared/code-mode.js";import{resolveRuntimeModelReference}from"#runtime/agent/resolve-model.js";import{findRegisteredRuntimeTool}from"#runtime/tools/registry.js";import{SUBAGENT_TOOL_INPUT_SCHEMA}from"#runtime/subagents/registry.js";import{createToolCompactionHandler}from"#execution/tool-compaction.js";import{buildUnauthorizedToolContext,createAuthorizedToolExecute}from"#execution/tool-auth.js";const log=createLogger(`execution.node-step`);function createExecutionNodeStep(e){let t=createRuntimeModelResolver(e.compiledArtifactsSource),n=createNodeHarnessTools({node:e.node}),a=createToolCompactionHandler(collectResolvedTools(e.node));return createToolLoopHarness({capabilities:e.capabilities,codeMode:resolveCodeModeEnabled(e.node.agent.config?.experimental?.codeMode),workflow:e.node.agent.workflowEnabled===!0,handleEvent:e.handleEvent,mode:e.mode,onCompaction:a,resolveModel:t,runtimeIdentity:buildRuntimeIdentity(e.node),tools:n})}function buildRuntimeIdentity(e){let t=resolveInstalledPackageInfo(),r={agentId:e.turnAgent.id,agentName:e.agent.config?.name,eveVersion:t.version,modelId:e.turnAgent.model.id},i=process.env.VERCEL_GIT_COMMIT_SHA?.trim(),a=process.env.VERCEL_GIT_COMMIT_REF?.trim(),o=process.env.VERCEL_DEPLOYMENT_CREATED_AT?.trim();return i||a||o?{...r,build:{deployedAt:o||void 0,gitBranch:a||void 0,gitSha:i||void 0}}:r}function createRuntimeModelResolver(e){return t=>resolveRuntimeModelReference(t,{compiledArtifactsSource:e})}function collectResolvedTools(e){return[...e.toolRegistry.toolsByName.values()].map(e=>e.definition)}function createNodeHarnessTools(e){let n=new Map;for(let t of e.node.turnAgent.tools){let r=resolveHarnessToolDefinition({node:e.node,tool:t});r!==null&&n.set(t.name,r)}return n.has(`agent`)||n.set(`agent`,{description:`Launch a new agent to handle a complex, multi-step subtask.`,inputSchema:jsonSchema(SUBAGENT_TOOL_INPUT_SCHEMA),name:`agent`,runtimeAction:{kind:`subagent-call`,nodeId:e.node.nodeId,subagentName:`agent`}}),n}function resolveHarnessToolDefinition(e){if(e.tool.kind===`subagent`)return{description:e.tool.description??``,inputSchema:jsonSchema(e.tool.inputSchema??{}),name:e.tool.name,outputSchema:e.tool.outputSchema===void 0?void 0:jsonSchema(e.tool.outputSchema),runtimeAction:{kind:`subagent-call`,nodeId:e.tool.nodeId,subagentName:e.tool.name}};if(e.tool.kind===`remote`)return{description:e.tool.description??``,inputSchema:jsonSchema(e.tool.inputSchema??{}),name:e.tool.name,outputSchema:e.tool.outputSchema===void 0?void 0:jsonSchema(e.tool.outputSchema),runtimeAction:{kind:`remote-agent-call`,nodeId:e.tool.nodeId,remoteAgentName:e.tool.name,subagentName:e.tool.name}};let n=findRegisteredRuntimeTool(e.node.toolRegistry,e.tool.name);if(n===null)return log.warn(`declared tool is not registered — omitting from toolset`,{toolName:e.tool.name,nodeId:e.node.nodeId}),null;let r=n.definition,i=r.sourceId.startsWith(`eve:`),a=r.execute;return{approvalKey:r.approvalKey,description:r.description,execute:resolveAuthoredExecute({auth:r.auth,isFrameworkTool:i,rawExecute:a,scope:r.name}),inputSchema:r.inputStandardSchema??jsonSchema(r.inputSchema??{}),name:r.name,needsApproval:r.needsApproval,outputSchema:r.outputStandardSchema??maybeJsonSchema(r.outputSchema),toModelOutput:r.toModelOutput}}function resolveAuthoredExecute(e){let{auth:t,isFrameworkTool:n,rawExecute:r,scope:i}=e;if(r===void 0)return;if(n)return r;let a=r;return t===void 0?e=>a(e,buildUnauthorizedToolContext(i)):createAuthorizedToolExecute({auth:t,execute:a,scope:i})}function maybeJsonSchema(e){return e===void 0?void 0:jsonSchema(e)}export{createExecutionNodeStep,createNodeHarnessTools};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { HarnessSession } from "#harness/types.js";
|
|
2
|
+
import type { RuntimeRemoteAgentCallActionRequest } from "#runtime/actions/types.js";
|
|
3
|
+
import type { RuntimeSubagentRegistry } from "#runtime/subagents/registry.js";
|
|
4
|
+
import type { ResolvedRuntimeRemoteAgentNode } from "#runtime/types.js";
|
|
5
|
+
export declare function startRemoteAgentSession(input: {
|
|
6
|
+
readonly action: RuntimeRemoteAgentCallActionRequest;
|
|
7
|
+
readonly callbackBaseUrl: string | undefined;
|
|
8
|
+
readonly remote: ResolvedRuntimeRemoteAgentNode;
|
|
9
|
+
readonly session: HarnessSession;
|
|
10
|
+
}): Promise<string>;
|
|
11
|
+
export declare function resolveRemoteAgentForAction(input: {
|
|
12
|
+
readonly nodeId: string;
|
|
13
|
+
readonly registry: RuntimeSubagentRegistry["subagentsByNodeId"];
|
|
14
|
+
readonly remoteAgentName: string;
|
|
15
|
+
}): ResolvedRuntimeRemoteAgentNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createEveCallbackRoutePath}from"#protocol/routes.js";import{EVE_SESSION_ID_HEADER}from"#protocol/message.js";import{createWorkflowCallbackUrl}from"#execution/workflow-callback-url.js";import{formatSubagentInvocation}from"#execution/subagent-invocation.js";async function startRemoteAgentSession(n){let r=n.session.continuationToken;if(!r)throw Error(`Cannot dispatch remote agent without a parent continuation token.`);if(!n.callbackBaseUrl)throw Error(`Cannot dispatch remote agent without a callback base URL.`);let i=await resolveRemoteAgentRequestHeaders(n.remote),a=await fetch(createRemoteAgentSessionUrl(n.remote),{body:JSON.stringify({callback:{callId:n.action.callId,subagentName:n.action.remoteAgentName,token:r,url:createWorkflowCallbackUrl(n.callbackBaseUrl,createEveCallbackRoutePath(r))},message:formatRemoteAgentCallInputMessage(n.action),mode:`task`,outputSchema:n.action.input.outputSchema??n.remote.outputSchema}),headers:{"content-type":`application/json`,...i},method:`POST`});if(!a.ok)throw Error(`Remote agent "${n.action.remoteAgentName}" create-session request failed with HTTP ${a.status}.`);let o=a.headers.get(EVE_SESSION_ID_HEADER);if(o!==null&&o.length>0)return o;try{let e=await a.json();if(typeof e.sessionId==`string`&&e.sessionId.length>0)return e.sessionId}catch{}throw Error(`Remote agent "${n.action.remoteAgentName}" create-session response did not include a session id.`)}function resolveRemoteAgentForAction(e){let t=e.registry.get(e.nodeId)?.definition;if(t?.kind!==`remote`)throw Error(`Missing remote agent "${e.remoteAgentName}" in runtime registry.`);return t}function createRemoteAgentSessionUrl(e){return new URL(e.path,`${trimTrailingSlash(e.url)}/`).toString()}async function resolveRemoteAgentRequestHeaders(e){let t={};return e.headers!==void 0&&Object.assign(t,typeof e.headers==`function`?await e.headers():e.headers),e.auth!==void 0&&Object.assign(t,(await e.auth()).headers),t}function formatRemoteAgentCallInputMessage(e){let t=typeof e.input.message==`string`?e.input.message:``;return formatSubagentInvocation({description:e.description,message:t,name:e.remoteAgentName}).message}function trimTrailingSlash(e){return e.endsWith(`/`)?e.slice(0,-1):e}export{resolveRemoteAgentForAction,startRemoteAgentSession};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RunInput } from "#channel/types.js";
|
|
2
|
+
import { ContextContainer } from "#context/container.js";
|
|
3
|
+
import { type CompiledBundle } from "#runtime/sessions/runtime-context-keys.js";
|
|
4
|
+
/**
|
|
5
|
+
* Builds the bootstrap {@link ContextContainer} for one run.
|
|
6
|
+
*/
|
|
7
|
+
export declare function buildRunContext(input: {
|
|
8
|
+
readonly bundle: CompiledBundle;
|
|
9
|
+
readonly run: RunInput;
|
|
10
|
+
}): ContextContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AuthKey,CapabilitiesKey,ChannelInstrumentationKey,ContinuationTokenKey,InitiatorAuthKey,ModeKey,ParentSessionKey,SessionCallbackKey}from"#context/keys.js";import{ContextContainer}from"#context/container.js";import{BundleKey}from"#runtime/sessions/runtime-context-keys.js";import{setChannelContext}from"#execution/channel-context.js";function buildRunContext(t){let{bundle:n,run:r}=t,i=new ContextContainer,a=r.auth;if(i.set(BundleKey,n),setChannelContext(i,r.adapter,{channelName:r.channelName}),r.channelMetadata!==void 0){let e=i.get(ChannelInstrumentationKey);i.set(ChannelInstrumentationKey,{kind:e?.kind??r.channelMetadata.kind,metadata:r.channelMetadata.metadata})}return i.set(ContinuationTokenKey,r.continuationToken??``),i.set(ModeKey,r.mode),i.set(AuthKey,a),i.set(InitiatorAuthKey,r.initiatorAuth??a),r.capabilities!==void 0&&i.set(CapabilitiesKey,r.capabilities),r.callback!==void 0&&i.set(SessionCallbackKey,r.callback),r.parent!==void 0&&i.set(ParentSessionKey,r.parent),i}export{buildRunContext};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thrown by a {@link Runtime}'s `deliver` when no in-flight session
|
|
3
|
+
* matches the continuation token. Callers using the resume-or-start
|
|
4
|
+
* pattern (e.g. {@link createSendFn}) treat this as the signal to start
|
|
5
|
+
* a fresh session.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RuntimeNoActiveSessionError extends Error {
|
|
8
|
+
readonly code: "NO_ACTIVE_SESSION";
|
|
9
|
+
readonly continuationToken: string;
|
|
10
|
+
constructor(continuationToken: string);
|
|
11
|
+
}
|
|
12
|
+
/** Type guard for {@link RuntimeNoActiveSessionError}. */
|
|
13
|
+
export declare function isRuntimeNoActiveSessionError(error: unknown): error is RuntimeNoActiveSessionError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var RuntimeNoActiveSessionError=class extends Error{code=`NO_ACTIVE_SESSION`;continuationToken;constructor(e){super(`No active session for continuationToken "${e}".`),this.name=`RuntimeNoActiveSessionError`,this.continuationToken=e}};function isRuntimeNoActiveSessionError(e){return e instanceof RuntimeNoActiveSessionError}export{RuntimeNoActiveSessionError,isRuntimeNoActiveSessionError};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SandboxSession } from "#shared/sandbox-session.js";
|
|
2
|
+
/**
|
|
3
|
+
* Typed input accepted by {@link executeBeveOnSandbox}.
|
|
4
|
+
*/
|
|
5
|
+
export interface BeveInput {
|
|
6
|
+
readonly command: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Structured result returned from {@link executeBeveOnSandbox}.
|
|
10
|
+
*/
|
|
11
|
+
export interface BeveResult {
|
|
12
|
+
readonly exitCode: number;
|
|
13
|
+
readonly stderr: string;
|
|
14
|
+
readonly stdout: string;
|
|
15
|
+
/** True when stdout or stderr was shortened to fit within output limits. */
|
|
16
|
+
readonly truncated: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Executes one shell command inside the agent's sandbox via `SandboxKey`
|
|
20
|
+
* on the active runtime context.
|
|
21
|
+
*
|
|
22
|
+
* Both stdout and stderr are tail-truncated to keep the end of the output
|
|
23
|
+
* (where errors and final results typically appear) within the shared
|
|
24
|
+
* {@link MAX_OUTPUT_LINES} / {@link MAX_OUTPUT_BYTES} limits.
|
|
25
|
+
*
|
|
26
|
+
* Used by the framework `bash` tool and by author tools constructed via
|
|
27
|
+
* `defineBeveTool`. Centralizing the executor here keeps the error
|
|
28
|
+
* messages and result shape identical across all bash-style tools.
|
|
29
|
+
*/
|
|
30
|
+
export declare function executeBeveOnSandbox(sandbox: SandboxSession, args: BeveInput): Promise<BeveResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{truncateTail}from"#execution/sandbox/truncate-output.js";async function executeBeveOnSandbox(e,t){let n=await e.run({command:t.command}),r=truncateTail(n.stdout),i=truncateTail(n.stderr),a=r.truncated||i.truncated,o=r.output;r.truncated&&(o=`[stdout truncated: showing last ${r.outputLines} of ${r.totalLines} lines]\n`+o);let s=i.output;return i.truncated&&(s=`[stderr truncated: showing last ${i.outputLines} of ${i.totalLines} lines]\n`+s),{exitCode:n.exitCode,stderr:s,stdout:o,truncated:a}}export{executeBeveOnSandbox};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SandboxBackend } from "#public/definitions/sandbox-backend.js";
|
|
2
|
+
import type { LocalSandboxCreateOptions } from "#public/sandbox/local-sandbox.js";
|
|
3
|
+
/**
|
|
4
|
+
* Construction input for {@link createLocalSandboxBackend}. Internal —
|
|
5
|
+
* the public surface is the `localBackend()` factory under
|
|
6
|
+
* `eve/sandbox`.
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateLocalSandboxBackendInput {
|
|
9
|
+
readonly createOptions?: LocalSandboxCreateOptions;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Creates the local just-bash-backed sandbox backend.
|
|
13
|
+
*
|
|
14
|
+
* The cache directory is derived from the runtime context's `appRoot`
|
|
15
|
+
* on every `create` call so the backend stays stateless and matches
|
|
16
|
+
* the framework's per-call dispatch contract.
|
|
17
|
+
*
|
|
18
|
+
* Accepts `createOptions` for parity with other backends; the local
|
|
19
|
+
* backend currently has no consumer-controllable create options so the
|
|
20
|
+
* value is reserved for future widening of {@link LocalSandboxCreateOptions}.
|
|
21
|
+
*/
|
|
22
|
+
export declare function createLocalSandboxBackend(_input?: CreateLocalSandboxBackendInput): SandboxBackend;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dirname,join}from"node:path";import{access,mkdir,readFile,writeFile}from"node:fs/promises";import{resolveSandboxCacheDirectory}from"#internal/application/paths.js";import{shellQuote}from"#execution/sandbox/shell-quote.js";import{SandboxTemplateNotProvisionedError}from"#public/definitions/sandbox-backend.js";import{WORKSPACE_ROOT}from"#runtime/workspace/types.js";import{buildSandboxSession}from"#execution/sandbox/session.js";import{bufferToStream,streamToBuffer}from"#execution/sandbox/stream-utils.js";function createLocalSandboxBackend(e={}){return{name:`local`,async prewarm(e){let t=resolveTemplateSnapshotPath(resolveSandboxCacheDirectory(e.runtimeContext.appRoot),e.templateKey);if(await doesPathExist(t))return{reused:!0};let n=await createBeveSandbox({sessionKey:e.templateKey,snapshotPath:t}),r=buildSandboxSession(createLocalInternalSandboxSession(n),localSetNetworkPolicyUnsupported);try{e.bootstrap!==void 0&&await e.bootstrap({use:async()=>r});for(let t of e.seedFiles)typeof t.content==`string`?await r.writeTextFile({content:t.content,path:t.path}):await r.writeBinaryFile({content:t.content,path:t.path});if(await n.captureSnapshot()===null)throw Error(`Failed to capture local sandbox template state for "${e.templateKey}".`)}finally{await n.dispose()}return{reused:!1}},async create(e){let t=resolveSandboxCacheDirectory(e.runtimeContext.appRoot),n=getLocalSnapshotPath(e.existingMetadata)??resolveSessionSnapshotPath(t,e.sessionKey);if(e.templateKey!==null&&!await doesPathExist(n)){let r=await readLocalSnapshot(resolveTemplateSnapshotPath(t,e.templateKey));if(r===null)throw new SandboxTemplateNotProvisionedError({backendName:`local`,templateKey:e.templateKey});await writeLocalSnapshot(n,r)}return createHandle(await createBeveSandbox({sessionKey:e.sessionKey,snapshotPath:n}))}}}async function createBeveSandbox(t){let{InMemoryFs:n,Sandbox:r}=await import(`#compiled/just-bash/index.js`),i=await readLocalSnapshot(t.snapshotPath),a=new n(createInitialFiles(i));await ensureLocalSandboxDirectories(a),await restoreLocalSandboxDirectories(a,i?.entries??[]);let o=await r.create({cwd:WORKSPACE_ROOT,env:i?.env,fs:a,network:{dangerouslyAllowFullInternetAccess:!0}});return{async captureSnapshot(){let e=await captureLocalSnapshot({filesystem:a,sandbox:o});return await writeLocalSnapshot(t.snapshotPath,e),{snapshotPath:t.snapshotPath}},async dispose(){await o.stop()},async readFileBytes(e){let t;try{t=await a.readFileBuffer(e)}catch{return null}return Buffer.from(t)},async removePath(e){await a.rm(e.path,{force:e.force,recursive:e.recursive})},sessionKey:t.sessionKey,snapshotPath:t.snapshotPath,async spawn(e){if(e.abortSignal?.aborted)throw new DOMException(`The operation was aborted.`,`AbortError`);let t=e.workingDirectory===void 0?e.command:`( cd ${shellQuote(e.workingDirectory)} && ${e.command} )`;return adaptJustBeveCommandToSandboxProcess(await o.runCommand({args:[t],cmd:`eval`,detached:!0,env:e.env,signal:e.abortSignal}))},async writeFiles(t){for(let n of t){let t=dirname(n.path);await a.mkdir(t,{recursive:!0}),await a.writeFile(n.path,n.content)}}}}function adaptJustBeveCommandToSandboxProcess(e){let t=new TextEncoder,n,r,i=!1,a,o=new ReadableStream({start(e){n=e}}),s=new ReadableStream({start(e){r=e}});return(async()=>{try{for await(let i of e.logs()){let e=t.encode(i.data);i.type===`stdout`?n?.enqueue(e):r?.enqueue(e)}}catch(e){a=e,n?.error(e),r?.error(e)}finally{i=!0,a===void 0&&(n?.close(),r?.close())}})(),{stdout:o,stderr:s,async wait(){let t=await e.wait();for(;!i;)await new Promise(e=>setTimeout(e,0));if(a!==void 0)throw a;return{exitCode:t.exitCode}},async kill(){await e.kill()}}}async function localSetNetworkPolicyUnsupported(){throw Error(`setNetworkPolicy() is not supported on the local sandbox backend. just-bash applies its network policy only at sandbox creation (no run-time update) and does not run git or other binaries. Use the Vercel backend for credential brokering and egress control.`)}function createHandle(e){let t=buildSandboxSession(createLocalInternalSandboxSession(e),localSetNetworkPolicyUnsupported);return{session:t,useSessionFn:async()=>t,async captureState(){return{backendName:`local`,metadata:await e.captureSnapshot()??{},sessionKey:e.sessionKey}},async dispose(){await e.dispose()}}}function createLocalInternalSandboxSession(e){return{id:e.sessionKey,resolvePath:resolveLocalPath,async spawn(t){return await e.spawn(t)},async readFile(t){let n=await e.readFileBytes(t.path);return n===null?null:bufferToStream(n)},async removePath(t){await e.removePath(t)},async writeFile(t){let n=await streamToBuffer(t.content);await e.writeFiles([{content:n,path:t.path}])}}}function resolveLocalPath(e){return e.startsWith(`/`)?e:`${WORKSPACE_ROOT}/${e}`}function resolveTemplateSnapshotPath(e,n){return join(e,`local`,`templates`,`${n}.json`)}function resolveSessionSnapshotPath(e,n){return join(e,`local`,`sessions`,`${n}.json`)}function createInitialFiles(e){let t={};for(let n of e?.entries??[])n.kind===`file`&&(t[n.path]=Buffer.from(n.contentBase64,`base64`));return t}async function ensureLocalSandboxDirectories(e){await e.mkdir(WORKSPACE_ROOT,{recursive:!0})}async function restoreLocalSandboxDirectories(e,t){let n=t.filter(e=>e.kind===`directory`).map(e=>e.path).sort((e,t)=>e.localeCompare(t));for(let t of n)t!==WORKSPACE_ROOT&&await e.mkdir(t,{recursive:!0})}async function captureLocalSnapshot(e){let t=[],n=e.filesystem.getAllPaths().sort((e,t)=>e.localeCompare(t));for(let r of n){let n=await e.filesystem.stat(r);if(n.isSymbolicLink)continue;if(n.isDirectory){t.push({kind:`directory`,path:r});continue}if(!n.isFile)continue;let i=await e.filesystem.readFileBuffer(r);t.push({contentBase64:Buffer.from(i).toString(`base64`),kind:`file`,path:r})}return{entries:t,env:{...e.sandbox.bashEnvInstance.getEnv()},version:1}}async function readLocalSnapshot(e){if(!await doesPathExist(e))return null;let t=JSON.parse(await readFile(e,`utf8`));return t.version===1?t:null}async function writeLocalSnapshot(t,n){await mkdir(dirname(t),{recursive:!0}),await writeFile(t,`${JSON.stringify(n,null,2)}\n`)}async function doesPathExist(e){try{return await access(e),!0}catch{return!1}}function getLocalSnapshotPath(e){let t=e?.snapshotPath;return typeof t==`string`?t:void 0}export{createLocalSandboxBackend};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as VercelSandboxSdk from "#compiled/@vercel/sandbox/index.js";
|
|
2
|
+
import type { Sandbox as SdkSandbox } from "#compiled/@vercel/sandbox/index.js";
|
|
3
|
+
import type { SandboxBackend } from "#public/definitions/sandbox-backend.js";
|
|
4
|
+
import type { VercelSandboxBootstrapUseOptions, VercelSandboxSessionUseOptions } from "#public/sandbox/vercel-sandbox.js";
|
|
5
|
+
type VercelSandboxModule = typeof VercelSandboxSdk;
|
|
6
|
+
/**
|
|
7
|
+
* User-controllable subset of `Sandbox.create` parameters.
|
|
8
|
+
*/
|
|
9
|
+
export type VercelSandboxCreateOptions = Omit<NonNullable<Parameters<typeof SdkSandbox.create>[0]>, "name" | "onResume" | "persistent" | "signal">;
|
|
10
|
+
/**
|
|
11
|
+
* Construction input for {@link createVercelSandboxBackend}. Internal —
|
|
12
|
+
* the public surface is the `vercelBackend()` factory under
|
|
13
|
+
* `eve/sandbox`.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateVercelSandboxBackendInput {
|
|
16
|
+
readonly createOptions?: VercelSandboxCreateOptions;
|
|
17
|
+
readonly loadSandboxModule?: () => Promise<VercelSandboxModule>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Creates the Vercel-backed sandbox backend.
|
|
21
|
+
*
|
|
22
|
+
* Any author-supplied `createOptions` are forwarded to the Vercel SDK
|
|
23
|
+
* `Sandbox.create(...)` for every fresh sandbox the framework creates
|
|
24
|
+
* (template at prewarm time, session at first-time session-create). On
|
|
25
|
+
* resume (`Sandbox.get`) no create happens, so they are not re-applied.
|
|
26
|
+
*/
|
|
27
|
+
export declare function createVercelSandboxBackend(input?: CreateVercelSandboxBackendInput): SandboxBackend<VercelSandboxBootstrapUseOptions, VercelSandboxSessionUseOptions>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{SandboxTemplateNotProvisionedError}from"#public/definitions/sandbox-backend.js";import{WORKSPACE_ROOT}from"#runtime/workspace/types.js";import{buildSandboxSession}from"#execution/sandbox/session.js";import{streamToBuffer}from"#execution/sandbox/stream-utils.js";function createVercelSandboxBackend(e={}){let t=e.loadSandboxModule??(async()=>await import(`#compiled/@vercel/sandbox/index.js`)),n={timeout:DEFAULT_SANDBOX_TIMEOUT_MS,...e.createOptions},r=new Map;return{name:`vercel`,async create(e){let i=resolveVercelSandboxTags(n.tags,e.tags),a=e.templateKey===null?null:await readTemplateForCreate({loadSandboxModule:t,prewarmedTemplates:r,templateKey:e.templateKey}),o;try{o=await ensureSession({createOptions:n,existingMetadata:e.existingMetadata,sandboxModule:await t(),sessionKey:e.sessionKey,snapshotId:a?.snapshotId,tags:i})}catch(t){throw Error(`Failed to create sandbox session "${e.sessionKey}": ${errorMessage(t)}`,{cause:t})}return a===null&&o.created&&await ensureSandboxWorkingDirectory(o.sandbox,n),createHandle(o.sandbox,e.sessionKey)},async prewarm(e){let i;try{i=await ensureTemplate({bootstrap:e.bootstrap,createOptions:n,loadSandboxModule:t,seedFiles:e.seedFiles,templateKey:e.templateKey})}catch(t){throw Error(`Failed to prewarm Vercel sandbox template "${e.templateKey}": ${errorMessage(t)}. Run \`vercel login\` and \`vercel link\` so the SDK can authenticate, or set VERCEL_TOKEN.`,{cause:t})}return r.set(e.templateKey,i.template),{reused:i.reused}}}}async function readTemplate(t){let n=t.prewarmedTemplates.get(t.templateKey);if(n!==void 0)return n;let r=await getNamedSandbox(await t.loadSandboxModule(),t.templateKey);if(r===null||typeof r.currentSnapshotId!=`string`)throw new SandboxTemplateNotProvisionedError({backendName:`vercel`,templateKey:t.templateKey});return{sandboxName:r.name,snapshotId:r.currentSnapshotId,templateKey:t.templateKey}}async function readTemplateForCreate(t){try{return await readTemplate(t)}catch(n){throw SandboxTemplateNotProvisionedError.is(n)?n:Error(`Failed to read sandbox template "${t.templateKey}": ${errorMessage(n)}`,{cause:n})}}async function ensureTemplate(e){let t=await e.loadSandboxModule(),r=await getNamedSandbox(t,e.templateKey),i=resolveVercelSandboxTags(e.createOptions.tags,e.tags);if(r===null){let n={...e.createOptions,name:e.templateKey,persistent:!1};i!==void 0&&(n.tags=i),r=await t.Sandbox.create(n)}else await ensureVercelSandboxTags(r,i);let a=extractAuthorSnapshotId(e.createOptions);if(typeof r.currentSnapshotId==`string`&&r.currentSnapshotId.length>0&&r.currentSnapshotId!==a)return{reused:!0,template:{sandboxName:r.name,snapshotId:r.currentSnapshotId,templateKey:e.templateKey}};await ensureSandboxWorkingDirectory(r,e.createOptions);let o=buildSandboxSession(createVercelInternalSandboxSession(r,e.templateKey),createVercelNetworkPolicySetter(r));e.bootstrap!==void 0&&await e.bootstrap({use:async e=>(e!==void 0&&await r.update(e),o)});for(let t of e.seedFiles)typeof t.content==`string`?await o.writeTextFile({content:t.content,path:t.path}):await o.writeBinaryFile({content:t.content,path:t.path});let s=await r.snapshot();return{reused:!1,template:{sandboxName:r.name,snapshotId:s.snapshotId,templateKey:e.templateKey}}}async function ensureSession(e){let t=getVercelSandboxName(e.existingMetadata)??e.sessionKey,n=await getNamedSandbox(e.sandboxModule,t);if(n!==null)return await ensureVercelSandboxTags(n,e.tags),{created:!1,sandbox:n};let r=createSessionCreateParams(e,t);return e.tags!==void 0&&(r.tags=e.tags),{created:!0,sandbox:await e.sandboxModule.Sandbox.create(r)}}function createSessionCreateParams(e,t){if(e.snapshotId===void 0)return{...e.createOptions,name:t,persistent:!0};let{runtime:n,source:r,...i}=e.createOptions;return{...i,name:t,persistent:!0,source:{snapshotId:e.snapshotId,type:`snapshot`}}}function createHandle(e,t){return{session:buildSandboxSession(createVercelInternalSandboxSession(e,t),createVercelNetworkPolicySetter(e)),useSessionFn:async r=>(r!==void 0&&await e.update(r),buildSandboxSession(createVercelInternalSandboxSession(e,t),createVercelNetworkPolicySetter(e))),async captureState(){return{backendName:`vercel`,metadata:{sandboxName:e.name},sessionKey:t}},async dispose(){}}}function createVercelNetworkPolicySetter(e){return async t=>{await e.update({networkPolicy:t})}}function createVercelInternalSandboxSession(e,n){return{id:n,resolvePath:resolveVercelSandboxPath,async spawn(n){return adaptVercelCommandToSandboxProcess(await e.runCommand({args:[`-lc`,n.command],cmd:`bash`,cwd:n.workingDirectory??WORKSPACE_ROOT,detached:!0,env:n.env,signal:n.abortSignal}))},async readFile(t){return await e.readFile({path:t.path})??null},async writeFile(t){let n=await streamToBuffer(t.content);await e.writeFiles([{content:n,path:t.path}])},async removePath(t){await e.fs.rm(t.path,{force:t.force,recursive:t.recursive,signal:t.abortSignal})}}}function adaptVercelCommandToSandboxProcess(e){let t=new TextEncoder,n,r,i=!1,a,o=new ReadableStream({start(e){n=e}}),s=new ReadableStream({start(e){r=e}});return(async()=>{try{for await(let i of e.logs()){let e=t.encode(i.data);i.stream===`stdout`?n?.enqueue(e):r?.enqueue(e)}}catch(e){a=e,n?.error(e),r?.error(e)}finally{i=!0,a===void 0&&(n?.close(),r?.close())}})(),{stdout:o,stderr:s,async wait(){let t=await e.wait();for(;!i;)await new Promise(e=>setTimeout(e,0));if(a!==void 0)throw a;return{exitCode:t.exitCode}},async kill(){await e.kill()}}}function resolveVercelSandboxPath(e){return e.startsWith(`/`)?e:`${WORKSPACE_ROOT}/${e}`}async function ensureSandboxWorkingDirectory(e,n){await runSandboxBootstrapStep(e,{failureMessage:`Failed to initialize Vercel sandbox workspace.`,script:`mkdir -p ${WORKSPACE_ROOT} && chown ${SANDBOX_USER}:${SANDBOX_USER} ${WORKSPACE_ROOT}`}),n.networkPolicy!==`deny-all`&&await runSandboxBootstrapStep(e,{failureMessage:`Failed to install ripgrep in Vercel sandbox.`,script:`command -v rg >/dev/null 2>&1 || { dnf install -y spal-release && dnf install -y ripgrep; }`})}async function runSandboxBootstrapStep(e,t){let n=await e.runCommand({args:[`-lc`,t.script],cmd:`bash`,sudo:!0});if(n.exitCode!==0){let e=await n.stderr();throw Error(`${t.failureMessage} ${e}`.trim())}}const SANDBOX_USER=`vercel-sandbox`;async function getNamedSandbox(e,t){try{return await e.Sandbox.get({name:t})}catch(e){if(isSandboxMissingError(e))return null;throw Error(`Failed to look up Vercel sandbox "${t}": ${errorMessage(e)}`,{cause:e})}}function isSandboxMissingError(e){return e instanceof Error?(e.response?.status??e.cause?.response?.status)===404:!1}function extractAuthorSnapshotId(e){let t=e.source;if(t?.type===`snapshot`&&typeof t.snapshotId==`string`)return t.snapshotId}function getVercelSandboxName(e){let t=e?.sandboxName;return typeof t==`string`?t:void 0}function resolveVercelSandboxTags(e,t){let n={};if(e!==void 0)for(let[t,r]of Object.entries(e))n[t]=r;if(t!==void 0)for(let[e,r]of Object.entries(t))n[e]=r;let r=Object.keys(n).length;if(r!==0){if(r>VERCEL_SANDBOX_TAG_LIMIT)throw Error(`Vercel Sandbox supports at most ${VERCEL_SANDBOX_TAG_LIMIT} tags. Eve reserves "agent", "channel", and "sessionId"; remove or consolidate custom tags passed to vercelBackend().`);return n}}async function ensureVercelSandboxTags(e,t){t===void 0||areVercelSandboxTagsEqual(e.tags,t)||await e.update({tags:t})}function areVercelSandboxTagsEqual(e,t){let n=e??{},r=Object.entries(n),i=Object.entries(t);return r.length===i.length?i.every(([e,t])=>n[e]===t):!1}function errorMessage(e){return e instanceof Error?e.message:String(e)}const DEFAULT_SANDBOX_TIMEOUT_MS=1800*1e3,VERCEL_SANDBOX_TAG_LIMIT=5;export{createVercelSandboxBackend};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SandboxBackendTags } from "#public/definitions/sandbox-backend.js";
|
|
2
|
+
import { type RuntimeCompiledArtifactsSource } from "#runtime/compiled-artifacts-source.js";
|
|
3
|
+
import type { RuntimeSandboxRegistry } from "#runtime/sandbox/registry.js";
|
|
4
|
+
import type { SandboxAccess, SandboxState } from "#sandbox/state.js";
|
|
5
|
+
/**
|
|
6
|
+
* Input for creating or reattaching the live sandbox for one step execution.
|
|
7
|
+
*/
|
|
8
|
+
export interface EnsureSandboxAccessInput {
|
|
9
|
+
readonly compiledArtifactsSource: RuntimeCompiledArtifactsSource;
|
|
10
|
+
readonly nodeId: string;
|
|
11
|
+
readonly registry: RuntimeSandboxRegistry;
|
|
12
|
+
readonly sessionId: string;
|
|
13
|
+
readonly runOnSession?: (callback: () => Promise<void>) => Promise<void>;
|
|
14
|
+
readonly state: SandboxState | null;
|
|
15
|
+
readonly tags?: SandboxBackendTags;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates or reattaches the live sandbox from the compiled agent bundle's
|
|
19
|
+
* registry and persisted session state, returning a {@link SandboxAccess}
|
|
20
|
+
* suitable for the runtime context.
|
|
21
|
+
*
|
|
22
|
+
* Every agent has exactly one sandbox. The sandbox carries its own
|
|
23
|
+
* `SandboxBackend` value (resolved from the authored module or
|
|
24
|
+
* substituted with `defaultBackend()` when omitted), and the runtime
|
|
25
|
+
* simply calls `backend.create(...)`.
|
|
26
|
+
*/
|
|
27
|
+
export declare function ensureSandboxAccess(input: EnsureSandboxAccessInput): Promise<SandboxAccess>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{buildCallbackContext}from"#context/build-callback-context.js";import{getRuntimeCompiledArtifactsAppRoot}from"#runtime/compiled-artifacts-source.js";import{createRuntimeSandboxKeys}from"#runtime/sandbox/keys.js";import{createRuntimeSandboxTemplatePlan}from"#runtime/sandbox/template-plan.js";async function ensureSandboxAccess(n){let r=n.state?.initialized??!1,i=n.state?.session??null,a=getRuntimeCompiledArtifactsAppRoot(n.compiledArtifactsSource)??process.cwd(),o=n.registry.sandbox,s;function getHandle(){return s===void 0&&(s=createHandle().catch(e=>{throw s=void 0,e})),s}async function createHandle(){if(o===null)return null;let t=o.definition,s=t.backend,c=createRuntimeSandboxTemplatePlan({definition:t,workspaceResourceRoot:o.workspaceResourceRoot}),l=await createRuntimeSandboxKeys({backendName:s.name,compiledArtifactsSource:n.compiledArtifactsSource,nodeId:n.nodeId,sessionId:n.sessionId,sourceId:t.sourceId,templatePlan:c}),u=await s.create({existingMetadata:i?.backendName===s.name&&i.sessionKey===l.sessionKey?i.metadata:void 0,runtimeContext:{appRoot:a},sessionKey:l.sessionKey,tags:n.tags,templateKey:l.templateKey});return r||=(await runOnSession(async()=>{await t.onSession?.({ctx:buildCallbackContext(),use:u.useSessionFn})}),!0),u}async function runOnSession(e){if(n.runOnSession!==void 0){await n.runOnSession(e);return}await e()}return{async captureState(){if(s!==void 0){let e=await s;e!==null&&(i=await e.captureState())}return{initialized:r,session:i}},async dispose(){s!==void 0&&await(await s)?.dispose()},async get(){return(await getHandle())?.session??null}}}export{ensureSandboxAccess};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SandboxSession } from "#shared/sandbox-session.js";
|
|
2
|
+
/**
|
|
3
|
+
* Typed input accepted by {@link executeGlobOnSandbox}.
|
|
4
|
+
*/
|
|
5
|
+
export interface GlobInput {
|
|
6
|
+
readonly limit?: number;
|
|
7
|
+
readonly path?: string;
|
|
8
|
+
readonly pattern: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Structured result returned from {@link executeGlobOnSandbox}.
|
|
12
|
+
*/
|
|
13
|
+
export interface GlobResult {
|
|
14
|
+
readonly content: string;
|
|
15
|
+
readonly count: number;
|
|
16
|
+
readonly path: string;
|
|
17
|
+
readonly truncated: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Searches for files matching a glob pattern inside the sandbox.
|
|
21
|
+
*/
|
|
22
|
+
export declare function executeGlobOnSandbox(sandbox: SandboxSession, args: GlobInput): Promise<GlobResult>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{MAX_OUTPUT_BYTES}from"#execution/sandbox/truncate-output.js";import{shellQuote}from"#execution/sandbox/shell-quote.js";import{normalizeModelPath}from"#runtime/framework-tools/file-state.js";import{validateAbsoluteFilePath}from"#execution/sandbox/require-sandbox.js";import{ripgrepIsAvailable}from"#execution/sandbox/ripgrep-probe.js";async function executeGlobOnSandbox(t,a){let o=a.path??`/workspace`;validateAbsoluteFilePath(o);let s=normalizeModelPath(o),c=Math.min(Math.max(1,a.limit??100),1e3),l=await ripgrepIsAvailable(t)?buildRipgrepCommand({normalizedPath:s,pattern:a.pattern}):buildPosixFindCommand({normalizedPath:s,pattern:a.pattern}),u=await t.run({command:l});if(u.exitCode!==0&&u.exitCode!==1)throw buildGlobExecutionError(l,u.exitCode,u.stderr);let d=u.stdout.split(`
|
|
2
|
+
`).filter(e=>e.length>0),f=d.length>c,p=f?d.slice(0,c):d,m=[],h=0,g=!1;for(let t of p){let r=normalizeModelPath(t),i=Buffer.byteLength(r,`utf8`)+1;if(h+i>MAX_OUTPUT_BYTES&&m.length>0){g=!0;break}m.push(r),h+=i}if(m.length===0)return{content:`No files found`,count:0,path:s,truncated:!1};let _=f||g,v=[...m];return _&&(v.push(``),v.push(`(Results truncated: showing first ${m.length} results out of more. Use a more specific path or pattern to narrow results.)`)),{content:v.join(`
|
|
3
|
+
`),count:m.length,path:s,truncated:_}}function buildRipgrepCommand(e){return[`rg --files --hidden`,`--glob '!.git/*'`,`--glob ${shellQuote(e.pattern)}`,`-- ${shellQuote(e.normalizedPath)}`].join(` `)}function buildPosixFindCommand(e){let n=translateGlobToFindPattern(e.pattern),r=n.includes(`/`)?`-path ${shellQuote(`*/${n}`)}`:`-name ${shellQuote(n)}`;return[`find ${shellQuote(e.normalizedPath)}`,`-type f`,`-not -path '*/.git/*'`,r].join(` `)}function translateGlobToFindPattern(e){let t=e.replaceAll(`**`,`*`);for(;t.startsWith(`*/`);)t=t.slice(2);return t}function buildGlobExecutionError(e,t,n){let r=n.trim(),i=r.length>0?r:`no stderr output`;return Error(`glob failed (exit ${t}): ${i}\nCommand: ${e}`)}export{executeGlobOnSandbox};
|