@copilotkit/runtime 2.0.0-rc.62 → 2.0.0-rc.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +53 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/removed-exports.cjs +370 -0
- package/dist/removed-exports.cjs.map +1 -0
- package/dist/removed-exports.d.cts +241 -0
- package/dist/removed-exports.d.cts.map +1 -0
- package/dist/removed-exports.d.mts +241 -0
- package/dist/removed-exports.d.mts.map +1 -0
- package/dist/removed-exports.mjs +319 -0
- package/dist/removed-exports.mjs.map +1 -0
- package/dist/runtime/core/package-info.cjs +1 -1
- package/dist/runtime/core/package-info.mjs +1 -1
- package/dist/v2/index.cjs +183 -0
- package/dist/v2/index.cjs.map +1 -0
- package/dist/v2/index.d.cts +424 -6
- package/dist/v2/index.d.cts.map +1 -0
- package/dist/v2/index.d.mts +424 -6
- package/dist/v2/index.d.mts.map +1 -0
- package/dist/v2/index.mjs +66 -0
- package/dist/v2/index.mjs.map +1 -0
- package/dist/v2/node.cjs +44 -0
- package/dist/v2/node.cjs.map +1 -0
- package/dist/v2/node.d.cts +42 -5
- package/dist/v2/node.d.cts.map +1 -0
- package/dist/v2/node.d.mts +42 -5
- package/dist/v2/node.d.mts.map +1 -0
- package/dist/v2/node.mjs +39 -0
- package/dist/v2/node.mjs.map +1 -0
- package/package.json +13 -13
package/dist/v2/index.d.mts
CHANGED
|
@@ -1,8 +1,179 @@
|
|
|
1
|
+
import { experimental_d_exports } from "../runtime/intelligence-platform/experimental.mjs";
|
|
2
|
+
import { AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest, LocalThreadEndpointRecord, LocalThreadEndpointRunner, LocalThreadEndpointScope, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, ThreadOwnershipRunner, enforcesThreadOwnership, isThreadAccessDeniedError, supportsLocalThreadEndpoints, ɵSERVER_THREAD_OWNER, ɵresolveThreadOwner } from "../runtime/runner/agent-runner.mjs";
|
|
3
|
+
import { ThreadAccessMode, ThreadsConfig } from "../runtime/handlers/shared/thread-access.mjs";
|
|
4
|
+
import { CopilotKitRuntimeLogger } from "../runtime/core/logger.mjs";
|
|
5
|
+
import { TranscribeFileOptions, TranscriptionService } from "../runtime/transcription-service/transcription-service.mjs";
|
|
6
|
+
import { IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, RunnerEventDeliveryStats, RunnerEventQueueFullError, RunnerStartupBoundary, STOP_RECORD_DEADLINE_MS } from "../runtime/runner/intelligence.mjs";
|
|
7
|
+
import { GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult } from "../runtime/intelligence-platform/learned-skills.mjs";
|
|
8
|
+
import { A2UIVersion, AgentFactoryContext, AgentsConfig, AgentsFactory, CopilotKitIntelligenceRuntime, CopilotKitIntelligenceRuntimeLike, CopilotKitIntelligenceRuntimeOptions, CopilotKitRuntime, CopilotKitRuntimeConstructor, CopilotKitRuntimeLike, CopilotKitRuntimeMemoryConfig, CopilotKitRuntimeOptions, CopilotKitSseRuntime, CopilotKitSseRuntimeLike, CopilotKitSseRuntimeOptions, GenerativeUIOptions, IdentifyUserCallback, McpAppsConfig, McpAppsServerConfig, MemoryAccess, MemoryConsumer, MemoryGrant, OpenGenerativeUIConfig, OpenGenerativeUIOptions, RuntimeWithDeclaredChannels, ThreadNameGenerationConfig, VERSION, isIntelligenceRuntime, resolveAgents } from "../runtime/core/runtime.mjs";
|
|
9
|
+
import { CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "../runtime/core/learning.mjs";
|
|
10
|
+
import { CopilotKitIntelligence, CopilotKitIntelligenceConfig, CreateThreadRequest, ListThreadsResponse, PlatformRequestError, SubscribeToThreadsRequest, SubscribeToThreadsResponse, ThreadSummary, UpdateThreadRequest } from "../runtime/intelligence-platform/client.mjs";
|
|
11
|
+
import { BuiltInAgentLearnedSkills, BuiltInAgentLearnedSkillsOptions } from "../agent/learned-skills.mjs";
|
|
12
|
+
import { convertAISDKStream } from "../agent/converters/aisdk.mjs";
|
|
13
|
+
import { TanStackChatMessage, TanStackInputResult, convertInputToTanStackAI, convertTanStackStream } from "../agent/converters/tanstack.mjs";
|
|
14
|
+
import { BuiltInAgent, BuiltInAgentAISDKFactoryConfig, BuiltInAgentClassicConfig, BuiltInAgentConfiguration, BuiltInAgentCustomFactoryConfig, BuiltInAgentFactoryConfig, BuiltInAgentFactoryContext, BuiltInAgentTanStackFactoryConfig, InterruptSignal, OverridableProperty, ToolDefinition, defineTool } from "../agent.mjs";
|
|
15
|
+
import { GenerativeUIMiddleware } from "../runtime/generative-ui/generative-ui-middleware.mjs";
|
|
16
|
+
import { A2UIV09BridgeMiddleware } from "../runtime/generative-ui/a2ui-v09-middleware.mjs";
|
|
17
|
+
import { GenerativeUISurfaceWriter, createSurfaceWriter } from "../runtime/generative-ui/surface-writer.mjs";
|
|
18
|
+
import { ArgsParser, GenerateSandboxedUIParams, OnParamEvent, OpenGenerativeUIMiddleware } from "../runtime/event-transforms/open-generative-ui-middleware.mjs";
|
|
19
|
+
import { RecordedEventTransformOptions, transformRecordedEvents } from "../runtime/event-transforms/recorded-events.mjs";
|
|
20
|
+
import { A2UIMiddleware, A2UIMiddlewareConfig } from "../runtime/event-transforms/index.mjs";
|
|
21
|
+
import { InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵestimateBytes, ɵnormalizeLimits } from "../runtime/runner/in-memory.mjs";
|
|
22
|
+
import { FinalizeRunOptions, RunEventFinalizer, createRunEventFinalizer, finalizeRunEvents } from "../runtime/runner/index.mjs";
|
|
23
|
+
import { RunAgentInThreadOptions, RunAgentInThreadResult, RunAgentInThreadRuntime, ThreadRunError, ThreadRunErrorReason, runAgentInThread } from "../runtime/core/thread-run.mjs";
|
|
24
|
+
import { ChannelStatus, ChannelsControl } from "../runtime/core/channel-manager.mjs";
|
|
25
|
+
import { CopilotKitRuntimeHooks, ErrorHookContext, HandlerHookContext, HookContext, ResponseHookContext, RouteInfo } from "../runtime/core/hooks.mjs";
|
|
26
|
+
import { CopilotKitCorsConfig } from "../runtime/core/fetch-cors.mjs";
|
|
27
|
+
import { CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, createCopilotKitRuntimeHandler } from "../runtime/core/fetch-handler.mjs";
|
|
28
|
+
import { AnthropicAdapter, AnthropicAdapterParams, AnthropicPromptCachingConfig, BasicAgent, BasicAgentConfiguration, BedrockAdapter, BedrockAdapterParams, BuiltInAgentModel, CommonConfig, CopilotEndpointCorsConfig, CopilotExpressEndpointParams, CopilotExpressRouter, CopilotHonoApp, CopilotKitRequestHandler, CopilotRequestContextProperties, CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotRuntimeConstructorParams_BASE, 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 } from "../removed-exports.mjs";
|
|
29
|
+
import "../index.mjs";
|
|
30
|
+
|
|
31
|
+
//#region src/v2/index.d.ts
|
|
1
32
|
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*
|
|
4
|
-
* @
|
|
33
|
+
* @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
|
|
34
|
+
* name is an alias of it. To move your imports, run
|
|
35
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
5
36
|
*/
|
|
37
|
+
declare const CopilotRuntime: CopilotKitRuntimeConstructor;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
|
|
40
|
+
* name is an alias of it. To move your imports, run
|
|
41
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
42
|
+
*/
|
|
43
|
+
type CopilotRuntime = CopilotKitRuntime;
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
|
|
46
|
+
* name is an alias of it. To move your imports, run
|
|
47
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
48
|
+
*/
|
|
49
|
+
declare const CopilotSseRuntime: typeof CopilotKitSseRuntime;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
|
|
52
|
+
* name is an alias of it. To move your imports, run
|
|
53
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
54
|
+
*/
|
|
55
|
+
type CopilotSseRuntime = CopilotKitSseRuntime;
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
|
|
58
|
+
* This old name is an alias of it. To move your imports, run
|
|
59
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
60
|
+
*/
|
|
61
|
+
declare const CopilotIntelligenceRuntime: typeof CopilotKitIntelligenceRuntime;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
|
|
64
|
+
* This old name is an alias of it. To move your imports, run
|
|
65
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
66
|
+
*/
|
|
67
|
+
type CopilotIntelligenceRuntime = CopilotKitIntelligenceRuntime;
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated Use `createCopilotKitRuntimeHandler` from `@copilotkit/runtime`.
|
|
70
|
+
* This old name is an alias of it. To move your imports, run
|
|
71
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
72
|
+
*/
|
|
73
|
+
declare const createCopilotRuntimeHandler: typeof createCopilotKitRuntimeHandler;
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated Use `CopilotKitRuntimeConstructor` from `@copilotkit/runtime`.
|
|
76
|
+
* This old name is an alias of it. To move your imports, run
|
|
77
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
78
|
+
*/
|
|
79
|
+
type CopilotRuntimeConstructor = CopilotKitRuntimeConstructor;
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated Use `CopilotKitRuntimeOptions` from `@copilotkit/runtime`. This
|
|
82
|
+
* old name is an alias of it. To move your imports, run
|
|
83
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
84
|
+
*/
|
|
85
|
+
type CopilotRuntimeOptions = CopilotKitRuntimeOptions;
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Use `CopilotKitRuntimeLike` from `@copilotkit/runtime`. This old
|
|
88
|
+
* name is an alias of it. To move your imports, run
|
|
89
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
90
|
+
*/
|
|
91
|
+
type CopilotRuntimeLike = CopilotKitRuntimeLike;
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated Use `CopilotKitSseRuntimeOptions` from `@copilotkit/runtime`.
|
|
94
|
+
* This old name is an alias of it. To move your imports, run
|
|
95
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
96
|
+
*/
|
|
97
|
+
type CopilotSseRuntimeOptions = CopilotKitSseRuntimeOptions;
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated Use `CopilotKitSseRuntimeLike` from `@copilotkit/runtime`. This
|
|
100
|
+
* old name is an alias of it. To move your imports, run
|
|
101
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
102
|
+
*/
|
|
103
|
+
type CopilotSseRuntimeLike = CopilotKitSseRuntimeLike;
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated Use `CopilotKitIntelligenceRuntimeOptions` from
|
|
106
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
107
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
108
|
+
*/
|
|
109
|
+
type CopilotIntelligenceRuntimeOptions = CopilotKitIntelligenceRuntimeOptions;
|
|
110
|
+
/**
|
|
111
|
+
* @deprecated Use `CopilotKitIntelligenceRuntimeLike` from
|
|
112
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
113
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
114
|
+
*/
|
|
115
|
+
type CopilotIntelligenceRuntimeLike = CopilotKitIntelligenceRuntimeLike;
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated Use `CopilotKitRuntimeMemoryConfig` from `@copilotkit/runtime`.
|
|
118
|
+
* This old name is an alias of it. To move your imports, run
|
|
119
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
120
|
+
*/
|
|
121
|
+
type CopilotRuntimeMemoryConfig = CopilotKitRuntimeMemoryConfig;
|
|
122
|
+
/**
|
|
123
|
+
* @deprecated Use `CopilotKitRuntimeUser` from `@copilotkit/runtime`. This old
|
|
124
|
+
* name is an alias of it. To move your imports, run
|
|
125
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
126
|
+
*/
|
|
127
|
+
type CopilotRuntimeUser = CopilotKitRuntimeUser;
|
|
128
|
+
/**
|
|
129
|
+
* @deprecated Use `CopilotKitRuntimeLearningConfig` from
|
|
130
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
131
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
132
|
+
*/
|
|
133
|
+
type CopilotRuntimeLearningConfig = CopilotKitRuntimeLearningConfig;
|
|
134
|
+
/**
|
|
135
|
+
* @deprecated Use `CopilotKitRuntimeLearningContext` from
|
|
136
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
137
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
138
|
+
*/
|
|
139
|
+
type CopilotRuntimeLearningContext = CopilotKitRuntimeLearningContext;
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated Use `CopilotKitRuntimeLogger` from `@copilotkit/runtime`. This
|
|
142
|
+
* old name is an alias of it. To move your imports, run
|
|
143
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
144
|
+
*/
|
|
145
|
+
type CopilotRuntimeLogger = CopilotKitRuntimeLogger;
|
|
146
|
+
/**
|
|
147
|
+
* @deprecated Use `CopilotKitRuntimeHandlerOptions` from
|
|
148
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
149
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
150
|
+
*/
|
|
151
|
+
type CopilotRuntimeHandlerOptions = CopilotKitRuntimeHandlerOptions;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated Use `CopilotKitRuntimeFetchHandler` from `@copilotkit/runtime`.
|
|
154
|
+
* This old name is an alias of it. To move your imports, run
|
|
155
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
156
|
+
*/
|
|
157
|
+
type CopilotRuntimeFetchHandler = CopilotKitRuntimeFetchHandler;
|
|
158
|
+
/**
|
|
159
|
+
* @deprecated Use `CopilotKitRuntimeFetchHandlerWithChannels` from
|
|
160
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
161
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
162
|
+
*/
|
|
163
|
+
type CopilotRuntimeFetchHandlerWithChannels = CopilotKitRuntimeFetchHandlerWithChannels;
|
|
164
|
+
/**
|
|
165
|
+
* @deprecated Use `CopilotKitRuntimeHooks` from `@copilotkit/runtime`. This
|
|
166
|
+
* old name is an alias of it. To move your imports, run
|
|
167
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
168
|
+
*/
|
|
169
|
+
type CopilotRuntimeHooks = CopilotKitRuntimeHooks;
|
|
170
|
+
/**
|
|
171
|
+
* @deprecated Use `CopilotKitCorsConfig` from `@copilotkit/runtime`. This old
|
|
172
|
+
* name is an alias of it. To move your imports, run
|
|
173
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
174
|
+
*/
|
|
175
|
+
type CopilotCorsConfig = CopilotKitCorsConfig;
|
|
176
|
+
//#endregion
|
|
6
177
|
export {
|
|
7
178
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
8
179
|
A2UIMiddleware,
|
|
@@ -29,12 +200,62 @@ export {
|
|
|
29
200
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
30
201
|
AgentsFactory,
|
|
31
202
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
203
|
+
AnthropicAdapter,
|
|
204
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
205
|
+
AnthropicAdapterParams,
|
|
206
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
207
|
+
AnthropicPromptCachingConfig,
|
|
208
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
32
209
|
ArgsParser,
|
|
33
210
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
211
|
+
BasicAgent,
|
|
212
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
213
|
+
BasicAgentConfiguration,
|
|
214
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
215
|
+
BedrockAdapter,
|
|
216
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
217
|
+
BedrockAdapterParams,
|
|
218
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
219
|
+
BuiltInAgent,
|
|
220
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
221
|
+
type BuiltInAgentAISDKFactoryConfig,
|
|
222
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
223
|
+
type BuiltInAgentClassicConfig,
|
|
224
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
225
|
+
type BuiltInAgentConfiguration,
|
|
226
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
227
|
+
type BuiltInAgentCustomFactoryConfig,
|
|
228
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
229
|
+
type BuiltInAgentFactoryConfig,
|
|
230
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
231
|
+
type BuiltInAgentFactoryContext,
|
|
232
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
233
|
+
type BuiltInAgentLearnedSkills,
|
|
234
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
235
|
+
type BuiltInAgentLearnedSkillsOptions,
|
|
236
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
237
|
+
BuiltInAgentModel,
|
|
238
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
239
|
+
type BuiltInAgentTanStackFactoryConfig,
|
|
240
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
34
241
|
ChannelStatus,
|
|
35
242
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
36
243
|
ChannelsControl,
|
|
37
244
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
245
|
+
CommonConfig,
|
|
246
|
+
CopilotCorsConfig,
|
|
247
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
248
|
+
CopilotEndpointCorsConfig,
|
|
249
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
250
|
+
CopilotExpressEndpointParams,
|
|
251
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
252
|
+
CopilotExpressRouter,
|
|
253
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
254
|
+
CopilotHonoApp,
|
|
255
|
+
CopilotIntelligenceRuntime,
|
|
256
|
+
CopilotIntelligenceRuntimeLike,
|
|
257
|
+
CopilotIntelligenceRuntimeOptions,
|
|
258
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
38
259
|
CopilotKitCorsConfig,
|
|
39
260
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
40
261
|
CopilotKitIntelligence,
|
|
@@ -47,6 +268,8 @@ export {
|
|
|
47
268
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
48
269
|
CopilotKitIntelligenceRuntimeOptions,
|
|
49
270
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
271
|
+
CopilotKitRequestHandler,
|
|
272
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
50
273
|
CopilotKitRuntime,
|
|
51
274
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
52
275
|
CopilotKitRuntimeConstructor,
|
|
@@ -79,10 +302,50 @@ export {
|
|
|
79
302
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
80
303
|
CopilotKitSseRuntimeOptions,
|
|
81
304
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
305
|
+
CopilotRequestContextProperties,
|
|
306
|
+
CopilotRuntime,
|
|
307
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
308
|
+
CopilotRuntimeChatCompletionRequest,
|
|
309
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
310
|
+
CopilotRuntimeChatCompletionResponse,
|
|
311
|
+
CopilotRuntimeConstructor,
|
|
312
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
313
|
+
CopilotRuntimeConstructorParams_BASE,
|
|
314
|
+
CopilotRuntimeFetchHandler,
|
|
315
|
+
CopilotRuntimeFetchHandlerWithChannels,
|
|
316
|
+
CopilotRuntimeHandlerOptions,
|
|
317
|
+
CopilotRuntimeHooks,
|
|
318
|
+
CopilotRuntimeLearningConfig,
|
|
319
|
+
CopilotRuntimeLearningContext,
|
|
320
|
+
CopilotRuntimeLike,
|
|
321
|
+
CopilotRuntimeLogger,
|
|
322
|
+
CopilotRuntimeMemoryConfig,
|
|
323
|
+
CopilotRuntimeOptions,
|
|
324
|
+
CopilotRuntimeUser,
|
|
325
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
326
|
+
CopilotServiceAdapter,
|
|
327
|
+
CopilotSseRuntime,
|
|
328
|
+
CopilotSseRuntimeLike,
|
|
329
|
+
CopilotSseRuntimeOptions,
|
|
330
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
331
|
+
CreateCopilotRuntimeServerOptions,
|
|
332
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
333
|
+
CreateSafeUrlDownloadOptions,
|
|
334
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
82
335
|
CreateThreadRequest,
|
|
83
336
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
337
|
+
CustomEventNames,
|
|
338
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
339
|
+
EmptyAdapter,
|
|
340
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
84
341
|
ErrorHookContext,
|
|
85
342
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
343
|
+
ExperimentalEmptyAdapter,
|
|
344
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
345
|
+
ExperimentalOllamaAdapter,
|
|
346
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
347
|
+
FilterThinkingTextBuffer,
|
|
348
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
86
349
|
FinalizeRunOptions,
|
|
87
350
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
88
351
|
GenerateSandboxedUIParams,
|
|
@@ -101,6 +364,18 @@ export {
|
|
|
101
364
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
102
365
|
GetTrajectoryLearningContainerIds,
|
|
103
366
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
367
|
+
GoogleGenerativeAIAdapter,
|
|
368
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
369
|
+
GraphQLContext,
|
|
370
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
371
|
+
GraphQLRequestContext,
|
|
372
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
373
|
+
GroqAdapter,
|
|
374
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
375
|
+
GroqAdapterParams,
|
|
376
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
377
|
+
GuardrailsValidationFailureResponse,
|
|
378
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
104
379
|
HandlerHookContext,
|
|
105
380
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
106
381
|
HookContext,
|
|
@@ -118,6 +393,14 @@ export {
|
|
|
118
393
|
IntelligenceAgentRunner,
|
|
119
394
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
120
395
|
IntelligenceAgentRunnerOptions,
|
|
396
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
397
|
+
InterruptSignal,
|
|
398
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
399
|
+
LangChainAdapter,
|
|
400
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
401
|
+
LangGraphAgent,
|
|
402
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
403
|
+
LangGraphHttpAgent,
|
|
121
404
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
122
405
|
LearnedSkillsBatchResult,
|
|
123
406
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -137,6 +420,24 @@ export {
|
|
|
137
420
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
138
421
|
LocalThreadEndpointScope,
|
|
139
422
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
423
|
+
LogLevel,
|
|
424
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
425
|
+
MCPClient,
|
|
426
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
427
|
+
MCPClientConfig,
|
|
428
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
429
|
+
MCPClientConfigHTTP,
|
|
430
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
431
|
+
MCPClientConfigSSE,
|
|
432
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
433
|
+
MCPClientProvider,
|
|
434
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
435
|
+
MCPEndpointConfig,
|
|
436
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
437
|
+
MCPTool,
|
|
438
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
439
|
+
MCPTransport,
|
|
440
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
140
441
|
McpAppsConfig,
|
|
141
442
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
142
443
|
McpAppsServerConfig,
|
|
@@ -147,18 +448,40 @@ export {
|
|
|
147
448
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
148
449
|
MemoryGrant,
|
|
149
450
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
451
|
+
MessageConversionOptions,
|
|
452
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
453
|
+
MessageStreamInterruptedResponse,
|
|
454
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
455
|
+
ModelSpecifier,
|
|
456
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
150
457
|
OnParamEvent,
|
|
151
458
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
459
|
+
OpenAIAdapter,
|
|
460
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
461
|
+
OpenAIAdapterParams,
|
|
462
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
463
|
+
OpenAIAssistantAdapter,
|
|
464
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
465
|
+
OpenAIAssistantAdapterParams,
|
|
466
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
152
467
|
OpenGenerativeUIConfig,
|
|
153
468
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
154
469
|
OpenGenerativeUIMiddleware,
|
|
155
470
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
156
471
|
OpenGenerativeUIOptions,
|
|
472
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
473
|
+
type OverridableProperty,
|
|
157
474
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
158
475
|
PlatformRequestError,
|
|
159
476
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
477
|
+
PredictStateTool,
|
|
478
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
160
479
|
RecordedEventTransformOptions,
|
|
161
480
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
481
|
+
RemoteChain,
|
|
482
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
483
|
+
RemoteChainParameters,
|
|
484
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
162
485
|
ResponseHookContext,
|
|
163
486
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
164
487
|
RouteInfo,
|
|
@@ -181,11 +504,25 @@ export {
|
|
|
181
504
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
182
505
|
STOP_RECORD_DEADLINE_MS,
|
|
183
506
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
507
|
+
SafeUrlDownloadOptions,
|
|
508
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
509
|
+
SdkClientLike,
|
|
510
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
184
511
|
SubscribeToThreadsRequest,
|
|
185
512
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
186
513
|
SubscribeToThreadsResponse,
|
|
187
514
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
188
515
|
THREAD_ACCESS_DENIED_ERROR_CODE,
|
|
516
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
517
|
+
type TanStackChatMessage,
|
|
518
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
519
|
+
type TanStackInputResult,
|
|
520
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
521
|
+
TelemetryAgentRunner,
|
|
522
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
523
|
+
TelemetryAgentRunnerConfig,
|
|
524
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
525
|
+
TextMessageEvents,
|
|
189
526
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
190
527
|
ThreadAccessDeniedError,
|
|
191
528
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -205,38 +542,119 @@ export {
|
|
|
205
542
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
206
543
|
ThreadsConfig,
|
|
207
544
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
545
|
+
ToolCallEvents,
|
|
546
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
547
|
+
type ToolDefinition,
|
|
548
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
208
549
|
TrajectoryLearningContainerSelectorInput,
|
|
209
550
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
210
551
|
TranscribeFileOptions,
|
|
211
552
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
212
553
|
TranscriptionService,
|
|
213
554
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
555
|
+
UnifyAdapter,
|
|
556
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
557
|
+
UnifyAdapterParams,
|
|
558
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
559
|
+
UnknownErrorResponse,
|
|
560
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
214
561
|
UpdateThreadRequest,
|
|
215
562
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
216
563
|
VERSION,
|
|
217
564
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
565
|
+
buildSchema,
|
|
566
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
567
|
+
classifyModelSpec,
|
|
568
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
569
|
+
convertAISDKStream,
|
|
570
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
571
|
+
convertInputToTanStackAI,
|
|
572
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
573
|
+
convertJsonSchemaToZodSchema,
|
|
574
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
575
|
+
convertMCPToolsToActions,
|
|
576
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
577
|
+
convertMessagesToVercelAISDKMessages,
|
|
578
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
579
|
+
convertServiceAdapterError,
|
|
580
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
581
|
+
convertTanStackStream,
|
|
582
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
583
|
+
convertToolDefinitionsToVercelAITools,
|
|
584
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
585
|
+
convertToolsToVercelAITools,
|
|
586
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
587
|
+
copilotKitEndpoint,
|
|
588
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
589
|
+
copilotRuntimeNestEndpoint,
|
|
590
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
591
|
+
copilotRuntimeNextJSAppRouterEndpoint,
|
|
592
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
593
|
+
copilotRuntimeNextJSPagesRouterEndpoint,
|
|
594
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
595
|
+
copilotRuntimeNodeExpressEndpoint,
|
|
596
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
597
|
+
copilotRuntimeNodeHttpEndpoint,
|
|
598
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
599
|
+
createCopilotEndpoint,
|
|
600
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
601
|
+
createCopilotEndpointExpress,
|
|
602
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
603
|
+
createCopilotEndpointSingleRoute,
|
|
604
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
605
|
+
createCopilotEndpointSingleRouteExpress,
|
|
606
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
607
|
+
createCopilotExpressHandler,
|
|
608
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
609
|
+
createCopilotHonoHandler,
|
|
610
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
218
611
|
createCopilotKitRuntimeHandler,
|
|
612
|
+
createCopilotRuntimeHandler,
|
|
613
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
614
|
+
createLogger,
|
|
219
615
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
220
616
|
createRunEventFinalizer,
|
|
221
617
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
618
|
+
createSafeUrlDownload,
|
|
619
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
222
620
|
createSurfaceWriter,
|
|
621
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
622
|
+
defineTool,
|
|
223
623
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
224
624
|
enforcesThreadOwnership,
|
|
225
625
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
226
|
-
experimental,
|
|
626
|
+
experimental_d_exports as experimental,
|
|
627
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
628
|
+
extractParametersFromSchema,
|
|
227
629
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
228
630
|
finalizeRunEvents,
|
|
229
631
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
632
|
+
generateMcpToolInstructions,
|
|
633
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
634
|
+
getCommonConfig,
|
|
635
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
636
|
+
getSdkClientOptions,
|
|
637
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
638
|
+
isA2UIEnabled,
|
|
639
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
230
640
|
isIntelligenceRuntime,
|
|
231
641
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
232
642
|
isThreadAccessDeniedError,
|
|
233
643
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
644
|
+
langGraphPlatformEndpoint,
|
|
645
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
234
646
|
resolveAgents,
|
|
235
647
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
648
|
+
resolveEndpointType,
|
|
649
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
650
|
+
resolveModel,
|
|
651
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
236
652
|
runAgentInThread,
|
|
237
653
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
238
654
|
supportsLocalThreadEndpoints,
|
|
239
655
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
656
|
+
toFetchCorsConfig,
|
|
657
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
240
658
|
transformRecordedEvents,
|
|
241
659
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
242
660
|
ɵBoundedThreadStore,
|
|
@@ -256,5 +674,5 @@ export {
|
|
|
256
674
|
ɵnormalizeLimits,
|
|
257
675
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
258
676
|
ɵresolveThreadOwner,
|
|
259
|
-
}
|
|
260
|
-
|
|
677
|
+
};
|
|
678
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/v2/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmFa,cAAA,EAAc,4BAAA;;;;;AAA3B;KAMY,cAAA,GAAiB,iBAAA;;;;AAA7B;;cAOa,iBAAA,SAAiB,oBAAA;;;AAA9B;;;KAMY,iBAAA,GAAoB,oBAAA;;AAAhC;;;;cAOa,0BAAA,SAA0B,6BAAA;AAAvC;;;;;AAAA,KAMY,0BAAA,GAA6B,6BAAA;;;;;AAOzC;cAAa,2BAAA,SAA2B,8BAAA;;;;AAOxC;;KAAY,yBAAA,GAA4B,4BAAA;;;AAMxC;;;KAAY,qBAAA,GAAwB,wBAAA;;AAMpC;;;;KAAY,kBAAA,GAAqB,qBAAA;AAMjC;;;;;AAAA,KAAY,wBAAA,GAA2B,2BAAA;;;;;AAYvC;KANY,qBAAA,GAAwB,wBAAA;;;;AAapC;;KAPY,iCAAA,GACV,oCAAA;;;AAYF;;;KANY,8BAAA,GAAiC,iCAAA;;AAY7C;;;;KANY,0BAAA,GAA6B,6BAAA;AAYzC;;;;;AAAA,KANY,kBAAA,GAAqB,qBAAA;;;;;AAkBjC;KAZY,4BAAA,GAA+B,+BAAA;;;;AAkB3C;;KAZY,6BAAA,GAAgC,gCAAA;;;AAkB5C;;;KAZY,oBAAA,GAAuB,uBAAA;;AAkBnC;;;;KAZY,4BAAA,GAA+B,+BAAA;AAmB3C;;;;;AAAA,KAbY,0BAAA,GAA6B,6BAAA;;;;;;KAM7B,sCAAA,GACV,yCAAA;;;;;;KAMU,mBAAA,GAAsB,sBAAA;;;;;;KAMtB,iBAAA,GAAoB,oBAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { AgentRunner, THREAD_ACCESS_DENIED_ERROR_CODE, ThreadAccessDeniedError, ThreadAlreadyRunningError, enforcesThreadOwnership, isThreadAccessDeniedError, supportsLocalThreadEndpoints, ɵSERVER_THREAD_OWNER, ɵresolveThreadOwner } from "../runtime/runner/agent-runner.mjs";
|
|
2
|
+
import { LearnedSkillsError } from "../runtime/intelligence-platform/learned-skills.mjs";
|
|
3
|
+
import { CopilotKitIntelligence, PlatformRequestError } from "../runtime/intelligence-platform/client.mjs";
|
|
4
|
+
import { InMemoryAgentRunner, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵestimateBytes, ɵnormalizeLimits } from "../runtime/runner/in-memory.mjs";
|
|
5
|
+
import { IntelligenceAgentRunner, RunnerEventQueueFullError, STOP_RECORD_DEADLINE_MS } from "../runtime/runner/intelligence.mjs";
|
|
6
|
+
import { CopilotKitIntelligenceRuntime, CopilotKitRuntime, CopilotKitSseRuntime, VERSION, isIntelligenceRuntime, resolveAgents } from "../runtime/core/runtime.mjs";
|
|
7
|
+
import { GenerativeUIMiddleware } from "../runtime/generative-ui/generative-ui-middleware.mjs";
|
|
8
|
+
import { A2UIV09BridgeMiddleware } from "../runtime/generative-ui/a2ui-v09-middleware.mjs";
|
|
9
|
+
import { createSurfaceWriter } from "../runtime/generative-ui/surface-writer.mjs";
|
|
10
|
+
import { ArgsParser, OpenGenerativeUIMiddleware } from "../runtime/event-transforms/open-generative-ui-middleware.mjs";
|
|
11
|
+
import { transformRecordedEvents } from "../runtime/event-transforms/recorded-events.mjs";
|
|
12
|
+
import { A2UIMiddleware } from "../runtime/event-transforms/index.mjs";
|
|
13
|
+
import { createRunEventFinalizer, finalizeRunEvents } from "../runtime/runner/index.mjs";
|
|
14
|
+
import { TranscriptionService } from "../runtime/transcription-service/transcription-service.mjs";
|
|
15
|
+
import { ThreadRunError, runAgentInThread } from "../runtime/core/thread-run.mjs";
|
|
16
|
+
import { createCopilotKitRuntimeHandler } from "../runtime/core/fetch-handler.mjs";
|
|
17
|
+
import { AnthropicAdapter, BasicAgent, BedrockAdapter, EmptyAdapter, ExperimentalEmptyAdapter, ExperimentalOllamaAdapter, FilterThinkingTextBuffer, GoogleGenerativeAIAdapter, GroqAdapter, GuardrailsValidationFailureResponse, LangChainAdapter, LangGraphAgent, LangGraphHttpAgent, MessageStreamInterruptedResponse, OpenAIAdapter, OpenAIAssistantAdapter, RemoteChain, TelemetryAgentRunner, UnifyAdapter, 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 } from "../removed-exports.mjs";
|
|
18
|
+
import { convertAISDKStream } from "../agent/converters/aisdk.mjs";
|
|
19
|
+
import { convertInputToTanStackAI, convertTanStackStream } from "../agent/converters/tanstack.mjs";
|
|
20
|
+
import { BuiltInAgent, InterruptSignal, defineTool } from "../agent.mjs";
|
|
21
|
+
|
|
22
|
+
//#region src/v2/index.ts
|
|
23
|
+
/**
|
|
24
|
+
* `@copilotkit/runtime/v2`, the import path of the 2.0 runtime in CopilotKit
|
|
25
|
+
* 1.x. In 2.0 it is a deprecated alias of the package root, so 1.x code that
|
|
26
|
+
* imports from it keeps working. It exports:
|
|
27
|
+
*
|
|
28
|
+
* - every export of `@copilotkit/runtime`;
|
|
29
|
+
* - the Built-in Agent exports that 1.x exported here. 2.0 exports them from
|
|
30
|
+
* `@copilotkit/runtime/agent`;
|
|
31
|
+
* - the 1.x names of the runtime exports that 2.0 renamed with "Kit". Each
|
|
32
|
+
* old name is the same value or type as its new name.
|
|
33
|
+
*
|
|
34
|
+
* The root exports only the new names. `npx codemod @copilotkit/v2-migration`
|
|
35
|
+
* moves the imports to the root and renames them. The build marks each name
|
|
36
|
+
* of this entry deprecated in its declarations
|
|
37
|
+
* (scripts/deprecations/v2-subpath-aliases.mts).
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
|
|
41
|
+
* name is an alias of it. To move your imports, run
|
|
42
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
43
|
+
*/
|
|
44
|
+
const CopilotRuntime = CopilotKitRuntime;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
|
|
47
|
+
* name is an alias of it. To move your imports, run
|
|
48
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
49
|
+
*/
|
|
50
|
+
const CopilotSseRuntime = CopilotKitSseRuntime;
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
|
|
53
|
+
* This old name is an alias of it. To move your imports, run
|
|
54
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
55
|
+
*/
|
|
56
|
+
const CopilotIntelligenceRuntime = CopilotKitIntelligenceRuntime;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated Use `createCopilotKitRuntimeHandler` from `@copilotkit/runtime`.
|
|
59
|
+
* This old name is an alias of it. To move your imports, run
|
|
60
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
61
|
+
*/
|
|
62
|
+
const createCopilotRuntimeHandler = createCopilotKitRuntimeHandler;
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
export { A2UIMiddleware, A2UIV09BridgeMiddleware, AgentRunner, AnthropicAdapter, ArgsParser, BasicAgent, BedrockAdapter, BuiltInAgent, CopilotIntelligenceRuntime, CopilotKitIntelligence, CopilotKitIntelligenceRuntime, CopilotKitRuntime, CopilotKitSseRuntime, CopilotRuntime, CopilotSseRuntime, EmptyAdapter, ExperimentalEmptyAdapter, ExperimentalOllamaAdapter, FilterThinkingTextBuffer, GenerativeUIMiddleware, GoogleGenerativeAIAdapter, GroqAdapter, GuardrailsValidationFailureResponse, InMemoryAgentRunner, IntelligenceAgentRunner, InterruptSignal, LangChainAdapter, LangGraphAgent, LangGraphHttpAgent, LearnedSkillsError, MessageStreamInterruptedResponse, OpenAIAdapter, OpenAIAssistantAdapter, OpenGenerativeUIMiddleware, PlatformRequestError, RemoteChain, RunnerEventQueueFullError, STOP_RECORD_DEADLINE_MS, THREAD_ACCESS_DENIED_ERROR_CODE, TelemetryAgentRunner, ThreadAccessDeniedError, ThreadAlreadyRunningError, ThreadRunError, TranscriptionService, UnifyAdapter, UnknownErrorResponse, VERSION, buildSchema, classifyModelSpec, convertAISDKStream, convertInputToTanStackAI, convertJsonSchemaToZodSchema, convertMCPToolsToActions, convertMessagesToVercelAISDKMessages, convertServiceAdapterError, convertTanStackStream, convertToolDefinitionsToVercelAITools, convertToolsToVercelAITools, copilotKitEndpoint, copilotRuntimeNestEndpoint, copilotRuntimeNextJSAppRouterEndpoint, copilotRuntimeNextJSPagesRouterEndpoint, copilotRuntimeNodeExpressEndpoint, copilotRuntimeNodeHttpEndpoint, createCopilotEndpoint, createCopilotEndpointExpress, createCopilotEndpointSingleRoute, createCopilotEndpointSingleRouteExpress, createCopilotExpressHandler, createCopilotHonoHandler, createCopilotKitRuntimeHandler, createCopilotRuntimeHandler, createLogger, createRunEventFinalizer, createSafeUrlDownload, createSurfaceWriter, defineTool, enforcesThreadOwnership, extractParametersFromSchema, finalizeRunEvents, generateMcpToolInstructions, getCommonConfig, getSdkClientOptions, isA2UIEnabled, isIntelligenceRuntime, isThreadAccessDeniedError, langGraphPlatformEndpoint, resolveAgents, resolveEndpointType, resolveModel, runAgentInThread, supportsLocalThreadEndpoints, toFetchCorsConfig, transformRecordedEvents, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵSERVER_THREAD_OWNER, ɵestimateBytes, ɵnormalizeLimits, ɵresolveThreadOwner };
|
|
66
|
+
//# sourceMappingURL=index.mjs.map
|