@copilotkit/runtime 1.54.1 → 1.55.0-next.8
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/.eslintrc.js +4 -4
- package/CHANGELOG.md +125 -113
- package/dist/_virtual/_rolldown/runtime.mjs +25 -1
- package/dist/agent/index.cjs +654 -0
- package/dist/agent/index.cjs.map +1 -0
- package/dist/agent/index.d.cts +263 -0
- package/dist/agent/index.d.cts.map +1 -0
- package/dist/agent/index.d.mts +263 -0
- package/dist/agent/index.d.mts.map +1 -0
- package/dist/agent/index.mjs +646 -0
- package/dist/agent/index.mjs.map +1 -0
- package/dist/graphql/message-conversion/agui-to-gql.cjs.map +1 -1
- package/dist/graphql/message-conversion/agui-to-gql.mjs.map +1 -1
- package/dist/lib/integrations/nextjs/app-router.cjs +2 -2
- package/dist/lib/integrations/nextjs/app-router.cjs.map +1 -1
- package/dist/lib/integrations/nextjs/app-router.mjs +1 -1
- package/dist/lib/integrations/nextjs/app-router.mjs.map +1 -1
- package/dist/lib/integrations/node-http/index.cjs +2 -3
- package/dist/lib/integrations/node-http/index.cjs.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/dist/lib/integrations/node-http/index.mjs.map +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/agent.cjs +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/agent.d.cts +2 -2
- package/dist/lib/runtime/agent-integrations/langgraph/agent.d.cts.map +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/agent.d.mts +3 -3
- package/dist/lib/runtime/agent-integrations/langgraph/agent.d.mts.map +1 -1
- package/dist/lib/runtime/agent-integrations/langgraph/agent.mjs +1 -1
- package/dist/lib/runtime/copilot-runtime.cjs +7 -5
- package/dist/lib/runtime/copilot-runtime.cjs.map +1 -1
- package/dist/lib/runtime/copilot-runtime.d.cts +10 -8
- package/dist/lib/runtime/copilot-runtime.d.cts.map +1 -1
- package/dist/lib/runtime/copilot-runtime.d.mts +10 -8
- package/dist/lib/runtime/copilot-runtime.d.mts.map +1 -1
- package/dist/lib/runtime/copilot-runtime.mjs +7 -5
- package/dist/lib/runtime/copilot-runtime.mjs.map +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.cjs +2 -2
- package/dist/lib/runtime/telemetry-agent-runner.cjs.map +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.d.cts +2 -1
- package/dist/lib/runtime/telemetry-agent-runner.d.cts.map +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.d.mts +2 -1
- package/dist/lib/runtime/telemetry-agent-runner.d.mts.map +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.mjs +1 -1
- package/dist/lib/runtime/telemetry-agent-runner.mjs.map +1 -1
- package/dist/lib/telemetry-client.cjs +1 -1
- package/dist/lib/telemetry-client.mjs +1 -1
- package/dist/package.cjs +21 -4
- package/dist/package.mjs +21 -4
- package/dist/service-adapters/anthropic/anthropic-adapter.d.mts +1 -1
- package/dist/v2/index.cjs +41 -15
- package/dist/v2/index.d.cts +14 -2
- package/dist/v2/index.d.mts +14 -2
- package/dist/v2/index.mjs +13 -4
- package/dist/v2/runtime/endpoints/express-single.cjs +190 -0
- package/dist/v2/runtime/endpoints/express-single.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/express-single.d.cts +16 -0
- package/dist/v2/runtime/endpoints/express-single.d.cts.map +1 -0
- package/dist/v2/runtime/endpoints/express-single.d.mts +16 -0
- package/dist/v2/runtime/endpoints/express-single.d.mts.map +1 -0
- package/dist/v2/runtime/endpoints/express-single.mjs +187 -0
- package/dist/v2/runtime/endpoints/express-single.mjs.map +1 -0
- package/dist/v2/runtime/endpoints/express-utils.cjs +119 -0
- package/dist/v2/runtime/endpoints/express-utils.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/express-utils.mjs +117 -0
- package/dist/v2/runtime/endpoints/express-utils.mjs.map +1 -0
- package/dist/v2/runtime/endpoints/express.cjs +217 -0
- package/dist/v2/runtime/endpoints/express.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/express.d.cts +16 -0
- package/dist/v2/runtime/endpoints/express.d.cts.map +1 -0
- package/dist/v2/runtime/endpoints/express.d.mts +16 -0
- package/dist/v2/runtime/endpoints/express.d.mts.map +1 -0
- package/dist/v2/runtime/endpoints/express.mjs +214 -0
- package/dist/v2/runtime/endpoints/express.mjs.map +1 -0
- package/dist/v2/runtime/endpoints/hono-single.cjs +141 -0
- package/dist/v2/runtime/endpoints/hono-single.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/hono-single.d.cts +41 -0
- package/dist/v2/runtime/endpoints/hono-single.d.cts.map +1 -0
- package/dist/v2/runtime/endpoints/hono-single.d.mts +41 -0
- package/dist/v2/runtime/endpoints/hono-single.d.mts.map +1 -0
- package/dist/v2/runtime/endpoints/hono-single.mjs +140 -0
- package/dist/v2/runtime/endpoints/hono-single.mjs.map +1 -0
- package/dist/v2/runtime/endpoints/hono.cjs +248 -0
- package/dist/v2/runtime/endpoints/hono.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/hono.d.cts +164 -0
- package/dist/v2/runtime/endpoints/hono.d.cts.map +1 -0
- package/dist/v2/runtime/endpoints/hono.d.mts +164 -0
- package/dist/v2/runtime/endpoints/hono.d.mts.map +1 -0
- package/dist/v2/runtime/endpoints/hono.mjs +247 -0
- package/dist/v2/runtime/endpoints/hono.mjs.map +1 -0
- package/dist/v2/runtime/endpoints/index.d.cts +5 -0
- package/dist/v2/runtime/endpoints/index.d.mts +5 -0
- package/dist/v2/runtime/endpoints/single-route-helpers.cjs +68 -0
- package/dist/v2/runtime/endpoints/single-route-helpers.cjs.map +1 -0
- package/dist/v2/runtime/endpoints/single-route-helpers.mjs +65 -0
- package/dist/v2/runtime/endpoints/single-route-helpers.mjs.map +1 -0
- package/dist/v2/runtime/handlers/get-runtime-info.cjs +51 -0
- package/dist/v2/runtime/handlers/get-runtime-info.cjs.map +1 -0
- package/dist/v2/runtime/handlers/get-runtime-info.mjs +51 -0
- package/dist/v2/runtime/handlers/get-runtime-info.mjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-connect.cjs +49 -0
- package/dist/v2/runtime/handlers/handle-connect.cjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-connect.mjs +49 -0
- package/dist/v2/runtime/handlers/handle-connect.mjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-run.cjs +61 -0
- package/dist/v2/runtime/handlers/handle-run.cjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-run.mjs +61 -0
- package/dist/v2/runtime/handlers/handle-run.mjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-stop.cjs +47 -0
- package/dist/v2/runtime/handlers/handle-stop.cjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-stop.mjs +46 -0
- package/dist/v2/runtime/handlers/handle-stop.mjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-transcribe.cjs +112 -0
- package/dist/v2/runtime/handlers/handle-transcribe.cjs.map +1 -0
- package/dist/v2/runtime/handlers/handle-transcribe.mjs +111 -0
- package/dist/v2/runtime/handlers/handle-transcribe.mjs.map +1 -0
- package/dist/v2/runtime/handlers/header-utils.cjs +26 -0
- package/dist/v2/runtime/handlers/header-utils.cjs.map +1 -0
- package/dist/v2/runtime/handlers/header-utils.mjs +25 -0
- package/dist/v2/runtime/handlers/header-utils.mjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/connect.cjs +37 -0
- package/dist/v2/runtime/handlers/intelligence/connect.cjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/connect.mjs +37 -0
- package/dist/v2/runtime/handlers/intelligence/connect.mjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/run.cjs +89 -0
- package/dist/v2/runtime/handlers/intelligence/run.cjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/run.mjs +88 -0
- package/dist/v2/runtime/handlers/intelligence/run.mjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/thread-names.cjs +146 -0
- package/dist/v2/runtime/handlers/intelligence/thread-names.cjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/thread-names.mjs +145 -0
- package/dist/v2/runtime/handlers/intelligence/thread-names.mjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/threads.cjs +159 -0
- package/dist/v2/runtime/handlers/intelligence/threads.cjs.map +1 -0
- package/dist/v2/runtime/handlers/intelligence/threads.mjs +154 -0
- package/dist/v2/runtime/handlers/intelligence/threads.mjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/agent-utils.cjs +74 -0
- package/dist/v2/runtime/handlers/shared/agent-utils.cjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/agent-utils.mjs +70 -0
- package/dist/v2/runtime/handlers/shared/agent-utils.mjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/intelligence-utils.cjs +21 -0
- package/dist/v2/runtime/handlers/shared/intelligence-utils.cjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/intelligence-utils.mjs +20 -0
- package/dist/v2/runtime/handlers/shared/intelligence-utils.mjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/json-response.cjs +12 -0
- package/dist/v2/runtime/handlers/shared/json-response.cjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/json-response.mjs +10 -0
- package/dist/v2/runtime/handlers/shared/json-response.mjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.cjs +20 -0
- package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.cjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.mjs +20 -0
- package/dist/v2/runtime/handlers/shared/resolve-intelligence-user.mjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/sse-response.cjs +69 -0
- package/dist/v2/runtime/handlers/shared/sse-response.cjs.map +1 -0
- package/dist/v2/runtime/handlers/shared/sse-response.mjs +68 -0
- package/dist/v2/runtime/handlers/shared/sse-response.mjs.map +1 -0
- package/dist/v2/runtime/handlers/sse/connect.cjs +18 -0
- package/dist/v2/runtime/handlers/sse/connect.cjs.map +1 -0
- package/dist/v2/runtime/handlers/sse/connect.mjs +18 -0
- package/dist/v2/runtime/handlers/sse/connect.mjs.map +1 -0
- package/dist/v2/runtime/handlers/sse/run.cjs +18 -0
- package/dist/v2/runtime/handlers/sse/run.cjs.map +1 -0
- package/dist/v2/runtime/handlers/sse/run.mjs +18 -0
- package/dist/v2/runtime/handlers/sse/run.mjs.map +1 -0
- package/dist/v2/runtime/index.d.cts +13 -0
- package/dist/v2/runtime/index.d.mts +14 -0
- package/dist/v2/runtime/intelligence-platform/client.cjs +333 -0
- package/dist/v2/runtime/intelligence-platform/client.cjs.map +1 -0
- package/dist/v2/runtime/intelligence-platform/client.d.cts +336 -0
- package/dist/v2/runtime/intelligence-platform/client.d.cts.map +1 -0
- package/dist/v2/runtime/intelligence-platform/client.d.mts +336 -0
- package/dist/v2/runtime/intelligence-platform/client.d.mts.map +1 -0
- package/dist/v2/runtime/intelligence-platform/client.mjs +331 -0
- package/dist/v2/runtime/intelligence-platform/client.mjs.map +1 -0
- package/dist/v2/runtime/intelligence-platform/index.d.mts +2 -0
- package/dist/v2/runtime/middleware-sse-parser.cjs +138 -0
- package/dist/v2/runtime/middleware-sse-parser.cjs.map +1 -0
- package/dist/v2/runtime/middleware-sse-parser.d.cts +22 -0
- package/dist/v2/runtime/middleware-sse-parser.d.cts.map +1 -0
- package/dist/v2/runtime/middleware-sse-parser.d.mts +22 -0
- package/dist/v2/runtime/middleware-sse-parser.d.mts.map +1 -0
- package/dist/v2/runtime/middleware-sse-parser.mjs +137 -0
- package/dist/v2/runtime/middleware-sse-parser.mjs.map +1 -0
- package/dist/v2/runtime/middleware.cjs +35 -0
- package/dist/v2/runtime/middleware.cjs.map +1 -0
- package/dist/v2/runtime/middleware.d.cts +32 -0
- package/dist/v2/runtime/middleware.d.cts.map +1 -0
- package/dist/v2/runtime/middleware.d.mts +32 -0
- package/dist/v2/runtime/middleware.d.mts.map +1 -0
- package/dist/v2/runtime/middleware.mjs +33 -0
- package/dist/v2/runtime/middleware.mjs.map +1 -0
- package/dist/v2/runtime/runner/agent-runner.cjs +8 -0
- package/dist/v2/runtime/runner/agent-runner.cjs.map +1 -0
- package/dist/v2/runtime/runner/agent-runner.d.cts +32 -0
- package/dist/v2/runtime/runner/agent-runner.d.cts.map +1 -0
- package/dist/v2/runtime/runner/agent-runner.d.mts +32 -0
- package/dist/v2/runtime/runner/agent-runner.d.mts.map +1 -0
- package/dist/v2/runtime/runner/agent-runner.mjs +7 -0
- package/dist/v2/runtime/runner/agent-runner.mjs.map +1 -0
- package/dist/v2/runtime/runner/in-memory.cjs +223 -0
- package/dist/v2/runtime/runner/in-memory.cjs.map +1 -0
- package/dist/v2/runtime/runner/in-memory.d.cts +15 -0
- package/dist/v2/runtime/runner/in-memory.d.cts.map +1 -0
- package/dist/v2/runtime/runner/in-memory.d.mts +15 -0
- package/dist/v2/runtime/runner/in-memory.d.mts.map +1 -0
- package/dist/v2/runtime/runner/in-memory.mjs +222 -0
- package/dist/v2/runtime/runner/in-memory.mjs.map +1 -0
- package/dist/v2/runtime/runner/index.d.cts +6 -0
- package/dist/v2/runtime/runner/index.d.mts +6 -0
- package/dist/v2/runtime/runner/index.mjs +7 -0
- package/dist/v2/runtime/runner/intelligence.cjs +246 -0
- package/dist/v2/runtime/runner/intelligence.cjs.map +1 -0
- package/dist/v2/runtime/runner/intelligence.d.cts +57 -0
- package/dist/v2/runtime/runner/intelligence.d.cts.map +1 -0
- package/dist/v2/runtime/runner/intelligence.d.mts +57 -0
- package/dist/v2/runtime/runner/intelligence.d.mts.map +1 -0
- package/dist/v2/runtime/runner/intelligence.mjs +245 -0
- package/dist/v2/runtime/runner/intelligence.mjs.map +1 -0
- package/dist/v2/runtime/runtime.cjs +101 -0
- package/dist/v2/runtime/runtime.cjs.map +1 -0
- package/dist/v2/runtime/runtime.d.cts +132 -0
- package/dist/v2/runtime/runtime.d.cts.map +1 -0
- package/dist/v2/runtime/runtime.d.mts +133 -0
- package/dist/v2/runtime/runtime.d.mts.map +1 -0
- package/dist/v2/runtime/runtime.mjs +97 -0
- package/dist/v2/runtime/runtime.mjs.map +1 -0
- package/dist/v2/runtime/telemetry/scarf-client.cjs +32 -0
- package/dist/v2/runtime/telemetry/scarf-client.cjs.map +1 -0
- package/dist/v2/runtime/telemetry/scarf-client.mjs +32 -0
- package/dist/v2/runtime/telemetry/scarf-client.mjs.map +1 -0
- package/dist/v2/runtime/telemetry/telemetry-client.cjs +35 -0
- package/dist/v2/runtime/telemetry/telemetry-client.cjs.map +1 -0
- package/dist/v2/runtime/telemetry/telemetry-client.mjs +35 -0
- package/dist/v2/runtime/telemetry/telemetry-client.mjs.map +1 -0
- package/dist/v2/runtime/transcription-service/transcription-service.cjs +8 -0
- package/dist/v2/runtime/transcription-service/transcription-service.cjs.map +1 -0
- package/dist/v2/runtime/transcription-service/transcription-service.d.cts +15 -0
- package/dist/v2/runtime/transcription-service/transcription-service.d.cts.map +1 -0
- package/dist/v2/runtime/transcription-service/transcription-service.d.mts +15 -0
- package/dist/v2/runtime/transcription-service/transcription-service.d.mts.map +1 -0
- package/dist/v2/runtime/transcription-service/transcription-service.mjs +7 -0
- package/dist/v2/runtime/transcription-service/transcription-service.mjs.map +1 -0
- package/package.json +24 -7
- package/src/agent/__tests__/ai-sdk-v6-compat.test.ts +116 -0
- package/src/agent/__tests__/basic-agent.test.ts +1698 -0
- package/src/agent/__tests__/config-tools-execution.test.ts +516 -0
- package/src/agent/__tests__/mcp-clients.test.ts +260 -0
- package/src/agent/__tests__/property-overrides.test.ts +598 -0
- package/src/agent/__tests__/standard-schema-tools.test.ts +313 -0
- package/src/agent/__tests__/standard-schema-types.test.ts +158 -0
- package/src/agent/__tests__/state-tools.test.ts +436 -0
- package/src/agent/__tests__/test-helpers.ts +193 -0
- package/src/agent/__tests__/utils.test.ts +536 -0
- package/src/agent/__tests__/zod-regression.test.ts +350 -0
- package/src/agent/index.ts +1329 -0
- package/src/graphql/message-conversion/agui-to-gql.test.ts +1 -1
- package/src/graphql/message-conversion/agui-to-gql.ts +1 -1
- package/src/graphql/message-conversion/gql-to-agui.ts +1 -1
- package/src/graphql/message-conversion/roundtrip-conversion.test.ts +1 -1
- package/src/lib/integrations/nextjs/app-router.ts +2 -2
- package/src/lib/integrations/node-http/index.ts +2 -2
- package/src/lib/runtime/copilot-runtime.ts +3 -5
- package/src/lib/runtime/telemetry-agent-runner.ts +1 -1
- package/src/service-adapters/conversion.test.ts +1 -1
- package/src/service-adapters/conversion.ts +1 -28
- package/src/v2/index.ts +5 -2
- package/src/v2/runtime/__tests__/cors-credentials.test.ts +320 -0
- package/src/v2/runtime/__tests__/express-abort-signal.test.ts +25 -0
- package/src/v2/runtime/__tests__/express-body-order.test.ts +76 -0
- package/src/v2/runtime/__tests__/express-single-sse.test.ts +122 -0
- package/src/v2/runtime/__tests__/get-runtime-info.test.ts +141 -0
- package/src/v2/runtime/__tests__/handle-connect.test.ts +423 -0
- package/src/v2/runtime/__tests__/handle-run.test.ts +910 -0
- package/src/v2/runtime/__tests__/handle-threads.test.ts +388 -0
- package/src/v2/runtime/__tests__/handle-transcribe.test.ts +301 -0
- package/src/v2/runtime/__tests__/header-utils.test.ts +88 -0
- package/src/v2/runtime/__tests__/in-process-agent-runner-messages.test.ts +230 -0
- package/src/v2/runtime/__tests__/in-process-agent-runner.test.ts +1030 -0
- package/src/v2/runtime/__tests__/middleware-express.test.ts +206 -0
- package/src/v2/runtime/__tests__/middleware-single-express.test.ts +211 -0
- package/src/v2/runtime/__tests__/middleware-single.test.ts +225 -0
- package/src/v2/runtime/__tests__/middleware-sse-parser.test.ts +187 -0
- package/src/v2/runtime/__tests__/middleware.test.ts +251 -0
- package/src/v2/runtime/__tests__/routing-express.test.ts +174 -0
- package/src/v2/runtime/__tests__/routing-single-express.test.ts +168 -0
- package/src/v2/runtime/__tests__/routing-single.test.ts +193 -0
- package/src/v2/runtime/__tests__/routing.test.ts +257 -0
- package/src/v2/runtime/__tests__/runtime.test.ts +123 -0
- package/src/v2/runtime/__tests__/telemetry.test.ts +167 -0
- package/src/v2/runtime/__tests__/thread-names.test.ts +188 -0
- package/src/v2/runtime/endpoints/express-single.ts +231 -0
- package/src/v2/runtime/endpoints/express-utils.ts +182 -0
- package/src/v2/runtime/endpoints/express.ts +275 -0
- package/src/v2/runtime/endpoints/hono-single.ts +212 -0
- package/src/v2/runtime/endpoints/hono.ts +314 -0
- package/src/v2/runtime/endpoints/index.ts +4 -0
- package/src/v2/runtime/endpoints/single-route-helpers.ts +125 -0
- package/src/v2/runtime/express.ts +2 -0
- package/src/v2/runtime/handler.ts +3 -0
- package/src/v2/runtime/handlers/get-runtime-info.ts +79 -0
- package/src/v2/runtime/handlers/handle-connect.ts +76 -0
- package/src/v2/runtime/handlers/handle-run.ts +89 -0
- package/src/v2/runtime/handlers/handle-stop.ts +76 -0
- package/src/v2/runtime/handlers/handle-threads.ts +7 -0
- package/src/v2/runtime/handlers/handle-transcribe.ts +256 -0
- package/src/v2/runtime/handlers/header-utils.ts +24 -0
- package/src/v2/runtime/handlers/intelligence/connect.ts +65 -0
- package/src/v2/runtime/handlers/intelligence/run.ts +152 -0
- package/src/v2/runtime/handlers/intelligence/thread-names.ts +246 -0
- package/src/v2/runtime/handlers/intelligence/threads.ts +233 -0
- package/src/v2/runtime/handlers/shared/agent-utils.ts +136 -0
- package/src/v2/runtime/handlers/shared/intelligence-utils.ts +21 -0
- package/src/v2/runtime/handlers/shared/json-response.ts +6 -0
- package/src/v2/runtime/handlers/shared/resolve-intelligence-user.ts +25 -0
- package/src/v2/runtime/handlers/shared/sse-response.ts +100 -0
- package/src/v2/runtime/handlers/sse/connect.ts +24 -0
- package/src/v2/runtime/handlers/sse/run.ts +27 -0
- package/src/v2/runtime/index.ts +20 -0
- package/src/v2/runtime/intelligence-platform/__tests__/client.test.ts +605 -0
- package/src/v2/runtime/intelligence-platform/client.ts +659 -0
- package/src/v2/runtime/intelligence-platform/index.ts +10 -0
- package/src/v2/runtime/middleware-sse-parser.ts +200 -0
- package/src/v2/runtime/middleware.ts +115 -0
- package/src/v2/runtime/runner/__tests__/finalize-events.test.ts +109 -0
- package/src/v2/runtime/runner/__tests__/in-memory-runner.e2e.test.ts +775 -0
- package/src/v2/runtime/runner/__tests__/in-memory-runner.test.ts +363 -0
- package/src/v2/runtime/runner/__tests__/intelligence-runner.test.ts +981 -0
- package/src/v2/runtime/runner/agent-runner.ts +36 -0
- package/src/v2/runtime/runner/in-memory.ts +381 -0
- package/src/v2/runtime/runner/index.ts +4 -0
- package/src/v2/runtime/runner/intelligence.ts +429 -0
- package/src/v2/runtime/runtime.ts +260 -0
- package/src/v2/runtime/telemetry/events.ts +35 -0
- package/src/v2/runtime/telemetry/index.ts +7 -0
- package/src/v2/runtime/telemetry/scarf-client.ts +39 -0
- package/src/v2/runtime/telemetry/telemetry-client.ts +70 -0
- package/src/v2/runtime/transcription-service/transcription-service.ts +11 -0
- package/tsconfig.json +9 -2
- package/tsdown.config.ts +1 -0
package/.eslintrc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
rules: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
"react-hooks/rules-of-hooks": "off", // Disables React hooks rules
|
|
4
|
+
"react-hooks/exhaustive-deps": "off", // Disables checking of dependency arrays
|
|
5
|
+
"turbo/no-undeclared-env-vars": "off",
|
|
6
|
+
},
|
|
7
7
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.55.0-next.8
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
7
|
+
- 8aafcbe: fix(agent): harden BuiltInAgent reasoning lifecycle
|
|
8
|
+
- Skip empty reasoning deltas (violates @ag-ui/core schema)
|
|
9
|
+
- Auto-close reasoning lifecycle when SDK omits reasoning-end (on consecutive-start, phase transitions, abort, error, and fallback paths)
|
|
10
|
+
- Make reasoning-end idempotent to prevent duplicate close events when auto-close already fired
|
|
11
|
+
- Regenerate reasoningMessageId for consecutive reasoning blocks when SDK provides no id
|
|
12
|
+
- Close reasoning in outer catch block so exceptions mid-reasoning emit proper lifecycle events
|
|
13
|
+
- @copilotkit/shared@1.55.0-next.8
|
|
14
|
+
|
|
15
|
+
## 1.55.0-next.7
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [1ceb963]
|
|
24
|
+
- @copilotkit/shared@1.55.0-next.7
|
|
13
25
|
|
|
14
26
|
## 1.54.1-next.6
|
|
15
27
|
|
|
@@ -151,24 +163,24 @@
|
|
|
151
163
|
### Patch Changes
|
|
152
164
|
|
|
153
165
|
- @copilotkit/shared@1.53.1-next.2
|
|
154
|
-
- @
|
|
155
|
-
- @
|
|
166
|
+
- @copilotkit/agent@1.53.1-next.2
|
|
167
|
+
- @copilotkit/runtime@1.53.1-next.2
|
|
156
168
|
|
|
157
169
|
## 1.53.1-next.1
|
|
158
170
|
|
|
159
171
|
### Patch Changes
|
|
160
172
|
|
|
161
173
|
- @copilotkit/shared@1.53.1-next.1
|
|
162
|
-
- @
|
|
163
|
-
- @
|
|
174
|
+
- @copilotkit/agent@1.53.1-next.1
|
|
175
|
+
- @copilotkit/runtime@1.53.1-next.1
|
|
164
176
|
|
|
165
177
|
## 1.53.1-next.0
|
|
166
178
|
|
|
167
179
|
### Patch Changes
|
|
168
180
|
|
|
169
181
|
- @copilotkit/shared@1.53.1-next.0
|
|
170
|
-
- @
|
|
171
|
-
- @
|
|
182
|
+
- @copilotkit/agent@1.53.1-next.0
|
|
183
|
+
- @copilotkit/runtime@1.53.1-next.0
|
|
172
184
|
|
|
173
185
|
## 1.53.0
|
|
174
186
|
|
|
@@ -185,8 +197,8 @@
|
|
|
185
197
|
- Updated dependencies [1510f64]
|
|
186
198
|
- Updated dependencies [bf1fc6f]
|
|
187
199
|
- @copilotkit/shared@1.53.0
|
|
188
|
-
- @
|
|
189
|
-
- @
|
|
200
|
+
- @copilotkit/agent@1.53.0
|
|
201
|
+
- @copilotkit/runtime@1.53.0
|
|
190
202
|
|
|
191
203
|
## 1.53.0-next.6
|
|
192
204
|
|
|
@@ -194,8 +206,8 @@
|
|
|
194
206
|
|
|
195
207
|
- 501e8d7: surpress sse warning in middleware callback
|
|
196
208
|
- @copilotkit/shared@1.53.0-next.6
|
|
197
|
-
- @
|
|
198
|
-
- @
|
|
209
|
+
- @copilotkit/agent@1.53.0-next.6
|
|
210
|
+
- @copilotkit/runtime@1.53.0-next.6
|
|
199
211
|
|
|
200
212
|
## 1.53.0-next.5
|
|
201
213
|
|
|
@@ -206,16 +218,16 @@
|
|
|
206
218
|
### Patch Changes
|
|
207
219
|
|
|
208
220
|
- @copilotkit/shared@1.53.0-next.5
|
|
209
|
-
- @
|
|
210
|
-
- @
|
|
221
|
+
- @copilotkit/agent@1.53.0-next.5
|
|
222
|
+
- @copilotkit/runtime@1.53.0-next.5
|
|
211
223
|
|
|
212
224
|
## 1.52.2-next.4
|
|
213
225
|
|
|
214
226
|
### Patch Changes
|
|
215
227
|
|
|
216
228
|
- @copilotkit/shared@1.52.2-next.4
|
|
217
|
-
- @
|
|
218
|
-
- @
|
|
229
|
+
- @copilotkit/agent@1.52.2-next.4
|
|
230
|
+
- @copilotkit/runtime@1.52.2-next.4
|
|
219
231
|
|
|
220
232
|
## 1.52.2-next.3
|
|
221
233
|
|
|
@@ -224,8 +236,8 @@
|
|
|
224
236
|
- 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
|
|
225
237
|
- Updated dependencies [1510f64]
|
|
226
238
|
- @copilotkit/shared@1.52.2-next.3
|
|
227
|
-
- @
|
|
228
|
-
- @
|
|
239
|
+
- @copilotkit/agent@1.52.2-next.3
|
|
240
|
+
- @copilotkit/runtime@1.52.2-next.3
|
|
229
241
|
|
|
230
242
|
## 1.52.2-next.2
|
|
231
243
|
|
|
@@ -233,8 +245,8 @@
|
|
|
233
245
|
|
|
234
246
|
- 8e0f94f: Bump AI SDK from v5 to v6
|
|
235
247
|
- @copilotkit/shared@1.52.2-next.2
|
|
236
|
-
- @
|
|
237
|
-
- @
|
|
248
|
+
- @copilotkit/agent@1.52.2-next.2
|
|
249
|
+
- @copilotkit/runtime@1.52.2-next.2
|
|
238
250
|
|
|
239
251
|
## 1.52.2-next.1
|
|
240
252
|
|
|
@@ -243,40 +255,40 @@
|
|
|
243
255
|
- d1f7aba: feat(runtime): expose messages in afterRequestMiddleware
|
|
244
256
|
- Updated dependencies [bf1fc6f]
|
|
245
257
|
- @copilotkit/shared@1.52.2-next.1
|
|
246
|
-
- @
|
|
247
|
-
- @
|
|
258
|
+
- @copilotkit/agent@1.52.2-next.1
|
|
259
|
+
- @copilotkit/runtime@1.52.2-next.1
|
|
248
260
|
|
|
249
261
|
## 1.52.2-next.0
|
|
250
262
|
|
|
251
263
|
### Patch Changes
|
|
252
264
|
|
|
253
265
|
- @copilotkit/shared@1.52.2-next.0
|
|
254
|
-
- @
|
|
255
|
-
- @
|
|
266
|
+
- @copilotkit/agent@1.52.2-next.0
|
|
267
|
+
- @copilotkit/runtime@1.52.2-next.0
|
|
256
268
|
|
|
257
269
|
## 1.52.1
|
|
258
270
|
|
|
259
271
|
### Patch Changes
|
|
260
272
|
|
|
261
273
|
- @copilotkit/shared@1.52.1
|
|
262
|
-
- @
|
|
263
|
-
- @
|
|
274
|
+
- @copilotkit/agent@1.52.1
|
|
275
|
+
- @copilotkit/runtime@1.52.1
|
|
264
276
|
|
|
265
277
|
## 1.52.1-next.1
|
|
266
278
|
|
|
267
279
|
### Patch Changes
|
|
268
280
|
|
|
269
281
|
- @copilotkit/shared@1.52.1-next.1
|
|
270
|
-
- @
|
|
271
|
-
- @
|
|
282
|
+
- @copilotkit/agent@1.52.1-next.1
|
|
283
|
+
- @copilotkit/runtime@1.52.1-next.1
|
|
272
284
|
|
|
273
285
|
## 1.52.1-next.0
|
|
274
286
|
|
|
275
287
|
### Patch Changes
|
|
276
288
|
|
|
277
289
|
- @copilotkit/shared@1.52.1-next.0
|
|
278
|
-
- @
|
|
279
|
-
- @
|
|
290
|
+
- @copilotkit/agent@1.52.1-next.0
|
|
291
|
+
- @copilotkit/runtime@1.52.1-next.0
|
|
280
292
|
|
|
281
293
|
## 1.52.0
|
|
282
294
|
|
|
@@ -294,33 +306,33 @@
|
|
|
294
306
|
|
|
295
307
|
- ef0f539: Add reasoning support and default components for reasoning messages
|
|
296
308
|
- Updated dependencies [ef0f539]
|
|
297
|
-
- @
|
|
309
|
+
- @copilotkit/runtime@1.52.0
|
|
298
310
|
- @copilotkit/shared@1.52.0
|
|
299
|
-
- @
|
|
311
|
+
- @copilotkit/agent@1.52.0
|
|
300
312
|
|
|
301
313
|
## 1.52.0-next.8
|
|
302
314
|
|
|
303
315
|
### Patch Changes
|
|
304
316
|
|
|
305
317
|
- @copilotkit/shared@1.52.0-next.8
|
|
306
|
-
- @
|
|
307
|
-
- @
|
|
318
|
+
- @copilotkit/agent@1.52.0-next.8
|
|
319
|
+
- @copilotkit/runtime@1.52.0-next.8
|
|
308
320
|
|
|
309
321
|
## 1.52.0-next.7
|
|
310
322
|
|
|
311
323
|
### Patch Changes
|
|
312
324
|
|
|
313
325
|
- @copilotkit/shared@1.52.0-next.7
|
|
314
|
-
- @
|
|
315
|
-
- @
|
|
326
|
+
- @copilotkit/agent@1.52.0-next.7
|
|
327
|
+
- @copilotkit/runtime@1.52.0-next.7
|
|
316
328
|
|
|
317
329
|
## 1.52.0-next.6
|
|
318
330
|
|
|
319
331
|
### Patch Changes
|
|
320
332
|
|
|
321
333
|
- @copilotkit/shared@1.52.0-next.6
|
|
322
|
-
- @
|
|
323
|
-
- @
|
|
334
|
+
- @copilotkit/agent@1.52.0-next.6
|
|
335
|
+
- @copilotkit/runtime@1.52.0-next.6
|
|
324
336
|
|
|
325
337
|
## 1.52.0-next.5
|
|
326
338
|
|
|
@@ -337,40 +349,40 @@
|
|
|
337
349
|
### Patch Changes
|
|
338
350
|
|
|
339
351
|
- @copilotkit/shared@1.52.0-next.5
|
|
340
|
-
- @
|
|
341
|
-
- @
|
|
352
|
+
- @copilotkit/agent@1.52.0-next.5
|
|
353
|
+
- @copilotkit/runtime@1.52.0-next.5
|
|
342
354
|
|
|
343
355
|
## 1.51.5-next.4
|
|
344
356
|
|
|
345
357
|
### Patch Changes
|
|
346
358
|
|
|
347
359
|
- @copilotkit/shared@1.51.5-next.4
|
|
348
|
-
- @
|
|
349
|
-
- @
|
|
360
|
+
- @copilotkit/agent@1.51.5-next.4
|
|
361
|
+
- @copilotkit/runtime@1.51.5-next.4
|
|
350
362
|
|
|
351
363
|
## 1.51.5-next.3
|
|
352
364
|
|
|
353
365
|
### Patch Changes
|
|
354
366
|
|
|
355
367
|
- @copilotkit/shared@1.51.5-next.3
|
|
356
|
-
- @
|
|
357
|
-
- @
|
|
368
|
+
- @copilotkit/agent@1.51.5-next.3
|
|
369
|
+
- @copilotkit/runtime@1.51.5-next.3
|
|
358
370
|
|
|
359
371
|
## 1.51.5-next.2
|
|
360
372
|
|
|
361
373
|
### Patch Changes
|
|
362
374
|
|
|
363
375
|
- @copilotkit/shared@1.51.5-next.2
|
|
364
|
-
- @
|
|
365
|
-
- @
|
|
376
|
+
- @copilotkit/agent@1.51.5-next.2
|
|
377
|
+
- @copilotkit/runtime@1.51.5-next.2
|
|
366
378
|
|
|
367
379
|
## 1.51.5-next.1
|
|
368
380
|
|
|
369
381
|
### Patch Changes
|
|
370
382
|
|
|
371
383
|
- @copilotkit/shared@1.51.5-next.1
|
|
372
|
-
- @
|
|
373
|
-
- @
|
|
384
|
+
- @copilotkit/agent@1.51.5-next.1
|
|
385
|
+
- @copilotkit/runtime@1.51.5-next.1
|
|
374
386
|
|
|
375
387
|
## 1.51.5-next.0
|
|
376
388
|
|
|
@@ -378,9 +390,9 @@
|
|
|
378
390
|
|
|
379
391
|
- ef0f539: Add reasoning support and default components for reasoning messages
|
|
380
392
|
- Updated dependencies [ef0f539]
|
|
381
|
-
- @
|
|
393
|
+
- @copilotkit/runtime@1.51.5-next.0
|
|
382
394
|
- @copilotkit/shared@1.51.5-next.0
|
|
383
|
-
- @
|
|
395
|
+
- @copilotkit/agent@1.51.5-next.0
|
|
384
396
|
|
|
385
397
|
## 1.51.4
|
|
386
398
|
|
|
@@ -389,32 +401,32 @@
|
|
|
389
401
|
- 8d67519: fix: propagate agent error messages into RUN_ERROR events
|
|
390
402
|
- 4886f18: fix: use langgraph clone fix on latest agui
|
|
391
403
|
- @copilotkit/shared@1.51.4
|
|
392
|
-
- @
|
|
393
|
-
- @
|
|
404
|
+
- @copilotkit/agent@1.51.4
|
|
405
|
+
- @copilotkit/runtime@1.51.4
|
|
394
406
|
|
|
395
407
|
## 1.51.4-next.8
|
|
396
408
|
|
|
397
409
|
### Patch Changes
|
|
398
410
|
|
|
399
411
|
- @copilotkit/shared@1.51.4-next.8
|
|
400
|
-
- @
|
|
401
|
-
- @
|
|
412
|
+
- @copilotkit/agent@1.51.4-next.8
|
|
413
|
+
- @copilotkit/runtime@1.51.4-next.8
|
|
402
414
|
|
|
403
415
|
## 1.51.4-next.7
|
|
404
416
|
|
|
405
417
|
### Patch Changes
|
|
406
418
|
|
|
407
419
|
- @copilotkit/shared@1.51.4-next.7
|
|
408
|
-
- @
|
|
409
|
-
- @
|
|
420
|
+
- @copilotkit/agent@1.51.4-next.7
|
|
421
|
+
- @copilotkit/runtime@1.51.4-next.7
|
|
410
422
|
|
|
411
423
|
## 1.51.4-next.6
|
|
412
424
|
|
|
413
425
|
### Patch Changes
|
|
414
426
|
|
|
415
427
|
- @copilotkit/shared@1.51.4-next.6
|
|
416
|
-
- @
|
|
417
|
-
- @
|
|
428
|
+
- @copilotkit/agent@1.51.4-next.6
|
|
429
|
+
- @copilotkit/runtime@1.51.4-next.6
|
|
418
430
|
|
|
419
431
|
## 1.51.4-next.5
|
|
420
432
|
|
|
@@ -422,40 +434,40 @@
|
|
|
422
434
|
|
|
423
435
|
- 8d67519: fix: propagate agent error messages into RUN_ERROR events
|
|
424
436
|
- @copilotkit/shared@1.51.4-next.5
|
|
425
|
-
- @
|
|
426
|
-
- @
|
|
437
|
+
- @copilotkit/agent@1.51.4-next.5
|
|
438
|
+
- @copilotkit/runtime@1.51.4-next.5
|
|
427
439
|
|
|
428
440
|
## 1.51.4-next.4
|
|
429
441
|
|
|
430
442
|
### Patch Changes
|
|
431
443
|
|
|
432
444
|
- @copilotkit/shared@1.51.4-next.4
|
|
433
|
-
- @
|
|
434
|
-
- @
|
|
445
|
+
- @copilotkit/agent@1.51.4-next.4
|
|
446
|
+
- @copilotkit/runtime@1.51.4-next.4
|
|
435
447
|
|
|
436
448
|
## 1.51.4-next.3
|
|
437
449
|
|
|
438
450
|
### Patch Changes
|
|
439
451
|
|
|
440
452
|
- @copilotkit/shared@1.51.4-next.3
|
|
441
|
-
- @
|
|
442
|
-
- @
|
|
453
|
+
- @copilotkit/agent@1.51.4-next.3
|
|
454
|
+
- @copilotkit/runtime@1.51.4-next.3
|
|
443
455
|
|
|
444
456
|
## 1.51.4-next.2
|
|
445
457
|
|
|
446
458
|
### Patch Changes
|
|
447
459
|
|
|
448
460
|
- @copilotkit/shared@1.51.4-next.2
|
|
449
|
-
- @
|
|
450
|
-
- @
|
|
461
|
+
- @copilotkit/agent@1.51.4-next.2
|
|
462
|
+
- @copilotkit/runtime@1.51.4-next.2
|
|
451
463
|
|
|
452
464
|
## 1.51.4-next.1
|
|
453
465
|
|
|
454
466
|
### Patch Changes
|
|
455
467
|
|
|
456
468
|
- @copilotkit/shared@1.51.4-next.1
|
|
457
|
-
- @
|
|
458
|
-
- @
|
|
469
|
+
- @copilotkit/agent@1.51.4-next.1
|
|
470
|
+
- @copilotkit/runtime@1.51.4-next.1
|
|
459
471
|
|
|
460
472
|
## 1.51.4-next.0
|
|
461
473
|
|
|
@@ -463,8 +475,8 @@
|
|
|
463
475
|
|
|
464
476
|
- 4886f18: fix: use langgraph clone fix on latest agui
|
|
465
477
|
- @copilotkit/shared@1.51.4-next.0
|
|
466
|
-
- @
|
|
467
|
-
- @
|
|
478
|
+
- @copilotkit/agent@1.51.4-next.0
|
|
479
|
+
- @copilotkit/runtime@1.51.4-next.0
|
|
468
480
|
|
|
469
481
|
## 1.51.3
|
|
470
482
|
|
|
@@ -480,8 +492,8 @@
|
|
|
480
492
|
- Updated dependencies [d36fc1e]
|
|
481
493
|
- Updated dependencies [29d70a5]
|
|
482
494
|
- @copilotkit/shared@1.51.3
|
|
483
|
-
- @
|
|
484
|
-
- @
|
|
495
|
+
- @copilotkit/agent@1.51.3
|
|
496
|
+
- @copilotkit/runtime@1.51.3
|
|
485
497
|
|
|
486
498
|
## 1.51.3-next.8
|
|
487
499
|
|
|
@@ -489,17 +501,17 @@
|
|
|
489
501
|
|
|
490
502
|
- d36fc1e: Add UMD export
|
|
491
503
|
- Updated dependencies [d36fc1e]
|
|
492
|
-
- @
|
|
504
|
+
- @copilotkit/runtime@1.51.3-next.8
|
|
493
505
|
- @copilotkit/shared@1.51.3-next.8
|
|
494
|
-
- @
|
|
506
|
+
- @copilotkit/agent@1.51.3-next.8
|
|
495
507
|
|
|
496
508
|
## 1.51.3-next.7
|
|
497
509
|
|
|
498
510
|
### Patch Changes
|
|
499
511
|
|
|
500
512
|
- @copilotkit/shared@1.51.3-next.7
|
|
501
|
-
- @
|
|
502
|
-
- @
|
|
513
|
+
- @copilotkit/agent@1.51.3-next.7
|
|
514
|
+
- @copilotkit/runtime@1.51.3-next.7
|
|
503
515
|
|
|
504
516
|
## 1.51.3-next.6
|
|
505
517
|
|
|
@@ -507,16 +519,16 @@
|
|
|
507
519
|
|
|
508
520
|
- 3a0822d: fix: do not run middleware for internal get requests
|
|
509
521
|
- @copilotkit/shared@1.51.3-next.6
|
|
510
|
-
- @
|
|
511
|
-
- @
|
|
522
|
+
- @copilotkit/agent@1.51.3-next.6
|
|
523
|
+
- @copilotkit/runtime@1.51.3-next.6
|
|
512
524
|
|
|
513
525
|
## 1.51.3-next.5
|
|
514
526
|
|
|
515
527
|
### Patch Changes
|
|
516
528
|
|
|
517
529
|
- @copilotkit/shared@1.51.3-next.5
|
|
518
|
-
- @
|
|
519
|
-
- @
|
|
530
|
+
- @copilotkit/agent@1.51.3-next.5
|
|
531
|
+
- @copilotkit/runtime@1.51.3-next.5
|
|
520
532
|
|
|
521
533
|
## 1.51.3-next.4
|
|
522
534
|
|
|
@@ -524,8 +536,8 @@
|
|
|
524
536
|
|
|
525
537
|
- b49277b: fix: update all agui langgraph dependencies
|
|
526
538
|
- @copilotkit/shared@1.51.3-next.4
|
|
527
|
-
- @
|
|
528
|
-
- @
|
|
539
|
+
- @copilotkit/agent@1.51.3-next.4
|
|
540
|
+
- @copilotkit/runtime@1.51.3-next.4
|
|
529
541
|
|
|
530
542
|
## 1.51.3-next.3
|
|
531
543
|
|
|
@@ -534,25 +546,25 @@
|
|
|
534
546
|
- d655e75: fix: update ag-ui dependencies
|
|
535
547
|
- Updated dependencies [d655e75]
|
|
536
548
|
- @copilotkit/shared@1.51.3-next.3
|
|
537
|
-
- @
|
|
538
|
-
- @
|
|
549
|
+
- @copilotkit/agent@1.51.3-next.3
|
|
550
|
+
- @copilotkit/runtime@1.51.3-next.3
|
|
539
551
|
|
|
540
552
|
## 1.51.3-next.2
|
|
541
553
|
|
|
542
554
|
### Patch Changes
|
|
543
555
|
|
|
544
556
|
- @copilotkit/shared@1.51.3-next.2
|
|
545
|
-
- @
|
|
546
|
-
- @
|
|
557
|
+
- @copilotkit/agent@1.51.3-next.2
|
|
558
|
+
- @copilotkit/runtime@1.51.3-next.2
|
|
547
559
|
|
|
548
560
|
## 1.51.3-next.1
|
|
549
561
|
|
|
550
562
|
### Patch Changes
|
|
551
563
|
|
|
552
564
|
- Updated dependencies [29d70a5]
|
|
553
|
-
- @
|
|
565
|
+
- @copilotkit/agent@1.51.3-next.1
|
|
554
566
|
- @copilotkit/shared@1.51.3-next.1
|
|
555
|
-
- @
|
|
567
|
+
- @copilotkit/runtime@1.51.3-next.1
|
|
556
568
|
|
|
557
569
|
## 1.51.3-next.0
|
|
558
570
|
|
|
@@ -560,9 +572,9 @@
|
|
|
560
572
|
|
|
561
573
|
- d268c49: fix: add apiKey parameter to BuiltInAgentConfiguration
|
|
562
574
|
- Updated dependencies [d268c49]
|
|
563
|
-
- @
|
|
575
|
+
- @copilotkit/agent@1.51.3-next.0
|
|
564
576
|
- @copilotkit/shared@1.51.3-next.0
|
|
565
|
-
- @
|
|
577
|
+
- @copilotkit/runtime@1.51.3-next.0
|
|
566
578
|
|
|
567
579
|
## 1.51.2
|
|
568
580
|
|
|
@@ -572,8 +584,8 @@
|
|
|
572
584
|
- e59d23f: Move in-repo deps from peerdeps to actual deps
|
|
573
585
|
- Updated dependencies [e59d23f]
|
|
574
586
|
- Updated dependencies [f36b6b1]
|
|
575
|
-
- @
|
|
576
|
-
- @
|
|
587
|
+
- @copilotkit/runtime@1.51.2
|
|
588
|
+
- @copilotkit/agent@1.51.2
|
|
577
589
|
- @copilotkit/shared@1.51.2
|
|
578
590
|
|
|
579
591
|
## 1.51.2-next.1
|
|
@@ -583,8 +595,8 @@
|
|
|
583
595
|
- e59d23f: Use deps instead of peerdeps
|
|
584
596
|
- e59d23f: Move in-repo deps from peerdeps to actual deps
|
|
585
597
|
- Updated dependencies [e59d23f]
|
|
586
|
-
- @
|
|
587
|
-
- @
|
|
598
|
+
- @copilotkit/runtime@1.51.2-next.1
|
|
599
|
+
- @copilotkit/agent@1.51.2-next.1
|
|
588
600
|
- @copilotkit/shared@1.51.2-next.1
|
|
589
601
|
|
|
590
602
|
## 1.51.2-next.0
|
|
@@ -592,18 +604,18 @@
|
|
|
592
604
|
### Patch Changes
|
|
593
605
|
|
|
594
606
|
- Updated dependencies [f36b6b1]
|
|
595
|
-
- @
|
|
607
|
+
- @copilotkit/agent@1.51.2-next.0
|
|
596
608
|
- @copilotkit/shared@1.51.2-next.0
|
|
597
|
-
- @
|
|
609
|
+
- @copilotkit/runtime@1.51.2-next.0
|
|
598
610
|
|
|
599
611
|
## 1.51.1
|
|
600
612
|
|
|
601
613
|
### Patch Changes
|
|
602
614
|
|
|
603
615
|
- Updated dependencies [329653b]
|
|
604
|
-
- @
|
|
616
|
+
- @copilotkit/agent@1.51.1
|
|
605
617
|
- @copilotkit/shared@1.51.1
|
|
606
|
-
- @
|
|
618
|
+
- @copilotkit/runtime@1.51.1
|
|
607
619
|
|
|
608
620
|
## 1.51.0
|
|
609
621
|
|
|
@@ -617,27 +629,27 @@
|
|
|
617
629
|
- Updated dependencies [73f196f]
|
|
618
630
|
- Updated dependencies [2839a15]
|
|
619
631
|
- Updated dependencies [2afd4e3]
|
|
620
|
-
- @
|
|
632
|
+
- @copilotkit/runtime@1.51.0
|
|
621
633
|
- @copilotkit/shared@1.51.0
|
|
622
|
-
- @
|
|
634
|
+
- @copilotkit/agent@1.51.0
|
|
623
635
|
|
|
624
636
|
## 1.51.0-next.4
|
|
625
637
|
|
|
626
638
|
### Patch Changes
|
|
627
639
|
|
|
628
640
|
- Updated dependencies [2793a11]
|
|
629
|
-
- @
|
|
641
|
+
- @copilotkit/runtime@1.51.0-next.4
|
|
630
642
|
- @copilotkit/shared@1.51.0-next.4
|
|
631
|
-
- @
|
|
643
|
+
- @copilotkit/agent@1.51.0-next.4
|
|
632
644
|
|
|
633
645
|
## 1.51.0-next.3
|
|
634
646
|
|
|
635
647
|
### Patch Changes
|
|
636
648
|
|
|
637
649
|
- Updated dependencies [73f196f]
|
|
638
|
-
- @
|
|
650
|
+
- @copilotkit/runtime@1.51.0-next.3
|
|
639
651
|
- @copilotkit/shared@1.51.0-next.3
|
|
640
|
-
- @
|
|
652
|
+
- @copilotkit/agent@1.51.0-next.3
|
|
641
653
|
|
|
642
654
|
## 1.51.0-next.2
|
|
643
655
|
|
|
@@ -646,16 +658,16 @@
|
|
|
646
658
|
- 4addb72: Fix ci again but really for real this time
|
|
647
659
|
- Updated dependencies [2afd4e3]
|
|
648
660
|
- @copilotkit/shared@1.51.0-next.2
|
|
649
|
-
- @
|
|
650
|
-
- @
|
|
661
|
+
- @copilotkit/agent@1.51.0-next.2
|
|
662
|
+
- @copilotkit/runtime@1.51.0-next.2
|
|
651
663
|
|
|
652
664
|
## 1.51.0-next.1
|
|
653
665
|
|
|
654
666
|
### Patch Changes
|
|
655
667
|
|
|
656
668
|
- @copilotkit/shared@1.51.0-next.1
|
|
657
|
-
- @
|
|
658
|
-
- @
|
|
669
|
+
- @copilotkit/agent@1.51.0-next.1
|
|
670
|
+
- @copilotkit/runtime@1.51.0-next.1
|
|
659
671
|
|
|
660
672
|
## 1.50.2-next.0
|
|
661
673
|
|
|
@@ -2,8 +2,32 @@ import "reflect-metadata";
|
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
5
|
+
var __create = Object.create;
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
9
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
11
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
15
|
+
key = keys[i];
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
17
|
+
__defProp(to, key, {
|
|
18
|
+
get: ((k) => from[k]).bind(null, key),
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
|
+
value: mod,
|
|
28
|
+
enumerable: true
|
|
29
|
+
}) : target, mod));
|
|
6
30
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
7
31
|
|
|
8
32
|
//#endregion
|
|
9
|
-
export { __commonJSMin, __require };
|
|
33
|
+
export { __commonJSMin, __require, __toESM };
|