@copilotkit/runtime 2.0.0-rc.64 → 2.0.0-rc.66
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/dist/removed-exports.cjs +52 -52
- package/dist/removed-exports.cjs.map +1 -1
- package/dist/removed-exports.d.cts +169 -169
- package/dist/removed-exports.d.mts +169 -169
- package/dist/removed-exports.mjs +52 -52
- package/dist/removed-exports.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.cjs +76 -0
- package/dist/runtime/core/runtime.cjs.map +1 -1
- package/dist/runtime/core/runtime.d.cts +60 -0
- package/dist/runtime/core/runtime.d.cts.map +1 -1
- package/dist/runtime/core/runtime.d.mts +60 -0
- package/dist/runtime/core/runtime.d.mts.map +1 -1
- package/dist/runtime/core/runtime.mjs +77 -1
- package/dist/runtime/core/runtime.mjs.map +1 -1
- package/dist/v2/index.cjs +5 -5
- package/dist/v2/index.cjs.map +1 -1
- package/dist/v2/index.d.cts +24 -24
- package/dist/v2/index.d.mts +24 -24
- package/dist/v2/index.mjs +5 -5
- package/dist/v2/index.mjs.map +1 -1
- package/dist/v2/node.cjs +4 -4
- package/dist/v2/node.cjs.map +1 -1
- package/dist/v2/node.d.cts +5 -5
- package/dist/v2/node.d.mts +5 -5
- package/dist/v2/node.mjs +4 -4
- package/dist/v2/node.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -2,239 +2,239 @@ import * as _copilotkit_shared0 from "@copilotkit/shared";
|
|
|
2
2
|
import { RemovedType } from "@copilotkit/shared";
|
|
3
3
|
|
|
4
4
|
//#region src/removed-exports.d.ts
|
|
5
|
-
/** @deprecated "AnthropicAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
6
|
-
declare const AnthropicAdapter: _copilotkit_shared0.RemovedApi<"\"AnthropicAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
7
|
-
/** @deprecated "AnthropicAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
5
|
+
/** @deprecated "AnthropicAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
6
|
+
declare const AnthropicAdapter: _copilotkit_shared0.RemovedApi<"\"AnthropicAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
7
|
+
/** @deprecated "AnthropicAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
8
8
|
type AnthropicAdapter = typeof AnthropicAdapter;
|
|
9
|
-
/** @deprecated "AnthropicAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
9
|
+
/** @deprecated "AnthropicAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
10
10
|
type AnthropicAdapterParams = RemovedType<"AnthropicAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
11
|
-
/** @deprecated "AnthropicPromptCachingConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
11
|
+
/** @deprecated "AnthropicPromptCachingConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
12
12
|
type AnthropicPromptCachingConfig = RemovedType<"AnthropicPromptCachingConfig", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
13
|
-
/** @deprecated "BasicAgent" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx
|
|
14
|
-
declare const BasicAgent: _copilotkit_shared0.RemovedApi<"\"BasicAgent\" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx
|
|
15
|
-
/** @deprecated "BasicAgent" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx
|
|
13
|
+
/** @deprecated "BasicAgent" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#runtime */
|
|
14
|
+
declare const BasicAgent: _copilotkit_shared0.RemovedApi<"\"BasicAgent\" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#runtime">;
|
|
15
|
+
/** @deprecated "BasicAgent" was removed in CopilotKit 2.0. Use BuiltInAgent from @copilotkit/runtime/agent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#runtime */
|
|
16
16
|
type BasicAgent = typeof BasicAgent;
|
|
17
|
-
/** @deprecated "BasicAgentConfiguration" was removed in CopilotKit 2.0. Use BuiltInAgentClassicConfig from @copilotkit/runtime/agent. Run `npx
|
|
17
|
+
/** @deprecated "BasicAgentConfiguration" was removed in CopilotKit 2.0. Use BuiltInAgentClassicConfig from @copilotkit/runtime/agent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#runtime */
|
|
18
18
|
type BasicAgentConfiguration = RemovedType<"BasicAgentConfiguration", "Use BuiltInAgentClassicConfig from @copilotkit/runtime/agent.", "/migrate/removed-apis-2.0#runtime">;
|
|
19
|
-
/** @deprecated "BedrockAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
20
|
-
declare const BedrockAdapter: _copilotkit_shared0.RemovedApi<"\"BedrockAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
21
|
-
/** @deprecated "BedrockAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
19
|
+
/** @deprecated "BedrockAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
20
|
+
declare const BedrockAdapter: _copilotkit_shared0.RemovedApi<"\"BedrockAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
21
|
+
/** @deprecated "BedrockAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
22
22
|
type BedrockAdapter = typeof BedrockAdapter;
|
|
23
|
-
/** @deprecated "BedrockAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
23
|
+
/** @deprecated "BedrockAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
24
24
|
type BedrockAdapterParams = RemovedType<"BedrockAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
25
|
-
/** @deprecated "buildSchema" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx
|
|
26
|
-
declare const buildSchema: _copilotkit_shared0.RemovedApi<"\"buildSchema\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx
|
|
27
|
-
/** @deprecated "BuiltInAgentModel" was removed in CopilotKit 2.0. Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter. Run `npx
|
|
25
|
+
/** @deprecated "buildSchema" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
26
|
+
declare const buildSchema: _copilotkit_shared0.RemovedApi<"\"buildSchema\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
27
|
+
/** @deprecated "BuiltInAgentModel" was removed in CopilotKit 2.0. Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
28
28
|
type BuiltInAgentModel = RemovedType<"BuiltInAgentModel", "Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter.", "/migrate/runtime-2.0#built-in-agent">;
|
|
29
|
-
/** @deprecated "classifyModelSpec" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText("claude-sonnet-4-6"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx
|
|
30
|
-
declare const classifyModelSpec: _copilotkit_shared0.RemovedApi<"\"classifyModelSpec\" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText(\"claude-sonnet-4-6\"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx
|
|
31
|
-
/** @deprecated "CommonConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
29
|
+
/** @deprecated "classifyModelSpec" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText("claude-sonnet-4-6"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#if-you-used-resolvemodel-or-classifymodelspec */
|
|
30
|
+
declare const classifyModelSpec: _copilotkit_shared0.RemovedApi<"\"classifyModelSpec\" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText(\"claude-sonnet-4-6\"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#if-you-used-resolvemodel-or-classifymodelspec">;
|
|
31
|
+
/** @deprecated "CommonConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
32
32
|
type CommonConfig = RemovedType<"CommonConfig", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
33
|
-
/** @deprecated "convertJsonSchemaToZodSchema" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
34
|
-
declare const convertJsonSchemaToZodSchema: _copilotkit_shared0.RemovedApi<"\"convertJsonSchemaToZodSchema\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
35
|
-
/** @deprecated "convertMCPToolsToActions" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
36
|
-
declare const convertMCPToolsToActions: _copilotkit_shared0.RemovedApi<"\"convertMCPToolsToActions\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
37
|
-
/** @deprecated "convertMessagesToVercelAISDKMessages" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
38
|
-
declare const convertMessagesToVercelAISDKMessages: _copilotkit_shared0.RemovedApi<"\"convertMessagesToVercelAISDKMessages\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
39
|
-
/** @deprecated "convertServiceAdapterError" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
40
|
-
declare const convertServiceAdapterError: _copilotkit_shared0.RemovedApi<"\"convertServiceAdapterError\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
41
|
-
/** @deprecated "convertToolDefinitionsToVercelAITools" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
42
|
-
declare const convertToolDefinitionsToVercelAITools: _copilotkit_shared0.RemovedApi<"\"convertToolDefinitionsToVercelAITools\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
43
|
-
/** @deprecated "convertToolsToVercelAITools" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
44
|
-
declare const convertToolsToVercelAITools: _copilotkit_shared0.RemovedApi<"\"convertToolsToVercelAITools\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
45
|
-
/** @deprecated "CopilotEndpointCorsConfig" was removed in CopilotKit 2.0. Use CopilotKitCorsConfig from @copilotkit/runtime, the cors option of createCopilotKitRuntimeHandler. Run `npx
|
|
33
|
+
/** @deprecated "convertJsonSchemaToZodSchema" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
34
|
+
declare const convertJsonSchemaToZodSchema: _copilotkit_shared0.RemovedApi<"\"convertJsonSchemaToZodSchema\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent">;
|
|
35
|
+
/** @deprecated "convertMCPToolsToActions" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
36
|
+
declare const convertMCPToolsToActions: _copilotkit_shared0.RemovedApi<"\"convertMCPToolsToActions\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
37
|
+
/** @deprecated "convertMessagesToVercelAISDKMessages" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
38
|
+
declare const convertMessagesToVercelAISDKMessages: _copilotkit_shared0.RemovedApi<"\"convertMessagesToVercelAISDKMessages\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent">;
|
|
39
|
+
/** @deprecated "convertServiceAdapterError" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
40
|
+
declare const convertServiceAdapterError: _copilotkit_shared0.RemovedApi<"\"convertServiceAdapterError\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
41
|
+
/** @deprecated "convertToolDefinitionsToVercelAITools" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
42
|
+
declare const convertToolDefinitionsToVercelAITools: _copilotkit_shared0.RemovedApi<"\"convertToolDefinitionsToVercelAITools\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent">;
|
|
43
|
+
/** @deprecated "convertToolsToVercelAITools" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
44
|
+
declare const convertToolsToVercelAITools: _copilotkit_shared0.RemovedApi<"\"convertToolsToVercelAITools\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent">;
|
|
45
|
+
/** @deprecated "CopilotEndpointCorsConfig" was removed in CopilotKit 2.0. Use CopilotKitCorsConfig from @copilotkit/runtime, the cors option of createCopilotKitRuntimeHandler. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#cors-and-lifecycle */
|
|
46
46
|
type CopilotEndpointCorsConfig = RemovedType<"CopilotEndpointCorsConfig", "Use CopilotKitCorsConfig from @copilotkit/runtime, the cors option of createCopilotKitRuntimeHandler.", "/migrate/runtime-2.0#cors-and-lifecycle">;
|
|
47
|
-
/** @deprecated "CopilotExpressEndpointParams" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
47
|
+
/** @deprecated "CopilotExpressEndpointParams" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
48
48
|
type CopilotExpressEndpointParams = RemovedType<"CopilotExpressEndpointParams", "Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app.", "/migrate/runtime-2.0#node-and-express">;
|
|
49
|
-
/** @deprecated "CopilotExpressRouter" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
49
|
+
/** @deprecated "CopilotExpressRouter" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
50
50
|
type CopilotExpressRouter = RemovedType<"CopilotExpressRouter", "Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app.", "/migrate/runtime-2.0#node-and-express">;
|
|
51
|
-
/** @deprecated "CopilotHonoApp" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx
|
|
51
|
+
/** @deprecated "CopilotHonoApp" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs */
|
|
52
52
|
type CopilotHonoApp = RemovedType<"CopilotHonoApp", "Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw.", "/migrate/runtime-2.0#fetch-and-nextjs">;
|
|
53
|
-
/** @deprecated "copilotKitEndpoint" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Serve each Python agent over AG-UI, and register it in agents. Run `npx
|
|
54
|
-
declare const copilotKitEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotKitEndpoint\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Serve each Python agent over AG-UI, and register it in agents. Run `npx
|
|
55
|
-
/** @deprecated "CopilotKitRequestHandler" was removed in CopilotKit 2.0. Use CopilotKitRuntimeFetchHandler from @copilotkit/runtime. It takes the Request directly. Run `npx
|
|
53
|
+
/** @deprecated "copilotKitEndpoint" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Serve each Python agent over AG-UI, and register it in agents. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#python-sdk-endpoint */
|
|
54
|
+
declare const copilotKitEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotKitEndpoint\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Serve each Python agent over AG-UI, and register it in agents. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#python-sdk-endpoint">;
|
|
55
|
+
/** @deprecated "CopilotKitRequestHandler" was removed in CopilotKit 2.0. Use CopilotKitRuntimeFetchHandler from @copilotkit/runtime. It takes the Request directly. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#runtime */
|
|
56
56
|
type CopilotKitRequestHandler = RemovedType<"CopilotKitRequestHandler", "Use CopilotKitRuntimeFetchHandler from @copilotkit/runtime. It takes the Request directly.", "/migrate/removed-apis-2.0#runtime">;
|
|
57
|
-
/** @deprecated "CopilotRequestContextProperties" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx
|
|
57
|
+
/** @deprecated "CopilotRequestContextProperties" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
58
58
|
type CopilotRequestContextProperties = RemovedType<"CopilotRequestContextProperties", "CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime).", "/migrate/v2#update-the-runtime">;
|
|
59
|
-
/** @deprecated "CopilotRuntime" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx
|
|
60
|
-
declare const CopilotRuntime: _copilotkit_shared0.RemovedApi<"\"CopilotRuntime\" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx
|
|
61
|
-
/** @deprecated "CopilotRuntime" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx
|
|
59
|
+
/** @deprecated "CopilotRuntime" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
60
|
+
declare const CopilotRuntime: _copilotkit_shared0.RemovedApi<"\"CopilotRuntime\" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
61
|
+
/** @deprecated "CopilotRuntime" was removed in CopilotKit 2.0. Use CopilotKitRuntime from @copilotkit/runtime, and pass each agent in agents. A model runs in a BuiltInAgent from @copilotkit/runtime/agent, so serviceAdapter, remoteEndpoints, and actions are gone. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
62
62
|
type CopilotRuntime<_T1 = unknown> = typeof CopilotRuntime;
|
|
63
|
-
/** @deprecated "CopilotRuntimeChatCompletionRequest" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
63
|
+
/** @deprecated "CopilotRuntimeChatCompletionRequest" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
64
64
|
type CopilotRuntimeChatCompletionRequest = RemovedType<"CopilotRuntimeChatCompletionRequest", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
65
|
-
/** @deprecated "CopilotRuntimeChatCompletionResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
65
|
+
/** @deprecated "CopilotRuntimeChatCompletionResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
66
66
|
type CopilotRuntimeChatCompletionResponse = RemovedType<"CopilotRuntimeChatCompletionResponse", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
67
|
-
/** @deprecated "CopilotRuntimeConstructorParams_BASE" was removed in CopilotKit 2.0. Use CopilotKitRuntimeOptions from @copilotkit/runtime. Run `npx
|
|
67
|
+
/** @deprecated "CopilotRuntimeConstructorParams_BASE" was removed in CopilotKit 2.0. Use CopilotKitRuntimeOptions from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
68
68
|
type CopilotRuntimeConstructorParams_BASE<_T1 = unknown> = RemovedType<"CopilotRuntimeConstructorParams_BASE", "Use CopilotKitRuntimeOptions from @copilotkit/runtime.", "/migrate/v2#update-the-runtime">;
|
|
69
|
-
/** @deprecated "CopilotRuntimeLogger" was removed in CopilotKit 2.0. Use CopilotKitRuntimeLogger from @copilotkit/runtime. Run `npx
|
|
69
|
+
/** @deprecated "CopilotRuntimeLogger" was removed in CopilotKit 2.0. Use CopilotKitRuntimeLogger from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#renamed-runtime-exports */
|
|
70
70
|
type CopilotRuntimeLogger = RemovedType<"CopilotRuntimeLogger", "Use CopilotKitRuntimeLogger from @copilotkit/runtime.", "/migrate/runtime-2.0#renamed-runtime-exports">;
|
|
71
|
-
/** @deprecated "copilotRuntimeNestEndpoint" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
72
|
-
declare const copilotRuntimeNestEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNestEndpoint\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
73
|
-
/** @deprecated "copilotRuntimeNextJSAppRouterEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime, and export the handler as GET and POST from app/api/copilotkit/[[...slug]]/route.ts. Run `npx
|
|
74
|
-
declare const copilotRuntimeNextJSAppRouterEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNextJSAppRouterEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime, and export the handler as GET and POST from app/api/copilotkit/[[...slug]]/route.ts. Run `npx
|
|
75
|
-
/** @deprecated "copilotRuntimeNextJSPagesRouterEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeHandler from @copilotkit/runtime/node. Run `npx
|
|
76
|
-
declare const copilotRuntimeNextJSPagesRouterEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNextJSPagesRouterEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeHandler from @copilotkit/runtime/node. Run `npx
|
|
77
|
-
/** @deprecated "copilotRuntimeNodeExpressEndpoint" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
78
|
-
declare const copilotRuntimeNodeExpressEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNodeExpressEndpoint\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
79
|
-
/** @deprecated "copilotRuntimeNodeHttpEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeListener from @copilotkit/runtime/node. Run `npx
|
|
80
|
-
declare const copilotRuntimeNodeHttpEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNodeHttpEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeListener from @copilotkit/runtime/node. Run `npx
|
|
81
|
-
/** @deprecated "CopilotServiceAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
71
|
+
/** @deprecated "copilotRuntimeNestEndpoint" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
72
|
+
declare const copilotRuntimeNestEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNestEndpoint\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
73
|
+
/** @deprecated "copilotRuntimeNextJSAppRouterEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime, and export the handler as GET and POST from app/api/copilotkit/[[...slug]]/route.ts. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs */
|
|
74
|
+
declare const copilotRuntimeNextJSAppRouterEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNextJSAppRouterEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitRuntimeHandler from @copilotkit/runtime, and export the handler as GET and POST from app/api/copilotkit/[[...slug]]/route.ts. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs">;
|
|
75
|
+
/** @deprecated "copilotRuntimeNextJSPagesRouterEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeHandler from @copilotkit/runtime/node. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
76
|
+
declare const copilotRuntimeNextJSPagesRouterEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNextJSPagesRouterEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeHandler from @copilotkit/runtime/node. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
77
|
+
/** @deprecated "copilotRuntimeNodeExpressEndpoint" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
78
|
+
declare const copilotRuntimeNodeExpressEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNodeExpressEndpoint\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
79
|
+
/** @deprecated "copilotRuntimeNodeHttpEndpoint" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeListener from @copilotkit/runtime/node. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
80
|
+
declare const copilotRuntimeNodeHttpEndpoint: _copilotkit_shared0.RemovedApi<"\"copilotRuntimeNodeHttpEndpoint\" was removed in CopilotKit 2.0. Serve the runtime with createCopilotKitNodeListener from @copilotkit/runtime/node. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
81
|
+
/** @deprecated "CopilotServiceAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
82
82
|
type CopilotServiceAdapter = RemovedType<"CopilotServiceAdapter", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
83
|
-
/** @deprecated "createCopilotEndpoint" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx
|
|
84
|
-
declare const createCopilotEndpoint: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpoint\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx
|
|
85
|
-
/** @deprecated "createCopilotEndpointExpress" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
86
|
-
declare const createCopilotEndpointExpress: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointExpress\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
87
|
-
/** @deprecated "createCopilotEndpointSingleRoute" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime with mode: "single-route". Run `npx
|
|
88
|
-
declare const createCopilotEndpointSingleRoute: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointSingleRoute\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime with mode: \"single-route\". Run `npx
|
|
89
|
-
/** @deprecated "createCopilotEndpointSingleRouteExpress" was removed in CopilotKit 2.0. Use createCopilotKitNodeListener from @copilotkit/runtime/node with mode: "single-route". Run `npx
|
|
90
|
-
declare const createCopilotEndpointSingleRouteExpress: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointSingleRouteExpress\" was removed in CopilotKit 2.0. Use createCopilotKitNodeListener from @copilotkit/runtime/node with mode: \"single-route\". Run `npx
|
|
91
|
-
/** @deprecated "createCopilotExpressHandler" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
92
|
-
declare const createCopilotExpressHandler: _copilotkit_shared0.RemovedApi<"\"createCopilotExpressHandler\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx
|
|
93
|
-
/** @deprecated "createCopilotHonoHandler" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx
|
|
94
|
-
declare const createCopilotHonoHandler: _copilotkit_shared0.RemovedApi<"\"createCopilotHonoHandler\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx
|
|
95
|
-
/** @deprecated "CreateCopilotRuntimeServerOptions" was removed in CopilotKit 2.0. Use CopilotKitRuntimeHandlerOptions from @copilotkit/runtime. Run `npx
|
|
83
|
+
/** @deprecated "createCopilotEndpoint" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs */
|
|
84
|
+
declare const createCopilotEndpoint: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpoint\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs">;
|
|
85
|
+
/** @deprecated "createCopilotEndpointExpress" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
86
|
+
declare const createCopilotEndpointExpress: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointExpress\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
87
|
+
/** @deprecated "createCopilotEndpointSingleRoute" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime with mode: "single-route". Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#single-route-endpoints */
|
|
88
|
+
declare const createCopilotEndpointSingleRoute: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointSingleRoute\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime with mode: \"single-route\". Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#single-route-endpoints">;
|
|
89
|
+
/** @deprecated "createCopilotEndpointSingleRouteExpress" was removed in CopilotKit 2.0. Use createCopilotKitNodeListener from @copilotkit/runtime/node with mode: "single-route". Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#single-route-endpoints */
|
|
90
|
+
declare const createCopilotEndpointSingleRouteExpress: _copilotkit_shared0.RemovedApi<"\"createCopilotEndpointSingleRouteExpress\" was removed in CopilotKit 2.0. Use createCopilotKitNodeListener from @copilotkit/runtime/node with mode: \"single-route\". Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#single-route-endpoints">;
|
|
91
|
+
/** @deprecated "createCopilotExpressHandler" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express */
|
|
92
|
+
declare const createCopilotExpressHandler: _copilotkit_shared0.RemovedApi<"\"createCopilotExpressHandler\" was removed in CopilotKit 2.0. Mount createCopilotKitNodeListener from @copilotkit/runtime/node in your Express app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#node-and-express">;
|
|
93
|
+
/** @deprecated "createCopilotHonoHandler" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs */
|
|
94
|
+
declare const createCopilotHonoHandler: _copilotkit_shared0.RemovedApi<"\"createCopilotHonoHandler\" was removed in CopilotKit 2.0. Use createCopilotKitRuntimeHandler from @copilotkit/runtime. In Hono, pass it c.req.raw. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs">;
|
|
95
|
+
/** @deprecated "CreateCopilotRuntimeServerOptions" was removed in CopilotKit 2.0. Use CopilotKitRuntimeHandlerOptions from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#fetch-and-nextjs */
|
|
96
96
|
type CreateCopilotRuntimeServerOptions = RemovedType<"CreateCopilotRuntimeServerOptions", "Use CopilotKitRuntimeHandlerOptions from @copilotkit/runtime.", "/migrate/runtime-2.0#fetch-and-nextjs">;
|
|
97
|
-
/** @deprecated "createLogger" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx
|
|
98
|
-
declare const createLogger: _copilotkit_shared0.RemovedApi<"\"createLogger\" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx
|
|
99
|
-
/** @deprecated "createSafeUrlDownload" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
100
|
-
declare const createSafeUrlDownload: _copilotkit_shared0.RemovedApi<"\"createSafeUrlDownload\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
101
|
-
/** @deprecated "CreateSafeUrlDownloadOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
97
|
+
/** @deprecated "createLogger" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#debug-logs */
|
|
98
|
+
declare const createLogger: _copilotkit_shared0.RemovedApi<"\"createLogger\" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#debug-logs">;
|
|
99
|
+
/** @deprecated "createSafeUrlDownload" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
100
|
+
declare const createSafeUrlDownload: _copilotkit_shared0.RemovedApi<"\"createSafeUrlDownload\" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent">;
|
|
101
|
+
/** @deprecated "CreateSafeUrlDownloadOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
102
102
|
type CreateSafeUrlDownloadOptions = RemovedType<"CreateSafeUrlDownloadOptions", "2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app.", "/migrate/runtime-2.0#built-in-agent">;
|
|
103
|
-
/** @deprecated "CustomEventNames" was removed in CopilotKit 2.0. Import CustomEventNames from @ag-ui/langgraph. Its members have new names and values. Run `npx
|
|
103
|
+
/** @deprecated "CustomEventNames" was removed in CopilotKit 2.0. Import CustomEventNames from @ag-ui/langgraph. Its members have new names and values. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#customeventnames */
|
|
104
104
|
type CustomEventNames = RemovedType<"CustomEventNames", "Import CustomEventNames from @ag-ui/langgraph. Its members have new names and values.", "/migrate/agents-2.0#customeventnames">;
|
|
105
|
-
/** @deprecated "EmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
106
|
-
declare const EmptyAdapter: _copilotkit_shared0.RemovedApi<"\"EmptyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
107
|
-
/** @deprecated "EmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
105
|
+
/** @deprecated "EmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
106
|
+
declare const EmptyAdapter: _copilotkit_shared0.RemovedApi<"\"EmptyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
107
|
+
/** @deprecated "EmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
108
108
|
type EmptyAdapter = typeof EmptyAdapter;
|
|
109
|
-
/** @deprecated "ExperimentalEmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
110
|
-
declare const ExperimentalEmptyAdapter: _copilotkit_shared0.RemovedApi<"\"ExperimentalEmptyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
111
|
-
/** @deprecated "ExperimentalEmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
109
|
+
/** @deprecated "ExperimentalEmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
110
|
+
declare const ExperimentalEmptyAdapter: _copilotkit_shared0.RemovedApi<"\"ExperimentalEmptyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
111
|
+
/** @deprecated "ExperimentalEmptyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 needs no service adapter. Delete it, and pass your agents in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
112
112
|
type ExperimentalEmptyAdapter = typeof ExperimentalEmptyAdapter;
|
|
113
|
-
/** @deprecated "ExperimentalOllamaAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
114
|
-
declare const ExperimentalOllamaAdapter: _copilotkit_shared0.RemovedApi<"\"ExperimentalOllamaAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
115
|
-
/** @deprecated "ExperimentalOllamaAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
113
|
+
/** @deprecated "ExperimentalOllamaAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
114
|
+
declare const ExperimentalOllamaAdapter: _copilotkit_shared0.RemovedApi<"\"ExperimentalOllamaAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
115
|
+
/** @deprecated "ExperimentalOllamaAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
116
116
|
type ExperimentalOllamaAdapter = typeof ExperimentalOllamaAdapter;
|
|
117
|
-
/** @deprecated "extractParametersFromSchema" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
118
|
-
declare const extractParametersFromSchema: _copilotkit_shared0.RemovedApi<"\"extractParametersFromSchema\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
119
|
-
/** @deprecated "FilterThinkingTextBuffer" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
120
|
-
declare const FilterThinkingTextBuffer: _copilotkit_shared0.RemovedApi<"\"FilterThinkingTextBuffer\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
121
|
-
/** @deprecated "FilterThinkingTextBuffer" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
117
|
+
/** @deprecated "extractParametersFromSchema" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
118
|
+
declare const extractParametersFromSchema: _copilotkit_shared0.RemovedApi<"\"extractParametersFromSchema\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
119
|
+
/** @deprecated "FilterThinkingTextBuffer" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
120
|
+
declare const FilterThinkingTextBuffer: _copilotkit_shared0.RemovedApi<"\"FilterThinkingTextBuffer\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
121
|
+
/** @deprecated "FilterThinkingTextBuffer" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
122
122
|
type FilterThinkingTextBuffer = typeof FilterThinkingTextBuffer;
|
|
123
|
-
/** @deprecated "generateMcpToolInstructions" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
124
|
-
declare const generateMcpToolInstructions: _copilotkit_shared0.RemovedApi<"\"generateMcpToolInstructions\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
125
|
-
/** @deprecated "getCommonConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
126
|
-
declare const getCommonConfig: _copilotkit_shared0.RemovedApi<"\"getCommonConfig\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
127
|
-
/** @deprecated "getSdkClientOptions" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
128
|
-
declare const getSdkClientOptions: _copilotkit_shared0.RemovedApi<"\"getSdkClientOptions\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
129
|
-
/** @deprecated "GoogleGenerativeAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
130
|
-
declare const GoogleGenerativeAIAdapter: _copilotkit_shared0.RemovedApi<"\"GoogleGenerativeAIAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
131
|
-
/** @deprecated "GoogleGenerativeAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
123
|
+
/** @deprecated "generateMcpToolInstructions" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
124
|
+
declare const generateMcpToolInstructions: _copilotkit_shared0.RemovedApi<"\"generateMcpToolInstructions\" was removed in CopilotKit 2.0. Create the MCP client with createMCPClient from @tanstack/ai-mcp, and pass it to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
125
|
+
/** @deprecated "getCommonConfig" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
126
|
+
declare const getCommonConfig: _copilotkit_shared0.RemovedApi<"\"getCommonConfig\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
127
|
+
/** @deprecated "getSdkClientOptions" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
128
|
+
declare const getSdkClientOptions: _copilotkit_shared0.RemovedApi<"\"getSdkClientOptions\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
129
|
+
/** @deprecated "GoogleGenerativeAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
130
|
+
declare const GoogleGenerativeAIAdapter: _copilotkit_shared0.RemovedApi<"\"GoogleGenerativeAIAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
131
|
+
/** @deprecated "GoogleGenerativeAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
132
132
|
type GoogleGenerativeAIAdapter = typeof GoogleGenerativeAIAdapter;
|
|
133
|
-
/** @deprecated "GraphQLContext" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx
|
|
133
|
+
/** @deprecated "GraphQLContext" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
134
134
|
type GraphQLContext = RemovedType<"GraphQLContext", "CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime).", "/migrate/v2#update-the-runtime">;
|
|
135
|
-
/** @deprecated "GraphQLRequestContext" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx
|
|
135
|
+
/** @deprecated "GraphQLRequestContext" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime). Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
136
136
|
type GraphQLRequestContext = RemovedType<"GraphQLRequestContext", "CopilotKit 2.0 has no GraphQL endpoint. Read the request in the hooks option of createCopilotKitRuntimeHandler (CopilotKitRuntimeHooks from @copilotkit/runtime).", "/migrate/v2#update-the-runtime">;
|
|
137
|
-
/** @deprecated "GroqAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
138
|
-
declare const GroqAdapter: _copilotkit_shared0.RemovedApi<"\"GroqAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
139
|
-
/** @deprecated "GroqAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
137
|
+
/** @deprecated "GroqAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
138
|
+
declare const GroqAdapter: _copilotkit_shared0.RemovedApi<"\"GroqAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
139
|
+
/** @deprecated "GroqAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
140
140
|
type GroqAdapter = typeof GroqAdapter;
|
|
141
|
-
/** @deprecated "GroqAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
141
|
+
/** @deprecated "GroqAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
142
142
|
type GroqAdapterParams = RemovedType<"GroqAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
143
|
-
/** @deprecated "GuardrailsValidationFailureResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
144
|
-
declare const GuardrailsValidationFailureResponse: _copilotkit_shared0.RemovedApi<"\"GuardrailsValidationFailureResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
145
|
-
/** @deprecated "GuardrailsValidationFailureResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
143
|
+
/** @deprecated "GuardrailsValidationFailureResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
144
|
+
declare const GuardrailsValidationFailureResponse: _copilotkit_shared0.RemovedApi<"\"GuardrailsValidationFailureResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
145
|
+
/** @deprecated "GuardrailsValidationFailureResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
146
146
|
type GuardrailsValidationFailureResponse = typeof GuardrailsValidationFailureResponse;
|
|
147
|
-
/** @deprecated "isA2UIEnabled" was removed in CopilotKit 2.0. The runtime a2ui option is now generativeUI: { a2uiVersion: "0.9" }. Read generativeUI on your runtime options. Run `npx
|
|
148
|
-
declare const isA2UIEnabled: _copilotkit_shared0.RemovedApi<"\"isA2UIEnabled\" was removed in CopilotKit 2.0. The runtime a2ui option is now generativeUI: { a2uiVersion: \"0.9\" }. Read generativeUI on your runtime options. Run `npx
|
|
149
|
-
/** @deprecated "LangChainAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
150
|
-
declare const LangChainAdapter: _copilotkit_shared0.RemovedApi<"\"LangChainAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
151
|
-
/** @deprecated "LangChainAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
147
|
+
/** @deprecated "isA2UIEnabled" was removed in CopilotKit 2.0. The runtime a2ui option is now generativeUI: { a2uiVersion: "0.9" }. Read generativeUI on your runtime options. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
|
|
148
|
+
declare const isA2UIEnabled: _copilotkit_shared0.RemovedApi<"\"isA2UIEnabled\" was removed in CopilotKit 2.0. The runtime a2ui option is now generativeUI: { a2uiVersion: \"0.9\" }. Read generativeUI on your runtime options. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer">;
|
|
149
|
+
/** @deprecated "LangChainAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
150
|
+
declare const LangChainAdapter: _copilotkit_shared0.RemovedApi<"\"LangChainAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
151
|
+
/** @deprecated "LangChainAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
152
152
|
type LangChainAdapter = typeof LangChainAdapter;
|
|
153
|
-
/** @deprecated "LangGraphAgent" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
154
|
-
declare const LangGraphAgent: _copilotkit_shared0.RemovedApi<"\"LangGraphAgent\" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
155
|
-
/** @deprecated "LangGraphAgent" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
153
|
+
/** @deprecated "LangGraphAgent" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
154
|
+
declare const LangGraphAgent: _copilotkit_shared0.RemovedApi<"\"LangGraphAgent\" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents">;
|
|
155
|
+
/** @deprecated "LangGraphAgent" was removed in CopilotKit 2.0. Import LangGraphAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
156
156
|
type LangGraphAgent = typeof LangGraphAgent;
|
|
157
|
-
/** @deprecated "LangGraphHttpAgent" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
158
|
-
declare const LangGraphHttpAgent: _copilotkit_shared0.RemovedApi<"\"LangGraphHttpAgent\" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
159
|
-
/** @deprecated "LangGraphHttpAgent" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx
|
|
157
|
+
/** @deprecated "LangGraphHttpAgent" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
158
|
+
declare const LangGraphHttpAgent: _copilotkit_shared0.RemovedApi<"\"LangGraphHttpAgent\" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents">;
|
|
159
|
+
/** @deprecated "LangGraphHttpAgent" was removed in CopilotKit 2.0. Import LangGraphHttpAgent from @ag-ui/langgraph. The constructor options are the same. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
160
160
|
type LangGraphHttpAgent = typeof LangGraphHttpAgent;
|
|
161
|
-
/** @deprecated "langGraphPlatformEndpoint" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Create a LangGraphAgent from @ag-ui/langgraph for each agent, and pass it in agents. Run `npx
|
|
162
|
-
declare const langGraphPlatformEndpoint: _copilotkit_shared0.RemovedApi<"\"langGraphPlatformEndpoint\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Create a LangGraphAgent from @ag-ui/langgraph for each agent, and pass it in agents. Run `npx
|
|
163
|
-
/** @deprecated "LogLevel" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx
|
|
161
|
+
/** @deprecated "langGraphPlatformEndpoint" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Create a LangGraphAgent from @ag-ui/langgraph for each agent, and pass it in agents. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-platform */
|
|
162
|
+
declare const langGraphPlatformEndpoint: _copilotkit_shared0.RemovedApi<"\"langGraphPlatformEndpoint\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Create a LangGraphAgent from @ag-ui/langgraph for each agent, and pass it in agents. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-platform">;
|
|
163
|
+
/** @deprecated "LogLevel" was removed in CopilotKit 2.0. Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#debug-logs */
|
|
164
164
|
type LogLevel = RemovedType<"LogLevel", "Pass a logger (CopilotKitRuntimeLogger) to CopilotKitRuntime from @copilotkit/runtime, or set debug: true for debug logs.", "/migrate/runtime-2.0#debug-logs">;
|
|
165
|
-
/** @deprecated "MCPClient" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
165
|
+
/** @deprecated "MCPClient" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
166
166
|
type MCPClient = RemovedType<"MCPClient", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
167
|
-
/** @deprecated "MCPClientConfig" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
167
|
+
/** @deprecated "MCPClientConfig" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
168
168
|
type MCPClientConfig = RemovedType<"MCPClientConfig", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
169
|
-
/** @deprecated "MCPClientConfigHTTP" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
169
|
+
/** @deprecated "MCPClientConfigHTTP" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
170
170
|
type MCPClientConfigHTTP = RemovedType<"MCPClientConfigHTTP", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
171
|
-
/** @deprecated "MCPClientConfigSSE" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
171
|
+
/** @deprecated "MCPClientConfigSSE" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
172
172
|
type MCPClientConfigSSE = RemovedType<"MCPClientConfigSSE", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
173
|
-
/** @deprecated "MCPClientProvider" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
173
|
+
/** @deprecated "MCPClientProvider" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
174
174
|
type MCPClientProvider = RemovedType<"MCPClientProvider", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
175
|
-
/** @deprecated "MCPEndpointConfig" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
175
|
+
/** @deprecated "MCPEndpointConfig" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
176
176
|
type MCPEndpointConfig = RemovedType<"MCPEndpointConfig", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
177
|
-
/** @deprecated "MCPTool" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
177
|
+
/** @deprecated "MCPTool" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
178
178
|
type MCPTool = RemovedType<"MCPTool", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
179
|
-
/** @deprecated "MCPTransport" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx
|
|
179
|
+
/** @deprecated "MCPTransport" was removed in CopilotKit 2.0. Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#4-replace-mcpservers-with-mcp */
|
|
180
180
|
type MCPTransport = RemovedType<"MCPTransport", "Import the MCP client types from @tanstack/ai-mcp, and pass each client to a BuiltInAgent as mcp: { clients: [client] }.", "/migrate/runtime-2.0#4-replace-mcpservers-with-mcp">;
|
|
181
|
-
/** @deprecated "MessageConversionOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
181
|
+
/** @deprecated "MessageConversionOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
182
182
|
type MessageConversionOptions = RemovedType<"MessageConversionOptions", "2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app.", "/migrate/runtime-2.0#built-in-agent">;
|
|
183
|
-
/** @deprecated "MessageStreamInterruptedResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
184
|
-
declare const MessageStreamInterruptedResponse: _copilotkit_shared0.RemovedApi<"\"MessageStreamInterruptedResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
185
|
-
/** @deprecated "MessageStreamInterruptedResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
183
|
+
/** @deprecated "MessageStreamInterruptedResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
184
|
+
declare const MessageStreamInterruptedResponse: _copilotkit_shared0.RemovedApi<"\"MessageStreamInterruptedResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
185
|
+
/** @deprecated "MessageStreamInterruptedResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
186
186
|
type MessageStreamInterruptedResponse = typeof MessageStreamInterruptedResponse;
|
|
187
|
-
/** @deprecated "ModelSpecifier" was removed in CopilotKit 2.0. Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter. Run `npx
|
|
187
|
+
/** @deprecated "ModelSpecifier" was removed in CopilotKit 2.0. Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
188
188
|
type ModelSpecifier = RemovedType<"ModelSpecifier", "Use AnyTextAdapter from @tanstack/ai: the model of a BuiltInAgent is a TanStack AI text adapter.", "/migrate/runtime-2.0#built-in-agent">;
|
|
189
|
-
/** @deprecated "OpenAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
190
|
-
declare const OpenAIAdapter: _copilotkit_shared0.RemovedApi<"\"OpenAIAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
191
|
-
/** @deprecated "OpenAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
189
|
+
/** @deprecated "OpenAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
190
|
+
declare const OpenAIAdapter: _copilotkit_shared0.RemovedApi<"\"OpenAIAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
191
|
+
/** @deprecated "OpenAIAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
192
192
|
type OpenAIAdapter = typeof OpenAIAdapter;
|
|
193
|
-
/** @deprecated "OpenAIAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
193
|
+
/** @deprecated "OpenAIAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
194
194
|
type OpenAIAdapterParams = RemovedType<"OpenAIAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
195
|
-
/** @deprecated "OpenAIAssistantAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
196
|
-
declare const OpenAIAssistantAdapter: _copilotkit_shared0.RemovedApi<"\"OpenAIAssistantAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
197
|
-
/** @deprecated "OpenAIAssistantAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
195
|
+
/** @deprecated "OpenAIAssistantAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
196
|
+
declare const OpenAIAssistantAdapter: _copilotkit_shared0.RemovedApi<"\"OpenAIAssistantAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
197
|
+
/** @deprecated "OpenAIAssistantAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
198
198
|
type OpenAIAssistantAdapter = typeof OpenAIAssistantAdapter;
|
|
199
|
-
/** @deprecated "OpenAIAssistantAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
199
|
+
/** @deprecated "OpenAIAssistantAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
200
200
|
type OpenAIAssistantAdapterParams = RemovedType<"OpenAIAssistantAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
201
|
-
/** @deprecated "PredictStateTool" was removed in CopilotKit 2.0. Import PredictStateTool from @ag-ui/langgraph. Run `npx
|
|
201
|
+
/** @deprecated "PredictStateTool" was removed in CopilotKit 2.0. Import PredictStateTool from @ag-ui/langgraph. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
202
202
|
type PredictStateTool = RemovedType<"PredictStateTool", "Import PredictStateTool from @ag-ui/langgraph.", "/migrate/agents-2.0#langgraph-agents">;
|
|
203
|
-
/** @deprecated "RemoteChain" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
204
|
-
declare const RemoteChain: _copilotkit_shared0.RemovedApi<"\"RemoteChain\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
205
|
-
/** @deprecated "RemoteChain" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
203
|
+
/** @deprecated "RemoteChain" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
204
|
+
declare const RemoteChain: _copilotkit_shared0.RemovedApi<"\"RemoteChain\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
205
|
+
/** @deprecated "RemoteChain" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
206
206
|
type RemoteChain = typeof RemoteChain;
|
|
207
|
-
/** @deprecated "RemoteChainParameters" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
207
|
+
/** @deprecated "RemoteChainParameters" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
208
208
|
type RemoteChainParameters = RemovedType<"RemoteChainParameters", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
209
|
-
/** @deprecated "resolveEndpointType" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Register each agent in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
210
|
-
declare const resolveEndpointType: _copilotkit_shared0.RemovedApi<"\"resolveEndpointType\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Register each agent in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx
|
|
211
|
-
/** @deprecated "resolveModel" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText("claude-sonnet-4-6"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx
|
|
212
|
-
declare const resolveModel: _copilotkit_shared0.RemovedApi<"\"resolveModel\" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText(\"claude-sonnet-4-6\"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx
|
|
213
|
-
/** @deprecated "SafeUrlDownloadOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx
|
|
209
|
+
/** @deprecated "resolveEndpointType" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Register each agent in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-platform */
|
|
210
|
+
declare const resolveEndpointType: _copilotkit_shared0.RemovedApi<"\"resolveEndpointType\" was removed in CopilotKit 2.0. CopilotKitRuntime has no remoteEndpoints. Register each agent in agents on CopilotKitRuntime from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-platform">;
|
|
211
|
+
/** @deprecated "resolveModel" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText("claude-sonnet-4-6"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#if-you-used-resolvemodel-or-classifymodelspec */
|
|
212
|
+
declare const resolveModel: _copilotkit_shared0.RemovedApi<"\"resolveModel\" was removed in CopilotKit 2.0. Pass an adapter as model, for example anthropicText(\"claude-sonnet-4-6\"). To switch models from the frontend, set the resolveModel option of the BuiltInAgent. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#if-you-used-resolvemodel-or-classifymodelspec">;
|
|
213
|
+
/** @deprecated "SafeUrlDownloadOptions" was removed in CopilotKit 2.0. 2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#built-in-agent */
|
|
214
214
|
type SafeUrlDownloadOptions = RemovedType<"SafeUrlDownloadOptions", "2.0 exports the AI SDK helpers from @copilotkit/runtime/agent/ai-sdk. Import it from there, and add the ai package to your app.", "/migrate/runtime-2.0#built-in-agent">;
|
|
215
|
-
/** @deprecated "SdkClientLike" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
215
|
+
/** @deprecated "SdkClientLike" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
216
216
|
type SdkClientLike = RemovedType<"SdkClientLike", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
217
|
-
/** @deprecated "TelemetryAgentRunner" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx
|
|
218
|
-
declare const TelemetryAgentRunner: _copilotkit_shared0.RemovedApi<"\"TelemetryAgentRunner\" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx
|
|
219
|
-
/** @deprecated "TelemetryAgentRunner" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx
|
|
217
|
+
/** @deprecated "TelemetryAgentRunner" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/shared-2.0#telemetry-entry-point-removed */
|
|
218
|
+
declare const TelemetryAgentRunner: _copilotkit_shared0.RemovedApi<"\"TelemetryAgentRunner\" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/shared-2.0#telemetry-entry-point-removed">;
|
|
219
|
+
/** @deprecated "TelemetryAgentRunner" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/shared-2.0#telemetry-entry-point-removed */
|
|
220
220
|
type TelemetryAgentRunner = typeof TelemetryAgentRunner;
|
|
221
|
-
/** @deprecated "TelemetryAgentRunnerConfig" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx
|
|
221
|
+
/** @deprecated "TelemetryAgentRunnerConfig" was removed in CopilotKit 2.0. Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/shared-2.0#telemetry-entry-point-removed */
|
|
222
222
|
type TelemetryAgentRunnerConfig = RemovedType<"TelemetryAgentRunnerConfig", "Delete the wrapper, and pass your runner as runner on CopilotKitRuntime. The runtime reports telemetry by itself.", "/migrate/shared-2.0#telemetry-entry-point-removed">;
|
|
223
|
-
/** @deprecated "TextMessageEvents" was removed in CopilotKit 2.0. Import the AG-UI event types, such as TextMessageStartEvent, from @ag-ui/client. Run `npx
|
|
223
|
+
/** @deprecated "TextMessageEvents" was removed in CopilotKit 2.0. Import the AG-UI event types, such as TextMessageStartEvent, from @ag-ui/client. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
224
224
|
type TextMessageEvents = RemovedType<"TextMessageEvents", "Import the AG-UI event types, such as TextMessageStartEvent, from @ag-ui/client.", "/migrate/agents-2.0#langgraph-agents">;
|
|
225
|
-
/** @deprecated "toFetchCorsConfig" was removed in CopilotKit 2.0. Pass a CopilotKitCorsConfig as the cors option of createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx
|
|
226
|
-
declare const toFetchCorsConfig: _copilotkit_shared0.RemovedApi<"\"toFetchCorsConfig\" was removed in CopilotKit 2.0. Pass a CopilotKitCorsConfig as the cors option of createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx
|
|
227
|
-
/** @deprecated "ToolCallEvents" was removed in CopilotKit 2.0. Import the AG-UI event types, such as ToolCallStartEvent, from @ag-ui/client. Run `npx
|
|
225
|
+
/** @deprecated "toFetchCorsConfig" was removed in CopilotKit 2.0. Pass a CopilotKitCorsConfig as the cors option of createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#cors-and-lifecycle */
|
|
226
|
+
declare const toFetchCorsConfig: _copilotkit_shared0.RemovedApi<"\"toFetchCorsConfig\" was removed in CopilotKit 2.0. Pass a CopilotKitCorsConfig as the cors option of createCopilotKitRuntimeHandler from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/runtime-2.0#cors-and-lifecycle">;
|
|
227
|
+
/** @deprecated "ToolCallEvents" was removed in CopilotKit 2.0. Import the AG-UI event types, such as ToolCallStartEvent, from @ag-ui/client. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/agents-2.0#langgraph-agents */
|
|
228
228
|
type ToolCallEvents = RemovedType<"ToolCallEvents", "Import the AG-UI event types, such as ToolCallStartEvent, from @ag-ui/client.", "/migrate/agents-2.0#langgraph-agents">;
|
|
229
|
-
/** @deprecated "UnifyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
230
|
-
declare const UnifyAdapter: _copilotkit_shared0.RemovedApi<"\"UnifyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
231
|
-
/** @deprecated "UnifyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
229
|
+
/** @deprecated "UnifyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
230
|
+
declare const UnifyAdapter: _copilotkit_shared0.RemovedApi<"\"UnifyAdapter\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText(\"gpt-5\") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
231
|
+
/** @deprecated "UnifyAdapter" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
232
232
|
type UnifyAdapter = typeof UnifyAdapter;
|
|
233
|
-
/** @deprecated "UnifyAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx
|
|
233
|
+
/** @deprecated "UnifyAdapterParams" was removed in CopilotKit 2.0. CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
234
234
|
type UnifyAdapterParams = RemovedType<"UnifyAdapterParams", 'CopilotKit 2.0 has no service adapters. Run the model in a BuiltInAgent from @copilotkit/runtime/agent with a TanStack AI adapter, for example new BuiltInAgent({ model: openaiText("gpt-5") }), and pass it in agents on CopilotKitRuntime.', "/migrate/v2#update-the-runtime">;
|
|
235
|
-
/** @deprecated "UnknownErrorResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
236
|
-
declare const UnknownErrorResponse: _copilotkit_shared0.RemovedApi<"\"UnknownErrorResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
237
|
-
/** @deprecated "UnknownErrorResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx
|
|
235
|
+
/** @deprecated "UnknownErrorResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
236
|
+
declare const UnknownErrorResponse: _copilotkit_shared0.RemovedApi<"\"UnknownErrorResponse\" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime">;
|
|
237
|
+
/** @deprecated "UnknownErrorResponse" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL endpoint. A failed run reaches the frontend as an AG-UI RUN_ERROR event. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
238
238
|
type UnknownErrorResponse = typeof UnknownErrorResponse;
|
|
239
239
|
//#endregion
|
|
240
240
|
export { AnthropicAdapter, AnthropicAdapterParams, AnthropicPromptCachingConfig, BasicAgent, BasicAgentConfiguration, BedrockAdapter, BedrockAdapterParams, BuiltInAgentModel, CommonConfig, CopilotEndpointCorsConfig, CopilotExpressEndpointParams, CopilotExpressRouter, CopilotHonoApp, CopilotKitRequestHandler, CopilotRequestContextProperties, CopilotRuntime, CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotRuntimeConstructorParams_BASE, CopilotRuntimeLogger, CopilotServiceAdapter, CreateCopilotRuntimeServerOptions, CreateSafeUrlDownloadOptions, CustomEventNames, EmptyAdapter, ExperimentalEmptyAdapter, ExperimentalOllamaAdapter, FilterThinkingTextBuffer, GoogleGenerativeAIAdapter, GraphQLContext, GraphQLRequestContext, GroqAdapter, GroqAdapterParams, GuardrailsValidationFailureResponse, LangChainAdapter, LangGraphAgent, LangGraphHttpAgent, LogLevel, MCPClient, MCPClientConfig, MCPClientConfigHTTP, MCPClientConfigSSE, MCPClientProvider, MCPEndpointConfig, MCPTool, MCPTransport, MessageConversionOptions, MessageStreamInterruptedResponse, ModelSpecifier, OpenAIAdapter, OpenAIAdapterParams, OpenAIAssistantAdapter, OpenAIAssistantAdapterParams, PredictStateTool, RemoteChain, RemoteChainParameters, SafeUrlDownloadOptions, SdkClientLike, TelemetryAgentRunner, TelemetryAgentRunnerConfig, TextMessageEvents, ToolCallEvents, UnifyAdapter, UnifyAdapterParams, UnknownErrorResponse, buildSchema, classifyModelSpec, convertJsonSchemaToZodSchema, convertMCPToolsToActions, convertMessagesToVercelAISDKMessages, convertServiceAdapterError, convertToolDefinitionsToVercelAITools, convertToolsToVercelAITools, copilotKitEndpoint, copilotRuntimeNestEndpoint, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint, copilotRuntimeNodeExpressEndpoint, copilotRuntimeNodeHttpEndpoint, createCopilotEndpoint, createCopilotEndpointExpress, createCopilotEndpointSingleRoute, createCopilotEndpointSingleRouteExpress, createCopilotExpressHandler, createCopilotHonoHandler, createLogger, createSafeUrlDownload, extractParametersFromSchema, generateMcpToolInstructions, getCommonConfig, getSdkClientOptions, isA2UIEnabled, langGraphPlatformEndpoint, resolveEndpointType, resolveModel, toFetchCorsConfig };
|