@copilotkit/runtime 2.0.0-rc.5 → 2.0.0-rc.50
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/README.md +29 -4
- package/dist/agent/{url-download.cjs → ai-sdk/url-download.cjs} +19 -76
- package/dist/agent/ai-sdk/url-download.cjs.map +1 -0
- package/dist/agent/{url-download.d.cts → ai-sdk/url-download.d.cts} +11 -8
- package/dist/agent/ai-sdk/url-download.d.cts.map +1 -0
- package/dist/agent/{url-download.d.mts → ai-sdk/url-download.d.mts} +11 -8
- package/dist/agent/ai-sdk/url-download.d.mts.map +1 -0
- package/dist/agent/{url-download.mjs → ai-sdk/url-download.mjs} +20 -74
- package/dist/agent/ai-sdk/url-download.mjs.map +1 -0
- package/dist/agent/ai-sdk.cjs +425 -0
- package/dist/agent/ai-sdk.cjs.map +1 -0
- package/dist/agent/ai-sdk.d.cts +119 -0
- package/dist/agent/ai-sdk.d.cts.map +1 -0
- package/dist/agent/ai-sdk.d.mts +119 -0
- package/dist/agent/ai-sdk.d.mts.map +1 -0
- package/dist/agent/ai-sdk.mjs +419 -0
- package/dist/agent/ai-sdk.mjs.map +1 -0
- package/dist/agent/classic-tools.cjs +185 -0
- package/dist/agent/classic-tools.cjs.map +1 -0
- package/dist/agent/classic-tools.mjs +183 -0
- package/dist/agent/classic-tools.mjs.map +1 -0
- package/dist/agent/converters/aisdk.cjs +17 -4
- package/dist/agent/converters/aisdk.cjs.map +1 -1
- package/dist/agent/converters/aisdk.d.cts.map +1 -1
- package/dist/agent/converters/aisdk.d.mts.map +1 -1
- package/dist/agent/converters/aisdk.mjs +18 -2
- package/dist/agent/converters/aisdk.mjs.map +1 -1
- package/dist/agent/converters/tanstack.cjs +202 -30
- package/dist/agent/converters/tanstack.cjs.map +1 -1
- package/dist/agent/converters/tanstack.d.cts +90 -6
- package/dist/agent/converters/tanstack.d.cts.map +1 -1
- package/dist/agent/converters/tanstack.d.mts +90 -6
- package/dist/agent/converters/tanstack.d.mts.map +1 -1
- package/dist/agent/converters/tanstack.mjs +202 -29
- package/dist/agent/converters/tanstack.mjs.map +1 -1
- package/dist/agent/learned-skills.cjs +15 -17
- package/dist/agent/learned-skills.cjs.map +1 -1
- package/dist/agent/learned-skills.d.cts +9 -3
- package/dist/agent/learned-skills.d.cts.map +1 -1
- package/dist/agent/learned-skills.d.mts +9 -3
- package/dist/agent/learned-skills.d.mts.map +1 -1
- package/dist/agent/learned-skills.mjs +15 -16
- package/dist/agent/learned-skills.mjs.map +1 -1
- package/dist/agent/model.cjs +42 -0
- package/dist/agent/model.cjs.map +1 -0
- package/dist/agent/model.d.cts +19 -0
- package/dist/agent/model.d.cts.map +1 -0
- package/dist/agent/model.d.mts +19 -0
- package/dist/agent/model.d.mts.map +1 -0
- package/dist/agent/model.mjs +41 -0
- package/dist/agent/model.mjs.map +1 -0
- package/dist/agent/state-delta.cjs +0 -1
- package/dist/agent/state-delta.cjs.map +1 -1
- package/dist/agent.cjs +558 -0
- package/dist/agent.cjs.map +1 -0
- package/dist/agent.d.cts +455 -0
- package/dist/agent.d.cts.map +1 -0
- package/dist/agent.d.mts +455 -0
- package/dist/agent.d.mts.map +1 -0
- package/dist/agent.mjs +551 -0
- package/dist/agent.mjs.map +1 -0
- package/dist/index.cjs +27 -27
- package/dist/index.d.cts +15 -15
- package/dist/index.d.mts +15 -15
- package/dist/index.mjs +9 -8
- package/dist/internal/learned-skills.d.cts +1 -1
- package/dist/internal/learned-skills.d.mts +1 -1
- package/dist/node.cjs +3 -2
- package/dist/node.d.cts +3 -3
- package/dist/node.d.mts +3 -3
- package/dist/node.mjs +3 -3
- package/dist/runtime/core/channel-manager.cjs +10 -2
- package/dist/runtime/core/channel-manager.cjs.map +1 -1
- package/dist/runtime/core/channel-manager.d.cts +1 -1
- package/dist/runtime/core/channel-manager.d.mts +1 -1
- package/dist/runtime/core/channel-manager.mjs +10 -1
- package/dist/runtime/core/channel-manager.mjs.map +1 -1
- package/dist/runtime/core/debug-event-bus.cjs +4 -3
- package/dist/runtime/core/debug-event-bus.cjs.map +1 -1
- package/dist/runtime/core/debug-event-bus.d.cts +5 -1
- package/dist/runtime/core/debug-event-bus.d.cts.map +1 -1
- package/dist/runtime/core/debug-event-bus.d.mts +4 -0
- package/dist/runtime/core/debug-event-bus.d.mts.map +1 -1
- package/dist/runtime/core/debug-event-bus.mjs +5 -3
- package/dist/runtime/core/debug-event-bus.mjs.map +1 -1
- package/dist/runtime/core/fetch-cors.cjs.map +1 -1
- package/dist/runtime/core/fetch-cors.d.cts +2 -2
- package/dist/runtime/core/fetch-cors.d.cts.map +1 -1
- package/dist/runtime/core/fetch-cors.d.mts +2 -2
- package/dist/runtime/core/fetch-cors.d.mts.map +1 -1
- package/dist/runtime/core/fetch-cors.mjs.map +1 -1
- package/dist/runtime/core/fetch-handler.cjs +24 -13
- package/dist/runtime/core/fetch-handler.cjs.map +1 -1
- package/dist/runtime/core/fetch-handler.d.cts +35 -14
- package/dist/runtime/core/fetch-handler.d.cts.map +1 -1
- package/dist/runtime/core/fetch-handler.d.mts +35 -14
- package/dist/runtime/core/fetch-handler.d.mts.map +1 -1
- package/dist/runtime/core/fetch-handler.mjs +16 -5
- package/dist/runtime/core/fetch-handler.mjs.map +1 -1
- package/dist/runtime/core/hooks.cjs.map +1 -1
- package/dist/runtime/core/hooks.d.cts +5 -5
- package/dist/runtime/core/hooks.d.cts.map +1 -1
- package/dist/runtime/core/hooks.d.mts +5 -5
- package/dist/runtime/core/hooks.d.mts.map +1 -1
- package/dist/runtime/core/hooks.mjs.map +1 -1
- package/dist/runtime/core/learning.cjs.map +1 -1
- package/dist/runtime/core/learning.d.cts +9 -9
- package/dist/runtime/core/learning.d.cts.map +1 -1
- package/dist/runtime/core/learning.d.mts +8 -8
- package/dist/runtime/core/learning.d.mts.map +1 -1
- package/dist/runtime/core/learning.mjs.map +1 -1
- package/dist/runtime/core/logger.cjs +105 -14
- package/dist/runtime/core/logger.cjs.map +1 -1
- package/dist/runtime/core/logger.d.cts +26 -9
- package/dist/runtime/core/logger.d.cts.map +1 -1
- package/dist/runtime/core/logger.d.mts +26 -9
- package/dist/runtime/core/logger.d.mts.map +1 -1
- package/dist/runtime/core/logger.mjs +105 -12
- package/dist/runtime/core/logger.mjs.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.cjs +3 -4
- package/dist/runtime/core/middleware-sse-parser.cjs.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.d.cts.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.d.mts.map +1 -1
- package/dist/runtime/core/middleware-sse-parser.mjs +2 -2
- package/dist/runtime/core/middleware-sse-parser.mjs.map +1 -1
- package/dist/runtime/core/middleware.cjs +5 -5
- package/dist/runtime/core/middleware.cjs.map +1 -1
- package/dist/runtime/core/middleware.d.cts +3 -3
- package/dist/runtime/core/middleware.d.cts.map +1 -1
- package/dist/runtime/core/middleware.d.mts +3 -3
- package/dist/runtime/core/middleware.d.mts.map +1 -1
- package/dist/runtime/core/middleware.mjs +4 -3
- package/dist/runtime/core/middleware.mjs.map +1 -1
- package/dist/runtime/core/package-info.cjs +1 -1
- package/dist/runtime/core/package-info.mjs +1 -1
- package/dist/runtime/core/runtime-error-reporter.cjs.map +1 -1
- package/dist/runtime/core/runtime-error-reporter.mjs.map +1 -1
- package/dist/runtime/core/runtime.cjs +29 -46
- package/dist/runtime/core/runtime.cjs.map +1 -1
- package/dist/runtime/core/runtime.d.cts +157 -91
- package/dist/runtime/core/runtime.d.cts.map +1 -1
- package/dist/runtime/core/runtime.d.mts +157 -91
- package/dist/runtime/core/runtime.d.mts.map +1 -1
- package/dist/runtime/core/runtime.mjs +27 -42
- package/dist/runtime/core/runtime.mjs.map +1 -1
- package/dist/runtime/endpoints/auto-start-channels.cjs +3 -4
- package/dist/runtime/endpoints/auto-start-channels.cjs.map +1 -1
- package/dist/runtime/endpoints/auto-start-channels.mjs +2 -2
- package/dist/runtime/endpoints/auto-start-channels.mjs.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.cjs +11 -7
- package/dist/runtime/endpoints/node-fetch-handler.cjs.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.cts +9 -5
- package/dist/runtime/endpoints/node-fetch-handler.d.cts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.mts +9 -5
- package/dist/runtime/endpoints/node-fetch-handler.d.mts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.mjs +10 -5
- package/dist/runtime/endpoints/node-fetch-handler.mjs.map +1 -1
- package/dist/runtime/endpoints/node.cjs +14 -4
- package/dist/runtime/endpoints/node.cjs.map +1 -1
- package/dist/runtime/endpoints/node.d.cts +39 -16
- package/dist/runtime/endpoints/node.d.cts.map +1 -1
- package/dist/runtime/endpoints/node.d.mts +39 -16
- package/dist/runtime/endpoints/node.d.mts.map +1 -1
- package/dist/runtime/endpoints/node.mjs +16 -7
- package/dist/runtime/endpoints/node.mjs.map +1 -1
- package/dist/runtime/event-transforms/index.d.cts +4 -0
- package/dist/runtime/event-transforms/index.d.mts +4 -0
- package/dist/runtime/event-transforms/index.mjs +5 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.cjs +277 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.cjs.map +1 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.cts +61 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.cts.map +1 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.mts +61 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.mts.map +1 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.mjs +276 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.mjs.map +1 -0
- package/dist/runtime/event-transforms/recorded-events.cjs +68 -0
- package/dist/runtime/event-transforms/recorded-events.cjs.map +1 -0
- package/dist/runtime/event-transforms/recorded-events.d.cts +27 -0
- package/dist/runtime/event-transforms/recorded-events.d.cts.map +1 -0
- package/dist/runtime/event-transforms/recorded-events.d.mts +27 -0
- package/dist/runtime/event-transforms/recorded-events.d.mts.map +1 -0
- package/dist/runtime/event-transforms/recorded-events.mjs +68 -0
- package/dist/runtime/event-transforms/recorded-events.mjs.map +1 -0
- package/dist/runtime/event-transforms/streaming-json-scanner.cjs +289 -0
- package/dist/runtime/event-transforms/streaming-json-scanner.cjs.map +1 -0
- package/dist/runtime/event-transforms/streaming-json-scanner.mjs +288 -0
- package/dist/runtime/event-transforms/streaming-json-scanner.mjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-actions.cjs +106 -0
- package/dist/runtime/generative-ui/a2ui-v09-actions.cjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-actions.mjs +106 -0
- package/dist/runtime/generative-ui/a2ui-v09-actions.mjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-catalog.cjs +422 -0
- package/dist/runtime/generative-ui/a2ui-v09-catalog.cjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-catalog.mjs +422 -0
- package/dist/runtime/generative-ui/a2ui-v09-catalog.mjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.cjs +84 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.cjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.d.cts +41 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.d.cts.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.d.mts +41 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.d.mts.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.mjs +83 -0
- package/dist/runtime/generative-ui/a2ui-v09-middleware.mjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-operations.cjs +694 -0
- package/dist/runtime/generative-ui/a2ui-v09-operations.cjs.map +1 -0
- package/dist/runtime/generative-ui/a2ui-v09-operations.mjs +694 -0
- package/dist/runtime/generative-ui/a2ui-v09-operations.mjs.map +1 -0
- package/dist/runtime/generative-ui/generative-ui-middleware.cjs +0 -1
- package/dist/runtime/generative-ui/generative-ui-middleware.cjs.map +1 -1
- package/dist/runtime/generative-ui/index.d.cts +1 -0
- package/dist/runtime/generative-ui/index.d.mts +1 -0
- package/dist/runtime/generative-ui/surface-writer.cjs +4 -5
- package/dist/runtime/generative-ui/surface-writer.cjs.map +1 -1
- package/dist/runtime/generative-ui/surface-writer.d.cts +1 -1
- package/dist/runtime/generative-ui/surface-writer.d.cts.map +1 -1
- package/dist/runtime/generative-ui/surface-writer.d.mts.map +1 -1
- package/dist/runtime/generative-ui/surface-writer.mjs +5 -5
- package/dist/runtime/generative-ui/surface-writer.mjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.cjs +24 -6
- package/dist/runtime/handlers/get-runtime-info.cjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.mjs +25 -7
- package/dist/runtime/handlers/get-runtime-info.mjs.map +1 -1
- package/dist/runtime/handlers/handle-connect.cjs +3 -8
- package/dist/runtime/handlers/handle-connect.cjs.map +1 -1
- package/dist/runtime/handlers/handle-connect.mjs +3 -8
- package/dist/runtime/handlers/handle-connect.mjs.map +1 -1
- package/dist/runtime/handlers/handle-debug-events.cjs.map +1 -1
- package/dist/runtime/handlers/handle-debug-events.mjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-learning.cjs +2 -3
- package/dist/runtime/handlers/handle-inspector-learning.cjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-learning.mjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-metadata.cjs +2 -3
- package/dist/runtime/handlers/handle-inspector-metadata.cjs.map +1 -1
- package/dist/runtime/handlers/handle-inspector-metadata.mjs.map +1 -1
- package/dist/runtime/handlers/handle-run.cjs +11 -16
- package/dist/runtime/handlers/handle-run.cjs.map +1 -1
- package/dist/runtime/handlers/handle-run.mjs +8 -12
- package/dist/runtime/handlers/handle-run.mjs.map +1 -1
- package/dist/runtime/handlers/handle-stop.cjs +5 -5
- package/dist/runtime/handlers/handle-stop.cjs.map +1 -1
- package/dist/runtime/handlers/handle-stop.mjs +2 -1
- package/dist/runtime/handlers/handle-stop.mjs.map +1 -1
- package/dist/runtime/handlers/handle-suggest.cjs +6 -3
- package/dist/runtime/handlers/handle-suggest.cjs.map +1 -1
- package/dist/runtime/handlers/handle-suggest.mjs +6 -2
- package/dist/runtime/handlers/handle-suggest.mjs.map +1 -1
- package/dist/runtime/handlers/handle-trajectory-connect.cjs.map +1 -1
- package/dist/runtime/handlers/handle-trajectory-connect.mjs.map +1 -1
- package/dist/runtime/handlers/handle-transcribe.cjs +0 -1
- package/dist/runtime/handlers/handle-transcribe.cjs.map +1 -1
- package/dist/runtime/handlers/handle-transcribe.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/annotate.cjs +8 -8
- package/dist/runtime/handlers/intelligence/annotate.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/annotate.mjs +5 -4
- package/dist/runtime/handlers/intelligence/annotate.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/connect.cjs +6 -2
- package/dist/runtime/handlers/intelligence/connect.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/connect.mjs +6 -2
- package/dist/runtime/handlers/intelligence/connect.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/memories.cjs +28 -23
- package/dist/runtime/handlers/intelligence/memories.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/memories.mjs +12 -6
- package/dist/runtime/handlers/intelligence/memories.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.cjs +38 -30
- package/dist/runtime/handlers/intelligence/run.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.mjs +37 -28
- package/dist/runtime/handlers/intelligence/run.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.cjs +6 -5
- package/dist/runtime/handlers/intelligence/thread-names.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.mjs +3 -1
- package/dist/runtime/handlers/intelligence/thread-names.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/threads.cjs +40 -31
- package/dist/runtime/handlers/intelligence/threads.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/threads.mjs +18 -8
- package/dist/runtime/handlers/intelligence/threads.mjs.map +1 -1
- package/dist/runtime/handlers/shared/agent-utils.cjs +50 -46
- package/dist/runtime/handlers/shared/agent-utils.cjs.map +1 -1
- package/dist/runtime/handlers/shared/agent-utils.mjs +47 -42
- package/dist/runtime/handlers/shared/agent-utils.mjs.map +1 -1
- package/dist/runtime/handlers/shared/cloud-telemetry.cjs +0 -1
- package/dist/runtime/handlers/shared/cloud-telemetry.cjs.map +1 -1
- package/dist/runtime/handlers/shared/memory-policy.cjs.map +1 -1
- package/dist/runtime/handlers/shared/memory-policy.mjs.map +1 -1
- package/dist/runtime/handlers/shared/resolve-intelligence-user.cjs +4 -3
- package/dist/runtime/handlers/shared/resolve-intelligence-user.cjs.map +1 -1
- package/dist/runtime/handlers/shared/resolve-intelligence-user.mjs +4 -3
- package/dist/runtime/handlers/shared/resolve-intelligence-user.mjs.map +1 -1
- package/dist/runtime/handlers/shared/sse-response.cjs +77 -78
- package/dist/runtime/handlers/shared/sse-response.cjs.map +1 -1
- package/dist/runtime/handlers/shared/sse-response.mjs +77 -77
- package/dist/runtime/handlers/shared/sse-response.mjs.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.cjs +4 -3
- package/dist/runtime/handlers/shared/thread-access.cjs.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.d.cts.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.d.mts.map +1 -1
- package/dist/runtime/handlers/shared/thread-access.mjs +4 -3
- package/dist/runtime/handlers/shared/thread-access.mjs.map +1 -1
- package/dist/runtime/handlers/sse/connect.cjs +2 -0
- package/dist/runtime/handlers/sse/connect.cjs.map +1 -1
- package/dist/runtime/handlers/sse/connect.mjs +2 -0
- package/dist/runtime/handlers/sse/connect.mjs.map +1 -1
- package/dist/runtime/handlers/sse/run.cjs +5 -2
- package/dist/runtime/handlers/sse/run.cjs.map +1 -1
- package/dist/runtime/handlers/sse/run.mjs +5 -2
- package/dist/runtime/handlers/sse/run.mjs.map +1 -1
- package/dist/runtime/index.cjs +29 -0
- package/dist/runtime/index.cjs.map +1 -0
- package/dist/runtime/index.d.cts +61 -15
- package/dist/runtime/index.d.cts.map +1 -1
- package/dist/runtime/index.d.mts +61 -15
- package/dist/runtime/index.d.mts.map +1 -1
- package/dist/runtime/index.mjs +27 -0
- package/dist/runtime/index.mjs.map +1 -0
- package/dist/runtime/intelligence-platform/analytics-context.cjs +84 -0
- package/dist/runtime/intelligence-platform/analytics-context.cjs.map +1 -0
- package/dist/runtime/intelligence-platform/analytics-context.mjs +83 -0
- package/dist/runtime/intelligence-platform/analytics-context.mjs.map +1 -0
- package/dist/runtime/intelligence-platform/client.cjs +30 -4
- package/dist/runtime/intelligence-platform/client.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/client.d.cts +25 -2
- package/dist/runtime/intelligence-platform/client.d.cts.map +1 -1
- package/dist/runtime/intelligence-platform/client.d.mts +25 -2
- package/dist/runtime/intelligence-platform/client.d.mts.map +1 -1
- package/dist/runtime/intelligence-platform/client.mjs +30 -3
- package/dist/runtime/intelligence-platform/client.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/learning-management.cjs +7 -8
- package/dist/runtime/intelligence-platform/learning-management.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/learning-management.mjs +7 -7
- package/dist/runtime/intelligence-platform/learning-management.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/archive.cjs +104 -110
- package/dist/runtime/intelligence-platform/skill-registry/archive.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/archive.d.cts +8 -2
- package/dist/runtime/intelligence-platform/skill-registry/archive.d.cts.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/archive.d.mts +8 -2
- package/dist/runtime/intelligence-platform/skill-registry/archive.d.mts.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/archive.mjs +104 -109
- package/dist/runtime/intelligence-platform/skill-registry/archive.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/config.cjs +0 -1
- package/dist/runtime/intelligence-platform/skill-registry/config.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/index.d.cts +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/index.d.mts +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/registry.cjs +22 -19
- package/dist/runtime/intelligence-platform/skill-registry/registry.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/registry.d.cts.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/registry.d.mts.map +1 -1
- package/dist/runtime/intelligence-platform/skill-registry/registry.mjs +22 -19
- package/dist/runtime/intelligence-platform/skill-registry/registry.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/stop-run.cjs +50 -0
- package/dist/runtime/intelligence-platform/stop-run.cjs.map +1 -0
- package/dist/runtime/intelligence-platform/stop-run.mjs +50 -0
- package/dist/runtime/intelligence-platform/stop-run.mjs.map +1 -0
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.cjs +3 -3
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.mjs +2 -1
- package/dist/runtime/intelligence-platform/thread-lock-heartbeat.mjs.map +1 -1
- package/dist/runtime/intelligence-platform/trajectories.cjs +2 -3
- package/dist/runtime/intelligence-platform/trajectories.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/trajectories.mjs +2 -2
- package/dist/runtime/intelligence-platform/trajectories.mjs.map +1 -1
- package/dist/runtime/node.d.cts +2 -2
- package/dist/runtime/node.d.mts +2 -2
- package/dist/runtime/runner/agent-runner.cjs +0 -1
- package/dist/runtime/runner/agent-runner.cjs.map +1 -1
- package/dist/runtime/runner/agent-runner.d.cts +9 -0
- package/dist/runtime/runner/agent-runner.d.cts.map +1 -1
- package/dist/runtime/runner/agent-runner.d.mts +9 -0
- package/dist/runtime/runner/agent-runner.d.mts.map +1 -1
- package/dist/runtime/runner/agent-runner.mjs.map +1 -1
- package/dist/runtime/runner/in-memory.cjs +0 -1
- package/dist/runtime/runner/in-memory.cjs.map +1 -1
- package/dist/runtime/runner/index.d.cts +1 -1
- package/dist/runtime/runner/index.d.mts +1 -1
- package/dist/runtime/runner/index.mjs +1 -1
- package/dist/runtime/runner/intelligence.cjs +55 -9
- package/dist/runtime/runner/intelligence.cjs.map +1 -1
- package/dist/runtime/runner/intelligence.d.cts +12 -1
- package/dist/runtime/runner/intelligence.d.cts.map +1 -1
- package/dist/runtime/runner/intelligence.d.mts +12 -1
- package/dist/runtime/runner/intelligence.d.mts.map +1 -1
- package/dist/runtime/runner/intelligence.mjs +56 -10
- package/dist/runtime/runner/intelligence.mjs.map +1 -1
- package/dist/runtime/telemetry/disclosure.cjs +2 -3
- package/dist/runtime/telemetry/disclosure.cjs.map +1 -1
- package/dist/runtime/telemetry/disclosure.mjs +3 -3
- package/dist/runtime/telemetry/disclosure.mjs.map +1 -1
- package/dist/runtime/telemetry/events.d.cts +1 -1
- package/dist/runtime/telemetry/events.d.mts +1 -1
- package/dist/runtime/telemetry/instance-created.cjs +33 -12
- package/dist/runtime/telemetry/instance-created.cjs.map +1 -1
- package/dist/runtime/telemetry/instance-created.mjs +33 -12
- package/dist/runtime/telemetry/instance-created.mjs.map +1 -1
- package/dist/runtime/telemetry/telemetry-client.cjs +0 -5
- package/dist/runtime/telemetry/telemetry-client.cjs.map +1 -1
- package/dist/runtime/telemetry/telemetry-client.mjs +0 -4
- package/dist/runtime/telemetry/telemetry-client.mjs.map +1 -1
- package/dist/runtime/telemetry/telemetry-identity.cjs +0 -1
- package/dist/runtime/telemetry/telemetry-identity.cjs.map +1 -1
- package/package.json +54 -29
- package/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/dist/agent/converters/index.d.mts +0 -2
- package/dist/agent/index.cjs +0 -1328
- package/dist/agent/index.cjs.map +0 -1
- package/dist/agent/index.d.cts +0 -467
- package/dist/agent/index.d.cts.map +0 -1
- package/dist/agent/index.d.mts +0 -468
- package/dist/agent/index.d.mts.map +0 -1
- package/dist/agent/index.mjs +0 -1318
- package/dist/agent/index.mjs.map +0 -1
- package/dist/agent/mcp-tool-names.cjs +0 -82
- package/dist/agent/mcp-tool-names.cjs.map +0 -1
- package/dist/agent/mcp-tool-names.mjs +0 -80
- package/dist/agent/mcp-tool-names.mjs.map +0 -1
- package/dist/agent/url-download.cjs.map +0 -1
- package/dist/agent/url-download.d.cts.map +0 -1
- package/dist/agent/url-download.d.mts.map +0 -1
- package/dist/agent/url-download.mjs.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { AgentRunner } from "../runner/agent-runner.mjs";
|
|
2
2
|
import { ThreadAccessMode, ThreadsConfig } from "../handlers/shared/thread-access.mjs";
|
|
3
3
|
import { ForwardHeadersConfig, ResolvedForwardHeadersPolicy } from "../handlers/header-utils.mjs";
|
|
4
|
+
import { CopilotKitRuntimeLogger } from "./logger.mjs";
|
|
4
5
|
import { AfterRequestMiddleware, BeforeRequestMiddleware } from "./middleware.mjs";
|
|
5
|
-
import { CopilotRuntimeLogger } from "./logger.mjs";
|
|
6
6
|
import { TranscriptionService } from "../transcription-service/transcription-service.mjs";
|
|
7
7
|
import { DebugEventBus } from "./debug-event-bus.mjs";
|
|
8
|
-
import { CopilotRuntimeLearningConfig, CopilotRuntimeLearningContext, CopilotRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "./learning.mjs";
|
|
9
|
-
import { CopilotKitIntelligence } from "../intelligence-platform/client.mjs";
|
|
10
8
|
import "../intelligence-platform/index.mjs";
|
|
11
9
|
import { TelemetryCapture } from "../telemetry/telemetry-client.mjs";
|
|
10
|
+
import { CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "./learning.mjs";
|
|
11
|
+
import { CopilotKitIntelligence } from "../intelligence-platform/client.mjs";
|
|
12
12
|
import { DebugConfig, MaybePromise, NonEmptyRecord, RUNTIME_MODE_INTELLIGENCE, RUNTIME_MODE_SSE, ResolvedDebugConfig, RuntimeMode } from "@copilotkit/shared";
|
|
13
13
|
import { LicenseChecker } from "@copilotkit/license-verifier";
|
|
14
14
|
import { AbstractAgent } from "@ag-ui/client";
|
|
15
|
-
import { MCPClientConfig } from "@ag-ui/mcp-apps-middleware";
|
|
16
15
|
import { A2UIMiddlewareConfig } from "@ag-ui/a2ui-middleware";
|
|
16
|
+
import { MCPClientConfig } from "@ag-ui/mcp-apps-middleware";
|
|
17
17
|
import { Channel } from "@copilotkit/channels-core";
|
|
18
18
|
|
|
19
19
|
//#region src/runtime/core/runtime.d.ts
|
|
@@ -33,37 +33,98 @@ interface McpAppsConfig {
|
|
|
33
33
|
}
|
|
34
34
|
interface OpenGenerativeUIOptions extends BaseCopilotRuntimeMiddlewareOptions {}
|
|
35
35
|
type OpenGenerativeUIConfig = boolean | OpenGenerativeUIOptions;
|
|
36
|
-
|
|
36
|
+
/** An A2UI protocol version that an agent speaks. */
|
|
37
|
+
type A2UIVersion = "0.9" | "1.0";
|
|
38
|
+
/**
|
|
39
|
+
* Options of {@link CopilotRuntimeMiddlewares.generativeUI}.
|
|
40
|
+
*
|
|
41
|
+
* The client renders A2UI 1.0 only. An agent that speaks A2UI v0.9 is set
|
|
42
|
+
* to `"0.9"` with `a2uiVersion`: the runtime then gives it the v0.9 tool and
|
|
43
|
+
* catalog, and converts its surfaces to 1.0 for the client and the clicks
|
|
44
|
+
* on them back to v0.9 for the agent.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* new CopilotKitRuntime({
|
|
49
|
+
* agents: { legacy: legacyAgent, current: currentAgent },
|
|
50
|
+
* generativeUI: { a2uiVersion: { legacy: "0.9" } },
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
interface GenerativeUIOptions extends BaseCopilotRuntimeMiddlewareOptions {
|
|
55
|
+
/**
|
|
56
|
+
* The A2UI version that the agents speak. Default: `"1.0"`.
|
|
57
|
+
*
|
|
58
|
+
* - `"1.0"`: the agent gets the `render_ui` tool and the generative UI
|
|
59
|
+
* guide.
|
|
60
|
+
* - `"0.9"`: the agent gets the `render_a2ui` tool of
|
|
61
|
+
* `@ag-ui/a2ui-middleware`, its guide, and the v0.9 component schema of
|
|
62
|
+
* the client's catalog. It does not get `render_ui`.
|
|
63
|
+
* - A record of agent id to version: one version for each agent. An agent
|
|
64
|
+
* that is not in the record speaks `"1.0"`.
|
|
65
|
+
*
|
|
66
|
+
* For both versions, the runtime converts the v0.9 surfaces that a run
|
|
67
|
+
* emits (for example, from a tool result) to 1.0, and turns a click on a
|
|
68
|
+
* converted surface back into a v0.9 action.
|
|
69
|
+
*/
|
|
70
|
+
a2uiVersion?: A2UIVersion | Record<string, A2UIVersion>;
|
|
71
|
+
/**
|
|
72
|
+
* v0.9 agents only. The component schema for `A2UIMiddleware` to add to
|
|
73
|
+
* the agent's context. It replaces the schema that the runtime makes from
|
|
74
|
+
* the client's catalog.
|
|
75
|
+
*/
|
|
76
|
+
schema?: A2UIMiddlewareConfig["schema"];
|
|
77
|
+
/**
|
|
78
|
+
* v0.9 agents only. The generation lifecycle options of `A2UIMiddleware`:
|
|
79
|
+
* `debugExposure`, `showProgressTokens` and `maxAttempts`.
|
|
80
|
+
*/
|
|
81
|
+
recovery?: A2UIMiddlewareConfig["recovery"];
|
|
37
82
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
83
|
+
* v0.9 agents only. Adds the A2UI render tool to the agent's tools: `true`
|
|
84
|
+
* adds `render_a2ui`, a string adds it with that name, and `false` adds no
|
|
85
|
+
* tool. Default: `true` when the client sends a generative UI catalog
|
|
86
|
+
* with the "tool" transport.
|
|
40
87
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
88
|
+
injectA2UITool?: A2UIMiddlewareConfig["injectA2UITool"];
|
|
89
|
+
/**
|
|
90
|
+
* v0.9 agents only. The tool names that `A2UIMiddleware` streams into
|
|
91
|
+
* surfaces. Default: `["render_a2ui"]`.
|
|
92
|
+
*/
|
|
93
|
+
a2uiToolNames?: A2UIMiddlewareConfig["a2uiToolNames"];
|
|
94
|
+
/**
|
|
95
|
+
* v0.9 agents only. The tool names that `A2UIMiddleware` treats as
|
|
96
|
+
* generation wrappers: a render call inside one of them belongs to it.
|
|
97
|
+
* Left out, every tool can wrap a render call. Use `[]` when there are no
|
|
98
|
+
* generation wrappers.
|
|
99
|
+
*/
|
|
100
|
+
a2uiGenerationToolNames?: A2UIMiddlewareConfig["a2uiGenerationToolNames"];
|
|
101
|
+
/**
|
|
102
|
+
* v0.9 agents only. The catalog id of the surfaces that `A2UIMiddleware`
|
|
103
|
+
* creates from a streamed render tool call. Default: the catalog id of the
|
|
104
|
+
* component schema in the agent's context.
|
|
105
|
+
*/
|
|
106
|
+
defaultCatalogId?: A2UIMiddlewareConfig["defaultCatalogId"];
|
|
107
|
+
}
|
|
108
|
+
interface CopilotRuntimeMiddlewares {
|
|
50
109
|
/** Auto-apply MCPAppsMiddleware to agents at run time. */
|
|
51
110
|
mcpApps?: McpAppsConfig;
|
|
52
111
|
/** Auto-apply OpenGenerativeUIMiddleware to agents at run time. */
|
|
53
112
|
openGenerativeUI?: OpenGenerativeUIConfig;
|
|
54
113
|
/**
|
|
55
|
-
*
|
|
114
|
+
* CopilotKit generative UI surfaces (A2UI 1.0).
|
|
56
115
|
*
|
|
57
116
|
* - Omitted: applied to a run when the React provider sends a
|
|
58
117
|
* tool-transport envelope (`forwardedProps.copilotkit.ui`).
|
|
59
118
|
* - `true`: applied to every run.
|
|
60
|
-
* -
|
|
119
|
+
* - An object: applied to every run of `agents` (all agents when
|
|
120
|
+
* omitted). See {@link GenerativeUIOptions}, which also sets the A2UI
|
|
121
|
+
* version of each agent with `a2uiVersion`.
|
|
61
122
|
* - `false`: never applied.
|
|
62
123
|
*
|
|
63
124
|
* A run with a markdown-transport envelope never gets it: the model writes
|
|
64
125
|
* the UI in a2ui code fences, and the client renders them.
|
|
65
126
|
*/
|
|
66
|
-
generativeUI?: boolean |
|
|
127
|
+
generativeUI?: boolean | GenerativeUIOptions;
|
|
67
128
|
}
|
|
68
129
|
/**
|
|
69
130
|
* Context passed to agent factory functions for per-request agent resolution.
|
|
@@ -141,6 +202,17 @@ interface BaseCopilotRuntimeOptions extends CopilotRuntimeMiddlewares {
|
|
|
141
202
|
ɵtelemetry?: TelemetryCapture;
|
|
142
203
|
/** Enable debug logging for the event pipeline. */
|
|
143
204
|
debug?: DebugConfig;
|
|
205
|
+
/**
|
|
206
|
+
* Where the runtime writes its logs. Pass pino, `console`, or any object
|
|
207
|
+
* with pino-style `debug`, `info`, `warn` and `error` methods
|
|
208
|
+
* (`(message)` or `(fields, message)`). When `debug` is on, debug output
|
|
209
|
+
* goes to `logger.child({ component: "copilotkit-debug" })`, or to the
|
|
210
|
+
* logger itself when it has no `child`.
|
|
211
|
+
*
|
|
212
|
+
* Without it, the runtime writes to the console, and debug output is JSON
|
|
213
|
+
* lines on stdout.
|
|
214
|
+
*/
|
|
215
|
+
logger?: CopilotKitRuntimeLogger;
|
|
144
216
|
/**
|
|
145
217
|
* Policy controlling which inbound HTTP headers are forwarded onto the
|
|
146
218
|
* outgoing agent call. By default a built-in denylist strips known
|
|
@@ -193,22 +265,22 @@ interface BaseCopilotRuntimeOptions extends CopilotRuntimeMiddlewares {
|
|
|
193
265
|
*/
|
|
194
266
|
threads?: ThreadsConfig;
|
|
195
267
|
}
|
|
196
|
-
type IdentifyUserCallback = (request: Request) => MaybePromise<
|
|
268
|
+
type IdentifyUserCallback = (request: Request) => MaybePromise<CopilotKitRuntimeUser>;
|
|
197
269
|
type MemoryAccess = "none" | "read" | "read-write";
|
|
198
270
|
interface MemoryGrant {
|
|
199
271
|
readonly user: MemoryAccess;
|
|
200
272
|
readonly project: MemoryAccess;
|
|
201
273
|
}
|
|
202
274
|
type MemoryConsumer = "agent" | "client";
|
|
203
|
-
interface
|
|
275
|
+
interface CopilotKitRuntimeMemoryConfig {
|
|
204
276
|
/** Resolves immutable Memory access for one authenticated web request. */
|
|
205
277
|
access(input: {
|
|
206
278
|
readonly request: Request;
|
|
207
|
-
readonly user:
|
|
279
|
+
readonly user: CopilotKitRuntimeUser;
|
|
208
280
|
readonly consumer: MemoryConsumer;
|
|
209
281
|
}): MaybePromise<MemoryGrant | null>;
|
|
210
282
|
}
|
|
211
|
-
interface
|
|
283
|
+
interface CopilotKitSseRuntimeOptions extends BaseCopilotRuntimeOptions {
|
|
212
284
|
/** The runner to use for running agents in SSE mode. */
|
|
213
285
|
runner?: AgentRunner;
|
|
214
286
|
/**
|
|
@@ -237,7 +309,7 @@ interface CopilotIntelligenceRuntimeBaseOptions extends BaseCopilotRuntimeOption
|
|
|
237
309
|
* Chooses one stable Learning Container ID for each web or Channel run.
|
|
238
310
|
* @deprecated Configure `getLearningContainerId` on `CopilotKitIntelligence`.
|
|
239
311
|
*/
|
|
240
|
-
ɵlearning?:
|
|
312
|
+
ɵlearning?: CopilotKitRuntimeLearningConfig;
|
|
241
313
|
/** Auto-generate short names for newly created threads. */
|
|
242
314
|
generateThreadNames?: boolean;
|
|
243
315
|
/** Max delay (ms) for WebSocket reconnect backoff. @default 10_000 */
|
|
@@ -259,26 +331,25 @@ interface CopilotIntelligenceRuntimeBaseOptions extends BaseCopilotRuntimeOption
|
|
|
259
331
|
}
|
|
260
332
|
type NonEmptyChannels = readonly [Channel, ...Channel[]];
|
|
261
333
|
/** Intelligence runtime options with web identity, Channels, or both. */
|
|
262
|
-
type
|
|
334
|
+
type CopilotKitIntelligenceRuntimeOptions = CopilotIntelligenceRuntimeBaseOptions & ({
|
|
263
335
|
/** Resolves the authenticated user for web requests. */identifyUser: IdentifyUserCallback; /** Enables agent and browser Memory under one request policy. */
|
|
264
|
-
memory?:
|
|
336
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
265
337
|
channels?: readonly Channel[];
|
|
266
338
|
} | {
|
|
267
339
|
/** Channels-only runtimes expose no functional web surface. */identifyUser?: undefined;
|
|
268
340
|
memory?: undefined;
|
|
269
341
|
channels: NonEmptyChannels;
|
|
270
342
|
});
|
|
271
|
-
type
|
|
272
|
-
interface
|
|
273
|
-
agents:
|
|
274
|
-
transcriptionService:
|
|
275
|
-
beforeRequestMiddleware:
|
|
276
|
-
afterRequestMiddleware:
|
|
343
|
+
type CopilotKitRuntimeOptions = CopilotKitSseRuntimeOptions | CopilotKitIntelligenceRuntimeOptions;
|
|
344
|
+
interface CopilotKitRuntimeLike {
|
|
345
|
+
agents: CopilotKitRuntimeOptions["agents"];
|
|
346
|
+
transcriptionService: CopilotKitRuntimeOptions["transcriptionService"];
|
|
347
|
+
beforeRequestMiddleware: CopilotKitRuntimeOptions["beforeRequestMiddleware"];
|
|
348
|
+
afterRequestMiddleware: CopilotKitRuntimeOptions["afterRequestMiddleware"];
|
|
277
349
|
runner: AgentRunner;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
generativeUI?: CopilotRuntimeOptions["generativeUI"];
|
|
350
|
+
mcpApps: CopilotKitRuntimeOptions["mcpApps"];
|
|
351
|
+
openGenerativeUI: CopilotKitRuntimeOptions["openGenerativeUI"];
|
|
352
|
+
generativeUI?: CopilotKitRuntimeOptions["generativeUI"];
|
|
282
353
|
intelligence?: CopilotKitIntelligence;
|
|
283
354
|
identifyUser?: IdentifyUserCallback;
|
|
284
355
|
mode: RuntimeMode;
|
|
@@ -291,7 +362,13 @@ interface CopilotRuntimeLike {
|
|
|
291
362
|
getLicenseChecker?(): Promise<LicenseChecker | undefined>;
|
|
292
363
|
debugEventBus?: DebugEventBus;
|
|
293
364
|
debug: ResolvedDebugConfig;
|
|
294
|
-
debugLogger?:
|
|
365
|
+
debugLogger?: CopilotKitRuntimeLogger;
|
|
366
|
+
/**
|
|
367
|
+
* The logger the runtime writes to. Optional so external implementations of
|
|
368
|
+
* this published interface remain source-compatible; a missing value means
|
|
369
|
+
* the console.
|
|
370
|
+
*/
|
|
371
|
+
logger?: CopilotKitRuntimeLogger;
|
|
295
372
|
/**
|
|
296
373
|
* Runtime-bound telemetry capture. Optional so external implementations of
|
|
297
374
|
* this published interface remain source-compatible.
|
|
@@ -299,7 +376,7 @@ interface CopilotRuntimeLike {
|
|
|
299
376
|
telemetry?: TelemetryCapture;
|
|
300
377
|
/**
|
|
301
378
|
* Resolved inbound-header forwarding policy read by the /run and /connect call
|
|
302
|
-
* sites. Optional on the published interface so an external `
|
|
379
|
+
* sites. Optional on the published interface so an external `CopilotKitRuntimeLike`
|
|
303
380
|
* implementor predating this field stays source-compatible (non-breaking minor
|
|
304
381
|
* release). Concrete runtimes (`BaseCopilotRuntime`) always resolve and set it;
|
|
305
382
|
* the call sites coalesce a missing value to the default resolved policy
|
|
@@ -314,7 +391,7 @@ interface CopilotRuntimeLike {
|
|
|
314
391
|
sseKeepAliveIntervalSeconds?: number;
|
|
315
392
|
/**
|
|
316
393
|
* Resolved opt-in flag for the client-facing memory proxy routes. Optional on
|
|
317
|
-
* the published interface so an external `
|
|
394
|
+
* the published interface so an external `CopilotKitRuntimeLike` implementor
|
|
318
395
|
* predating this field stays source-compatible; the dispatcher coalesces a
|
|
319
396
|
* missing value to `false` (secure default — routes hidden). Concrete runtimes
|
|
320
397
|
* (`BaseCopilotRuntime`) always resolve and set it.
|
|
@@ -326,14 +403,14 @@ interface CopilotRuntimeLike {
|
|
|
326
403
|
* the default (`DEFAULT_THREAD_ACCESS`).
|
|
327
404
|
*/
|
|
328
405
|
threadAccess?: ThreadAccessMode;
|
|
329
|
-
memory?:
|
|
330
|
-
learning?:
|
|
406
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
407
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
331
408
|
}
|
|
332
|
-
interface
|
|
409
|
+
interface CopilotKitSseRuntimeLike extends CopilotKitRuntimeLike {
|
|
333
410
|
intelligence?: undefined;
|
|
334
411
|
mode: typeof RUNTIME_MODE_SSE;
|
|
335
412
|
}
|
|
336
|
-
interface
|
|
413
|
+
interface CopilotKitIntelligenceRuntimeLike extends CopilotKitRuntimeLike {
|
|
337
414
|
intelligence: CopilotKitIntelligence;
|
|
338
415
|
identifyUser?: IdentifyUserCallback;
|
|
339
416
|
generateThreadNames: boolean;
|
|
@@ -341,32 +418,32 @@ interface CopilotIntelligenceRuntimeLike extends CopilotRuntimeLike {
|
|
|
341
418
|
lockKeyPrefix?: string;
|
|
342
419
|
lockHeartbeatIntervalSeconds: number;
|
|
343
420
|
channels: Channel[];
|
|
344
|
-
learning?:
|
|
421
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
345
422
|
mode: typeof RUNTIME_MODE_INTELLIGENCE;
|
|
346
423
|
}
|
|
347
|
-
declare abstract class BaseCopilotRuntime implements
|
|
348
|
-
agents:
|
|
349
|
-
transcriptionService:
|
|
350
|
-
beforeRequestMiddleware:
|
|
351
|
-
afterRequestMiddleware:
|
|
424
|
+
declare abstract class BaseCopilotRuntime implements CopilotKitRuntimeLike {
|
|
425
|
+
agents: CopilotKitRuntimeOptions["agents"];
|
|
426
|
+
transcriptionService: CopilotKitRuntimeOptions["transcriptionService"];
|
|
427
|
+
beforeRequestMiddleware: CopilotKitRuntimeOptions["beforeRequestMiddleware"];
|
|
428
|
+
afterRequestMiddleware: CopilotKitRuntimeOptions["afterRequestMiddleware"];
|
|
352
429
|
runner: AgentRunner;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
generativeUI: CopilotRuntimeOptions["generativeUI"];
|
|
430
|
+
mcpApps: CopilotKitRuntimeOptions["mcpApps"];
|
|
431
|
+
openGenerativeUI: CopilotKitRuntimeOptions["openGenerativeUI"];
|
|
432
|
+
generativeUI: CopilotKitRuntimeOptions["generativeUI"];
|
|
357
433
|
readonly debugEventBus?: DebugEventBus;
|
|
358
434
|
debug: ResolvedDebugConfig;
|
|
359
|
-
debugLogger?:
|
|
435
|
+
debugLogger?: CopilotKitRuntimeLogger;
|
|
436
|
+
readonly logger: CopilotKitRuntimeLogger;
|
|
360
437
|
readonly telemetry: TelemetryCapture;
|
|
361
438
|
readonly forwardHeadersPolicy: ResolvedForwardHeadersPolicy;
|
|
362
439
|
readonly sseKeepAliveIntervalSeconds: number;
|
|
363
440
|
readonly exposeMemoryRoutes: boolean;
|
|
364
441
|
readonly threadAccess: ThreadAccessMode;
|
|
365
|
-
readonly memory?:
|
|
442
|
+
readonly memory?: CopilotKitRuntimeMemoryConfig;
|
|
366
443
|
/**
|
|
367
444
|
* License token resolved once with the env fallback, so telemetry
|
|
368
445
|
* attribution (below) and subclass feature gating
|
|
369
|
-
* (
|
|
446
|
+
* (CopilotKitIntelligenceRuntime's getLicenseChecker) read the exact same value
|
|
370
447
|
* instead of each re-applying `?? COPILOTKIT_LICENSE_TOKEN`.
|
|
371
448
|
*/
|
|
372
449
|
protected readonly resolvedLicenseToken?: string;
|
|
@@ -376,13 +453,13 @@ declare abstract class BaseCopilotRuntime implements CopilotRuntimeLike {
|
|
|
376
453
|
getLicenseChecker(): Promise<LicenseChecker | undefined>;
|
|
377
454
|
constructor(options: BaseCopilotRuntimeOptions, runner: AgentRunner);
|
|
378
455
|
}
|
|
379
|
-
declare class
|
|
456
|
+
declare class CopilotKitSseRuntime extends BaseCopilotRuntime implements CopilotKitSseRuntimeLike {
|
|
380
457
|
readonly intelligence: any;
|
|
381
458
|
readonly mode: "sse";
|
|
382
459
|
readonly identifyUser?: IdentifyUserCallback;
|
|
383
|
-
constructor(options:
|
|
460
|
+
constructor(options: CopilotKitSseRuntimeOptions);
|
|
384
461
|
}
|
|
385
|
-
declare class
|
|
462
|
+
declare class CopilotKitIntelligenceRuntime extends BaseCopilotRuntime implements CopilotKitIntelligenceRuntimeLike {
|
|
386
463
|
readonly intelligence: CopilotKitIntelligence;
|
|
387
464
|
readonly identifyUser?: IdentifyUserCallback;
|
|
388
465
|
readonly generateThreadNames: boolean;
|
|
@@ -390,14 +467,14 @@ declare class CopilotIntelligenceRuntime extends BaseCopilotRuntime implements C
|
|
|
390
467
|
readonly lockKeyPrefix?: string;
|
|
391
468
|
readonly lockHeartbeatIntervalSeconds: number;
|
|
392
469
|
readonly channels: Channel[];
|
|
393
|
-
readonly learning?:
|
|
470
|
+
readonly learning?: CopilotKitRuntimeLearningConfig;
|
|
394
471
|
readonly mode: "intelligence";
|
|
395
472
|
private licenseCheckerPromise?;
|
|
396
473
|
/** Maximum allowed lock TTL in seconds (1 hour). */
|
|
397
474
|
static readonly MAX_LOCK_TTL_SECONDS = 3600;
|
|
398
475
|
/** Maximum allowed heartbeat interval in seconds (50 minutes). */
|
|
399
476
|
static readonly MAX_HEARTBEAT_INTERVAL_SECONDS = 3000;
|
|
400
|
-
constructor(options:
|
|
477
|
+
constructor(options: CopilotKitIntelligenceRuntimeOptions);
|
|
401
478
|
/**
|
|
402
479
|
* Verify the license token on first use, then reuse the result. Not done in
|
|
403
480
|
* the constructor: edge-safe (Web Crypto) verification is async, and
|
|
@@ -407,23 +484,12 @@ declare class CopilotIntelligenceRuntime extends BaseCopilotRuntime implements C
|
|
|
407
484
|
*/
|
|
408
485
|
getLicenseChecker(): Promise<LicenseChecker>;
|
|
409
486
|
}
|
|
410
|
-
declare function isIntelligenceRuntime(runtime:
|
|
411
|
-
/**
|
|
412
|
-
* Single source of truth for "is A2UI on for this runtime?". Both the run path
|
|
413
|
-
* (which applies `A2UIMiddleware`) and the `/info` response (which tells the
|
|
414
|
-
* client whether to mount the A2UI renderer + catalog context) MUST go through
|
|
415
|
-
* this, so they can never disagree — the divergence between them was the root
|
|
416
|
-
* of CopilotKit/CopilotKit#5369.
|
|
417
|
-
*
|
|
418
|
-
* Backwards compatible: any config object is enabled (matching the historical
|
|
419
|
-
* `!!runtime.a2ui`); only an explicit `enabled: false` turns it off.
|
|
420
|
-
*/
|
|
421
|
-
declare function isA2UIEnabled(a2ui: CopilotRuntimeOptions["a2ui"]): a2ui is NonNullable<CopilotRuntimeOptions["a2ui"]>;
|
|
487
|
+
declare function isIntelligenceRuntime(runtime: CopilotKitRuntimeLike): runtime is CopilotKitIntelligenceRuntimeLike;
|
|
422
488
|
/**
|
|
423
|
-
* Compile-time phantom brand marking a {@link
|
|
489
|
+
* Compile-time phantom brand marking a {@link CopilotKitRuntime} that was
|
|
424
490
|
* constructed with at least one declared Intelligence Channel. It has no runtime
|
|
425
491
|
* representation — the shim never sets this property; it exists purely so
|
|
426
|
-
* `
|
|
492
|
+
* `createCopilotKitRuntimeHandler` can tell, at the type level, that the resulting
|
|
427
493
|
* handler will carry a non-optional `.channels` control surface.
|
|
428
494
|
*/
|
|
429
495
|
interface RuntimeWithDeclaredChannels {
|
|
@@ -433,12 +499,12 @@ interface RuntimeWithDeclaredChannels {
|
|
|
433
499
|
readonly __copilotkitChannelsDeclared: true;
|
|
434
500
|
}
|
|
435
501
|
/**
|
|
436
|
-
* Instance shape of the {@link
|
|
437
|
-
* {@link
|
|
502
|
+
* Instance shape of the {@link CopilotKitRuntime} compatibility shim. Extends
|
|
503
|
+
* {@link CopilotKitRuntimeLike} with the Intelligence-only accessors the shim
|
|
438
504
|
* surfaces (all `undefined` in SSE mode). Declared explicitly so the exported
|
|
439
|
-
* `
|
|
505
|
+
* `CopilotKitRuntime` name resolves as a type as well as a value.
|
|
440
506
|
*/
|
|
441
|
-
interface
|
|
507
|
+
interface CopilotKitRuntime extends CopilotKitRuntimeLike {
|
|
442
508
|
/** Telemetry capture bound to this runtime's construction-time identity. */
|
|
443
509
|
telemetry: TelemetryCapture;
|
|
444
510
|
/** Auto-generate short thread names; `undefined` in SSE mode. */
|
|
@@ -452,14 +518,14 @@ interface CopilotRuntime extends CopilotRuntimeLike {
|
|
|
452
518
|
/** Declared Intelligence Channels; `undefined` in SSE mode. */
|
|
453
519
|
channels?: Channel[];
|
|
454
520
|
/** Learning Container selector; `undefined` in SSE mode. */
|
|
455
|
-
learning?:
|
|
521
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
456
522
|
}
|
|
457
523
|
/**
|
|
458
|
-
* Constructor type for the {@link
|
|
524
|
+
* Constructor type for the {@link CopilotKitRuntime} compatibility shim.
|
|
459
525
|
*
|
|
460
526
|
* The first overload fires when the caller passes `intelligence` together with a
|
|
461
527
|
* non-empty `channels` tuple: it returns a {@link RuntimeWithDeclaredChannels}-
|
|
462
|
-
* branded runtime, which `
|
|
528
|
+
* branded runtime, which `createCopilotKitRuntimeHandler` maps to a handler whose
|
|
463
529
|
* `.channels` is non-optional. Every other configuration (SSE, or Intelligence
|
|
464
530
|
* without channels, or an empty `channels: []`) falls through to the second
|
|
465
531
|
* overload and stays unbranded, so its handler keeps `.channels` optional.
|
|
@@ -468,30 +534,30 @@ interface CopilotRuntime extends CopilotRuntimeLike {
|
|
|
468
534
|
* to the instance type), so the branding lives on this construct-signature
|
|
469
535
|
* interface instead of on the class itself.
|
|
470
536
|
*/
|
|
471
|
-
interface
|
|
537
|
+
interface CopilotKitRuntimeConstructor {
|
|
472
538
|
new (options: CopilotIntelligenceRuntimeBaseOptions & ({
|
|
473
539
|
identifyUser: IdentifyUserCallback;
|
|
474
|
-
memory?:
|
|
540
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
475
541
|
channels: NonEmptyChannels;
|
|
476
542
|
} | {
|
|
477
543
|
identifyUser?: undefined;
|
|
478
544
|
memory?: undefined;
|
|
479
545
|
channels: NonEmptyChannels;
|
|
480
|
-
})):
|
|
481
|
-
new (options:
|
|
546
|
+
})): CopilotKitRuntime & RuntimeWithDeclaredChannels;
|
|
547
|
+
new (options: CopilotKitRuntimeOptions): CopilotKitRuntime;
|
|
482
548
|
}
|
|
483
549
|
/**
|
|
484
|
-
* The public `
|
|
485
|
-
* but typed as {@link
|
|
550
|
+
* The public `CopilotKitRuntime` constructor. Backed by {@link CopilotRuntimeShim}
|
|
551
|
+
* but typed as {@link CopilotKitRuntimeConstructor} so that constructing with a
|
|
486
552
|
* non-empty `channels` array yields a {@link RuntimeWithDeclaredChannels}-branded
|
|
487
553
|
* runtime type.
|
|
488
554
|
*
|
|
489
555
|
* The `as unknown as` cast is required (not dishonest widening): the brand is a
|
|
490
556
|
* phantom, compile-time-only marker with no runtime representation, so the shim
|
|
491
557
|
* instances legitimately do not carry the brand property. Behavior is identical
|
|
492
|
-
* to the former `class
|
|
558
|
+
* to the former `class CopilotKitRuntime` — this only refines the static type.
|
|
493
559
|
*/
|
|
494
|
-
declare const
|
|
560
|
+
declare const CopilotKitRuntime: CopilotKitRuntimeConstructor;
|
|
495
561
|
//#endregion
|
|
496
|
-
export { AgentFactoryContext, AgentsConfig, AgentsFactory,
|
|
562
|
+
export { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeLike, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, GenerativeUIOptions, IdentifyUserCallback, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OpenGenerativeUIConfig, OpenGenerativeUIOptions, RuntimeWithDeclaredChannels, VERSION, isIntelligenceRuntime, resolveAgents };
|
|
497
563
|
//# sourceMappingURL=runtime.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../../../src/runtime/core/runtime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../../../src/runtime/core/runt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