@copilotkit/runtime 1.54.1-next.6 → 1.55.0-next.7
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 +117 -106
- package/dist/_virtual/_rolldown/runtime.mjs +25 -1
- package/dist/agent/index.cjs +643 -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 +635 -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 +22 -5
- package/src/agent/__tests__/ai-sdk-v6-compat.test.ts +116 -0
- package/src/agent/__tests__/basic-agent.test.ts +1248 -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 +178 -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 +1305 -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,5 +1,16 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.55.0-next.7
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [1ceb963]
|
|
12
|
+
- @copilotkit/shared@1.55.0-next.7
|
|
13
|
+
|
|
3
14
|
## 1.54.1-next.6
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -140,24 +151,24 @@
|
|
|
140
151
|
### Patch Changes
|
|
141
152
|
|
|
142
153
|
- @copilotkit/shared@1.53.1-next.2
|
|
143
|
-
- @
|
|
144
|
-
- @
|
|
154
|
+
- @copilotkit/agent@1.53.1-next.2
|
|
155
|
+
- @copilotkit/runtime@1.53.1-next.2
|
|
145
156
|
|
|
146
157
|
## 1.53.1-next.1
|
|
147
158
|
|
|
148
159
|
### Patch Changes
|
|
149
160
|
|
|
150
161
|
- @copilotkit/shared@1.53.1-next.1
|
|
151
|
-
- @
|
|
152
|
-
- @
|
|
162
|
+
- @copilotkit/agent@1.53.1-next.1
|
|
163
|
+
- @copilotkit/runtime@1.53.1-next.1
|
|
153
164
|
|
|
154
165
|
## 1.53.1-next.0
|
|
155
166
|
|
|
156
167
|
### Patch Changes
|
|
157
168
|
|
|
158
169
|
- @copilotkit/shared@1.53.1-next.0
|
|
159
|
-
- @
|
|
160
|
-
- @
|
|
170
|
+
- @copilotkit/agent@1.53.1-next.0
|
|
171
|
+
- @copilotkit/runtime@1.53.1-next.0
|
|
161
172
|
|
|
162
173
|
## 1.53.0
|
|
163
174
|
|
|
@@ -174,8 +185,8 @@
|
|
|
174
185
|
- Updated dependencies [1510f64]
|
|
175
186
|
- Updated dependencies [bf1fc6f]
|
|
176
187
|
- @copilotkit/shared@1.53.0
|
|
177
|
-
- @
|
|
178
|
-
- @
|
|
188
|
+
- @copilotkit/agent@1.53.0
|
|
189
|
+
- @copilotkit/runtime@1.53.0
|
|
179
190
|
|
|
180
191
|
## 1.53.0-next.6
|
|
181
192
|
|
|
@@ -183,8 +194,8 @@
|
|
|
183
194
|
|
|
184
195
|
- 501e8d7: surpress sse warning in middleware callback
|
|
185
196
|
- @copilotkit/shared@1.53.0-next.6
|
|
186
|
-
- @
|
|
187
|
-
- @
|
|
197
|
+
- @copilotkit/agent@1.53.0-next.6
|
|
198
|
+
- @copilotkit/runtime@1.53.0-next.6
|
|
188
199
|
|
|
189
200
|
## 1.53.0-next.5
|
|
190
201
|
|
|
@@ -195,16 +206,16 @@
|
|
|
195
206
|
### Patch Changes
|
|
196
207
|
|
|
197
208
|
- @copilotkit/shared@1.53.0-next.5
|
|
198
|
-
- @
|
|
199
|
-
- @
|
|
209
|
+
- @copilotkit/agent@1.53.0-next.5
|
|
210
|
+
- @copilotkit/runtime@1.53.0-next.5
|
|
200
211
|
|
|
201
212
|
## 1.52.2-next.4
|
|
202
213
|
|
|
203
214
|
### Patch Changes
|
|
204
215
|
|
|
205
216
|
- @copilotkit/shared@1.52.2-next.4
|
|
206
|
-
- @
|
|
207
|
-
- @
|
|
217
|
+
- @copilotkit/agent@1.52.2-next.4
|
|
218
|
+
- @copilotkit/runtime@1.52.2-next.4
|
|
208
219
|
|
|
209
220
|
## 1.52.2-next.3
|
|
210
221
|
|
|
@@ -213,8 +224,8 @@
|
|
|
213
224
|
- 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
|
|
214
225
|
- Updated dependencies [1510f64]
|
|
215
226
|
- @copilotkit/shared@1.52.2-next.3
|
|
216
|
-
- @
|
|
217
|
-
- @
|
|
227
|
+
- @copilotkit/agent@1.52.2-next.3
|
|
228
|
+
- @copilotkit/runtime@1.52.2-next.3
|
|
218
229
|
|
|
219
230
|
## 1.52.2-next.2
|
|
220
231
|
|
|
@@ -222,8 +233,8 @@
|
|
|
222
233
|
|
|
223
234
|
- 8e0f94f: Bump AI SDK from v5 to v6
|
|
224
235
|
- @copilotkit/shared@1.52.2-next.2
|
|
225
|
-
- @
|
|
226
|
-
- @
|
|
236
|
+
- @copilotkit/agent@1.52.2-next.2
|
|
237
|
+
- @copilotkit/runtime@1.52.2-next.2
|
|
227
238
|
|
|
228
239
|
## 1.52.2-next.1
|
|
229
240
|
|
|
@@ -232,40 +243,40 @@
|
|
|
232
243
|
- d1f7aba: feat(runtime): expose messages in afterRequestMiddleware
|
|
233
244
|
- Updated dependencies [bf1fc6f]
|
|
234
245
|
- @copilotkit/shared@1.52.2-next.1
|
|
235
|
-
- @
|
|
236
|
-
- @
|
|
246
|
+
- @copilotkit/agent@1.52.2-next.1
|
|
247
|
+
- @copilotkit/runtime@1.52.2-next.1
|
|
237
248
|
|
|
238
249
|
## 1.52.2-next.0
|
|
239
250
|
|
|
240
251
|
### Patch Changes
|
|
241
252
|
|
|
242
253
|
- @copilotkit/shared@1.52.2-next.0
|
|
243
|
-
- @
|
|
244
|
-
- @
|
|
254
|
+
- @copilotkit/agent@1.52.2-next.0
|
|
255
|
+
- @copilotkit/runtime@1.52.2-next.0
|
|
245
256
|
|
|
246
257
|
## 1.52.1
|
|
247
258
|
|
|
248
259
|
### Patch Changes
|
|
249
260
|
|
|
250
261
|
- @copilotkit/shared@1.52.1
|
|
251
|
-
- @
|
|
252
|
-
- @
|
|
262
|
+
- @copilotkit/agent@1.52.1
|
|
263
|
+
- @copilotkit/runtime@1.52.1
|
|
253
264
|
|
|
254
265
|
## 1.52.1-next.1
|
|
255
266
|
|
|
256
267
|
### Patch Changes
|
|
257
268
|
|
|
258
269
|
- @copilotkit/shared@1.52.1-next.1
|
|
259
|
-
- @
|
|
260
|
-
- @
|
|
270
|
+
- @copilotkit/agent@1.52.1-next.1
|
|
271
|
+
- @copilotkit/runtime@1.52.1-next.1
|
|
261
272
|
|
|
262
273
|
## 1.52.1-next.0
|
|
263
274
|
|
|
264
275
|
### Patch Changes
|
|
265
276
|
|
|
266
277
|
- @copilotkit/shared@1.52.1-next.0
|
|
267
|
-
- @
|
|
268
|
-
- @
|
|
278
|
+
- @copilotkit/agent@1.52.1-next.0
|
|
279
|
+
- @copilotkit/runtime@1.52.1-next.0
|
|
269
280
|
|
|
270
281
|
## 1.52.0
|
|
271
282
|
|
|
@@ -283,33 +294,33 @@
|
|
|
283
294
|
|
|
284
295
|
- ef0f539: Add reasoning support and default components for reasoning messages
|
|
285
296
|
- Updated dependencies [ef0f539]
|
|
286
|
-
- @
|
|
297
|
+
- @copilotkit/runtime@1.52.0
|
|
287
298
|
- @copilotkit/shared@1.52.0
|
|
288
|
-
- @
|
|
299
|
+
- @copilotkit/agent@1.52.0
|
|
289
300
|
|
|
290
301
|
## 1.52.0-next.8
|
|
291
302
|
|
|
292
303
|
### Patch Changes
|
|
293
304
|
|
|
294
305
|
- @copilotkit/shared@1.52.0-next.8
|
|
295
|
-
- @
|
|
296
|
-
- @
|
|
306
|
+
- @copilotkit/agent@1.52.0-next.8
|
|
307
|
+
- @copilotkit/runtime@1.52.0-next.8
|
|
297
308
|
|
|
298
309
|
## 1.52.0-next.7
|
|
299
310
|
|
|
300
311
|
### Patch Changes
|
|
301
312
|
|
|
302
313
|
- @copilotkit/shared@1.52.0-next.7
|
|
303
|
-
- @
|
|
304
|
-
- @
|
|
314
|
+
- @copilotkit/agent@1.52.0-next.7
|
|
315
|
+
- @copilotkit/runtime@1.52.0-next.7
|
|
305
316
|
|
|
306
317
|
## 1.52.0-next.6
|
|
307
318
|
|
|
308
319
|
### Patch Changes
|
|
309
320
|
|
|
310
321
|
- @copilotkit/shared@1.52.0-next.6
|
|
311
|
-
- @
|
|
312
|
-
- @
|
|
322
|
+
- @copilotkit/agent@1.52.0-next.6
|
|
323
|
+
- @copilotkit/runtime@1.52.0-next.6
|
|
313
324
|
|
|
314
325
|
## 1.52.0-next.5
|
|
315
326
|
|
|
@@ -326,40 +337,40 @@
|
|
|
326
337
|
### Patch Changes
|
|
327
338
|
|
|
328
339
|
- @copilotkit/shared@1.52.0-next.5
|
|
329
|
-
- @
|
|
330
|
-
- @
|
|
340
|
+
- @copilotkit/agent@1.52.0-next.5
|
|
341
|
+
- @copilotkit/runtime@1.52.0-next.5
|
|
331
342
|
|
|
332
343
|
## 1.51.5-next.4
|
|
333
344
|
|
|
334
345
|
### Patch Changes
|
|
335
346
|
|
|
336
347
|
- @copilotkit/shared@1.51.5-next.4
|
|
337
|
-
- @
|
|
338
|
-
- @
|
|
348
|
+
- @copilotkit/agent@1.51.5-next.4
|
|
349
|
+
- @copilotkit/runtime@1.51.5-next.4
|
|
339
350
|
|
|
340
351
|
## 1.51.5-next.3
|
|
341
352
|
|
|
342
353
|
### Patch Changes
|
|
343
354
|
|
|
344
355
|
- @copilotkit/shared@1.51.5-next.3
|
|
345
|
-
- @
|
|
346
|
-
- @
|
|
356
|
+
- @copilotkit/agent@1.51.5-next.3
|
|
357
|
+
- @copilotkit/runtime@1.51.5-next.3
|
|
347
358
|
|
|
348
359
|
## 1.51.5-next.2
|
|
349
360
|
|
|
350
361
|
### Patch Changes
|
|
351
362
|
|
|
352
363
|
- @copilotkit/shared@1.51.5-next.2
|
|
353
|
-
- @
|
|
354
|
-
- @
|
|
364
|
+
- @copilotkit/agent@1.51.5-next.2
|
|
365
|
+
- @copilotkit/runtime@1.51.5-next.2
|
|
355
366
|
|
|
356
367
|
## 1.51.5-next.1
|
|
357
368
|
|
|
358
369
|
### Patch Changes
|
|
359
370
|
|
|
360
371
|
- @copilotkit/shared@1.51.5-next.1
|
|
361
|
-
- @
|
|
362
|
-
- @
|
|
372
|
+
- @copilotkit/agent@1.51.5-next.1
|
|
373
|
+
- @copilotkit/runtime@1.51.5-next.1
|
|
363
374
|
|
|
364
375
|
## 1.51.5-next.0
|
|
365
376
|
|
|
@@ -367,9 +378,9 @@
|
|
|
367
378
|
|
|
368
379
|
- ef0f539: Add reasoning support and default components for reasoning messages
|
|
369
380
|
- Updated dependencies [ef0f539]
|
|
370
|
-
- @
|
|
381
|
+
- @copilotkit/runtime@1.51.5-next.0
|
|
371
382
|
- @copilotkit/shared@1.51.5-next.0
|
|
372
|
-
- @
|
|
383
|
+
- @copilotkit/agent@1.51.5-next.0
|
|
373
384
|
|
|
374
385
|
## 1.51.4
|
|
375
386
|
|
|
@@ -378,32 +389,32 @@
|
|
|
378
389
|
- 8d67519: fix: propagate agent error messages into RUN_ERROR events
|
|
379
390
|
- 4886f18: fix: use langgraph clone fix on latest agui
|
|
380
391
|
- @copilotkit/shared@1.51.4
|
|
381
|
-
- @
|
|
382
|
-
- @
|
|
392
|
+
- @copilotkit/agent@1.51.4
|
|
393
|
+
- @copilotkit/runtime@1.51.4
|
|
383
394
|
|
|
384
395
|
## 1.51.4-next.8
|
|
385
396
|
|
|
386
397
|
### Patch Changes
|
|
387
398
|
|
|
388
399
|
- @copilotkit/shared@1.51.4-next.8
|
|
389
|
-
- @
|
|
390
|
-
- @
|
|
400
|
+
- @copilotkit/agent@1.51.4-next.8
|
|
401
|
+
- @copilotkit/runtime@1.51.4-next.8
|
|
391
402
|
|
|
392
403
|
## 1.51.4-next.7
|
|
393
404
|
|
|
394
405
|
### Patch Changes
|
|
395
406
|
|
|
396
407
|
- @copilotkit/shared@1.51.4-next.7
|
|
397
|
-
- @
|
|
398
|
-
- @
|
|
408
|
+
- @copilotkit/agent@1.51.4-next.7
|
|
409
|
+
- @copilotkit/runtime@1.51.4-next.7
|
|
399
410
|
|
|
400
411
|
## 1.51.4-next.6
|
|
401
412
|
|
|
402
413
|
### Patch Changes
|
|
403
414
|
|
|
404
415
|
- @copilotkit/shared@1.51.4-next.6
|
|
405
|
-
- @
|
|
406
|
-
- @
|
|
416
|
+
- @copilotkit/agent@1.51.4-next.6
|
|
417
|
+
- @copilotkit/runtime@1.51.4-next.6
|
|
407
418
|
|
|
408
419
|
## 1.51.4-next.5
|
|
409
420
|
|
|
@@ -411,40 +422,40 @@
|
|
|
411
422
|
|
|
412
423
|
- 8d67519: fix: propagate agent error messages into RUN_ERROR events
|
|
413
424
|
- @copilotkit/shared@1.51.4-next.5
|
|
414
|
-
- @
|
|
415
|
-
- @
|
|
425
|
+
- @copilotkit/agent@1.51.4-next.5
|
|
426
|
+
- @copilotkit/runtime@1.51.4-next.5
|
|
416
427
|
|
|
417
428
|
## 1.51.4-next.4
|
|
418
429
|
|
|
419
430
|
### Patch Changes
|
|
420
431
|
|
|
421
432
|
- @copilotkit/shared@1.51.4-next.4
|
|
422
|
-
- @
|
|
423
|
-
- @
|
|
433
|
+
- @copilotkit/agent@1.51.4-next.4
|
|
434
|
+
- @copilotkit/runtime@1.51.4-next.4
|
|
424
435
|
|
|
425
436
|
## 1.51.4-next.3
|
|
426
437
|
|
|
427
438
|
### Patch Changes
|
|
428
439
|
|
|
429
440
|
- @copilotkit/shared@1.51.4-next.3
|
|
430
|
-
- @
|
|
431
|
-
- @
|
|
441
|
+
- @copilotkit/agent@1.51.4-next.3
|
|
442
|
+
- @copilotkit/runtime@1.51.4-next.3
|
|
432
443
|
|
|
433
444
|
## 1.51.4-next.2
|
|
434
445
|
|
|
435
446
|
### Patch Changes
|
|
436
447
|
|
|
437
448
|
- @copilotkit/shared@1.51.4-next.2
|
|
438
|
-
- @
|
|
439
|
-
- @
|
|
449
|
+
- @copilotkit/agent@1.51.4-next.2
|
|
450
|
+
- @copilotkit/runtime@1.51.4-next.2
|
|
440
451
|
|
|
441
452
|
## 1.51.4-next.1
|
|
442
453
|
|
|
443
454
|
### Patch Changes
|
|
444
455
|
|
|
445
456
|
- @copilotkit/shared@1.51.4-next.1
|
|
446
|
-
- @
|
|
447
|
-
- @
|
|
457
|
+
- @copilotkit/agent@1.51.4-next.1
|
|
458
|
+
- @copilotkit/runtime@1.51.4-next.1
|
|
448
459
|
|
|
449
460
|
## 1.51.4-next.0
|
|
450
461
|
|
|
@@ -452,8 +463,8 @@
|
|
|
452
463
|
|
|
453
464
|
- 4886f18: fix: use langgraph clone fix on latest agui
|
|
454
465
|
- @copilotkit/shared@1.51.4-next.0
|
|
455
|
-
- @
|
|
456
|
-
- @
|
|
466
|
+
- @copilotkit/agent@1.51.4-next.0
|
|
467
|
+
- @copilotkit/runtime@1.51.4-next.0
|
|
457
468
|
|
|
458
469
|
## 1.51.3
|
|
459
470
|
|
|
@@ -469,8 +480,8 @@
|
|
|
469
480
|
- Updated dependencies [d36fc1e]
|
|
470
481
|
- Updated dependencies [29d70a5]
|
|
471
482
|
- @copilotkit/shared@1.51.3
|
|
472
|
-
- @
|
|
473
|
-
- @
|
|
483
|
+
- @copilotkit/agent@1.51.3
|
|
484
|
+
- @copilotkit/runtime@1.51.3
|
|
474
485
|
|
|
475
486
|
## 1.51.3-next.8
|
|
476
487
|
|
|
@@ -478,17 +489,17 @@
|
|
|
478
489
|
|
|
479
490
|
- d36fc1e: Add UMD export
|
|
480
491
|
- Updated dependencies [d36fc1e]
|
|
481
|
-
- @
|
|
492
|
+
- @copilotkit/runtime@1.51.3-next.8
|
|
482
493
|
- @copilotkit/shared@1.51.3-next.8
|
|
483
|
-
- @
|
|
494
|
+
- @copilotkit/agent@1.51.3-next.8
|
|
484
495
|
|
|
485
496
|
## 1.51.3-next.7
|
|
486
497
|
|
|
487
498
|
### Patch Changes
|
|
488
499
|
|
|
489
500
|
- @copilotkit/shared@1.51.3-next.7
|
|
490
|
-
- @
|
|
491
|
-
- @
|
|
501
|
+
- @copilotkit/agent@1.51.3-next.7
|
|
502
|
+
- @copilotkit/runtime@1.51.3-next.7
|
|
492
503
|
|
|
493
504
|
## 1.51.3-next.6
|
|
494
505
|
|
|
@@ -496,16 +507,16 @@
|
|
|
496
507
|
|
|
497
508
|
- 3a0822d: fix: do not run middleware for internal get requests
|
|
498
509
|
- @copilotkit/shared@1.51.3-next.6
|
|
499
|
-
- @
|
|
500
|
-
- @
|
|
510
|
+
- @copilotkit/agent@1.51.3-next.6
|
|
511
|
+
- @copilotkit/runtime@1.51.3-next.6
|
|
501
512
|
|
|
502
513
|
## 1.51.3-next.5
|
|
503
514
|
|
|
504
515
|
### Patch Changes
|
|
505
516
|
|
|
506
517
|
- @copilotkit/shared@1.51.3-next.5
|
|
507
|
-
- @
|
|
508
|
-
- @
|
|
518
|
+
- @copilotkit/agent@1.51.3-next.5
|
|
519
|
+
- @copilotkit/runtime@1.51.3-next.5
|
|
509
520
|
|
|
510
521
|
## 1.51.3-next.4
|
|
511
522
|
|
|
@@ -513,8 +524,8 @@
|
|
|
513
524
|
|
|
514
525
|
- b49277b: fix: update all agui langgraph dependencies
|
|
515
526
|
- @copilotkit/shared@1.51.3-next.4
|
|
516
|
-
- @
|
|
517
|
-
- @
|
|
527
|
+
- @copilotkit/agent@1.51.3-next.4
|
|
528
|
+
- @copilotkit/runtime@1.51.3-next.4
|
|
518
529
|
|
|
519
530
|
## 1.51.3-next.3
|
|
520
531
|
|
|
@@ -523,25 +534,25 @@
|
|
|
523
534
|
- d655e75: fix: update ag-ui dependencies
|
|
524
535
|
- Updated dependencies [d655e75]
|
|
525
536
|
- @copilotkit/shared@1.51.3-next.3
|
|
526
|
-
- @
|
|
527
|
-
- @
|
|
537
|
+
- @copilotkit/agent@1.51.3-next.3
|
|
538
|
+
- @copilotkit/runtime@1.51.3-next.3
|
|
528
539
|
|
|
529
540
|
## 1.51.3-next.2
|
|
530
541
|
|
|
531
542
|
### Patch Changes
|
|
532
543
|
|
|
533
544
|
- @copilotkit/shared@1.51.3-next.2
|
|
534
|
-
- @
|
|
535
|
-
- @
|
|
545
|
+
- @copilotkit/agent@1.51.3-next.2
|
|
546
|
+
- @copilotkit/runtime@1.51.3-next.2
|
|
536
547
|
|
|
537
548
|
## 1.51.3-next.1
|
|
538
549
|
|
|
539
550
|
### Patch Changes
|
|
540
551
|
|
|
541
552
|
- Updated dependencies [29d70a5]
|
|
542
|
-
- @
|
|
553
|
+
- @copilotkit/agent@1.51.3-next.1
|
|
543
554
|
- @copilotkit/shared@1.51.3-next.1
|
|
544
|
-
- @
|
|
555
|
+
- @copilotkit/runtime@1.51.3-next.1
|
|
545
556
|
|
|
546
557
|
## 1.51.3-next.0
|
|
547
558
|
|
|
@@ -549,9 +560,9 @@
|
|
|
549
560
|
|
|
550
561
|
- d268c49: fix: add apiKey parameter to BuiltInAgentConfiguration
|
|
551
562
|
- Updated dependencies [d268c49]
|
|
552
|
-
- @
|
|
563
|
+
- @copilotkit/agent@1.51.3-next.0
|
|
553
564
|
- @copilotkit/shared@1.51.3-next.0
|
|
554
|
-
- @
|
|
565
|
+
- @copilotkit/runtime@1.51.3-next.0
|
|
555
566
|
|
|
556
567
|
## 1.51.2
|
|
557
568
|
|
|
@@ -561,8 +572,8 @@
|
|
|
561
572
|
- e59d23f: Move in-repo deps from peerdeps to actual deps
|
|
562
573
|
- Updated dependencies [e59d23f]
|
|
563
574
|
- Updated dependencies [f36b6b1]
|
|
564
|
-
- @
|
|
565
|
-
- @
|
|
575
|
+
- @copilotkit/runtime@1.51.2
|
|
576
|
+
- @copilotkit/agent@1.51.2
|
|
566
577
|
- @copilotkit/shared@1.51.2
|
|
567
578
|
|
|
568
579
|
## 1.51.2-next.1
|
|
@@ -572,8 +583,8 @@
|
|
|
572
583
|
- e59d23f: Use deps instead of peerdeps
|
|
573
584
|
- e59d23f: Move in-repo deps from peerdeps to actual deps
|
|
574
585
|
- Updated dependencies [e59d23f]
|
|
575
|
-
- @
|
|
576
|
-
- @
|
|
586
|
+
- @copilotkit/runtime@1.51.2-next.1
|
|
587
|
+
- @copilotkit/agent@1.51.2-next.1
|
|
577
588
|
- @copilotkit/shared@1.51.2-next.1
|
|
578
589
|
|
|
579
590
|
## 1.51.2-next.0
|
|
@@ -581,18 +592,18 @@
|
|
|
581
592
|
### Patch Changes
|
|
582
593
|
|
|
583
594
|
- Updated dependencies [f36b6b1]
|
|
584
|
-
- @
|
|
595
|
+
- @copilotkit/agent@1.51.2-next.0
|
|
585
596
|
- @copilotkit/shared@1.51.2-next.0
|
|
586
|
-
- @
|
|
597
|
+
- @copilotkit/runtime@1.51.2-next.0
|
|
587
598
|
|
|
588
599
|
## 1.51.1
|
|
589
600
|
|
|
590
601
|
### Patch Changes
|
|
591
602
|
|
|
592
603
|
- Updated dependencies [329653b]
|
|
593
|
-
- @
|
|
604
|
+
- @copilotkit/agent@1.51.1
|
|
594
605
|
- @copilotkit/shared@1.51.1
|
|
595
|
-
- @
|
|
606
|
+
- @copilotkit/runtime@1.51.1
|
|
596
607
|
|
|
597
608
|
## 1.51.0
|
|
598
609
|
|
|
@@ -606,27 +617,27 @@
|
|
|
606
617
|
- Updated dependencies [73f196f]
|
|
607
618
|
- Updated dependencies [2839a15]
|
|
608
619
|
- Updated dependencies [2afd4e3]
|
|
609
|
-
- @
|
|
620
|
+
- @copilotkit/runtime@1.51.0
|
|
610
621
|
- @copilotkit/shared@1.51.0
|
|
611
|
-
- @
|
|
622
|
+
- @copilotkit/agent@1.51.0
|
|
612
623
|
|
|
613
624
|
## 1.51.0-next.4
|
|
614
625
|
|
|
615
626
|
### Patch Changes
|
|
616
627
|
|
|
617
628
|
- Updated dependencies [2793a11]
|
|
618
|
-
- @
|
|
629
|
+
- @copilotkit/runtime@1.51.0-next.4
|
|
619
630
|
- @copilotkit/shared@1.51.0-next.4
|
|
620
|
-
- @
|
|
631
|
+
- @copilotkit/agent@1.51.0-next.4
|
|
621
632
|
|
|
622
633
|
## 1.51.0-next.3
|
|
623
634
|
|
|
624
635
|
### Patch Changes
|
|
625
636
|
|
|
626
637
|
- Updated dependencies [73f196f]
|
|
627
|
-
- @
|
|
638
|
+
- @copilotkit/runtime@1.51.0-next.3
|
|
628
639
|
- @copilotkit/shared@1.51.0-next.3
|
|
629
|
-
- @
|
|
640
|
+
- @copilotkit/agent@1.51.0-next.3
|
|
630
641
|
|
|
631
642
|
## 1.51.0-next.2
|
|
632
643
|
|
|
@@ -635,16 +646,16 @@
|
|
|
635
646
|
- 4addb72: Fix ci again but really for real this time
|
|
636
647
|
- Updated dependencies [2afd4e3]
|
|
637
648
|
- @copilotkit/shared@1.51.0-next.2
|
|
638
|
-
- @
|
|
639
|
-
- @
|
|
649
|
+
- @copilotkit/agent@1.51.0-next.2
|
|
650
|
+
- @copilotkit/runtime@1.51.0-next.2
|
|
640
651
|
|
|
641
652
|
## 1.51.0-next.1
|
|
642
653
|
|
|
643
654
|
### Patch Changes
|
|
644
655
|
|
|
645
656
|
- @copilotkit/shared@1.51.0-next.1
|
|
646
|
-
- @
|
|
647
|
-
- @
|
|
657
|
+
- @copilotkit/agent@1.51.0-next.1
|
|
658
|
+
- @copilotkit/runtime@1.51.0-next.1
|
|
648
659
|
|
|
649
660
|
## 1.50.2-next.0
|
|
650
661
|
|
|
@@ -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 };
|