@copilotkit/runtime 2.0.0-rc.61 → 2.0.0-rc.63
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/agent.cjs +1 -0
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +10 -0
- package/dist/agent.d.cts.map +1 -1
- package/dist/agent.d.mts +10 -0
- package/dist/agent.d.mts.map +1 -1
- package/dist/agent.mjs +1 -0
- package/dist/agent.mjs.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +3 -2
- package/dist/runtime/core/channel-manager.cjs +51 -162
- package/dist/runtime/core/channel-manager.cjs.map +1 -1
- package/dist/runtime/core/channel-manager.d.cts +1 -1
- package/dist/runtime/core/channel-manager.d.cts.map +1 -1
- package/dist/runtime/core/channel-manager.d.mts +1 -1
- package/dist/runtime/core/channel-manager.d.mts.map +1 -1
- package/dist/runtime/core/channel-manager.mjs +51 -162
- package/dist/runtime/core/channel-manager.mjs.map +1 -1
- package/dist/runtime/core/fetch-cors.cjs +4 -2
- package/dist/runtime/core/fetch-cors.cjs.map +1 -1
- package/dist/runtime/core/fetch-cors.mjs +4 -2
- package/dist/runtime/core/fetch-cors.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 +3 -1
- package/dist/runtime/core/runtime.cjs.map +1 -1
- package/dist/runtime/core/runtime.d.cts +36 -7
- package/dist/runtime/core/runtime.d.cts.map +1 -1
- package/dist/runtime/core/runtime.d.mts +36 -7
- package/dist/runtime/core/runtime.d.mts.map +1 -1
- package/dist/runtime/core/runtime.mjs +3 -1
- package/dist/runtime/core/runtime.mjs.map +1 -1
- package/dist/runtime/core/thread-run.cjs +459 -0
- package/dist/runtime/core/thread-run.cjs.map +1 -0
- package/dist/runtime/core/thread-run.d.cts +201 -0
- package/dist/runtime/core/thread-run.d.cts.map +1 -0
- package/dist/runtime/core/thread-run.d.mts +201 -0
- package/dist/runtime/core/thread-run.d.mts.map +1 -0
- package/dist/runtime/core/thread-run.mjs +456 -0
- package/dist/runtime/core/thread-run.mjs.map +1 -0
- package/dist/runtime/event-transforms/open-generative-ui-middleware.cjs +6 -7
- package/dist/runtime/event-transforms/open-generative-ui-middleware.cjs.map +1 -1
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.cts.map +1 -1
- package/dist/runtime/event-transforms/open-generative-ui-middleware.d.mts.map +1 -1
- package/dist/runtime/event-transforms/open-generative-ui-middleware.mjs +6 -7
- package/dist/runtime/event-transforms/open-generative-ui-middleware.mjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.cjs +2 -1
- package/dist/runtime/handlers/get-runtime-info.cjs.map +1 -1
- package/dist/runtime/handlers/get-runtime-info.mjs +2 -1
- package/dist/runtime/handlers/get-runtime-info.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.cjs +0 -1
- package/dist/runtime/handlers/intelligence/run.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/run.mjs +0 -1
- package/dist/runtime/handlers/intelligence/run.mjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.cjs +43 -70
- package/dist/runtime/handlers/intelligence/thread-names.cjs.map +1 -1
- package/dist/runtime/handlers/intelligence/thread-names.mjs +43 -70
- package/dist/runtime/handlers/intelligence/thread-names.mjs.map +1 -1
- package/dist/runtime/index.d.cts +3 -2
- package/dist/runtime/index.d.mts +3 -2
- package/dist/runtime/intelligence-platform/client.cjs +20 -2
- package/dist/runtime/intelligence-platform/client.cjs.map +1 -1
- package/dist/runtime/intelligence-platform/client.d.cts +13 -0
- package/dist/runtime/intelligence-platform/client.d.cts.map +1 -1
- package/dist/runtime/intelligence-platform/client.d.mts +13 -0
- package/dist/runtime/intelligence-platform/client.d.mts.map +1 -1
- package/dist/runtime/intelligence-platform/client.mjs +20 -2
- package/dist/runtime/intelligence-platform/client.mjs.map +1 -1
- package/dist/runtime/runner/index.d.cts +1 -1
- package/dist/runtime/runner/index.d.mts +1 -1
- package/dist/runtime/runner/index.mjs +1 -1
- package/dist/runtime/runner/intelligence.cjs +107 -23
- package/dist/runtime/runner/intelligence.cjs.map +1 -1
- package/dist/runtime/runner/intelligence.d.cts +51 -2
- package/dist/runtime/runner/intelligence.d.cts.map +1 -1
- package/dist/runtime/runner/intelligence.d.mts +51 -2
- package/dist/runtime/runner/intelligence.d.mts.map +1 -1
- package/dist/runtime/runner/intelligence.mjs +108 -25
- package/dist/runtime/runner/intelligence.mjs.map +1 -1
- package/dist/v2/index.cjs +131 -0
- package/dist/v2/index.cjs.map +1 -0
- package/dist/v2/index.d.cts +253 -6
- package/dist/v2/index.d.cts.map +1 -0
- package/dist/v2/index.d.mts +253 -6
- package/dist/v2/index.d.mts.map +1 -0
- package/dist/v2/index.mjs +65 -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 +16 -16
package/dist/v2/index.d.cts
CHANGED
|
@@ -1,8 +1,178 @@
|
|
|
1
|
+
import { experimental_d_exports } from "../runtime/intelligence-platform/experimental.cjs";
|
|
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.cjs";
|
|
3
|
+
import { ThreadAccessMode, ThreadsConfig } from "../runtime/handlers/shared/thread-access.cjs";
|
|
4
|
+
import { CopilotKitRuntimeLogger } from "../runtime/core/logger.cjs";
|
|
5
|
+
import { TranscribeFileOptions, TranscriptionService } from "../runtime/transcription-service/transcription-service.cjs";
|
|
6
|
+
import { IntelligenceAgentRunner, IntelligenceAgentRunnerOptions, RunnerEventDeliveryStats, RunnerEventQueueFullError, RunnerStartupBoundary, STOP_RECORD_DEADLINE_MS } from "../runtime/runner/intelligence.cjs";
|
|
7
|
+
import { GetLearnedSkillsSnapshotRequest, GetLearnedSkillsSnapshotsRequest, LearnedSkillsBatchResult, LearnedSkillsError, LearnedSkillsErrorCode, LearnedSkillsSnapshotResult } from "../runtime/intelligence-platform/learned-skills.cjs";
|
|
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.cjs";
|
|
9
|
+
import { CopilotKitRuntimeLearningConfig, CopilotKitRuntimeLearningContext, CopilotKitRuntimeUser, GetLearningContainerId, GetTrajectoryLearningContainerIds, LearningContainerSelectorInput, TrajectoryLearningContainerSelectorInput } from "../runtime/core/learning.cjs";
|
|
10
|
+
import { CopilotKitIntelligence, CopilotKitIntelligenceConfig, CreateThreadRequest, ListThreadsResponse, PlatformRequestError, SubscribeToThreadsRequest, SubscribeToThreadsResponse, ThreadSummary, UpdateThreadRequest } from "../runtime/intelligence-platform/client.cjs";
|
|
11
|
+
import { BuiltInAgentLearnedSkills, BuiltInAgentLearnedSkillsOptions } from "../agent/learned-skills.cjs";
|
|
12
|
+
import { convertAISDKStream } from "../agent/converters/aisdk.cjs";
|
|
13
|
+
import { TanStackChatMessage, TanStackInputResult, convertInputToTanStackAI, convertTanStackStream } from "../agent/converters/tanstack.cjs";
|
|
14
|
+
import { BuiltInAgent, BuiltInAgentAISDKFactoryConfig, BuiltInAgentClassicConfig, BuiltInAgentConfiguration, BuiltInAgentCustomFactoryConfig, BuiltInAgentFactoryConfig, BuiltInAgentFactoryContext, BuiltInAgentTanStackFactoryConfig, InterruptSignal, OverridableProperty, ToolDefinition, defineTool } from "../agent.cjs";
|
|
15
|
+
import { GenerativeUIMiddleware } from "../runtime/generative-ui/generative-ui-middleware.cjs";
|
|
16
|
+
import { A2UIV09BridgeMiddleware } from "../runtime/generative-ui/a2ui-v09-middleware.cjs";
|
|
17
|
+
import { GenerativeUISurfaceWriter, createSurfaceWriter } from "../runtime/generative-ui/surface-writer.cjs";
|
|
18
|
+
import { ArgsParser, GenerateSandboxedUIParams, OnParamEvent, OpenGenerativeUIMiddleware } from "../runtime/event-transforms/open-generative-ui-middleware.cjs";
|
|
19
|
+
import { RecordedEventTransformOptions, transformRecordedEvents } from "../runtime/event-transforms/recorded-events.cjs";
|
|
20
|
+
import { A2UIMiddleware, A2UIMiddlewareConfig } from "../runtime/event-transforms/index.cjs";
|
|
21
|
+
import { InMemoryAgentRunner, InMemoryAgentRunnerOptions, InMemoryLimits, InMemoryThread, ɵBoundedThreadStore, ɵGLOBAL_STORE, ɵINMEMORY_DEFAULTS, ɵOWNER_RETENTION_DEFAULTS, ɵOwnerRetention, ɵestimateBytes, ɵnormalizeLimits } from "../runtime/runner/in-memory.cjs";
|
|
22
|
+
import { FinalizeRunOptions, RunEventFinalizer, createRunEventFinalizer, finalizeRunEvents } from "../runtime/runner/index.cjs";
|
|
23
|
+
import { RunAgentInThreadOptions, RunAgentInThreadResult, RunAgentInThreadRuntime, ThreadRunError, ThreadRunErrorReason, runAgentInThread } from "../runtime/core/thread-run.cjs";
|
|
24
|
+
import { ChannelStatus, ChannelsControl } from "../runtime/core/channel-manager.cjs";
|
|
25
|
+
import { CopilotKitRuntimeHooks, ErrorHookContext, HandlerHookContext, HookContext, ResponseHookContext, RouteInfo } from "../runtime/core/hooks.cjs";
|
|
26
|
+
import { CopilotKitCorsConfig } from "../runtime/core/fetch-cors.cjs";
|
|
27
|
+
import { CopilotKitRuntimeFetchHandler, CopilotKitRuntimeFetchHandlerWithChannels, CopilotKitRuntimeHandlerOptions, createCopilotKitRuntimeHandler } from "../runtime/core/fetch-handler.cjs";
|
|
28
|
+
import "../index.cjs";
|
|
29
|
+
|
|
30
|
+
//#region src/v2/index.d.ts
|
|
1
31
|
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*
|
|
4
|
-
* @
|
|
32
|
+
* @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
|
|
33
|
+
* name is an alias of it. To move your imports, run
|
|
34
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
5
35
|
*/
|
|
36
|
+
declare const CopilotRuntime: CopilotKitRuntimeConstructor;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use `CopilotKitRuntime` from `@copilotkit/runtime`. This old
|
|
39
|
+
* name is an alias of it. To move your imports, run
|
|
40
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
41
|
+
*/
|
|
42
|
+
type CopilotRuntime = CopilotKitRuntime;
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
|
|
45
|
+
* name is an alias of it. To move your imports, run
|
|
46
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
47
|
+
*/
|
|
48
|
+
declare const CopilotSseRuntime: typeof CopilotKitSseRuntime;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Use `CopilotKitSseRuntime` from `@copilotkit/runtime`. This old
|
|
51
|
+
* name is an alias of it. To move your imports, run
|
|
52
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
53
|
+
*/
|
|
54
|
+
type CopilotSseRuntime = CopilotKitSseRuntime;
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
|
|
57
|
+
* This old name is an alias of it. To move your imports, run
|
|
58
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
59
|
+
*/
|
|
60
|
+
declare const CopilotIntelligenceRuntime: typeof CopilotKitIntelligenceRuntime;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated Use `CopilotKitIntelligenceRuntime` from `@copilotkit/runtime`.
|
|
63
|
+
* This old name is an alias of it. To move your imports, run
|
|
64
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
65
|
+
*/
|
|
66
|
+
type CopilotIntelligenceRuntime = CopilotKitIntelligenceRuntime;
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated Use `createCopilotKitRuntimeHandler` from `@copilotkit/runtime`.
|
|
69
|
+
* This old name is an alias of it. To move your imports, run
|
|
70
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
71
|
+
*/
|
|
72
|
+
declare const createCopilotRuntimeHandler: typeof createCopilotKitRuntimeHandler;
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated Use `CopilotKitRuntimeConstructor` from `@copilotkit/runtime`.
|
|
75
|
+
* This old name is an alias of it. To move your imports, run
|
|
76
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
77
|
+
*/
|
|
78
|
+
type CopilotRuntimeConstructor = CopilotKitRuntimeConstructor;
|
|
79
|
+
/**
|
|
80
|
+
* @deprecated Use `CopilotKitRuntimeOptions` from `@copilotkit/runtime`. This
|
|
81
|
+
* old name is an alias of it. To move your imports, run
|
|
82
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
83
|
+
*/
|
|
84
|
+
type CopilotRuntimeOptions = CopilotKitRuntimeOptions;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated Use `CopilotKitRuntimeLike` from `@copilotkit/runtime`. This old
|
|
87
|
+
* name is an alias of it. To move your imports, run
|
|
88
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
89
|
+
*/
|
|
90
|
+
type CopilotRuntimeLike = CopilotKitRuntimeLike;
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated Use `CopilotKitSseRuntimeOptions` from `@copilotkit/runtime`.
|
|
93
|
+
* This old name is an alias of it. To move your imports, run
|
|
94
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
95
|
+
*/
|
|
96
|
+
type CopilotSseRuntimeOptions = CopilotKitSseRuntimeOptions;
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated Use `CopilotKitSseRuntimeLike` from `@copilotkit/runtime`. This
|
|
99
|
+
* old name is an alias of it. To move your imports, run
|
|
100
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
101
|
+
*/
|
|
102
|
+
type CopilotSseRuntimeLike = CopilotKitSseRuntimeLike;
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated Use `CopilotKitIntelligenceRuntimeOptions` from
|
|
105
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
106
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
107
|
+
*/
|
|
108
|
+
type CopilotIntelligenceRuntimeOptions = CopilotKitIntelligenceRuntimeOptions;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated Use `CopilotKitIntelligenceRuntimeLike` from
|
|
111
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
112
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
113
|
+
*/
|
|
114
|
+
type CopilotIntelligenceRuntimeLike = CopilotKitIntelligenceRuntimeLike;
|
|
115
|
+
/**
|
|
116
|
+
* @deprecated Use `CopilotKitRuntimeMemoryConfig` from `@copilotkit/runtime`.
|
|
117
|
+
* This old name is an alias of it. To move your imports, run
|
|
118
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
119
|
+
*/
|
|
120
|
+
type CopilotRuntimeMemoryConfig = CopilotKitRuntimeMemoryConfig;
|
|
121
|
+
/**
|
|
122
|
+
* @deprecated Use `CopilotKitRuntimeUser` from `@copilotkit/runtime`. This old
|
|
123
|
+
* name is an alias of it. To move your imports, run
|
|
124
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
125
|
+
*/
|
|
126
|
+
type CopilotRuntimeUser = CopilotKitRuntimeUser;
|
|
127
|
+
/**
|
|
128
|
+
* @deprecated Use `CopilotKitRuntimeLearningConfig` from
|
|
129
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
130
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
131
|
+
*/
|
|
132
|
+
type CopilotRuntimeLearningConfig = CopilotKitRuntimeLearningConfig;
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated Use `CopilotKitRuntimeLearningContext` from
|
|
135
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
136
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
137
|
+
*/
|
|
138
|
+
type CopilotRuntimeLearningContext = CopilotKitRuntimeLearningContext;
|
|
139
|
+
/**
|
|
140
|
+
* @deprecated Use `CopilotKitRuntimeLogger` from `@copilotkit/runtime`. This
|
|
141
|
+
* old name is an alias of it. To move your imports, run
|
|
142
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
143
|
+
*/
|
|
144
|
+
type CopilotRuntimeLogger = CopilotKitRuntimeLogger;
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated Use `CopilotKitRuntimeHandlerOptions` from
|
|
147
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
148
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
149
|
+
*/
|
|
150
|
+
type CopilotRuntimeHandlerOptions = CopilotKitRuntimeHandlerOptions;
|
|
151
|
+
/**
|
|
152
|
+
* @deprecated Use `CopilotKitRuntimeFetchHandler` from `@copilotkit/runtime`.
|
|
153
|
+
* This old name is an alias of it. To move your imports, run
|
|
154
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
155
|
+
*/
|
|
156
|
+
type CopilotRuntimeFetchHandler = CopilotKitRuntimeFetchHandler;
|
|
157
|
+
/**
|
|
158
|
+
* @deprecated Use `CopilotKitRuntimeFetchHandlerWithChannels` from
|
|
159
|
+
* `@copilotkit/runtime`. This old name is an alias of it. To move your
|
|
160
|
+
* imports, run `npx codemod @copilotkit/v2-migration`.
|
|
161
|
+
*/
|
|
162
|
+
type CopilotRuntimeFetchHandlerWithChannels = CopilotKitRuntimeFetchHandlerWithChannels;
|
|
163
|
+
/**
|
|
164
|
+
* @deprecated Use `CopilotKitRuntimeHooks` from `@copilotkit/runtime`. This
|
|
165
|
+
* old name is an alias of it. To move your imports, run
|
|
166
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
167
|
+
*/
|
|
168
|
+
type CopilotRuntimeHooks = CopilotKitRuntimeHooks;
|
|
169
|
+
/**
|
|
170
|
+
* @deprecated Use `CopilotKitCorsConfig` from `@copilotkit/runtime`. This old
|
|
171
|
+
* name is an alias of it. To move your imports, run
|
|
172
|
+
* `npx codemod @copilotkit/v2-migration`.
|
|
173
|
+
*/
|
|
174
|
+
type CopilotCorsConfig = CopilotKitCorsConfig;
|
|
175
|
+
//#endregion
|
|
6
176
|
export {
|
|
7
177
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
8
178
|
A2UIMiddleware,
|
|
@@ -30,10 +200,34 @@ export {
|
|
|
30
200
|
AgentsFactory,
|
|
31
201
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
32
202
|
ArgsParser,
|
|
203
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
204
|
+
BuiltInAgent,
|
|
205
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
206
|
+
type BuiltInAgentAISDKFactoryConfig,
|
|
207
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
208
|
+
type BuiltInAgentClassicConfig,
|
|
209
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
210
|
+
type BuiltInAgentConfiguration,
|
|
211
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
212
|
+
type BuiltInAgentCustomFactoryConfig,
|
|
213
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
214
|
+
type BuiltInAgentFactoryConfig,
|
|
215
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
216
|
+
type BuiltInAgentFactoryContext,
|
|
217
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
218
|
+
type BuiltInAgentLearnedSkills,
|
|
219
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
220
|
+
type BuiltInAgentLearnedSkillsOptions,
|
|
221
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
222
|
+
type BuiltInAgentTanStackFactoryConfig,
|
|
33
223
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
34
224
|
ChannelStatus,
|
|
35
225
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
36
226
|
ChannelsControl,
|
|
227
|
+
CopilotCorsConfig,
|
|
228
|
+
CopilotIntelligenceRuntime,
|
|
229
|
+
CopilotIntelligenceRuntimeLike,
|
|
230
|
+
CopilotIntelligenceRuntimeOptions,
|
|
37
231
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
38
232
|
CopilotKitCorsConfig,
|
|
39
233
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -78,6 +272,22 @@ export {
|
|
|
78
272
|
CopilotKitSseRuntimeLike,
|
|
79
273
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
80
274
|
CopilotKitSseRuntimeOptions,
|
|
275
|
+
CopilotRuntime,
|
|
276
|
+
CopilotRuntimeConstructor,
|
|
277
|
+
CopilotRuntimeFetchHandler,
|
|
278
|
+
CopilotRuntimeFetchHandlerWithChannels,
|
|
279
|
+
CopilotRuntimeHandlerOptions,
|
|
280
|
+
CopilotRuntimeHooks,
|
|
281
|
+
CopilotRuntimeLearningConfig,
|
|
282
|
+
CopilotRuntimeLearningContext,
|
|
283
|
+
CopilotRuntimeLike,
|
|
284
|
+
CopilotRuntimeLogger,
|
|
285
|
+
CopilotRuntimeMemoryConfig,
|
|
286
|
+
CopilotRuntimeOptions,
|
|
287
|
+
CopilotRuntimeUser,
|
|
288
|
+
CopilotSseRuntime,
|
|
289
|
+
CopilotSseRuntimeLike,
|
|
290
|
+
CopilotSseRuntimeOptions,
|
|
81
291
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
82
292
|
CreateThreadRequest,
|
|
83
293
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -118,6 +328,8 @@ export {
|
|
|
118
328
|
IntelligenceAgentRunner,
|
|
119
329
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
120
330
|
IntelligenceAgentRunnerOptions,
|
|
331
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
332
|
+
InterruptSignal,
|
|
121
333
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
122
334
|
LearnedSkillsBatchResult,
|
|
123
335
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -154,6 +366,8 @@ export {
|
|
|
154
366
|
OpenGenerativeUIMiddleware,
|
|
155
367
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
156
368
|
OpenGenerativeUIOptions,
|
|
369
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
370
|
+
type OverridableProperty,
|
|
157
371
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
158
372
|
PlatformRequestError,
|
|
159
373
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -163,8 +377,18 @@ export {
|
|
|
163
377
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
164
378
|
RouteInfo,
|
|
165
379
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
380
|
+
RunAgentInThreadOptions,
|
|
381
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
382
|
+
RunAgentInThreadResult,
|
|
383
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
384
|
+
RunAgentInThreadRuntime,
|
|
385
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
166
386
|
RunEventFinalizer,
|
|
167
387
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
388
|
+
RunnerEventDeliveryStats,
|
|
389
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
390
|
+
RunnerEventQueueFullError,
|
|
391
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
168
392
|
RunnerStartupBoundary,
|
|
169
393
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
170
394
|
RuntimeWithDeclaredChannels,
|
|
@@ -176,6 +400,10 @@ export {
|
|
|
176
400
|
SubscribeToThreadsResponse,
|
|
177
401
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
178
402
|
THREAD_ACCESS_DENIED_ERROR_CODE,
|
|
403
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
404
|
+
type TanStackChatMessage,
|
|
405
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
406
|
+
type TanStackInputResult,
|
|
179
407
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
180
408
|
ThreadAccessDeniedError,
|
|
181
409
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -183,11 +411,19 @@ export {
|
|
|
183
411
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
184
412
|
ThreadAlreadyRunningError,
|
|
185
413
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
414
|
+
ThreadNameGenerationConfig,
|
|
415
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
186
416
|
ThreadOwnershipRunner,
|
|
187
417
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
418
|
+
ThreadRunError,
|
|
419
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
420
|
+
ThreadRunErrorReason,
|
|
421
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
188
422
|
ThreadSummary,
|
|
189
423
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
190
424
|
ThreadsConfig,
|
|
425
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
426
|
+
type ToolDefinition,
|
|
191
427
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
192
428
|
TrajectoryLearningContainerSelectorInput,
|
|
193
429
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -198,16 +434,25 @@ export {
|
|
|
198
434
|
UpdateThreadRequest,
|
|
199
435
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
200
436
|
VERSION,
|
|
437
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
438
|
+
convertAISDKStream,
|
|
439
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
440
|
+
convertInputToTanStackAI,
|
|
441
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
442
|
+
convertTanStackStream,
|
|
201
443
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
202
444
|
createCopilotKitRuntimeHandler,
|
|
445
|
+
createCopilotRuntimeHandler,
|
|
203
446
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
204
447
|
createRunEventFinalizer,
|
|
205
448
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
206
449
|
createSurfaceWriter,
|
|
450
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime/agent". */
|
|
451
|
+
defineTool,
|
|
207
452
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
208
453
|
enforcesThreadOwnership,
|
|
209
454
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
210
|
-
experimental,
|
|
455
|
+
experimental_d_exports as experimental,
|
|
211
456
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
212
457
|
finalizeRunEvents,
|
|
213
458
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
@@ -217,6 +462,8 @@ export {
|
|
|
217
462
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
218
463
|
resolveAgents,
|
|
219
464
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
465
|
+
runAgentInThread,
|
|
466
|
+
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
220
467
|
supportsLocalThreadEndpoints,
|
|
221
468
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
222
469
|
transformRecordedEvents,
|
|
@@ -238,5 +485,5 @@ export {
|
|
|
238
485
|
ɵnormalizeLimits,
|
|
239
486
|
/** @deprecated "@copilotkit/runtime/v2" is deprecated. Import from "@copilotkit/runtime". */
|
|
240
487
|
ɵresolveThreadOwner,
|
|
241
|
-
}
|
|
242
|
-
|
|
488
|
+
};
|
|
489
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;;;;;AAAA,cAOa,0BAAA,SAA0B,6BAAA;;;;;AAMvC;KAAY,0BAAA,GAA6B,6BAAA;;;;AAOzC;;cAAa,2BAAA,SAA2B,8BAAA;;;AAOxC;;;KAAY,yBAAA,GAA4B,4BAAA;;AAMxC;;;;KAAY,qBAAA,GAAwB,wBAAA;AAMpC;;;;;AAAA,KAAY,kBAAA,GAAqB,qBAAA;;;;;AAYjC;KANY,wBAAA,GAA2B,2BAAA;;;;AAYvC;;KANY,qBAAA,GAAwB,wBAAA;;;AAapC;;;KAPY,iCAAA,GACV,oCAAA;;AAYF;;;;KANY,8BAAA,GAAiC,iCAAA;AAY7C;;;;;AAAA,KANY,0BAAA,GAA6B,6BAAA;;;;;AAkBzC;KAZY,kBAAA,GAAqB,qBAAA;;;;AAkBjC;;KAZY,4BAAA,GAA+B,+BAAA;;;AAkB3C;;;KAZY,6BAAA,GAAgC,gCAAA;;AAkB5C;;;;KAZY,oBAAA,GAAuB,uBAAA;AAkBnC;;;;;AAAA,KAZY,4BAAA,GAA+B,+BAAA;;;;;AAyB3C;KAnBY,0BAAA,GAA6B,6BAAA;;;;;;KAM7B,sCAAA,GACV,yCAAA;;;;;;KAMU,mBAAA,GAAsB,sBAAA;;;;;;KAMtB,iBAAA,GAAoB,oBAAA"}
|