@copilotkit/runtime 2.0.0-rc.63 → 2.0.0-rc.65
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/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 +52 -0
- package/dist/v2/index.cjs.map +1 -1
- package/dist/v2/index.d.cts +189 -0
- package/dist/v2/index.d.cts.map +1 -1
- package/dist/v2/index.d.mts +189 -0
- package/dist/v2/index.d.mts.map +1 -1
- package/dist/v2/index.mjs +2 -1
- package/dist/v2/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/v2/index.d.cts
CHANGED
|
@@ -25,6 +25,7 @@ import { ChannelStatus, ChannelsControl } from "../runtime/core/channel-manager.
|
|
|
25
25
|
import { CopilotKitRuntimeHooks, ErrorHookContext, HandlerHookContext, HookContext, ResponseHookContext, RouteInfo } from "../runtime/core/hooks.cjs";
|
|
26
26
|
import { CopilotKitCorsConfig } from "../runtime/core/fetch-cors.cjs";
|
|
27
27
|
import { CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, createCopilotKitRuntimeHandler } from "../runtime/core/fetch-handler.cjs";
|
|
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.cjs";
|
|
28
29
|
import "../index.cjs";
|
|
29
30
|
|
|
30
31
|
//#region src/v2/index.d.ts
|
|
@@ -199,7 +200,21 @@ export {
|
|
|
199
200
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
200
201
|
AgentsFactory,
|
|
201
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". */
|
|
202
209
|
ArgsParser,
|
|
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,
|
|
203
218
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
204
219
|
BuiltInAgent,
|
|
205
220
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
@@ -218,13 +233,25 @@ export {
|
|
|
218
233
|
type BuiltInAgentLearnedSkills,
|
|
219
234
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
220
235
|
type BuiltInAgentLearnedSkillsOptions,
|
|
236
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
237
|
+
BuiltInAgentModel,
|
|
221
238
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
222
239
|
type BuiltInAgentTanStackFactoryConfig,
|
|
223
240
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
224
241
|
ChannelStatus,
|
|
225
242
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
226
243
|
ChannelsControl,
|
|
244
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
245
|
+
CommonConfig,
|
|
227
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,
|
|
228
255
|
CopilotIntelligenceRuntime,
|
|
229
256
|
CopilotIntelligenceRuntimeLike,
|
|
230
257
|
CopilotIntelligenceRuntimeOptions,
|
|
@@ -241,6 +268,8 @@ export {
|
|
|
241
268
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
242
269
|
CopilotKitIntelligenceRuntimeOptions,
|
|
243
270
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
271
|
+
CopilotKitRequestHandler,
|
|
272
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
244
273
|
CopilotKitRuntime,
|
|
245
274
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
246
275
|
CopilotKitRuntimeConstructor,
|
|
@@ -272,8 +301,16 @@ export {
|
|
|
272
301
|
CopilotKitSseRuntimeLike,
|
|
273
302
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
274
303
|
CopilotKitSseRuntimeOptions,
|
|
304
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
305
|
+
CopilotRequestContextProperties,
|
|
275
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,
|
|
276
311
|
CopilotRuntimeConstructor,
|
|
312
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
313
|
+
CopilotRuntimeConstructorParams_BASE,
|
|
277
314
|
CopilotRuntimeFetchHandler,
|
|
278
315
|
CopilotRuntimeFetchHandlerWithChannels,
|
|
279
316
|
CopilotRuntimeHandlerOptions,
|
|
@@ -285,14 +322,30 @@ export {
|
|
|
285
322
|
CopilotRuntimeMemoryConfig,
|
|
286
323
|
CopilotRuntimeOptions,
|
|
287
324
|
CopilotRuntimeUser,
|
|
325
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
326
|
+
CopilotServiceAdapter,
|
|
288
327
|
CopilotSseRuntime,
|
|
289
328
|
CopilotSseRuntimeLike,
|
|
290
329
|
CopilotSseRuntimeOptions,
|
|
291
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". */
|
|
292
335
|
CreateThreadRequest,
|
|
293
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". */
|
|
294
341
|
ErrorHookContext,
|
|
295
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". */
|
|
296
349
|
FinalizeRunOptions,
|
|
297
350
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
298
351
|
GenerateSandboxedUIParams,
|
|
@@ -311,6 +364,18 @@ export {
|
|
|
311
364
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
312
365
|
GetTrajectoryLearningContainerIds,
|
|
313
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". */
|
|
314
379
|
HandlerHookContext,
|
|
315
380
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
316
381
|
HookContext,
|
|
@@ -331,6 +396,12 @@ export {
|
|
|
331
396
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
332
397
|
InterruptSignal,
|
|
333
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,
|
|
404
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
334
405
|
LearnedSkillsBatchResult,
|
|
335
406
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
336
407
|
LearnedSkillsError,
|
|
@@ -349,6 +420,24 @@ export {
|
|
|
349
420
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
350
421
|
LocalThreadEndpointScope,
|
|
351
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". */
|
|
352
441
|
McpAppsConfig,
|
|
353
442
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
354
443
|
McpAppsServerConfig,
|
|
@@ -359,8 +448,22 @@ export {
|
|
|
359
448
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
360
449
|
MemoryGrant,
|
|
361
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". */
|
|
362
457
|
OnParamEvent,
|
|
363
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". */
|
|
364
467
|
OpenGenerativeUIConfig,
|
|
365
468
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
366
469
|
OpenGenerativeUIMiddleware,
|
|
@@ -371,8 +474,14 @@ export {
|
|
|
371
474
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
372
475
|
PlatformRequestError,
|
|
373
476
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
477
|
+
PredictStateTool,
|
|
478
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
374
479
|
RecordedEventTransformOptions,
|
|
375
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". */
|
|
376
485
|
ResponseHookContext,
|
|
377
486
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
378
487
|
RouteInfo,
|
|
@@ -395,6 +504,10 @@ export {
|
|
|
395
504
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
396
505
|
STOP_RECORD_DEADLINE_MS,
|
|
397
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". */
|
|
398
511
|
SubscribeToThreadsRequest,
|
|
399
512
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
400
513
|
SubscribeToThreadsResponse,
|
|
@@ -405,6 +518,12 @@ export {
|
|
|
405
518
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
406
519
|
type TanStackInputResult,
|
|
407
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,
|
|
526
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
408
527
|
ThreadAccessDeniedError,
|
|
409
528
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
410
529
|
ThreadAccessMode,
|
|
@@ -422,6 +541,8 @@ export {
|
|
|
422
541
|
ThreadSummary,
|
|
423
542
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
424
543
|
ThreadsConfig,
|
|
544
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
545
|
+
ToolCallEvents,
|
|
425
546
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
426
547
|
type ToolDefinition,
|
|
427
548
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -431,21 +552,71 @@ export {
|
|
|
431
552
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
432
553
|
TranscriptionService,
|
|
433
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". */
|
|
434
561
|
UpdateThreadRequest,
|
|
435
562
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
436
563
|
VERSION,
|
|
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,
|
|
437
568
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
438
569
|
convertAISDKStream,
|
|
439
570
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
440
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,
|
|
441
580
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
442
581
|
convertTanStackStream,
|
|
443
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". */
|
|
444
611
|
createCopilotKitRuntimeHandler,
|
|
445
612
|
createCopilotRuntimeHandler,
|
|
446
613
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
614
|
+
createLogger,
|
|
615
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
447
616
|
createRunEventFinalizer,
|
|
448
617
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
618
|
+
createSafeUrlDownload,
|
|
619
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
449
620
|
createSurfaceWriter,
|
|
450
621
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
451
622
|
defineTool,
|
|
@@ -454,18 +625,36 @@ export {
|
|
|
454
625
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
455
626
|
experimental_d_exports as experimental,
|
|
456
627
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
628
|
+
extractParametersFromSchema,
|
|
629
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
457
630
|
finalizeRunEvents,
|
|
458
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". */
|
|
459
640
|
isIntelligenceRuntime,
|
|
460
641
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
461
642
|
isThreadAccessDeniedError,
|
|
462
643
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
644
|
+
langGraphPlatformEndpoint,
|
|
645
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
463
646
|
resolveAgents,
|
|
464
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". */
|
|
465
652
|
runAgentInThread,
|
|
466
653
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
467
654
|
supportsLocalThreadEndpoints,
|
|
468
655
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
656
|
+
toFetchCorsConfig,
|
|
657
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
469
658
|
transformRecordedEvents,
|
|
470
659
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
471
660
|
ɵBoundedThreadStore,
|
package/dist/v2/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/v2/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","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"}
|