@copilotkit/runtime 2.0.0-rc.62 → 2.0.0-rc.64

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.
@@ -0,0 +1,183 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_agent_runner = require('../runtime/runner/agent-runner.cjs');
3
+ const require_learned_skills = require('../runtime/intelligence-platform/learned-skills.cjs');
4
+ const require_client = require('../runtime/intelligence-platform/client.cjs');
5
+ const require_in_memory = require('../runtime/runner/in-memory.cjs');
6
+ const require_intelligence = require('../runtime/runner/intelligence.cjs');
7
+ const require_runtime = require('../runtime/core/runtime.cjs');
8
+ const require_generative_ui_middleware = require('../runtime/generative-ui/generative-ui-middleware.cjs');
9
+ const require_a2ui_v09_middleware = require('../runtime/generative-ui/a2ui-v09-middleware.cjs');
10
+ const require_surface_writer = require('../runtime/generative-ui/surface-writer.cjs');
11
+ const require_open_generative_ui_middleware = require('../runtime/event-transforms/open-generative-ui-middleware.cjs');
12
+ const require_recorded_events = require('../runtime/event-transforms/recorded-events.cjs');
13
+ const require_transcription_service = require('../runtime/transcription-service/transcription-service.cjs');
14
+ const require_thread_run = require('../runtime/core/thread-run.cjs');
15
+ const require_fetch_handler = require('../runtime/core/fetch-handler.cjs');
16
+ const require_removed_exports = require('../removed-exports.cjs');
17
+ const require_aisdk = require('../agent/converters/aisdk.cjs');
18
+ const require_tanstack = require('../agent/converters/tanstack.cjs');
19
+ const require_agent = require('../agent.cjs');
20
+ let _ag_ui_a2ui_middleware = require("@ag-ui/a2ui-middleware");
21
+ let _copilotkit_shared = require("@copilotkit/shared");
22
+
23
+ //#region src/v2/index.ts
24
+ /**
25
+ * `@copilotkit/runtime/v2`, the import path of the 2.0 runtime in CopilotKit
26
+ * 1.x. In 2.0 it is a deprecated alias of the package root, so 1.x code that
27
+ * imports from it keeps working. It exports:
28
+ *
29
+ * - every export of `@copilotkit/runtime`;
30
+ * - the Built-in Agent exports that 1.x exported here. 2.0 exports them from
31
+ * `@copilotkit/runtime/agent`;
32
+ * - the 1.x names of the runtime exports that 2.0 renamed with "Kit". Each
33
+ * old name is the same value or type as its new name.
34
+ *
35
+ * The root exports only the new names. `npx codemod @copilotkit/v2-migration`
36
+ * moves the imports to the root and renames them. The build marks each name
37
+ * of this entry deprecated in its declarations
38
+ * (scripts/deprecations/v2-subpath-aliases.mts).
39
+ */
40
+ /**
41
+ * @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
42
+ * name is an alias of it. To move your imports, run
43
+ * `npx codemod @copilotkit/v2-migration`.
44
+ */
45
+ const CopilotRuntime = require_runtime.CopilotKitRuntime;
46
+ /**
47
+ * @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
48
+ * name is an alias of it. To move your imports, run
49
+ * `npx codemod @copilotkit/v2-migration`.
50
+ */
51
+ const CopilotSseRuntime = require_runtime.CopilotKitSseRuntime;
52
+ /**
53
+ * @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
54
+ * This old name is an alias of it. To move your imports, run
55
+ * `npx codemod @copilotkit/v2-migration`.
56
+ */
57
+ const CopilotIntelligenceRuntime = require_runtime.CopilotKitIntelligenceRuntime;
58
+ /**
59
+ * @deprecated Use `createCopilotKitRuntimeHandler` from `@copilotkit/runtime`.
60
+ * This old name is an alias of it. To move your imports, run
61
+ * `npx codemod @copilotkit/v2-migration`.
62
+ */
63
+ const createCopilotRuntimeHandler = require_fetch_handler.createCopilotKitRuntimeHandler;
64
+
65
+ //#endregion
66
+ Object.defineProperty(exports, 'A2UIMiddleware', {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _ag_ui_a2ui_middleware.A2UIMiddleware;
70
+ }
71
+ });
72
+ exports.A2UIV09BridgeMiddleware = require_a2ui_v09_middleware.A2UIV09BridgeMiddleware;
73
+ exports.AgentRunner = require_agent_runner.AgentRunner;
74
+ exports.AnthropicAdapter = require_removed_exports.AnthropicAdapter;
75
+ exports.ArgsParser = require_open_generative_ui_middleware.ArgsParser;
76
+ exports.BasicAgent = require_removed_exports.BasicAgent;
77
+ exports.BedrockAdapter = require_removed_exports.BedrockAdapter;
78
+ exports.BuiltInAgent = require_agent.BuiltInAgent;
79
+ exports.CopilotIntelligenceRuntime = CopilotIntelligenceRuntime;
80
+ exports.CopilotKitIntelligence = require_client.CopilotKitIntelligence;
81
+ exports.CopilotKitIntelligenceRuntime = require_runtime.CopilotKitIntelligenceRuntime;
82
+ exports.CopilotKitRuntime = require_runtime.CopilotKitRuntime;
83
+ exports.CopilotKitSseRuntime = require_runtime.CopilotKitSseRuntime;
84
+ exports.CopilotRuntime = CopilotRuntime;
85
+ exports.CopilotSseRuntime = CopilotSseRuntime;
86
+ exports.EmptyAdapter = require_removed_exports.EmptyAdapter;
87
+ exports.ExperimentalEmptyAdapter = require_removed_exports.ExperimentalEmptyAdapter;
88
+ exports.ExperimentalOllamaAdapter = require_removed_exports.ExperimentalOllamaAdapter;
89
+ exports.FilterThinkingTextBuffer = require_removed_exports.FilterThinkingTextBuffer;
90
+ exports.GenerativeUIMiddleware = require_generative_ui_middleware.GenerativeUIMiddleware;
91
+ exports.GoogleGenerativeAIAdapter = require_removed_exports.GoogleGenerativeAIAdapter;
92
+ exports.GroqAdapter = require_removed_exports.GroqAdapter;
93
+ exports.GuardrailsValidationFailureResponse = require_removed_exports.GuardrailsValidationFailureResponse;
94
+ exports.InMemoryAgentRunner = require_in_memory.InMemoryAgentRunner;
95
+ exports.IntelligenceAgentRunner = require_intelligence.IntelligenceAgentRunner;
96
+ exports.InterruptSignal = require_agent.InterruptSignal;
97
+ exports.LangChainAdapter = require_removed_exports.LangChainAdapter;
98
+ exports.LangGraphAgent = require_removed_exports.LangGraphAgent;
99
+ exports.LangGraphHttpAgent = require_removed_exports.LangGraphHttpAgent;
100
+ exports.LearnedSkillsError = require_learned_skills.LearnedSkillsError;
101
+ exports.MessageStreamInterruptedResponse = require_removed_exports.MessageStreamInterruptedResponse;
102
+ exports.OpenAIAdapter = require_removed_exports.OpenAIAdapter;
103
+ exports.OpenAIAssistantAdapter = require_removed_exports.OpenAIAssistantAdapter;
104
+ exports.OpenGenerativeUIMiddleware = require_open_generative_ui_middleware.OpenGenerativeUIMiddleware;
105
+ exports.PlatformRequestError = require_client.PlatformRequestError;
106
+ exports.RemoteChain = require_removed_exports.RemoteChain;
107
+ exports.RunnerEventQueueFullError = require_intelligence.RunnerEventQueueFullError;
108
+ exports.STOP_RECORD_DEADLINE_MS = require_intelligence.STOP_RECORD_DEADLINE_MS;
109
+ exports.THREAD_ACCESS_DENIED_ERROR_CODE = require_agent_runner.THREAD_ACCESS_DENIED_ERROR_CODE;
110
+ exports.TelemetryAgentRunner = require_removed_exports.TelemetryAgentRunner;
111
+ exports.ThreadAccessDeniedError = require_agent_runner.ThreadAccessDeniedError;
112
+ exports.ThreadAlreadyRunningError = require_agent_runner.ThreadAlreadyRunningError;
113
+ exports.ThreadRunError = require_thread_run.ThreadRunError;
114
+ exports.TranscriptionService = require_transcription_service.TranscriptionService;
115
+ exports.UnifyAdapter = require_removed_exports.UnifyAdapter;
116
+ exports.UnknownErrorResponse = require_removed_exports.UnknownErrorResponse;
117
+ exports.VERSION = require_runtime.VERSION;
118
+ exports.buildSchema = require_removed_exports.buildSchema;
119
+ exports.classifyModelSpec = require_removed_exports.classifyModelSpec;
120
+ exports.convertAISDKStream = require_aisdk.convertAISDKStream;
121
+ exports.convertInputToTanStackAI = require_tanstack.convertInputToTanStackAI;
122
+ exports.convertJsonSchemaToZodSchema = require_removed_exports.convertJsonSchemaToZodSchema;
123
+ exports.convertMCPToolsToActions = require_removed_exports.convertMCPToolsToActions;
124
+ exports.convertMessagesToVercelAISDKMessages = require_removed_exports.convertMessagesToVercelAISDKMessages;
125
+ exports.convertServiceAdapterError = require_removed_exports.convertServiceAdapterError;
126
+ exports.convertTanStackStream = require_tanstack.convertTanStackStream;
127
+ exports.convertToolDefinitionsToVercelAITools = require_removed_exports.convertToolDefinitionsToVercelAITools;
128
+ exports.convertToolsToVercelAITools = require_removed_exports.convertToolsToVercelAITools;
129
+ exports.copilotKitEndpoint = require_removed_exports.copilotKitEndpoint;
130
+ exports.copilotRuntimeNestEndpoint = require_removed_exports.copilotRuntimeNestEndpoint;
131
+ exports.copilotRuntimeNextJSAppRouterEndpoint = require_removed_exports.copilotRuntimeNextJSAppRouterEndpoint;
132
+ exports.copilotRuntimeNextJSPagesRouterEndpoint = require_removed_exports.copilotRuntimeNextJSPagesRouterEndpoint;
133
+ exports.copilotRuntimeNodeExpressEndpoint = require_removed_exports.copilotRuntimeNodeExpressEndpoint;
134
+ exports.copilotRuntimeNodeHttpEndpoint = require_removed_exports.copilotRuntimeNodeHttpEndpoint;
135
+ exports.createCopilotEndpoint = require_removed_exports.createCopilotEndpoint;
136
+ exports.createCopilotEndpointExpress = require_removed_exports.createCopilotEndpointExpress;
137
+ exports.createCopilotEndpointSingleRoute = require_removed_exports.createCopilotEndpointSingleRoute;
138
+ exports.createCopilotEndpointSingleRouteExpress = require_removed_exports.createCopilotEndpointSingleRouteExpress;
139
+ exports.createCopilotExpressHandler = require_removed_exports.createCopilotExpressHandler;
140
+ exports.createCopilotHonoHandler = require_removed_exports.createCopilotHonoHandler;
141
+ exports.createCopilotKitRuntimeHandler = require_fetch_handler.createCopilotKitRuntimeHandler;
142
+ exports.createCopilotRuntimeHandler = createCopilotRuntimeHandler;
143
+ exports.createLogger = require_removed_exports.createLogger;
144
+ Object.defineProperty(exports, 'createRunEventFinalizer', {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _copilotkit_shared.createRunEventFinalizer;
148
+ }
149
+ });
150
+ exports.createSafeUrlDownload = require_removed_exports.createSafeUrlDownload;
151
+ exports.createSurfaceWriter = require_surface_writer.createSurfaceWriter;
152
+ exports.defineTool = require_agent.defineTool;
153
+ exports.enforcesThreadOwnership = require_agent_runner.enforcesThreadOwnership;
154
+ exports.extractParametersFromSchema = require_removed_exports.extractParametersFromSchema;
155
+ Object.defineProperty(exports, 'finalizeRunEvents', {
156
+ enumerable: true,
157
+ get: function () {
158
+ return _copilotkit_shared.finalizeRunEvents;
159
+ }
160
+ });
161
+ exports.generateMcpToolInstructions = require_removed_exports.generateMcpToolInstructions;
162
+ exports.getCommonConfig = require_removed_exports.getCommonConfig;
163
+ exports.getSdkClientOptions = require_removed_exports.getSdkClientOptions;
164
+ exports.isA2UIEnabled = require_removed_exports.isA2UIEnabled;
165
+ exports.isIntelligenceRuntime = require_runtime.isIntelligenceRuntime;
166
+ exports.isThreadAccessDeniedError = require_agent_runner.isThreadAccessDeniedError;
167
+ exports.langGraphPlatformEndpoint = require_removed_exports.langGraphPlatformEndpoint;
168
+ exports.resolveAgents = require_runtime.resolveAgents;
169
+ exports.resolveEndpointType = require_removed_exports.resolveEndpointType;
170
+ exports.resolveModel = require_removed_exports.resolveModel;
171
+ exports.runAgentInThread = require_thread_run.runAgentInThread;
172
+ exports.supportsLocalThreadEndpoints = require_agent_runner.supportsLocalThreadEndpoints;
173
+ exports.toFetchCorsConfig = require_removed_exports.toFetchCorsConfig;
174
+ exports.transformRecordedEvents = require_recorded_events.transformRecordedEvents;
175
+ exports.ɵBoundedThreadStore = require_in_memory.ɵBoundedThreadStore;
176
+ exports.ɵGLOBAL_STORE = require_in_memory.ɵGLOBAL_STORE;
177
+ exports.ɵINMEMORY_DEFAULTS = require_in_memory.ɵINMEMORY_DEFAULTS;
178
+ exports.ɵOWNER_RETENTION_DEFAULTS = require_in_memory.ɵOWNER_RETENTION_DEFAULTS;
179
+ exports.ɵSERVER_THREAD_OWNER = require_agent_runner.ɵSERVER_THREAD_OWNER;
180
+ exports.ɵestimateBytes = require_in_memory.ɵestimateBytes;
181
+ exports.ɵnormalizeLimits = require_in_memory.ɵnormalizeLimits;
182
+ exports.ɵresolveThreadOwner = require_agent_runner.ɵresolveThreadOwner;
183
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":["CopilotKitRuntime","CopilotKitSseRuntime","CopilotKitIntelligenceRuntime","createCopilotKitRuntimeHandler"],"sources":["../../src/v2/index.ts"],"sourcesContent":["/**\n * `@copilotkit/runtime/v2`, the import path of the 2.0 runtime in CopilotKit\n * 1.x. In 2.0 it is a deprecated alias of the package root, so 1.x code that\n * imports from it keeps working. It exports:\n *\n * - every export of `@copilotkit/runtime`;\n * - the Built-in Agent exports that 1.x exported here. 2.0 exports them from\n * `@copilotkit/runtime/agent`;\n * - the 1.x names of the runtime exports that 2.0 renamed with \"Kit\". Each\n * old name is the same value or type as its new name.\n *\n * The root exports only the new names. `npx codemod @copilotkit/v2-migration`\n * moves the imports to the root and renames them. The build marks each name\n * of this entry deprecated in its declarations\n * (scripts/deprecations/v2-subpath-aliases.mts).\n */\nimport {\n CopilotKitIntelligenceRuntime,\n CopilotKitRuntime,\n CopilotKitSseRuntime,\n createCopilotKitRuntimeHandler,\n} from \"../index\";\nimport type {\n CopilotKitCorsConfig,\n CopilotKitIntelligenceRuntimeLike,\n CopilotKitIntelligenceRuntimeOptions,\n CopilotKitRuntimeConstructor,\n CopilotKitRuntimeFetchHandler,\n CopilotKitRuntimeFetchHandlerWithChannels,\n CopilotKitRuntimeHandlerOptions,\n CopilotKitRuntimeHooks,\n CopilotKitRuntimeLearningConfig,\n CopilotKitRuntimeLearningContext,\n CopilotKitRuntimeLike,\n CopilotKitRuntimeLogger,\n CopilotKitRuntimeMemoryConfig,\n CopilotKitRuntimeOptions,\n CopilotKitRuntimeUser,\n CopilotKitSseRuntimeLike,\n CopilotKitSseRuntimeOptions,\n} from \"../index\";\n\nexport * from \"../index\";\n\n// 1.x exported the Built-in Agent from `/v2`. The AI SDK helpers of\n// `@copilotkit/runtime/agent/ai-sdk` stay out: they load the optional `ai`\n// peer, and every `/v2` import would then need it.\nexport {\n BuiltInAgent,\n InterruptSignal,\n convertAISDKStream,\n convertInputToTanStackAI,\n convertTanStackStream,\n defineTool,\n} from \"../agent\";\nexport type {\n BuiltInAgentAISDKFactoryConfig,\n BuiltInAgentClassicConfig,\n BuiltInAgentConfiguration,\n BuiltInAgentCustomFactoryConfig,\n BuiltInAgentFactoryConfig,\n BuiltInAgentFactoryContext,\n BuiltInAgentLearnedSkills,\n BuiltInAgentLearnedSkillsOptions,\n BuiltInAgentTanStackFactoryConfig,\n OverridableProperty,\n TanStackChatMessage,\n TanStackInputResult,\n ToolDefinition,\n} from \"../agent\";\n\n/* ------------------------------------------------------------------------------------------------\n * The 1.x names\n *\n * 2.0 renamed these exports with \"Kit\" after \"Copilot\". Each old name is an\n * alias of its new name: the same value, and the same type.\n * --------------------------------------------------------------------------------------------- */\n\n/**\n * @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport const CopilotRuntime = CopilotKitRuntime;\n/**\n * @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntime = CopilotKitRuntime;\n\n/**\n * @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport const CopilotSseRuntime = CopilotKitSseRuntime;\n/**\n * @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotSseRuntime = CopilotKitSseRuntime;\n\n/**\n * @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport const CopilotIntelligenceRuntime = CopilotKitIntelligenceRuntime;\n/**\n * @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotIntelligenceRuntime = CopilotKitIntelligenceRuntime;\n\n/**\n * @deprecated Use `createCopilotKitRuntimeHandler` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport const createCopilotRuntimeHandler = createCopilotKitRuntimeHandler;\n\n/**\n * @deprecated Use `CopilotKitRuntimeConstructor` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeConstructor = CopilotKitRuntimeConstructor;\n/**\n * @deprecated Use `CopilotKitRuntimeOptions` from `@copilotkit/runtime`. This\n * old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeOptions = CopilotKitRuntimeOptions;\n/**\n * @deprecated Use `CopilotKitRuntimeLike` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeLike = CopilotKitRuntimeLike;\n/**\n * @deprecated Use `CopilotKitSseRuntimeOptions` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotSseRuntimeOptions = CopilotKitSseRuntimeOptions;\n/**\n * @deprecated Use `CopilotKitSseRuntimeLike` from `@copilotkit/runtime`. This\n * old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotSseRuntimeLike = CopilotKitSseRuntimeLike;\n/**\n * @deprecated Use `CopilotKitIntelligenceRuntimeOptions` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotIntelligenceRuntimeOptions =\n CopilotKitIntelligenceRuntimeOptions;\n/**\n * @deprecated Use `CopilotKitIntelligenceRuntimeLike` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotIntelligenceRuntimeLike = CopilotKitIntelligenceRuntimeLike;\n/**\n * @deprecated Use `CopilotKitRuntimeMemoryConfig` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeMemoryConfig = CopilotKitRuntimeMemoryConfig;\n/**\n * @deprecated Use `CopilotKitRuntimeUser` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeUser = CopilotKitRuntimeUser;\n/**\n * @deprecated Use `CopilotKitRuntimeLearningConfig` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeLearningConfig = CopilotKitRuntimeLearningConfig;\n/**\n * @deprecated Use `CopilotKitRuntimeLearningContext` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeLearningContext = CopilotKitRuntimeLearningContext;\n/**\n * @deprecated Use `CopilotKitRuntimeLogger` from `@copilotkit/runtime`. This\n * old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeLogger = CopilotKitRuntimeLogger;\n/**\n * @deprecated Use `CopilotKitRuntimeHandlerOptions` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeHandlerOptions = CopilotKitRuntimeHandlerOptions;\n/**\n * @deprecated Use `CopilotKitRuntimeFetchHandler` from `@copilotkit/runtime`.\n * This old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeFetchHandler = CopilotKitRuntimeFetchHandler;\n/**\n * @deprecated Use `CopilotKitRuntimeFetchHandlerWithChannels` from\n * `@copilotkit/runtime`. This old name is an alias of it. To move your\n * imports, run `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeFetchHandlerWithChannels =\n CopilotKitRuntimeFetchHandlerWithChannels;\n/**\n * @deprecated Use `CopilotKitRuntimeHooks` from `@copilotkit/runtime`. This\n * old name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotRuntimeHooks = CopilotKitRuntimeHooks;\n/**\n * @deprecated Use `CopilotKitCorsConfig` from `@copilotkit/runtime`. This old\n * name is an alias of it. To move your imports, run\n * `npx codemod @copilotkit/v2-migration`.\n */\nexport type CopilotCorsConfig = CopilotKitCorsConfig;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFA,MAAa,iBAAiBA;;;;;;AAa9B,MAAa,oBAAoBC;;;;;;AAajC,MAAa,6BAA6BC;;;;;;AAa1C,MAAa,8BAA8BC"}