@copilotkit/runtime 2.0.0-rc.6 → 2.0.0-rc.61
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 +23 -28
- package/dist/index.d.cts +14 -14
- package/dist/index.d.mts +14 -14
- package/dist/index.mjs +8 -8
- package/dist/internal/learned-skills.d.cts +1 -1
- package/dist/internal/learned-skills.d.mts +1 -1
- package/dist/node.cjs +2 -3
- 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 +17 -14
- package/dist/runtime/core/fetch-handler.cjs.map +1 -1
- package/dist/runtime/core/fetch-handler.d.cts +22 -14
- package/dist/runtime/core/fetch-handler.d.cts.map +1 -1
- package/dist/runtime/core/fetch-handler.d.mts +22 -14
- package/dist/runtime/core/fetch-handler.d.mts.map +1 -1
- package/dist/runtime/core/fetch-handler.mjs +9 -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 +44 -46
- package/dist/runtime/core/runtime.cjs.map +1 -1
- package/dist/runtime/core/runtime.d.cts +178 -91
- package/dist/runtime/core/runtime.d.cts.map +1 -1
- package/dist/runtime/core/runtime.d.mts +178 -91
- package/dist/runtime/core/runtime.d.mts.map +1 -1
- package/dist/runtime/core/runtime.mjs +42 -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 +4 -8
- package/dist/runtime/endpoints/node-fetch-handler.cjs.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.cts +4 -5
- package/dist/runtime/endpoints/node-fetch-handler.d.cts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.d.mts +4 -5
- package/dist/runtime/endpoints/node-fetch-handler.d.mts.map +1 -1
- package/dist/runtime/endpoints/node-fetch-handler.mjs +3 -5
- package/dist/runtime/endpoints/node-fetch-handler.mjs.map +1 -1
- package/dist/runtime/endpoints/node.cjs +7 -5
- package/dist/runtime/endpoints/node.cjs.map +1 -1
- package/dist/runtime/endpoints/node.d.cts +16 -16
- package/dist/runtime/endpoints/node.d.cts.map +1 -1
- package/dist/runtime/endpoints/node.d.mts +16 -16
- package/dist/runtime/endpoints/node.d.mts.map +1 -1
- package/dist/runtime/endpoints/node.mjs +9 -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.d.cts +13 -18
- package/dist/runtime/index.d.mts +13 -18
- 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/dist/v2/index.d.cts +242 -0
- package/dist/v2/index.d.mts +242 -0
- package/dist/v2/node.d.cts +18 -0
- package/dist/v2/node.d.mts +18 -0
- package/package.json +84 -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
- package/dist/runtime/index.d.cts.map +0 -1
- package/dist/runtime/index.d.mts.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,113 @@ 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>;
|
|
37
71
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
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.
|
|
40
75
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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"];
|
|
82
|
+
/**
|
|
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.
|
|
87
|
+
*/
|
|
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;
|
|
128
|
+
/**
|
|
129
|
+
* @deprecated Use `generativeUI`. The runtime passes `a2ui` on to
|
|
130
|
+
* `generativeUI` with `a2uiVersion: "0.9"`, which keeps the v0.9 behavior
|
|
131
|
+
* for the agents: `a2ui: { agents, injectA2UITool }` works as
|
|
132
|
+
* `generativeUI: { a2uiVersion: "0.9", agents, injectA2UITool }`. When
|
|
133
|
+
* `generativeUI` is set too, the runtime uses `generativeUI` and ignores
|
|
134
|
+
* `a2ui`. See https://docs.copilotkit.ai/generative-ui/components/from-a2ui
|
|
135
|
+
*/
|
|
136
|
+
a2ui?: Omit<GenerativeUIOptions, "a2uiVersion"> & {
|
|
137
|
+
/**
|
|
138
|
+
* `false` turns A2UI off and keeps the other options in place. Omitted
|
|
139
|
+
* or `true`: on.
|
|
140
|
+
*/
|
|
141
|
+
enabled?: boolean;
|
|
142
|
+
};
|
|
67
143
|
}
|
|
68
144
|
/**
|
|
69
145
|
* Context passed to agent factory functions for per-request agent resolution.
|
|
@@ -141,6 +217,17 @@ interface BaseCopilotRuntimeOptions extends CopilotRuntimeMiddlewares {
|
|
|
141
217
|
ɵtelemetry?: TelemetryCapture;
|
|
142
218
|
/** Enable debug logging for the event pipeline. */
|
|
143
219
|
debug?: DebugConfig;
|
|
220
|
+
/**
|
|
221
|
+
* Where the runtime writes its logs. Pass pino, `console`, or any object
|
|
222
|
+
* with pino-style `debug`, `info`, `warn` and `error` methods
|
|
223
|
+
* (`(message)` or `(fields, message)`). When `debug` is on, debug output
|
|
224
|
+
* goes to `logger.child({ component: "copilotkit-debug" })`, or to the
|
|
225
|
+
* logger itself when it has no `child`.
|
|
226
|
+
*
|
|
227
|
+
* Without it, the runtime writes to the console, and debug output is JSON
|
|
228
|
+
* lines on stdout.
|
|
229
|
+
*/
|
|
230
|
+
logger?: CopilotKitRuntimeLogger;
|
|
144
231
|
/**
|
|
145
232
|
* Policy controlling which inbound HTTP headers are forwarded onto the
|
|
146
233
|
* outgoing agent call. By default a built-in denylist strips known
|
|
@@ -193,22 +280,22 @@ interface BaseCopilotRuntimeOptions extends CopilotRuntimeMiddlewares {
|
|
|
193
280
|
*/
|
|
194
281
|
threads?: ThreadsConfig;
|
|
195
282
|
}
|
|
196
|
-
type IdentifyUserCallback = (request: Request) => MaybePromise<
|
|
283
|
+
type IdentifyUserCallback = (request: Request) => MaybePromise<CopilotKitRuntimeUser>;
|
|
197
284
|
type MemoryAccess = "none" | "read" | "read-write";
|
|
198
285
|
interface MemoryGrant {
|
|
199
286
|
readonly user: MemoryAccess;
|
|
200
287
|
readonly project: MemoryAccess;
|
|
201
288
|
}
|
|
202
289
|
type MemoryConsumer = "agent" | "client";
|
|
203
|
-
interface
|
|
290
|
+
interface CopilotKitRuntimeMemoryConfig {
|
|
204
291
|
/** Resolves immutable Memory access for one authenticated web request. */
|
|
205
292
|
access(input: {
|
|
206
293
|
readonly request: Request;
|
|
207
|
-
readonly user:
|
|
294
|
+
readonly user: CopilotKitRuntimeUser;
|
|
208
295
|
readonly consumer: MemoryConsumer;
|
|
209
296
|
}): MaybePromise<MemoryGrant | null>;
|
|
210
297
|
}
|
|
211
|
-
interface
|
|
298
|
+
interface CopilotKitSseRuntimeOptions extends BaseCopilotRuntimeOptions {
|
|
212
299
|
/** The runner to use for running agents in SSE mode. */
|
|
213
300
|
runner?: AgentRunner;
|
|
214
301
|
/**
|
|
@@ -218,6 +305,12 @@ interface CopilotSseRuntimeOptions extends BaseCopilotRuntimeOptions {
|
|
|
218
305
|
* (InMemoryAgentRunner and SqliteAgentRunner do); with a runner that does
|
|
219
306
|
* not, those requests are refused. See `threads`.
|
|
220
307
|
*
|
|
308
|
+
* Listing, reading and clearing Threads over HTTP need a runner that serves
|
|
309
|
+
* the local Thread endpoints (InMemoryAgentRunner does). SqliteAgentRunner
|
|
310
|
+
* does not serve them: with it, list and read requests fail and a clear
|
|
311
|
+
* request does nothing. Its Threads can still be continued, replayed by
|
|
312
|
+
* connecting, and stopped by their owner.
|
|
313
|
+
*
|
|
221
314
|
* Threads that SqliteAgentRunner stored before it recorded owners belong to
|
|
222
315
|
* nobody: as before the upgrade, whoever holds such a Thread's id can reach
|
|
223
316
|
* it, and continuing it does not claim it. The runner logs how many it holds
|
|
@@ -237,7 +330,7 @@ interface CopilotIntelligenceRuntimeBaseOptions extends BaseCopilotRuntimeOption
|
|
|
237
330
|
* Chooses one stable Learning Container ID for each web or Channel run.
|
|
238
331
|
* @deprecated Configure `getLearningContainerId` on `CopilotKitIntelligence`.
|
|
239
332
|
*/
|
|
240
|
-
ɵlearning?:
|
|
333
|
+
ɵlearning?: CopilotKitRuntimeLearningConfig;
|
|
241
334
|
/** Auto-generate short names for newly created threads. */
|
|
242
335
|
generateThreadNames?: boolean;
|
|
243
336
|
/** Max delay (ms) for WebSocket reconnect backoff. @default 10_000 */
|
|
@@ -259,26 +352,25 @@ interface CopilotIntelligenceRuntimeBaseOptions extends BaseCopilotRuntimeOption
|
|
|
259
352
|
}
|
|
260
353
|
type NonEmptyChannels = readonly [Channel, ...Channel[]];
|
|
261
354
|
/** Intelligence runtime options with web identity, Channels, or both. */
|
|
262
|
-
type
|
|
355
|
+
type CopilotKitIntelligenceRuntimeOptions = CopilotIntelligenceRuntimeBaseOptions & ({
|
|
263
356
|
/** Resolves the authenticated user for web requests. */identifyUser: IdentifyUserCallback; /** Enables agent and browser Memory under one request policy. */
|
|
264
|
-
memory?:
|
|
357
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
265
358
|
channels?: readonly Channel[];
|
|
266
359
|
} | {
|
|
267
360
|
/** Channels-only runtimes expose no functional web surface. */identifyUser?: undefined;
|
|
268
361
|
memory?: undefined;
|
|
269
362
|
channels: NonEmptyChannels;
|
|
270
363
|
});
|
|
271
|
-
type
|
|
272
|
-
interface
|
|
273
|
-
agents:
|
|
274
|
-
transcriptionService:
|
|
275
|
-
beforeRequestMiddleware:
|
|
276
|
-
afterRequestMiddleware:
|
|
364
|
+
type CopilotKitRuntimeOptions = CopilotKitSseRuntimeOptions | CopilotKitIntelligenceRuntimeOptions;
|
|
365
|
+
interface CopilotKitRuntimeLike {
|
|
366
|
+
agents: CopilotKitRuntimeOptions["agents"];
|
|
367
|
+
transcriptionService: CopilotKitRuntimeOptions["transcriptionService"];
|
|
368
|
+
beforeRequestMiddleware: CopilotKitRuntimeOptions["beforeRequestMiddleware"];
|
|
369
|
+
afterRequestMiddleware: CopilotKitRuntimeOptions["afterRequestMiddleware"];
|
|
277
370
|
runner: AgentRunner;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
generativeUI?: CopilotRuntimeOptions["generativeUI"];
|
|
371
|
+
mcpApps: CopilotKitRuntimeOptions["mcpApps"];
|
|
372
|
+
openGenerativeUI: CopilotKitRuntimeOptions["openGenerativeUI"];
|
|
373
|
+
generativeUI?: CopilotKitRuntimeOptions["generativeUI"];
|
|
282
374
|
intelligence?: CopilotKitIntelligence;
|
|
283
375
|
identifyUser?: IdentifyUserCallback;
|
|
284
376
|
mode: RuntimeMode;
|
|
@@ -291,7 +383,13 @@ interface CopilotRuntimeLike {
|
|
|
291
383
|
getLicenseChecker?(): Promise<LicenseChecker | undefined>;
|
|
292
384
|
debugEventBus?: DebugEventBus;
|
|
293
385
|
debug: ResolvedDebugConfig;
|
|
294
|
-
debugLogger?:
|
|
386
|
+
debugLogger?: CopilotKitRuntimeLogger;
|
|
387
|
+
/**
|
|
388
|
+
* The logger the runtime writes to. Optional so external implementations of
|
|
389
|
+
* this published interface remain source-compatible; a missing value means
|
|
390
|
+
* the console.
|
|
391
|
+
*/
|
|
392
|
+
logger?: CopilotKitRuntimeLogger;
|
|
295
393
|
/**
|
|
296
394
|
* Runtime-bound telemetry capture. Optional so external implementations of
|
|
297
395
|
* this published interface remain source-compatible.
|
|
@@ -299,7 +397,7 @@ interface CopilotRuntimeLike {
|
|
|
299
397
|
telemetry?: TelemetryCapture;
|
|
300
398
|
/**
|
|
301
399
|
* Resolved inbound-header forwarding policy read by the /run and /connect call
|
|
302
|
-
* sites. Optional on the published interface so an external `
|
|
400
|
+
* sites. Optional on the published interface so an external `CopilotKitRuntimeLike`
|
|
303
401
|
* implementor predating this field stays source-compatible (non-breaking minor
|
|
304
402
|
* release). Concrete runtimes (`BaseCopilotRuntime`) always resolve and set it;
|
|
305
403
|
* the call sites coalesce a missing value to the default resolved policy
|
|
@@ -314,7 +412,7 @@ interface CopilotRuntimeLike {
|
|
|
314
412
|
sseKeepAliveIntervalSeconds?: number;
|
|
315
413
|
/**
|
|
316
414
|
* Resolved opt-in flag for the client-facing memory proxy routes. Optional on
|
|
317
|
-
* the published interface so an external `
|
|
415
|
+
* the published interface so an external `CopilotKitRuntimeLike` implementor
|
|
318
416
|
* predating this field stays source-compatible; the dispatcher coalesces a
|
|
319
417
|
* missing value to `false` (secure default — routes hidden). Concrete runtimes
|
|
320
418
|
* (`BaseCopilotRuntime`) always resolve and set it.
|
|
@@ -326,14 +424,14 @@ interface CopilotRuntimeLike {
|
|
|
326
424
|
* the default (`DEFAULT_THREAD_ACCESS`).
|
|
327
425
|
*/
|
|
328
426
|
threadAccess?: ThreadAccessMode;
|
|
329
|
-
memory?:
|
|
330
|
-
learning?:
|
|
427
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
428
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
331
429
|
}
|
|
332
|
-
interface
|
|
430
|
+
interface CopilotKitSseRuntimeLike extends CopilotKitRuntimeLike {
|
|
333
431
|
intelligence?: undefined;
|
|
334
432
|
mode: typeof RUNTIME_MODE_SSE;
|
|
335
433
|
}
|
|
336
|
-
interface
|
|
434
|
+
interface CopilotKitIntelligenceRuntimeLike extends CopilotKitRuntimeLike {
|
|
337
435
|
intelligence: CopilotKitIntelligence;
|
|
338
436
|
identifyUser?: IdentifyUserCallback;
|
|
339
437
|
generateThreadNames: boolean;
|
|
@@ -341,32 +439,32 @@ interface CopilotIntelligenceRuntimeLike extends CopilotRuntimeLike {
|
|
|
341
439
|
lockKeyPrefix?: string;
|
|
342
440
|
lockHeartbeatIntervalSeconds: number;
|
|
343
441
|
channels: Channel[];
|
|
344
|
-
learning?:
|
|
442
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
345
443
|
mode: typeof RUNTIME_MODE_INTELLIGENCE;
|
|
346
444
|
}
|
|
347
|
-
declare abstract class BaseCopilotRuntime implements
|
|
348
|
-
agents:
|
|
349
|
-
transcriptionService:
|
|
350
|
-
beforeRequestMiddleware:
|
|
351
|
-
afterRequestMiddleware:
|
|
445
|
+
declare abstract class BaseCopilotRuntime implements CopilotKitRuntimeLike {
|
|
446
|
+
agents: CopilotKitRuntimeOptions["agents"];
|
|
447
|
+
transcriptionService: CopilotKitRuntimeOptions["transcriptionService"];
|
|
448
|
+
beforeRequestMiddleware: CopilotKitRuntimeOptions["beforeRequestMiddleware"];
|
|
449
|
+
afterRequestMiddleware: CopilotKitRuntimeOptions["afterRequestMiddleware"];
|
|
352
450
|
runner: AgentRunner;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
generativeUI: CopilotRuntimeOptions["generativeUI"];
|
|
451
|
+
mcpApps: CopilotKitRuntimeOptions["mcpApps"];
|
|
452
|
+
openGenerativeUI: CopilotKitRuntimeOptions["openGenerativeUI"];
|
|
453
|
+
generativeUI: CopilotKitRuntimeOptions["generativeUI"];
|
|
357
454
|
readonly debugEventBus?: DebugEventBus;
|
|
358
455
|
debug: ResolvedDebugConfig;
|
|
359
|
-
debugLogger?:
|
|
456
|
+
debugLogger?: CopilotKitRuntimeLogger;
|
|
457
|
+
readonly logger: CopilotKitRuntimeLogger;
|
|
360
458
|
readonly telemetry: TelemetryCapture;
|
|
361
459
|
readonly forwardHeadersPolicy: ResolvedForwardHeadersPolicy;
|
|
362
460
|
readonly sseKeepAliveIntervalSeconds: number;
|
|
363
461
|
readonly exposeMemoryRoutes: boolean;
|
|
364
462
|
readonly threadAccess: ThreadAccessMode;
|
|
365
|
-
readonly memory?:
|
|
463
|
+
readonly memory?: CopilotKitRuntimeMemoryConfig;
|
|
366
464
|
/**
|
|
367
465
|
* License token resolved once with the env fallback, so telemetry
|
|
368
466
|
* attribution (below) and subclass feature gating
|
|
369
|
-
* (
|
|
467
|
+
* (CopilotKitIntelligenceRuntime's getLicenseChecker) read the exact same value
|
|
370
468
|
* instead of each re-applying `?? COPILOTKIT_LICENSE_TOKEN`.
|
|
371
469
|
*/
|
|
372
470
|
protected readonly resolvedLicenseToken?: string;
|
|
@@ -376,13 +474,13 @@ declare abstract class BaseCopilotRuntime implements CopilotRuntimeLike {
|
|
|
376
474
|
getLicenseChecker(): Promise<LicenseChecker | undefined>;
|
|
377
475
|
constructor(options: BaseCopilotRuntimeOptions, runner: AgentRunner);
|
|
378
476
|
}
|
|
379
|
-
declare class
|
|
477
|
+
declare class CopilotKitSseRuntime extends BaseCopilotRuntime implements CopilotKitSseRuntimeLike {
|
|
380
478
|
readonly intelligence: any;
|
|
381
479
|
readonly mode: "sse";
|
|
382
480
|
readonly identifyUser?: IdentifyUserCallback;
|
|
383
|
-
constructor(options:
|
|
481
|
+
constructor(options: CopilotKitSseRuntimeOptions);
|
|
384
482
|
}
|
|
385
|
-
declare class
|
|
483
|
+
declare class CopilotKitIntelligenceRuntime extends BaseCopilotRuntime implements CopilotKitIntelligenceRuntimeLike {
|
|
386
484
|
readonly intelligence: CopilotKitIntelligence;
|
|
387
485
|
readonly identifyUser?: IdentifyUserCallback;
|
|
388
486
|
readonly generateThreadNames: boolean;
|
|
@@ -390,14 +488,14 @@ declare class CopilotIntelligenceRuntime extends BaseCopilotRuntime implements C
|
|
|
390
488
|
readonly lockKeyPrefix?: string;
|
|
391
489
|
readonly lockHeartbeatIntervalSeconds: number;
|
|
392
490
|
readonly channels: Channel[];
|
|
393
|
-
readonly learning?:
|
|
491
|
+
readonly learning?: CopilotKitRuntimeLearningConfig;
|
|
394
492
|
readonly mode: "intelligence";
|
|
395
493
|
private licenseCheckerPromise?;
|
|
396
494
|
/** Maximum allowed lock TTL in seconds (1 hour). */
|
|
397
495
|
static readonly MAX_LOCK_TTL_SECONDS = 3600;
|
|
398
496
|
/** Maximum allowed heartbeat interval in seconds (50 minutes). */
|
|
399
497
|
static readonly MAX_HEARTBEAT_INTERVAL_SECONDS = 3000;
|
|
400
|
-
constructor(options:
|
|
498
|
+
constructor(options: CopilotKitIntelligenceRuntimeOptions);
|
|
401
499
|
/**
|
|
402
500
|
* Verify the license token on first use, then reuse the result. Not done in
|
|
403
501
|
* the constructor: edge-safe (Web Crypto) verification is async, and
|
|
@@ -407,23 +505,12 @@ declare class CopilotIntelligenceRuntime extends BaseCopilotRuntime implements C
|
|
|
407
505
|
*/
|
|
408
506
|
getLicenseChecker(): Promise<LicenseChecker>;
|
|
409
507
|
}
|
|
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"]>;
|
|
508
|
+
declare function isIntelligenceRuntime(runtime: CopilotKitRuntimeLike): runtime is CopilotKitIntelligenceRuntimeLike;
|
|
422
509
|
/**
|
|
423
|
-
* Compile-time phantom brand marking a {@link
|
|
510
|
+
* Compile-time phantom brand marking a {@link CopilotKitRuntime} that was
|
|
424
511
|
* constructed with at least one declared Intelligence Channel. It has no runtime
|
|
425
512
|
* representation — the shim never sets this property; it exists purely so
|
|
426
|
-
* `
|
|
513
|
+
* `createCopilotKitRuntimeHandler` can tell, at the type level, that the resulting
|
|
427
514
|
* handler will carry a non-optional `.channels` control surface.
|
|
428
515
|
*/
|
|
429
516
|
interface RuntimeWithDeclaredChannels {
|
|
@@ -433,12 +520,12 @@ interface RuntimeWithDeclaredChannels {
|
|
|
433
520
|
readonly __copilotkitChannelsDeclared: true;
|
|
434
521
|
}
|
|
435
522
|
/**
|
|
436
|
-
* Instance shape of the {@link
|
|
437
|
-
* {@link
|
|
523
|
+
* Instance shape of the {@link CopilotKitRuntime} compatibility shim. Extends
|
|
524
|
+
* {@link CopilotKitRuntimeLike} with the Intelligence-only accessors the shim
|
|
438
525
|
* surfaces (all `undefined` in SSE mode). Declared explicitly so the exported
|
|
439
|
-
* `
|
|
526
|
+
* `CopilotKitRuntime` name resolves as a type as well as a value.
|
|
440
527
|
*/
|
|
441
|
-
interface
|
|
528
|
+
interface CopilotKitRuntime extends CopilotKitRuntimeLike {
|
|
442
529
|
/** Telemetry capture bound to this runtime's construction-time identity. */
|
|
443
530
|
telemetry: TelemetryCapture;
|
|
444
531
|
/** Auto-generate short thread names; `undefined` in SSE mode. */
|
|
@@ -452,14 +539,14 @@ interface CopilotRuntime extends CopilotRuntimeLike {
|
|
|
452
539
|
/** Declared Intelligence Channels; `undefined` in SSE mode. */
|
|
453
540
|
channels?: Channel[];
|
|
454
541
|
/** Learning Container selector; `undefined` in SSE mode. */
|
|
455
|
-
learning?:
|
|
542
|
+
learning?: CopilotKitRuntimeLearningConfig;
|
|
456
543
|
}
|
|
457
544
|
/**
|
|
458
|
-
* Constructor type for the {@link
|
|
545
|
+
* Constructor type for the {@link CopilotKitRuntime} compatibility shim.
|
|
459
546
|
*
|
|
460
547
|
* The first overload fires when the caller passes `intelligence` together with a
|
|
461
548
|
* non-empty `channels` tuple: it returns a {@link RuntimeWithDeclaredChannels}-
|
|
462
|
-
* branded runtime, which `
|
|
549
|
+
* branded runtime, which `createCopilotKitRuntimeHandler` maps to a handler whose
|
|
463
550
|
* `.channels` is non-optional. Every other configuration (SSE, or Intelligence
|
|
464
551
|
* without channels, or an empty `channels: []`) falls through to the second
|
|
465
552
|
* overload and stays unbranded, so its handler keeps `.channels` optional.
|
|
@@ -468,30 +555,30 @@ interface CopilotRuntime extends CopilotRuntimeLike {
|
|
|
468
555
|
* to the instance type), so the branding lives on this construct-signature
|
|
469
556
|
* interface instead of on the class itself.
|
|
470
557
|
*/
|
|
471
|
-
interface
|
|
558
|
+
interface CopilotKitRuntimeConstructor {
|
|
472
559
|
new (options: CopilotIntelligenceRuntimeBaseOptions & ({
|
|
473
560
|
identifyUser: IdentifyUserCallback;
|
|
474
|
-
memory?:
|
|
561
|
+
memory?: CopilotKitRuntimeMemoryConfig;
|
|
475
562
|
channels: NonEmptyChannels;
|
|
476
563
|
} | {
|
|
477
564
|
identifyUser?: undefined;
|
|
478
565
|
memory?: undefined;
|
|
479
566
|
channels: NonEmptyChannels;
|
|
480
|
-
})):
|
|
481
|
-
new (options:
|
|
567
|
+
})): CopilotKitRuntime & RuntimeWithDeclaredChannels;
|
|
568
|
+
new (options: CopilotKitRuntimeOptions): CopilotKitRuntime;
|
|
482
569
|
}
|
|
483
570
|
/**
|
|
484
|
-
* The public `
|
|
485
|
-
* but typed as {@link
|
|
571
|
+
* The public `CopilotKitRuntime` constructor. Backed by {@link CopilotRuntimeShim}
|
|
572
|
+
* but typed as {@link CopilotKitRuntimeConstructor} so that constructing with a
|
|
486
573
|
* non-empty `channels` array yields a {@link RuntimeWithDeclaredChannels}-branded
|
|
487
574
|
* runtime type.
|
|
488
575
|
*
|
|
489
576
|
* The `as unknown as` cast is required (not dishonest widening): the brand is a
|
|
490
577
|
* phantom, compile-time-only marker with no runtime representation, so the shim
|
|
491
578
|
* instances legitimately do not carry the brand property. Behavior is identical
|
|
492
|
-
* to the former `class
|
|
579
|
+
* to the former `class CopilotKitRuntime` — this only refines the static type.
|
|
493
580
|
*/
|
|
494
|
-
declare const
|
|
581
|
+
declare const CopilotKitRuntime: CopilotKitRuntimeConstructor;
|
|
495
582
|
//#endregion
|
|
496
|
-
export { AgentFactoryContext, AgentsConfig, AgentsFactory,
|
|
583
|
+
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
584
|
//# 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/runtime.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAmFa,OAAA;AAAA,UAEH,mCAAA;EAFoC;EAI5C,MAAA;AAAA;;KAIU,mBAAA,GAAsB,eAAA;EAJ1B,6FAMN,OAAA,GAAU,MAAA,kBAFmB;EAI7B,OAAA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