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,18 @@
|
|
|
1
|
+
import type { AgentSourceManifest } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledAgentDefinition } from "#compiler/manifest.js";
|
|
3
|
+
import { type ManifestCompileContext } from "#compiler/normalize-helpers.js";
|
|
4
|
+
/**
|
|
5
|
+
* Error raised when an agent node has no authored `agent.ts` config module.
|
|
6
|
+
*
|
|
7
|
+
* Surfaced as a distinct type so inspection-style callers (e.g. `eve info`)
|
|
8
|
+
* can degrade gracefully when invoked outside a real Eve application.
|
|
9
|
+
*/
|
|
10
|
+
export declare class MissingAgentConfigModuleError extends Error {
|
|
11
|
+
readonly agentId: string;
|
|
12
|
+
constructor(agentId: string);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Compiles the agent-level configuration (model, compaction, build,
|
|
16
|
+
* workspace) for one authored agent node.
|
|
17
|
+
*/
|
|
18
|
+
export declare function compileAgentConfig(manifest: AgentSourceManifest, context: ManifestCompileContext): Promise<CompiledAgentDefinition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isAbsolute,join,relative,resolve}from"node:path";import{toErrorMessage}from"#shared/errors.js";import{normalizeJsonSchemaDefinition}from"#shared/json-schema.js";import{normalizeLogicalPath}from"#discover/filesystem.js";import{normalizeAgentDefinition}from"#internal/authored-definition/core.js";import{formatLanguageModelGatewayId}from"#internal/runtime-model.js";import{parseJsonObject}from"#shared/json.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";var MissingAgentConfigModuleError=class extends Error{agentId;constructor(e){super(`Agent "${e}" does not have an agent.ts config module. The "model" field is required.`),this.name=`MissingAgentConfigModuleError`,this.agentId=e}};async function compileAgentConfig(e,t){if(e.configModule===void 0)throw new MissingAgentConfigModuleError(e.agentId);let n=formatAgentConfigModulePath(e,e.configModule),r=normalizeAgentDefinition(await loadModuleBackedDefinition({agentRoot:e.agentRoot,displayPath:n,kind:`agent config`,source:e.configModule}),`Expected the agent config export "${e.configModule.exportName??`default`}" from "${n}" to match the public Eve shape.`),i=await normalizeAuthoredModelReference({modelCatalog:t.modelCatalog,purpose:`the primary compaction trigger model`,contextWindowTokens:r.modelContextWindowTokens,providerOptions:r.modelOptions?.providerOptions,source:e.configModule,sourcePath:n,value:r.model}),a={},o={compaction:a,model:i,name:e.agentId};return r.description!==void 0&&(o.description=r.description),r.experimental?.codeMode!==void 0&&(o.experimental={codeMode:r.experimental.codeMode}),r.build!==void 0&&(o.build={externalDependencies:r.build.externalDependencies===void 0?void 0:[...r.build.externalDependencies]}),r.outputSchema!==void 0&&(o.outputSchema=normalizeJsonSchemaDefinition(r.outputSchema,`output`)),o.source={exportName:e.configModule.exportName,sourceKind:`module`,logicalPath:e.configModule.logicalPath,sourceId:e.configModule.sourceId},r.compaction?.model!==void 0&&(a.model=await normalizeAuthoredModelReference({modelCatalog:t.modelCatalog,purpose:`the compaction summary model`,contextWindowTokens:r.compaction.modelContextWindowTokens,providerOptions:r.modelOptions?.providerOptions,source:e.configModule,sourcePath:n,value:r.compaction.model})),r.compaction?.thresholdPercent!==void 0&&(a.thresholdPercent=r.compaction.thresholdPercent),o}async function normalizeAuthoredModelReference(e){if(typeof e.value==`string`)return await withCompiledRuntimeModelLimits({id:formatLanguageModelGatewayId(e.value),providerOptions:parseProviderOptionsRecord(e.providerOptions)},e);let t=e.source;if(t===void 0)throw Error(`Expected ${e.purpose} to provide a valid AI SDK language model reference.`);let n=e.value,r=n.specificationVersion;if(r!==`v2`&&r!==`v3`&&r!==`v4`||typeof n.provider!=`string`||typeof n.modelId!=`string`||typeof n.doGenerate!=`function`||typeof n.doStream!=`function`)throw Error(`Expected the authored agent config export "${t.exportName??`default`}" from "${e.sourcePath??t.logicalPath}" to provide a valid AI SDK language model.`);let i={id:formatLanguageModelGatewayId(n),source:{exportName:t.exportName,sourceKind:`module`,logicalPath:t.logicalPath,sourceId:t.sourceId},providerOptions:parseProviderOptionsRecord(e.providerOptions)};if(e.contextWindowTokens===void 0){let t=await e.modelCatalog.getByProviderModelId(n.provider,n.modelId);if(t)return{...i,id:t.slug,contextWindowTokens:t.limits.contextWindowTokens}}return await withCompiledRuntimeModelLimits(i,e)}function formatAgentConfigModulePath(e,r){let i=join(e.agentRoot,r.logicalPath);return normalizeLogicalPath(relative(resolveTopLevelAgentRoot(e),i))}function resolveTopLevelAgentRoot(e){let t=resolve(e.appRoot),n=resolve(t,`agent`);return isPathInsideOrEqual(n,resolve(e.agentRoot))?n:t}function isPathInsideOrEqual(t,r){let i=relative(t,r);return i===``||!i.startsWith(`..`)&&!isAbsolute(i)}async function withCompiledRuntimeModelLimits(e,t){if(t.contextWindowTokens!==void 0)return{...e,contextWindowTokens:t.contextWindowTokens};let n;try{n=await t.modelCatalog.getModelLimits(e.id)}catch(n){throw Error(`Failed to load AI Gateway model metadata for ${t.purpose} "${e.id}". ${toErrorMessage(n)}`)}if(n===null)throw Error(`Cannot compile agent compaction because ${t.purpose} "${e.id}" does not have known AI Gateway context window metadata.`);return{...e,contextWindowTokens:n.contextWindowTokens}}function parseProviderOptionsRecord(e){if(e===void 0)return;let t={};for(let[n,r]of Object.entries(e))t[n]=parseJsonObject(r);return t}export{MissingAgentConfigModuleError,compileAgentConfig};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ChannelSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledChannelEntry } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one authored channel module into the normalized channel
|
|
5
|
+
* entries stored on the compiled agent manifest.
|
|
6
|
+
*
|
|
7
|
+
* Recognizes the `disableRoute()` sentinel and emits a `disabled`
|
|
8
|
+
* entry so the runtime can short-circuit channel registration without
|
|
9
|
+
* losing the source path for diagnostics.
|
|
10
|
+
*
|
|
11
|
+
* Authored channels are always `CompiledChannel` values (from
|
|
12
|
+
* `defineChannel`). Each route in the channel's `routes` array becomes
|
|
13
|
+
* a separate compiled channel entry. The channel name is derived from
|
|
14
|
+
* the filesystem path; the URL path comes from the route's `path` field.
|
|
15
|
+
*/
|
|
16
|
+
export declare function compileChannelDefinition(agentRoot: string, source: ChannelSourceRef): Promise<CompiledChannelEntry | readonly CompiledChannelEntry[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"#discover/filesystem.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{normalizeChannelDefinition}from"#internal/authored-definition/channel.js";import{isDisabledRouteSentinel}from"#public/definitions/channel.js";async function compileChannelDefinition(n,r){let i=await loadModuleBackedDefinition({agentRoot:n,kind:`channel`,source:r}),a=stripLogicalPathExtension(r.logicalPath).replace(/^channels\//,``);if(isDisabledRouteSentinel(i))return{kind:`disabled`,name:a,logicalPath:r.logicalPath};let o=normalizeChannelDefinition(i,`Expected the channel export "${r.exportName??`default`}" from "${r.logicalPath}" to match the public Eve shape.`);return o.routes.map(e=>({kind:`channel`,name:a,logicalPath:r.logicalPath,method:e.method.toUpperCase(),urlPath:e.path,sourceId:r.sourceId,sourceKind:`module`,exportName:r.exportName,adapterKind:extractAdapterKind(o.adapter)}))}function extractAdapterKind(e){if(typeof e!=`object`||!e)return;let t=e.kind;return typeof t==`string`&&t.length>0?t:void 0}export{compileChannelDefinition};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ConnectionSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledConnectionDefinition } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one authored connection module into the serializable metadata
|
|
5
|
+
* stored on the compiled agent manifest.
|
|
6
|
+
*
|
|
7
|
+
* The compiled manifest holds only serializable data. The live authored
|
|
8
|
+
* `auth` callback (and, for OpenAPI connections, the `spec` and
|
|
9
|
+
* `operations` filter) is resolved at runtime by re-importing the
|
|
10
|
+
* authored module -- see `runtime/resolve-connection.ts`. Compile-time
|
|
11
|
+
* still imports and validates the module so authoring errors surface
|
|
12
|
+
* during `eve build`.
|
|
13
|
+
*
|
|
14
|
+
* The wire protocol is read from the marker stamped by the `define*`
|
|
15
|
+
* factory, defaulting to MCP, and selects which normalizer validates
|
|
16
|
+
* the authored shape. `url` carries the MCP server endpoint for MCP
|
|
17
|
+
* connections and the API base URL for OpenAPI connections, so the rest
|
|
18
|
+
* of the connection pipeline (auth context, tool-result narrowing,
|
|
19
|
+
* runtime resolution) stays protocol-agnostic.
|
|
20
|
+
*/
|
|
21
|
+
export declare function compileConnectionDefinition(agentRoot: string, source: ConnectionSourceRef): Promise<CompiledConnectionDefinition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{normalizeMcpClientConnectionDefinition,normalizeOpenApiConnectionDefinition}from"#internal/authored-definition/connection.js";import{readConnectionProtocol}from"#public/definitions/connections/protocol.js";async function compileConnectionDefinition(r,i){let a=await loadModuleBackedDefinition({agentRoot:r,kind:`connection`,source:i}),o=readConnectionProtocol(a),s=`Expected the connection export "${i.exportName??`default`}" from "${i.logicalPath}" to match the public Eve shape.`,c={connectionName:i.connectionName,exportName:i.exportName,logicalPath:i.logicalPath,sourceId:i.sourceId,sourceKind:`module`},l,u;if(o===`openapi`){let e=normalizeOpenApiConnectionDefinition(a,s);l={...c,description:e.description,protocol:`openapi`,url:e.baseUrl??``},u=e.auth}else{let e=normalizeMcpClientConnectionDefinition(a,s);l={...c,description:e.description,protocol:`mcp`,url:e.url},u=e.auth}let d=extractVercelConnectMarker(u);return d!==void 0&&(l.vercelConnect=d),l}function extractVercelConnectMarker(e){if(typeof e!=`object`||!e)return;let t=e.vercelConnect;if(typeof t!=`object`||!t)return;let n=t.connector;if(!(typeof n!=`string`||n.length===0))return{connector:n}}export{compileConnectionDefinition};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ModuleSourceRef } from "#shared/source-ref.js";
|
|
2
|
+
import type { CompiledRuntimeModelCatalogLoader } from "#compiler/model-catalog.js";
|
|
3
|
+
/**
|
|
4
|
+
* Shared compile-time context threaded through every per-primitive
|
|
5
|
+
* normalize step.
|
|
6
|
+
*
|
|
7
|
+
* Holds expensive lazily-loaded resources (currently the model catalog)
|
|
8
|
+
* so each `compileAgentManifest` invocation pays the load cost once and
|
|
9
|
+
* reuses the cache across all of its child compilations.
|
|
10
|
+
*/
|
|
11
|
+
export interface ManifestCompileContext {
|
|
12
|
+
readonly modelCatalog: CompiledRuntimeModelCatalogLoader;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Loads one authored module's value for a given source reference and
|
|
16
|
+
* resolves any value-returning factory it may export.
|
|
17
|
+
*
|
|
18
|
+
* Used by every per-primitive compiler that targets a `module` source
|
|
19
|
+
* (channels, sandboxes, tools, schedules, skills, prompt layers,
|
|
20
|
+
* subagents). Wraps execution errors so the message identifies which
|
|
21
|
+
* authored file failed.
|
|
22
|
+
*/
|
|
23
|
+
export declare function loadModuleBackedDefinition(input: {
|
|
24
|
+
readonly agentRoot: string;
|
|
25
|
+
readonly displayPath?: string;
|
|
26
|
+
readonly kind: string;
|
|
27
|
+
readonly source: ModuleSourceRef;
|
|
28
|
+
}): Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getAuthoredModuleExport,materializeAuthoredModuleExport}from"#internal/authored-module.js";import{join}from"node:path";import{toErrorMessage}from"#shared/errors.js";import{loadAuthoredModuleNamespace}from"#internal/authored-module-loader.js";async function loadModuleBackedDefinition(t){let n=getAuthoredModuleExport(await loadAuthoredModuleNamespace(join(t.agentRoot,t.source.logicalPath)),t.source);try{return await materializeAuthoredModuleExport(n)}catch(e){throw Error(`Failed to execute the ${t.kind} export "${t.source.exportName??`default`}" from "${t.displayPath??t.source.logicalPath}": ${toErrorMessage(e)}`)}}export{loadModuleBackedDefinition};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ModuleSourceRef } from "../shared/source-ref.js";
|
|
2
|
+
import type { CompiledHookDefinition } from "./manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one authored hook module into the manifest entry stored on
|
|
5
|
+
* the compiled agent node.
|
|
6
|
+
*
|
|
7
|
+
* Hook event handlers are arbitrary functions and cannot be statically
|
|
8
|
+
* validated at compile time — the normalization step only derives the
|
|
9
|
+
* path-relative slug used for diagnostics and ordering. Per-handler
|
|
10
|
+
* validation lives in the runtime resolver.
|
|
11
|
+
*/
|
|
12
|
+
export declare function compileHookEntry(source: ModuleSourceRef): CompiledHookDefinition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"../discover/filesystem.js";function compileHookEntry(e){return{exportName:e.exportName,logicalPath:e.logicalPath,slug:stripLogicalPathExtension(e.logicalPath).replace(/^hooks\//,``),sourceId:e.sourceId,sourceKind:`module`}}export{compileHookEntry};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { InstructionsSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledDynamicInstructionsDefinition, CompiledInstructions } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiled instructions entry produced from one authored `instructions/*`
|
|
5
|
+
* file or flat `instructions.{md,ts,...}`.
|
|
6
|
+
*
|
|
7
|
+
* Either a static instructions definition or a dynamic resolver that
|
|
8
|
+
* produces model messages at runtime.
|
|
9
|
+
*/
|
|
10
|
+
export type CompiledInstructionsEntry = {
|
|
11
|
+
readonly kind: "instructions";
|
|
12
|
+
readonly definition: CompiledInstructions;
|
|
13
|
+
} | {
|
|
14
|
+
readonly kind: "dynamic-instructions";
|
|
15
|
+
readonly definition: CompiledDynamicInstructionsDefinition;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Compiles one authored instructions prompt source (markdown or
|
|
19
|
+
* module-backed `defineInstructions`) into the normalized shape consumed
|
|
20
|
+
* by the runtime.
|
|
21
|
+
*
|
|
22
|
+
* Module-backed static instructions sources execute once at build time —
|
|
23
|
+
* the resulting markdown is captured into the compiled manifest. There is
|
|
24
|
+
* no per-session re-evaluation at runtime.
|
|
25
|
+
*
|
|
26
|
+
* Module-backed dynamic instructions (exporting `defineDynamic`) are
|
|
27
|
+
* classified and their event names recorded; the resolver runs at
|
|
28
|
+
* runtime.
|
|
29
|
+
*/
|
|
30
|
+
export declare function compileInstructionsEntry(agentRoot: string, source: InstructionsSourceRef): Promise<CompiledInstructionsEntry>;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated Use {@link compileInstructionsEntry} instead. Kept for
|
|
33
|
+
* backwards compatibility with callers that pass a single source.
|
|
34
|
+
*/
|
|
35
|
+
export declare function compileInstructions(agentRoot: string, source: InstructionsSourceRef): Promise<CompiledInstructions>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"#discover/filesystem.js";import{normalizeInstructionsDefinition}from"#internal/authored-definition/core.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{isDynamicSentinel}from"#shared/dynamic-tool-definition.js";async function compileInstructionsEntry(r,i){if(i.sourceKind===`markdown`){let n=normalizeInstructionsDefinition(i.definition,`Expected the compiled instructions definition at "${i.logicalPath}" to match the public Eve shape.`);return{kind:`instructions`,definition:{name:stripLogicalPathExtension(i.logicalPath),logicalPath:i.logicalPath,markdown:n.markdown,sourceId:i.sourceId,sourceKind:i.sourceKind}}}let a=await loadModuleBackedDefinition({agentRoot:r,kind:`instructions`,source:i});if(isDynamicSentinel(a)){let t=stripLogicalPathExtension(i.logicalPath).replace(/^instructions\//,``);return{kind:`dynamic-instructions`,definition:{eventNames:Object.keys(a.events),exportName:i.exportName,logicalPath:i.logicalPath,slug:t,sourceId:i.sourceId,sourceKind:`module`}}}let o=normalizeInstructionsDefinition(a,`Expected the instructions export "${i.exportName??`default`}" from "${i.logicalPath}" to match the public Eve shape.`);return{kind:`instructions`,definition:{name:stripLogicalPathExtension(i.logicalPath),logicalPath:i.logicalPath,markdown:o.markdown,sourceId:i.sourceId,sourceKind:i.sourceKind}}}async function compileInstructions(e,t){let n=await compileInstructionsEntry(e,t);if(n.kind===`dynamic-instructions`)throw Error(`Expected static instructions from "${t.logicalPath}" but got a dynamic resolver. Use compileInstructionsEntry instead.`);return n.definition}export{compileInstructions,compileInstructionsEntry};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentSourceManifest } from "#discover/manifest.js";
|
|
2
|
+
import { type CompiledAgentManifest } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one discovery manifest into the normalized manifest loaded by the runtime.
|
|
5
|
+
*/
|
|
6
|
+
export declare function compileAgentManifest(manifest: AgentSourceManifest): Promise<CompiledAgentManifest>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{compileChannelDefinition}from"#compiler/normalize-channel.js";import{ROOT_COMPILED_AGENT_NODE_ID,createCompiledAgentManifest,createCompiledAgentNodeManifest}from"#compiler/manifest.js";import{createCompiledRuntimeModelCatalogLoader}from"#compiler/model-catalog.js";import{compileAgentConfig}from"#compiler/normalize-agent-config.js";import{compileConnectionDefinition}from"#compiler/normalize-connection.js";import{compileHookEntry}from"#compiler/normalize-hook.js";import{compileSandboxDefinition}from"#compiler/normalize-sandbox.js";import{compileInstructionsEntry}from"#compiler/normalize-instructions.js";import{compileScheduleDefinition}from"#compiler/normalize-schedule.js";import{compileSkillSource}from"#compiler/normalize-skill.js";import{compileSubagentGraph}from"#compiler/normalize-subagent.js";import{compileToolEntry}from"#compiler/normalize-tool.js";async function compileAgentManifest(e){let r={modelCatalog:createCompiledRuntimeModelCatalogLoader(e.appRoot)},[a,o]=await Promise.all([compileAgentNodeManifest(e,r),compileSubagentGraph({appRoot:e.appRoot,compileAgentNodeManifest,context:r,parentNodeId:ROOT_COMPILED_AGENT_NODE_ID,subagents:e.subagents})]);return createCompiledAgentManifest({...a,remoteAgents:o.remoteAgents,subagentEdges:o.edges,subagents:o.nodes})}async function compileAgentNodeManifest(t,n){let i=await Promise.all(t.tools.map(e=>compileToolEntry(t.agentRoot,e))),s=[],c=[],l=[],u=!1;for(let e of i)e.kind===`tool`?s.push(e.definition):e.kind===`dynamic-tool`?c.push(e.definition):e.kind===`enable-workflow`?u=!0:l.push(e.name);let d=(await Promise.all(t.channels.map(n=>compileChannelDefinition(t.agentRoot,n)))).flat(),f=await Promise.all(t.skills.map(e=>compileSkillSource(t.agentRoot,e))),p=[],m=[];for(let e of f)e.kind===`skill`?p.push(e.definition):m.push(e.definition);let h=await Promise.all(t.instructions.map(e=>compileInstructionsEntry(t.agentRoot,e))),g=[],_=[];for(let e of h)e.kind===`instructions`?g.push(e.definition):_.push(e.definition);let v=g.length===0?void 0:g.length===1?g[0]:{name:`instructions`,logicalPath:`instructions`,markdown:g.map(e=>e.markdown).join(`
|
|
2
|
+
|
|
3
|
+
`),sourceId:g[0].sourceId,sourceKind:`module`};return createCompiledAgentNodeManifest({agentRoot:t.agentRoot,appRoot:t.appRoot,channels:d,config:await compileAgentConfig(t,n),connections:await Promise.all(t.connections.map(e=>compileConnectionDefinition(t.agentRoot,e))),diagnosticsSummary:t.diagnosticsSummary,disabledFrameworkTools:l,workflowEnabled:u,dynamicSkills:m,dynamicTools:c,hooks:t.hooks.map(e=>compileHookEntry(e)),sandbox:t.sandbox===null?null:await compileSandboxDefinition(t.agentRoot,t.sandbox),sandboxWorkspaces:t.sandboxWorkspaces.map(e=>({logicalPath:e.logicalPath,rootEntries:[...e.rootEntries],sourceId:e.sourceId,sourcePath:e.sourcePath})),schedules:await Promise.all(t.schedules.map(e=>compileScheduleDefinition(t.agentRoot,e))),dynamicInstructions:_,skills:p,instructions:v,tools:s})}export{compileAgentManifest};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SandboxSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledSandboxDefinition } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one authored sandbox module into the normalized sandbox
|
|
5
|
+
* definition stored on the compiled agent manifest.
|
|
6
|
+
*/
|
|
7
|
+
export declare function compileSandboxDefinition(agentRoot: string, source: SandboxSourceRef): Promise<CompiledSandboxDefinition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{join}from"node:path";import{readFile}from"node:fs/promises";import{toErrorMessage}from"#shared/errors.js";import{createHash}from"node:crypto";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{normalizeSandboxDefinition}from"#internal/authored-definition/sandbox.js";async function compileSandboxDefinition(e,t){let n=`Expected the sandbox export "${t.exportName??`default`}" from "${t.logicalPath}" to match the public Eve shape.`,r=normalizeSandboxDefinition(await loadModuleBackedDefinition({agentRoot:e,kind:`sandbox`,source:t}),n),o=r.revalidationKey===void 0?void 0:await resolveSandboxRevalidationKey({message:n,revalidationKey:r.revalidationKey,source:t});return{description:r.description,exportName:t.exportName,logicalPath:t.logicalPath,revalidationKey:o,sourceHash:await resolveSandboxSourceHash(e,t),sourceId:t.sourceId,sourceKind:`module`}}async function resolveSandboxRevalidationKey(e){let t;try{t=await e.revalidationKey()}catch(t){throw Error(`${e.message} Failed to execute the "revalidationKey" function from "${e.source.logicalPath}": ${toErrorMessage(t)}`)}if(typeof t!=`string`)throw Error(`${e.message} The "revalidationKey" function must return a string.`);if(t.trim().length===0)throw Error(`${e.message} The "revalidationKey" function must return a non-empty string.`);return t}async function resolveSandboxSourceHash(n,i){let a=await readFile(join(n,i.logicalPath));return createHash(`sha256`).update(a).digest(`hex`)}export{compileSandboxDefinition};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ScheduleSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledScheduleDefinition } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiles one authored schedule into the normalized shape consumed by
|
|
5
|
+
* the runtime scheduler.
|
|
6
|
+
*
|
|
7
|
+
* Schedules are single files: `schedules/<name>.{ts,md}`. The markdown
|
|
8
|
+
* form always produces a fire-and-forget schedule (`markdown` body, no
|
|
9
|
+
* `run`). The TypeScript form may declare either `markdown` or `run`
|
|
10
|
+
* (exactly one). The schedule name is derived from the relative file
|
|
11
|
+
* path under `schedules/` minus the extension
|
|
12
|
+
* (`schedules/billing/invoice-sweep.ts` → `"billing/invoice-sweep"`).
|
|
13
|
+
*/
|
|
14
|
+
export declare function compileScheduleDefinition(agentRoot: string, source: ScheduleSourceRef): Promise<CompiledScheduleDefinition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"#discover/filesystem.js";import{normalizeScheduleDefinition}from"#internal/authored-definition/core.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";async function compileScheduleDefinition(e,n){let r=n.sourceKind===`markdown`?normalizeScheduleDefinition(n.definition,`Expected the compiled schedule definition at "${n.logicalPath}" to match the public Eve shape.`):normalizeScheduleDefinition(await loadModuleBackedDefinition({agentRoot:e,kind:`schedule`,source:n}),`Expected the schedule export "${n.exportName??`default`}" from "${n.logicalPath}" to match the public Eve shape.`),i={cron:r.cron,hasRun:r.run!==void 0,logicalPath:n.logicalPath,name:deriveScheduleName(n.logicalPath),sourceId:n.sourceId,sourceKind:n.sourceKind};return r.markdown===void 0?i:{...i,markdown:r.markdown.trim()}}function deriveScheduleName(t){return stripLogicalPathExtension(t).replace(/^schedules\//,``)}export{compileScheduleDefinition};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SkillSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import type { CompiledDynamicSkillDefinition, CompiledSkillDefinition } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiled skill entry produced from one authored `skills/*` file.
|
|
5
|
+
*
|
|
6
|
+
* Either a real skill definition or a dynamic skill resolver that
|
|
7
|
+
* produces skills at runtime.
|
|
8
|
+
*/
|
|
9
|
+
export type CompiledSkillEntry = {
|
|
10
|
+
readonly kind: "skill";
|
|
11
|
+
readonly definition: CompiledSkillDefinition;
|
|
12
|
+
} | {
|
|
13
|
+
readonly kind: "dynamic-skill";
|
|
14
|
+
readonly definition: CompiledDynamicSkillDefinition;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Compiles one authored skill source (markdown, module, or skill
|
|
18
|
+
* package directory) into the normalized shape stored on the compiled
|
|
19
|
+
* agent manifest.
|
|
20
|
+
*/
|
|
21
|
+
export declare function compileSkillSource(agentRoot: string, source: SkillSourceRef): Promise<CompiledSkillEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"#discover/filesystem.js";import{normalizeSkillDefinition}from"#internal/authored-definition/core.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{isDynamicSentinel}from"#shared/dynamic-tool-definition.js";async function compileSkillSource(r,i){if(i.sourceKind===`skill-package`)return{kind:`skill`,definition:compileSkillPackageSource(i)};if(i.sourceKind===`markdown`){let n=normalizeSkillDefinition(i.definition,`Expected the compiled skill definition at "${i.logicalPath}" to match the public Eve shape.`);return{kind:`skill`,definition:{description:n.description,files:n.files,license:n.license,logicalPath:i.logicalPath,markdown:n.markdown,metadata:n.metadata===void 0?void 0:{...n.metadata},name:stripLogicalPathExtension(i.logicalPath).replace(/^skills\//,``),sourceId:i.sourceId,sourceKind:i.sourceKind}}}let a=await loadModuleBackedDefinition({agentRoot:r,kind:`skill`,source:i});if(isDynamicSentinel(a)){let t=stripLogicalPathExtension(i.logicalPath).replace(/^skills\//,``);return{kind:`dynamic-skill`,definition:{eventNames:Object.keys(a.events),exportName:i.exportName,logicalPath:i.logicalPath,slug:t,sourceId:i.sourceId,sourceKind:`module`}}}let o=normalizeSkillDefinition(a,`Expected the skill export "${i.exportName??`default`}" from "${i.logicalPath}" to match the public Eve shape.`);return{kind:`skill`,definition:{description:o.description,files:o.files,license:o.license,logicalPath:i.logicalPath,markdown:o.markdown,metadata:o.metadata===void 0?void 0:{...o.metadata},name:stripLogicalPathExtension(i.logicalPath).replace(/^skills\//,``),sourceId:i.sourceId,sourceKind:i.sourceKind}}}function compileSkillPackageSource(e){return{assetsPath:e.assetsPath,description:e.description,license:e.license,logicalPath:e.logicalPath,markdown:e.markdown,metadata:e.metadata===void 0?void 0:{...e.metadata},name:e.name,referencesPath:e.referencesPath,rootPath:e.rootPath,scriptsPath:e.scriptsPath,skillId:e.skillId,skillFilePath:e.skillFilePath,sourceId:e.sourceId,sourceKind:`skill-package`}}export{compileSkillSource};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type AgentSourceManifest, type LocalSubagentSourceRef } from "#discover/manifest.js";
|
|
2
|
+
import { type CompiledAgentNodeManifest, type CompiledRemoteAgentNode, type CompiledSubagentEdge, type CompiledSubagentNode } from "#compiler/manifest.js";
|
|
3
|
+
import { type ManifestCompileContext } from "#compiler/normalize-helpers.js";
|
|
4
|
+
/**
|
|
5
|
+
* Callback the subagent compiler uses to recurse into the per-node
|
|
6
|
+
* manifest compiler. Injected by `normalize-manifest.ts` so this module
|
|
7
|
+
* does not have to import the orchestrator (which would create a
|
|
8
|
+
* circular dependency).
|
|
9
|
+
*/
|
|
10
|
+
export type CompileAgentNodeManifestFn = (manifest: AgentSourceManifest, context: ManifestCompileContext) => Promise<CompiledAgentNodeManifest>;
|
|
11
|
+
/**
|
|
12
|
+
* Compiles every local subagent reachable from one parent node into a
|
|
13
|
+
* flat node list and the parent→child edges that connect them.
|
|
14
|
+
*
|
|
15
|
+
* Recursive: each subagent may itself declare further subagents, which
|
|
16
|
+
* are compiled depth-first via the injected `compileAgentNodeManifest`
|
|
17
|
+
* callback.
|
|
18
|
+
*/
|
|
19
|
+
export declare function compileSubagentGraph(input: {
|
|
20
|
+
readonly appRoot: string;
|
|
21
|
+
readonly compileAgentNodeManifest: CompileAgentNodeManifestFn;
|
|
22
|
+
readonly context: ManifestCompileContext;
|
|
23
|
+
readonly parentNodeId: string;
|
|
24
|
+
readonly subagents: readonly LocalSubagentSourceRef[];
|
|
25
|
+
}): Promise<{
|
|
26
|
+
readonly edges: readonly CompiledSubagentEdge[];
|
|
27
|
+
readonly nodes: readonly CompiledSubagentNode[];
|
|
28
|
+
readonly remoteAgents: readonly CompiledRemoteAgentNode[];
|
|
29
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{expectObjectRecord,expectOnlyKnownKeys,expectString}from"#internal/authored-module.js";import{EVE_CREATE_SESSION_ROUTE_PATH}from"#protocol/routes.js";import{normalizeJsonSchemaDefinition}from"#shared/json-schema.js";import{createCompiledSubagentNodeId}from"#compiler/manifest.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{createPathDerivedSourceId}from"#discover/manifest.js";async function compileSubagentGraph(e){let t=[],n=[],r=[];for(let i of e.subagents){let a=await compileSubagentDefinition({appRoot:e.appRoot,compileAgentNodeManifest:e.compileAgentNodeManifest,context:e.context,parentNodeId:e.parentNodeId,source:i});if(a.kind===`remote`){r.push(a.node);continue}t.push(a.node,...a.descendants.nodes),n.push({childNodeId:a.node.nodeId,parentNodeId:e.parentNodeId},...a.descendants.edges)}return{edges:n,nodes:t,remoteAgents:r}}async function compileSubagentDefinition(e){let t=e.source.manifest.configModule;if(t===void 0)throw Error(`Subagent "${e.source.logicalPath}" is missing an agent config module.`);let n=createSubagentConfigModuleSourceRef(e.source,t),r=await loadModuleBackedDefinition({agentRoot:e.source.manifest.agentRoot,displayPath:n.logicalPath,kind:`subagent config`,source:t});return readAgentDefinitionKind(r)===`remote`?{kind:`remote`,node:compileRemoteAgent({source:e.source,value:r})}:{kind:`local`,...await compileLocalSubagent(e)}}async function compileSubagent(e){let t=createCompiledSubagentNodeId(e.parentNodeId,e.source.sourceId),n=e.source.subagentId,r=await e.compileAgentNodeManifest({...e.source.manifest,appRoot:e.appRoot},e.context),i=r.config.description;if(!i)throw Error(`Local subagent "${e.source.logicalPath}" is missing a "description" field on its agent config. Add \`description\` to \`defineAgent({ ... })\` so the parent agent can decide when to delegate to this subagent.`);let o=await compileSubagentGraph({appRoot:e.appRoot,compileAgentNodeManifest:e.compileAgentNodeManifest,context:e.context,parentNodeId:t,subagents:e.source.manifest.subagents});return{descendants:o,node:{agent:{...r,remoteAgents:[...o.remoteAgents]},description:i,entryPath:e.source.entryPath,logicalPath:e.source.logicalPath,name:n,nodeId:t,rootPath:e.source.rootPath,sourceId:e.source.sourceId,sourceKind:`module`}}}const compileLocalSubagent=compileSubagent;function compileRemoteAgent(e){let t=e.source.manifest.configModule;if(t===void 0)throw Error(`Remote agent "${e.source.logicalPath}" is missing a config module.`);assertRemoteAgentDefinitionHasNoLocalPackageEntries(e.source);let n=createSubagentConfigModuleSourceRef(e.source,t),r=normalizeRemoteAgentDefinition(e.value,`Expected the remote agent config export "${t.exportName??`default`}" from "${n.logicalPath}" to match the public Eve shape.`);return{...n,description:r.description,entryPath:e.source.entryPath,name:e.source.subagentId,nodeId:e.source.sourceId,outputSchema:r.outputSchema,path:r.path,rootPath:e.source.rootPath,url:r.url}}function createSubagentConfigModuleSourceRef(e,t){let n=e.logicalPath===t.logicalPath?t.logicalPath:`${e.logicalPath}/${t.logicalPath}`,r={logicalPath:n,sourceId:createPathDerivedSourceId(n),sourceKind:`module`};return t.exportName!==void 0&&(r.exportName=t.exportName),r}function readAgentDefinitionKind(e){return typeof e!=`object`||!e?`local`:e.kind===`remote`?`remote`:`local`}function normalizeRemoteAgentDefinition(a,o){let s=expectObjectRecord(a,o);if(expectOnlyKnownKeys(s,[`auth`,`description`,`headers`,`kind`,`outputSchema`,`path`,`url`],o),s.kind!==`remote`)throw Error(`${o} Expected "kind" to be "remote".`);return{description:expectString(s.description,o),outputSchema:s.outputSchema===void 0?void 0:normalizeJsonSchemaDefinition(s.outputSchema,`output`),path:s.path===void 0?EVE_CREATE_SESSION_ROUTE_PATH:expectString(s.path,o),url:expectString(s.url,o)}}function assertRemoteAgentDefinitionHasNoLocalPackageEntries(e){let t=e.manifest,n=[t.connections.length>0?`connections/`:void 0,t.hooks.length>0?`hooks/`:void 0,t.instructions.length>0?`instructions`:void 0,t.lib.length>0?`lib/`:void 0,t.sandbox===null?void 0:`sandbox/`,t.sandboxWorkspaces.length>0?`sandbox/workspace/`:void 0,t.schedules.length>0?`schedules/`:void 0,t.skills.length>0?`skills/`:void 0,t.subagents.length>0?`subagents/`:void 0,t.tools.length>0?`tools/`:void 0].filter(e=>e!==void 0);if(n.length!==0)throw Error(`Remote subagent definition "${e.logicalPath}" cannot include local package entries. Remove unsupported entries: ${n.join(`, `)}.`)}export{compileSubagentGraph};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ModuleSourceRef } from "#shared/source-ref.js";
|
|
2
|
+
import type { CompiledToolDefinition, CompiledDynamicToolDefinition } from "#compiler/manifest.js";
|
|
3
|
+
/**
|
|
4
|
+
* Compiled tool entry produced from one authored `tools/*.ts` file.
|
|
5
|
+
*
|
|
6
|
+
* Either a real tool definition, a `disabled` marker that removes the
|
|
7
|
+
* named framework default during graph resolution, or a dynamic tool
|
|
8
|
+
* resolver that produces tools at runtime.
|
|
9
|
+
*/
|
|
10
|
+
export type CompiledToolEntry = {
|
|
11
|
+
readonly kind: "tool";
|
|
12
|
+
readonly definition: CompiledToolDefinition;
|
|
13
|
+
} | {
|
|
14
|
+
readonly kind: "disabled";
|
|
15
|
+
readonly name: string;
|
|
16
|
+
} | {
|
|
17
|
+
readonly kind: "enable-workflow";
|
|
18
|
+
} | {
|
|
19
|
+
readonly kind: "dynamic-tool";
|
|
20
|
+
readonly definition: CompiledDynamicToolDefinition;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Compiles one authored tool module into the normalized tool entry
|
|
24
|
+
* stored on the compiled agent manifest.
|
|
25
|
+
*
|
|
26
|
+
* The tool name is derived from the file path under `tools/` with the
|
|
27
|
+
* extension stripped and any path separators flattened to dashes
|
|
28
|
+
* (e.g. `tools/billing/refund.ts` → `"billing-refund"`). Path separators
|
|
29
|
+
* cannot reach the model — most providers reject `/` in tool names — so
|
|
30
|
+
* tools are the one path-derived primitive that flattens nested
|
|
31
|
+
* directories into a slug-safe single segment. Authored `name` fields
|
|
32
|
+
* are rejected by the normalizer.
|
|
33
|
+
*/
|
|
34
|
+
export declare function compileToolEntry(agentRoot: string, source: ModuleSourceRef): Promise<CompiledToolEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{stripLogicalPathExtension}from"#discover/filesystem.js";import{loadModuleBackedDefinition}from"#compiler/normalize-helpers.js";import{normalizeToolDefinition}from"#internal/authored-definition/schema-backed.js";async function compileToolEntry(e,t){let n=normalizeToolDefinition(await loadModuleBackedDefinition({agentRoot:e,kind:`tool`,source:t}),`Expected the tool export "${t.exportName??`default`}" from "${t.logicalPath}" to match the public Eve shape.`),r=stripLogicalPathExtension(t.logicalPath).replace(/^tools\//,``).replaceAll(`/`,`-`);return n.kind===`disabled`?{kind:`disabled`,name:r}:n.kind===`enable-workflow`?{kind:`enable-workflow`}:n.kind===`dynamic-tool`?{kind:`dynamic-tool`,definition:{eventNames:[...n.eventNames],exportName:t.exportName,logicalPath:t.logicalPath,slug:r,sourceId:t.sourceId,sourceKind:`module`}}:{kind:`tool`,definition:{description:n.definition.description,exportName:t.exportName,inputSchema:n.definition.inputSchema??null,logicalPath:t.logicalPath,name:r,outputSchema:n.definition.outputSchema,sourceId:t.sourceId,sourceKind:`module`}}}export{compileToolEntry};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "#compiled/zod/index.js";
|
|
2
|
+
import type { JsonObject } from "#shared/json.js";
|
|
3
|
+
import type { Node } from "#shared/node.js";
|
|
4
|
+
import type { ModuleSourceRef } from "#shared/source-ref.js";
|
|
5
|
+
/**
|
|
6
|
+
* Remote subagent entry owned by one compiled agent node manifest. Like
|
|
7
|
+
* channels, remote subagents are node-local manifest entries rather than a
|
|
8
|
+
* separate graph-level list.
|
|
9
|
+
*/
|
|
10
|
+
export type CompiledRemoteAgentNode = Readonly<ModuleSourceRef & Node & {
|
|
11
|
+
description: string;
|
|
12
|
+
entryPath: string;
|
|
13
|
+
name: string;
|
|
14
|
+
outputSchema?: JsonObject;
|
|
15
|
+
path: string;
|
|
16
|
+
rootPath: string;
|
|
17
|
+
url: string;
|
|
18
|
+
}>;
|
|
19
|
+
/**
|
|
20
|
+
* Zod schema for one compiled remote subagent entry.
|
|
21
|
+
*/
|
|
22
|
+
export declare const compiledRemoteAgentNodeSchema: z.ZodType<CompiledRemoteAgentNode>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z}from"#compiled/zod/index.js";import{jsonObjectSchema}from"#shared/json-schemas.js";const compiledRemoteAgentNodeSchema=z.object({description:z.string(),entryPath:z.string(),exportName:z.string().optional(),logicalPath:z.string(),name:z.string(),nodeId:z.string(),outputSchema:jsonObjectSchema.optional(),path:z.string(),rootPath:z.string(),sourceId:z.string(),sourceKind:z.literal(`module`),url:z.string()}).strict();export{compiledRemoteAgentNodeSchema};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CompiledAgentManifest } from "#compiler/manifest.js";
|
|
2
|
+
/**
|
|
3
|
+
* Materializes the per-node workspace resource trees under
|
|
4
|
+
* `.eve/compile/workspace-resources/` and returns a manifest whose node
|
|
5
|
+
* descriptors point at the freshly-written directories.
|
|
6
|
+
*
|
|
7
|
+
* Idempotent against an existing compile run: the resources directory
|
|
8
|
+
* is removed before each invocation so a re-compile produces a clean
|
|
9
|
+
* tree.
|
|
10
|
+
*/
|
|
11
|
+
export declare function materializeWorkspaceResources(input: {
|
|
12
|
+
readonly compileDirectoryPath: string;
|
|
13
|
+
readonly manifest: CompiledAgentManifest;
|
|
14
|
+
}): Promise<CompiledAgentManifest>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{join,posix}from"node:path";import{cp,mkdir,readFile,readdir,rm}from"node:fs/promises";import{createHash}from"node:crypto";import{normalizeLogicalPath}from"#discover/filesystem.js";import{ROOT_COMPILED_AGENT_NODE_ID,deriveResourceRootEntries}from"#compiler/manifest.js";import{normalizeSkillPackage,writeSkillPackageDirectory}from"#shared/skill-package.js";const RESOURCES_DIRECTORY=`workspace-resources`;async function materializeWorkspaceResources(t){let n=join(t.compileDirectoryPath,RESOURCES_DIRECTORY);await rm(n,{force:!0,recursive:!0});let r=await materializeNode({nodeId:ROOT_COMPILED_AGENT_NODE_ID,resourcesRoot:n,manifest:t.manifest}),i=await Promise.all(t.manifest.subagents.map(async e=>({...e,agent:await materializeNode({nodeId:e.nodeId,resourcesRoot:n,manifest:e.agent})})));return{...r,kind:t.manifest.kind,subagentEdges:t.manifest.subagentEdges,subagents:i,version:t.manifest.version}}function createResourceRoot(t,n,r){return{contentHash:r,logicalPath:normalizeLogicalPath(join(RESOURCES_DIRECTORY,n)),rootEntries:deriveResourceRootEntries({sandboxWorkspaces:t.sandboxWorkspaces,skills:t.skills})}}async function materializeNode(t){for(let e of t.manifest.sandboxWorkspaces)if(e.rootEntries.some(e=>e===`skills/`||e===`skills`))throw Error(`Sandbox workspace "${e.logicalPath}" cannot define "skills" because Eve manages that workspace entry.`);let i=join(t.resourcesRoot,t.nodeId);await mkdir(i,{recursive:!0});for(let e of t.manifest.sandboxWorkspaces)await cp(e.sourcePath,i,{recursive:!0});for(let e of t.manifest.skills)await materializeSkill({nodeRoot:i,skill:e});let a=await heveWorkspaceResourceRoot(i);return{...t.manifest,skills:t.manifest.skills.map(stripSkillPackageFiles),workspaceResourceRoot:createResourceRoot(t.manifest,t.nodeId,a)}}async function materializeSkill(t){let r=join(t.nodeRoot,`skills`,t.skill.name);if(t.skill.sourceKind===`skill-package`){await cp(t.skill.rootPath,r,{recursive:!0});return}await writeSkillPackageDirectory({rootPath:t.nodeRoot,skill:normalizeSkillPackage(t.skill)})}function stripSkillPackageFiles(e){let{files:t,...n}=e;return n}async function heveWorkspaceResourceRoot(e){let t=await listWorkspaceResourceFiles({logicalDirectoryPath:`.`,sourceDirectoryPath:e});t.sort((e,t)=>e.logicalPath.localeCompare(t.logicalPath));let n=createHash(`sha256`);n.update(`eve-workspace-resource-root-v1\0`);for(let e of t){let t=await readFile(e.sourcePath);n.update(e.logicalPath),n.update(`\0`),n.update(String(t.byteLength)),n.update(`\0`),n.update(t),n.update(`\0`)}return n.digest(`hex`)}async function listWorkspaceResourceFiles(n){let r=[],i=await readdir(n.sourceDirectoryPath,{withFileTypes:!0});for(let a of i){if(!a.isDirectory()&&!a.isFile())continue;let i=join(n.sourceDirectoryPath,a.name),o=posix.join(n.logicalDirectoryPath,a.name);if(a.isDirectory()){r.push(...await listWorkspaceResourceFiles({logicalDirectoryPath:o,sourceDirectoryPath:i}));continue}r.push({logicalPath:o,sourcePath:i})}return r}export{materializeWorkspaceResources};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ContextKey } from "#context/key.js";
|
|
2
|
+
export type { Session, SessionAuth, SessionAuthContext, SessionParent, SessionTurn, } from "#context/keys.js";
|
|
3
|
+
/**
|
|
4
|
+
* Returns the current value of a context key, or `undefined` when unset.
|
|
5
|
+
*
|
|
6
|
+
* @throws When called outside of a managed step execution.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getContext<T>(key: ContextKey<T>): T | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Returns the current value of a context key, throwing when unset.
|
|
11
|
+
*
|
|
12
|
+
* @throws When the key is not set or when called outside of a managed
|
|
13
|
+
* step execution.
|
|
14
|
+
*/
|
|
15
|
+
export declare function requireContext<T>(key: ContextKey<T>): T;
|
|
16
|
+
/**
|
|
17
|
+
* Returns whether the key is currently set in the active context.
|
|
18
|
+
*
|
|
19
|
+
* @throws When called outside of a managed step execution.
|
|
20
|
+
*/
|
|
21
|
+
export declare function hasContext<T>(key: ContextKey<T>): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the durable value of a context key in the active context.
|
|
24
|
+
*
|
|
25
|
+
* Accepts either a direct value or an updater function that receives the
|
|
26
|
+
* current value (or `undefined` if unset) and returns the next value.
|
|
27
|
+
*
|
|
28
|
+
* The new durable value is serialized at the end of the step and survives
|
|
29
|
+
* future workflow steps and turns.
|
|
30
|
+
*
|
|
31
|
+
* @throws When called outside of a managed step execution.
|
|
32
|
+
*/
|
|
33
|
+
export declare function setContext<T>(key: ContextKey<T>, valueOrUpdater: T | ((current: T | undefined) => T)): T;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the current value of a context key or initializes and stores a
|
|
36
|
+
* durable value when the key is unset.
|
|
37
|
+
*
|
|
38
|
+
* @throws When called outside of a managed step execution.
|
|
39
|
+
*/
|
|
40
|
+
export declare function ensureContext<T>(key: ContextKey<T>, create: () => T): T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{loadContext}from"#context/container.js";function getContext(e){return loadContext().get(e)}function requireContext(e){return loadContext().require(e)}function hasContext(e){return loadContext().has(e)}function setContext(e,t){return loadContext().set(e,t)}function ensureContext(e,t){return loadContext().ensure(e,t)}export{ensureContext,getContext,hasContext,requireContext,setContext};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SessionContext } from "#public/definitions/callback-context.js";
|
|
2
|
+
/**
|
|
3
|
+
* Builds a {@link SessionContext} from the active ALS scope.
|
|
4
|
+
*
|
|
5
|
+
* Must be called inside a harness step (active `contextStorage.run`).
|
|
6
|
+
* Throws when called outside an ALS scope.
|
|
7
|
+
*/
|
|
8
|
+
export declare function buildCallbackContext(): SessionContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{SandboxKey,SessionKey}from"#context/keys.js";import{loadContext}from"#context/container.js";import{createSandboxSkillHandle}from"#runtime/skills/sandbox-access.js";function buildCallbackContext(){let r=loadContext(),i=r.require(SessionKey);return{session:{id:i.sessionId,auth:i.auth,turn:i.turn,parent:i.parent},getSandbox(){let t=r.get(SandboxKey);if(t===void 0)throw Error(`Eve sandbox runtime access is unavailable in the current async context. Call ctx.getSandbox() only from authored runtime functions such as tools, hooks, and channel events.`);return t.get().then(e=>{if(e===null)throw Error(`The sandbox is not available in the current authored runtime context.`);return e})},getSkill(t){let n=r.get(SandboxKey);if(n===void 0)throw Error(`Eve sandbox runtime access is unavailable in the current async context. Call ctx.getSkill() only from authored runtime functions such as tools, hooks, and channel events.`);return createSandboxSkillHandle(n,t)}}}export{buildCallbackContext};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { HarnessToolDefinition } from "#harness/execute-tool.js";
|
|
2
|
+
import type { ContextKey } from "#context/key.js";
|
|
3
|
+
/**
|
|
4
|
+
* Builds live dynamic tool definitions. Narrower scopes appear first
|
|
5
|
+
* so they win on name collision (the tool-loop uses `??=` for dedup).
|
|
6
|
+
*
|
|
7
|
+
* Step tools are live closures (re-resolved every step via
|
|
8
|
+
* `LiveStepToolsKey`). Session/turn tools are replayed from durable
|
|
9
|
+
* metadata via the bundler's registered step functions.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildDynamicTools(ctx: {
|
|
12
|
+
get<T>(key: ContextKey<T>): T | undefined;
|
|
13
|
+
}): readonly HarnessToolDefinition[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createLogger}from"#internal/logging.js";import{LiveStepToolsKey,SessionDynamicToolMetadataKey,TurnDynamicToolMetadataKey}from"#context/keys.js";import{jsonSchema}from"ai";import{buildCallbackContext}from"#context/build-callback-context.js";const log=createLogger(`dynamic-tools`);function lookupStepFunction(e){try{let t=globalThis[Symbol.for(`@workflow/core//registeredSteps`)];return t===void 0?null:t.get(e)||null}catch{return null}}function replayTools(e){let t=[];for(let n of e){if(!n.executeStepFnName||!n.closureVars){log.warn(`Dynamic tool "${n.name}" has no registered step function — skipping on this step. The bundler transform may not have processed this tool file.`);continue}let e=lookupStepFunction(n.executeStepFnName);if(!e){log.warn(`Dynamic tool "${n.name}" references step function "${n.executeStepFnName}" which is not registered — skipping on this step.`);continue}t.push({description:n.description,execute:t=>e(n.closureVars,t,buildCallbackContext()),inputSchema:jsonSchema(n.inputSchema),name:n.name,outputSchema:n.outputSchema===void 0?void 0:jsonSchema(n.outputSchema)})}return t}function buildDynamicTools(e){let r=e.get(LiveStepToolsKey)??[],i=replayTools(e.get(TurnDynamicToolMetadataKey)??[]),a=replayTools(e.get(SessionDynamicToolMetadataKey)??[]);return[...r,...i,...a]}export{buildDynamicTools};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
2
|
+
import { type ContextAccessor, type ContextKey } from "#context/key.js";
|
|
3
|
+
/**
|
|
4
|
+
* Keyed value container that backs one Eve execution scope.
|
|
5
|
+
*
|
|
6
|
+
* Durable values are serialized across workflow steps and turns. Virtual
|
|
7
|
+
* values are rebuilt each step by context providers and are never
|
|
8
|
+
* serialized.
|
|
9
|
+
*
|
|
10
|
+
* Extends {@link ContextAccessor} with the `entries()` iterator used by
|
|
11
|
+
* the serialization layer.
|
|
12
|
+
*/
|
|
13
|
+
export interface AlsContext extends ContextAccessor {
|
|
14
|
+
/**
|
|
15
|
+
* Iterates all durable key/value pairs currently stored in the context.
|
|
16
|
+
* Used by the serialization layer to persist context at step boundaries.
|
|
17
|
+
*/
|
|
18
|
+
entries(): Iterable<readonly [ContextKey<unknown>, unknown]>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Default mutable implementation of {@link AlsContext}.
|
|
22
|
+
*/
|
|
23
|
+
export declare class ContextContainer implements AlsContext {
|
|
24
|
+
private readonly _durableValues;
|
|
25
|
+
private readonly _virtualValues;
|
|
26
|
+
get<T>(key: ContextKey<T>): T | undefined;
|
|
27
|
+
require<T>(key: ContextKey<T>): T;
|
|
28
|
+
has<T>(key: ContextKey<T>): boolean;
|
|
29
|
+
set<T>(key: ContextKey<T>, valueOrUpdater: T | ((current: T | undefined) => T)): T;
|
|
30
|
+
ensure<T>(key: ContextKey<T>, create: () => T): T;
|
|
31
|
+
/**
|
|
32
|
+
* Clears all step-local provider values from the context.
|
|
33
|
+
*
|
|
34
|
+
* The runtime calls this before rebuilding context providers for a new
|
|
35
|
+
* step.
|
|
36
|
+
*/
|
|
37
|
+
clearVirtualContext(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Stores a step-local provider value for one key.
|
|
40
|
+
*
|
|
41
|
+
* Virtual values shadow durable values for the lifetime of the current
|
|
42
|
+
* step and are excluded from serialization.
|
|
43
|
+
*/
|
|
44
|
+
setVirtualContext<T>(key: ContextKey<T>, value: T): void;
|
|
45
|
+
entries(): Generator<readonly [ContextKey<unknown>, unknown]>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Process-wide AsyncLocalStorage used by every Eve module copy in the current
|
|
49
|
+
* runtime.
|
|
50
|
+
*
|
|
51
|
+
* Nitro step bundles can inline parts of Eve while authored modules still
|
|
52
|
+
* import `eve/*` from disk. Backing the storage with a global
|
|
53
|
+
* symbol keeps those copies on the same ALS instance so authored tools,
|
|
54
|
+
* model callbacks, and step code observe one unified Eve context.
|
|
55
|
+
*/
|
|
56
|
+
export declare const contextStorage: AsyncLocalStorage<AlsContext>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the active context, throwing when called outside a managed scope.
|
|
59
|
+
*/
|
|
60
|
+
export declare function loadContext(): AlsContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AsyncLocalStorage}from"node:async_hooks";import{resolveKey}from"#context/key.js";const EVE_CONTEXT_STORAGE_KEY=Symbol.for(`eve.context-storage`);var ContextContainer=class{_durableValues=new Map;_virtualValues=new Map;get(e){return this._virtualValues.has(e.name)?this._virtualValues.get(e.name):this._durableValues.get(e.name)}require(e){if(!this.has(e))throw Error(`Context key "${e.name}" is not set.`);return this.get(e)}has(e){return this._virtualValues.has(e.name)||this._durableValues.has(e.name)}set(e,t){let n=typeof t==`function`?t(this.get(e)):t;return this._durableValues.set(e.name,n),n}ensure(e,t){return this.has(e)?this.require(e):this.set(e,t())}clearVirtualContext(){this._virtualValues.clear()}setVirtualContext(e,t){this._virtualValues.set(e.name,t)}*entries(){for(let[e,n]of this._durableValues){let r=resolveKey(e);r!==void 0&&(yield[r,n])}}};const globalContextStorage=globalThis;globalContextStorage[EVE_CONTEXT_STORAGE_KEY]===void 0&&(globalContextStorage[EVE_CONTEXT_STORAGE_KEY]=new AsyncLocalStorage);const contextStorage=globalContextStorage[EVE_CONTEXT_STORAGE_KEY];function loadContext(){let e=contextStorage.getStore();if(e===void 0)throw Error(`No active Eve context. Call this function only from authored runtime code such as tools, steps, and model callbacks.`);return e}export{ContextContainer,contextStorage,loadContext};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ModelMessage, SystemModelMessage } from "ai";
|
|
2
|
+
import type { HandleMessageStreamEvent } from "#protocol/message.js";
|
|
3
|
+
import type { ResolvedDynamicInstructionsResolver } from "#runtime/types.js";
|
|
4
|
+
import type { ContextContainer } from "#context/container.js";
|
|
5
|
+
import type { ContextKey } from "#context/key.js";
|
|
6
|
+
/**
|
|
7
|
+
* Builds the flattened system messages from session + turn durable keys.
|
|
8
|
+
* Session-scoped entries appear first.
|
|
9
|
+
*/
|
|
10
|
+
export declare function buildDynamicInstructionMessages(ctx: {
|
|
11
|
+
get<T>(key: ContextKey<T>): T | undefined;
|
|
12
|
+
}): SystemModelMessage[];
|
|
13
|
+
/**
|
|
14
|
+
* Dispatches a stream event to dynamic instruction resolvers.
|
|
15
|
+
*
|
|
16
|
+
* Each resolver's output replaces its own slot (keyed by slug) in the
|
|
17
|
+
* scope-appropriate durable key (session or turn). The tool-loop calls
|
|
18
|
+
* {@link buildDynamicInstructionMessages} to assemble the flattened
|
|
19
|
+
* result for the model call.
|
|
20
|
+
*/
|
|
21
|
+
export declare function dispatchDynamicInstructionEvent(input: {
|
|
22
|
+
readonly ctx: ContextContainer;
|
|
23
|
+
readonly resolvers: readonly ResolvedDynamicInstructionsResolver[];
|
|
24
|
+
readonly event: HandleMessageStreamEvent;
|
|
25
|
+
readonly messages: readonly ModelMessage[];
|
|
26
|
+
}): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createLogger}from"#internal/logging.js";import{SessionDynamicInstructionsKey,TurnDynamicInstructionsKey}from"#context/keys.js";import{toErrorMessage}from"#shared/errors.js";import{ALLOWED_DYNAMIC_INSTRUCTION_EVENTS,isBrandedInstructionsEntry}from"#shared/dynamic-tool-definition.js";import{buildResolveContext}from"#context/dynamic-resolve-context.js";const log=createLogger(`dynamic-instructions`);function lowerToSystemMessage(e){let t=e.markdown.trim();if(t.length!==0)return{role:`system`,content:t}}function durableKeyForEvent(e){switch(e){case`session.started`:return SessionDynamicInstructionsKey;case`turn.started`:return TurnDynamicInstructionsKey;default:return}}function buildDynamicInstructionMessages(e){let r=e.get(SessionDynamicInstructionsKey)??{},i=e.get(TurnDynamicInstructionsKey)??{};return[...Object.values(r).flat(),...Object.values(i).flat()]}async function dispatchDynamicInstructionEvent(e){let{ctx:t,resolvers:n,event:a,messages:o}=e;if(!ALLOWED_DYNAMIC_INSTRUCTION_EVENTS.has(a.type))return;let s=n.filter(e=>e.eventNames.includes(a.type));if(s.length===0)return;let c=durableKeyForEvent(a.type);if(c===void 0)return;let l=buildResolveContext(t,o),u=await Promise.allSettled(s.map(async e=>{let t=e.events[a.type];if(t===void 0)return null;let n=await t(a,l);return n==null?{resolver:e,message:void 0}:isBrandedInstructionsEntry(n)?{resolver:e,message:lowerToSystemMessage(n)}:(log.error(`Dynamic instructions resolver "${e.slug}" returned an unbranded value — wrap with defineInstructions().`),null)})),d={...t.get(c)};for(let e of u){if(e.status===`rejected`){log.error(`Dynamic instructions resolver (${a.type}) threw — skipping.`,{error:toErrorMessage(e.reason)});continue}if(e.value===null)continue;let{resolver:t,message:n}=e.value;n===void 0?delete d[t.slug]:d[t.slug]=[n]}t.set(c,d)}export{buildDynamicInstructionMessages,dispatchDynamicInstructionEvent};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ModelMessage } from "ai";
|
|
2
|
+
import type { DynamicResolveContext } from "#shared/dynamic-tool-definition.js";
|
|
3
|
+
import type { AlsContext } from "#context/container.js";
|
|
4
|
+
type ReadableContext = Pick<AlsContext, "get">;
|
|
5
|
+
/**
|
|
6
|
+
* Builds the {@link DynamicResolveContext} from the active ALS context.
|
|
7
|
+
*
|
|
8
|
+
* Shared by all three dynamic lifecycle dispatchers (tools, skills,
|
|
9
|
+
* instructions) so resolver handlers receive a consistent context shape.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildResolveContext(ctx: ReadableContext, messages: readonly ModelMessage[]): DynamicResolveContext;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getAdapterKind}from"#channel/adapter.js";import{AuthKey,ChannelInstrumentationKey,ContinuationTokenKey,InitiatorAuthKey,SessionIdKey}from"#context/keys.js";import{ChannelKey}from"#runtime/sessions/runtime-context-keys.js";function buildResolveContext(e,t){let n=e.get(SessionIdKey)??``,r=e.get(AuthKey)??null,i=e.get(InitiatorAuthKey)??null,a=e.get(ChannelKey),o=e.get(ContinuationTokenKey),s=e.get(ChannelInstrumentationKey);return{session:{id:n,auth:{current:r,initiator:i}},channel:{kind:a===void 0?void 0:getAdapterKind(a),continuationToken:o,metadata:s?.metadata},messages:t}}export{buildResolveContext};
|