@copilotkit/react-core 1.73.0 → 1.73.2-canary.1790068297
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/{copilotkit-BGQqqxCI.d.cts → copilotkit-C7c_w9iV.d.cts} +83 -4
- package/dist/copilotkit-C7c_w9iV.d.cts.map +1 -0
- package/dist/{copilotkit-D_gK4yKD.d.mts → copilotkit-CfyJ1-Nx.d.mts} +83 -4
- package/dist/copilotkit-CfyJ1-Nx.d.mts.map +1 -0
- package/dist/{copilotkit-BkeaNR3A.mjs → copilotkit-CwVE-0JG.mjs} +127 -23
- package/dist/copilotkit-CwVE-0JG.mjs.map +1 -0
- package/dist/{copilotkit-tkBlMrXl.cjs → copilotkit-D_c2dJ9t.cjs} +129 -19
- package/dist/copilotkit-D_c2dJ9t.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +7 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +101 -2
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.d.cts +53 -1
- package/dist/v2/headless.d.cts.map +1 -1
- package/dist/v2/headless.d.mts +53 -1
- package/dist/v2/headless.d.mts.map +1 -1
- package/dist/v2/headless.mjs +101 -3
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +1285 -55
- package/dist/v2/index.d.cts +2 -4
- package/dist/v2/index.d.mts +2 -4
- package/dist/v2/index.mjs +2 -6
- package/dist/v2/index.umd.js +1384 -51
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +13 -12
- package/dist/copilotkit-BGQqqxCI.d.cts.map +0 -1
- package/dist/copilotkit-BkeaNR3A.mjs.map +0 -1
- package/dist/copilotkit-D_gK4yKD.d.mts.map +0 -1
- package/dist/copilotkit-tkBlMrXl.cjs.map +0 -1
package/dist/v2/index.umd.js
CHANGED
|
@@ -3407,7 +3407,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3407
3407
|
}, [value, warningMessage]);
|
|
3408
3408
|
return value;
|
|
3409
3409
|
}
|
|
3410
|
-
const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, publicApiKey, publicLicenseKey, licenseToken, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, useSingleEndpoint, onError, a2ui, defaultThrottleMs, debug }) => {
|
|
3410
|
+
const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, messageFilter, publicApiKey, publicLicenseKey, licenseToken, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, useSingleEndpoint, onError, a2ui, defaultThrottleMs, debug }) => {
|
|
3411
3411
|
const [shouldRenderInspector, setShouldRenderInspector] = (0, react.useState)(false);
|
|
3412
3412
|
const [inspectorVisible, setInspectorVisible] = (0, react.useState)(false);
|
|
3413
3413
|
(0, react.useEffect)(() => {
|
|
@@ -3528,6 +3528,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3528
3528
|
const processedRenderToolCalls = [];
|
|
3529
3529
|
humanInTheLoopList.forEach((tool) => {
|
|
3530
3530
|
const frontendTool = {
|
|
3531
|
+
type: "human-in-the-loop",
|
|
3531
3532
|
name: tool.name,
|
|
3532
3533
|
description: tool.description,
|
|
3533
3534
|
parameters: tool.parameters,
|
|
@@ -3634,6 +3635,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3634
3635
|
runtimeTransport: useSingleEndpoint === true ? "single" : useSingleEndpoint === false ? "rest" : "auto",
|
|
3635
3636
|
headers: mergedHeaders,
|
|
3636
3637
|
credentials,
|
|
3638
|
+
messageFilter,
|
|
3637
3639
|
properties,
|
|
3638
3640
|
agents__unsafe_dev_only: mergedAgents,
|
|
3639
3641
|
tools: allTools,
|
|
@@ -3719,6 +3721,9 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3719
3721
|
subscription.unsubscribe();
|
|
3720
3722
|
};
|
|
3721
3723
|
}, [copilotkit]);
|
|
3724
|
+
(0, react.useEffect)(() => {
|
|
3725
|
+
copilotkit.setMessageFilter(messageFilter);
|
|
3726
|
+
}, [copilotkit, messageFilter]);
|
|
3722
3727
|
(0, react.useEffect)(() => {
|
|
3723
3728
|
copilotkit.setRuntimeUrl(chatApiEndpoint);
|
|
3724
3729
|
copilotkit.setRuntimeTransport(useSingleEndpoint === true ? "single" : useSingleEndpoint === false ? "rest" : "auto");
|
|
@@ -3948,10 +3953,10 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3948
3953
|
|
|
3949
3954
|
//#endregion
|
|
3950
3955
|
//#region src/v2/hooks/use-frontend-tool.tsx
|
|
3951
|
-
const EMPTY_DEPS$
|
|
3956
|
+
const EMPTY_DEPS$2 = [];
|
|
3952
3957
|
function useFrontendTool(tool, deps) {
|
|
3953
3958
|
const { copilotkit } = useCopilotKit();
|
|
3954
|
-
const extraDeps = deps ?? EMPTY_DEPS$
|
|
3959
|
+
const extraDeps = deps ?? EMPTY_DEPS$2;
|
|
3955
3960
|
(0, react.useLayoutEffect)(() => {
|
|
3956
3961
|
const name = tool.name;
|
|
3957
3962
|
if (copilotkit.getTool({
|
|
@@ -3980,6 +3985,103 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
3980
3985
|
]);
|
|
3981
3986
|
}
|
|
3982
3987
|
|
|
3988
|
+
//#endregion
|
|
3989
|
+
//#region src/v2/hooks/use-frontend-tools.tsx
|
|
3990
|
+
const EMPTY_DEPS$1 = [];
|
|
3991
|
+
const EMPTY_TOOLS = [];
|
|
3992
|
+
/**
|
|
3993
|
+
* Register a list of frontend tools whose length can change between renders.
|
|
3994
|
+
*
|
|
3995
|
+
* `useFrontendTool` registers exactly one tool per call, so it cannot be called
|
|
3996
|
+
* in a loop over a runtime-length list without breaking the rules of hooks.
|
|
3997
|
+
* This hook runs a single effect over the whole array instead, which makes it
|
|
3998
|
+
* safe to build the list from state, props, or a server response.
|
|
3999
|
+
*
|
|
4000
|
+
* Tools are keyed by `name` plus `agentId`, the same as `useFrontendTool`. A
|
|
4001
|
+
* tool that disappears from the array is unregistered on the next render, and
|
|
4002
|
+
* every tool is unregistered on unmount. Renderers stay registered after
|
|
4003
|
+
* unmount so past tool calls still render in the chat history.
|
|
4004
|
+
*
|
|
4005
|
+
* @param tools - The tools to register. May be empty and may change length.
|
|
4006
|
+
* @param deps - Extra dependencies that force re-registration, compared by
|
|
4007
|
+
* identity like the second argument of `useEffect`. Use this when a handler
|
|
4008
|
+
* closes over a value that is not part of the tool definition. Keep the array
|
|
4009
|
+
* a constant length across renders.
|
|
4010
|
+
*
|
|
4011
|
+
* @example
|
|
4012
|
+
* Register one tool per item in application state:
|
|
4013
|
+
* ```tsx
|
|
4014
|
+
* const [reports, setReports] = useState<Report[]>([]);
|
|
4015
|
+
*
|
|
4016
|
+
* useFrontendTools(
|
|
4017
|
+
* reports.map((report) => ({
|
|
4018
|
+
* name: `open_${report.id}`,
|
|
4019
|
+
* description: `Open the ${report.title} report`,
|
|
4020
|
+
* handler: async () => navigate(`/reports/${report.id}`),
|
|
4021
|
+
* })),
|
|
4022
|
+
* [navigate],
|
|
4023
|
+
* );
|
|
4024
|
+
* ```
|
|
4025
|
+
*
|
|
4026
|
+
* @example
|
|
4027
|
+
* Register tools described by the backend:
|
|
4028
|
+
* ```tsx
|
|
4029
|
+
* const { data } = useQuery(fetchToolDescriptors);
|
|
4030
|
+
*
|
|
4031
|
+
* useFrontendTools(
|
|
4032
|
+
* (data ?? []).map((descriptor) => ({
|
|
4033
|
+
* name: descriptor.name,
|
|
4034
|
+
* description: descriptor.description,
|
|
4035
|
+
* parameters: z.object({ query: z.string() }),
|
|
4036
|
+
* handler: async ({ query }) => runDescriptor(descriptor.id, query),
|
|
4037
|
+
* })),
|
|
4038
|
+
* );
|
|
4039
|
+
* ```
|
|
4040
|
+
*/
|
|
4041
|
+
function useFrontendTools(tools, deps) {
|
|
4042
|
+
const { copilotkit } = useCopilotKit();
|
|
4043
|
+
const toolList = tools ?? EMPTY_TOOLS;
|
|
4044
|
+
const extraDeps = deps ?? EMPTY_DEPS$1;
|
|
4045
|
+
(0, react.useLayoutEffect)(() => {
|
|
4046
|
+
const deduped = /* @__PURE__ */ new Map();
|
|
4047
|
+
for (const tool of toolList) {
|
|
4048
|
+
const key = `${tool.agentId ?? ""}:${tool.name}`;
|
|
4049
|
+
if (deduped.has(key)) console.warn(`Tool '${tool.name}' is listed more than once for agent '${tool.agentId || "global"}' in the same useFrontendTools call. Using the last entry.`);
|
|
4050
|
+
deduped.set(key, tool);
|
|
4051
|
+
}
|
|
4052
|
+
const registered = [...deduped.values()];
|
|
4053
|
+
for (const tool of registered) {
|
|
4054
|
+
if (copilotkit.getTool({
|
|
4055
|
+
toolName: tool.name,
|
|
4056
|
+
agentId: tool.agentId
|
|
4057
|
+
})) {
|
|
4058
|
+
console.warn(`Tool '${tool.name}' already exists for agent '${tool.agentId || "global"}'. Overriding with latest registration.`);
|
|
4059
|
+
copilotkit.removeTool(tool.name, tool.agentId);
|
|
4060
|
+
}
|
|
4061
|
+
copilotkit.addTool(tool);
|
|
4062
|
+
if (tool.render) copilotkit.addHookRenderToolCall({
|
|
4063
|
+
name: tool.name,
|
|
4064
|
+
args: tool.parameters,
|
|
4065
|
+
agentId: tool.agentId,
|
|
4066
|
+
render: tool.render
|
|
4067
|
+
});
|
|
4068
|
+
}
|
|
4069
|
+
return () => {
|
|
4070
|
+
for (const tool of registered) copilotkit.removeTool(tool.name, tool.agentId);
|
|
4071
|
+
};
|
|
4072
|
+
}, [
|
|
4073
|
+
JSON.stringify(toolList.map((tool) => [
|
|
4074
|
+
tool.name,
|
|
4075
|
+
tool.description ?? null,
|
|
4076
|
+
tool.agentId ?? null,
|
|
4077
|
+
tool.available ?? null,
|
|
4078
|
+
tool.webmcp ?? null
|
|
4079
|
+
])),
|
|
4080
|
+
copilotkit,
|
|
4081
|
+
...extraDeps
|
|
4082
|
+
]);
|
|
4083
|
+
}
|
|
4084
|
+
|
|
3983
4085
|
//#endregion
|
|
3984
4086
|
//#region src/v2/hooks/use-component.tsx
|
|
3985
4087
|
/**
|
|
@@ -4396,6 +4498,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
4396
4498
|
]);
|
|
4397
4499
|
useFrontendTool({
|
|
4398
4500
|
...tool,
|
|
4501
|
+
type: "human-in-the-loop",
|
|
4399
4502
|
handler,
|
|
4400
4503
|
render: RenderComponent
|
|
4401
4504
|
}, deps);
|
|
@@ -7541,6 +7644,13 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
7541
7644
|
return copilotkit.getStateByRun(config.agentId, config.threadId, resolvedRunId);
|
|
7542
7645
|
};
|
|
7543
7646
|
const deduplicatedMessages = (0, react.useMemo)(() => deduplicateMessages(messages), [messages]);
|
|
7647
|
+
const rowKeyStoreRef = (0, react.useRef)(null);
|
|
7648
|
+
rowKeyStoreRef.current ?? (rowKeyStoreRef.current = (0, _copilotkit_shared.createRowKeyStore)());
|
|
7649
|
+
const rowKeyStore = rowKeyStoreRef.current;
|
|
7650
|
+
const rowRenderKeys = (0, react.useMemo)(() => (0, _copilotkit_shared.resolveRowRenderKeysById)(rowKeyStore, deduplicatedMessages), [rowKeyStore, deduplicatedMessages]);
|
|
7651
|
+
(0, react.useLayoutEffect)(() => {
|
|
7652
|
+
(0, _copilotkit_shared.commitRowKeyStore)(rowKeyStore, deduplicatedMessages);
|
|
7653
|
+
}, [rowKeyStore, deduplicatedMessages]);
|
|
7544
7654
|
if (process.env.NODE_ENV === "development" && deduplicatedMessages.length < messages.length) console.warn(`CopilotChatMessageView: Merged ${messages.length - deduplicatedMessages.length} message(s) with duplicate IDs.`);
|
|
7545
7655
|
const { Component: AssistantComponent, slotProps: assistantSlotProps } = (0, react.useMemo)(() => resolveSlotComponent(assistantMessage, CopilotChatAssistantMessage_default), [assistantMessage]);
|
|
7546
7656
|
const agentId = config?.agentId;
|
|
@@ -7595,41 +7705,42 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
7595
7705
|
const renderMessageBlock = (message) => {
|
|
7596
7706
|
const elements = [];
|
|
7597
7707
|
const stateSnapshot = getStateSnapshotForMessage(message.id);
|
|
7708
|
+
const rowKey = rowRenderKeys.get(message.id) ?? message.id;
|
|
7598
7709
|
if (renderCustomMessage) elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedCustomMessage, {
|
|
7599
7710
|
message,
|
|
7600
7711
|
position: "before",
|
|
7601
7712
|
renderCustomMessage,
|
|
7602
7713
|
stateSnapshot
|
|
7603
|
-
}, `${
|
|
7714
|
+
}, `${rowKey}-custom-before`));
|
|
7604
7715
|
if (message.role === "assistant") elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedAssistantMessage, {
|
|
7605
7716
|
message,
|
|
7606
7717
|
messages,
|
|
7607
7718
|
isRunning,
|
|
7608
7719
|
AssistantMessageComponent: AssistantComponent,
|
|
7609
7720
|
slotProps: assistantSlotPropsWithFeedback
|
|
7610
|
-
},
|
|
7721
|
+
}, rowKey));
|
|
7611
7722
|
else if (message.role === "user") elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedUserMessage, {
|
|
7612
7723
|
message,
|
|
7613
7724
|
UserMessageComponent: UserComponent,
|
|
7614
7725
|
slotProps: userSlotProps
|
|
7615
|
-
},
|
|
7726
|
+
}, rowKey));
|
|
7616
7727
|
else if (message.role === "activity") elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedActivityMessage, {
|
|
7617
7728
|
message,
|
|
7618
7729
|
renderActivityMessage
|
|
7619
|
-
},
|
|
7730
|
+
}, rowKey));
|
|
7620
7731
|
else if (message.role === "reasoning") elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedReasoningMessage, {
|
|
7621
7732
|
message,
|
|
7622
7733
|
messages,
|
|
7623
7734
|
isRunning,
|
|
7624
7735
|
ReasoningMessageComponent: ReasoningComponent,
|
|
7625
7736
|
slotProps: reasoningSlotProps
|
|
7626
|
-
},
|
|
7737
|
+
}, rowKey));
|
|
7627
7738
|
if (renderCustomMessage) elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MemoizedCustomMessage, {
|
|
7628
7739
|
message,
|
|
7629
7740
|
position: "after",
|
|
7630
7741
|
renderCustomMessage,
|
|
7631
7742
|
stateSnapshot
|
|
7632
|
-
}, `${
|
|
7743
|
+
}, `${rowKey}-custom-after`));
|
|
7633
7744
|
const intelligenceTurnId = intelligenceTurnAnchors.get(message.id);
|
|
7634
7745
|
if (intelligenceTurnId !== void 0) elements.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IntelligenceIndicator, {
|
|
7635
7746
|
message,
|
|
@@ -7675,7 +7786,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
7675
7786
|
transform: `translateY(${virtualItem.start}px)`
|
|
7676
7787
|
},
|
|
7677
7788
|
children: renderMessageBlock(message)
|
|
7678
|
-
}, message.id);
|
|
7789
|
+
}, rowRenderKeys.get(message.id) ?? message.id);
|
|
7679
7790
|
})
|
|
7680
7791
|
}) : messageElements,
|
|
7681
7792
|
interruptElement,
|
|
@@ -8988,14 +9099,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
8988
9099
|
type: "text",
|
|
8989
9100
|
text: value
|
|
8990
9101
|
});
|
|
8991
|
-
for (const att of readyAttachments) contentParts.push(
|
|
8992
|
-
type: att.type,
|
|
8993
|
-
source: att.source,
|
|
8994
|
-
metadata: {
|
|
8995
|
-
...att.filename ? { filename: att.filename } : {},
|
|
8996
|
-
...att.metadata
|
|
8997
|
-
}
|
|
8998
|
-
});
|
|
9102
|
+
for (const att of readyAttachments) contentParts.push((0, _copilotkit_shared.createAttachmentContent)(att));
|
|
8999
9103
|
agent.addMessage({
|
|
9000
9104
|
id: (0, _copilotkit_shared.randomUUID)(),
|
|
9001
9105
|
role: "user",
|
|
@@ -12303,7 +12407,139 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
12303
12407
|
}
|
|
12304
12408
|
|
|
12305
12409
|
//#endregion
|
|
12410
|
+
Object.defineProperty(exports, 'AGUIConnectNotImplementedError', {
|
|
12411
|
+
enumerable: true,
|
|
12412
|
+
get: function () {
|
|
12413
|
+
return _ag_ui_client.AGUIConnectNotImplementedError;
|
|
12414
|
+
}
|
|
12415
|
+
});
|
|
12416
|
+
Object.defineProperty(exports, 'AGUIError', {
|
|
12417
|
+
enumerable: true,
|
|
12418
|
+
get: function () {
|
|
12419
|
+
return _ag_ui_client.AGUIError;
|
|
12420
|
+
}
|
|
12421
|
+
});
|
|
12422
|
+
Object.defineProperty(exports, 'AGUI_METADATA_KEY', {
|
|
12423
|
+
enumerable: true,
|
|
12424
|
+
get: function () {
|
|
12425
|
+
return _ag_ui_client.AGUI_METADATA_KEY;
|
|
12426
|
+
}
|
|
12427
|
+
});
|
|
12428
|
+
Object.defineProperty(exports, 'AbstractAgent', {
|
|
12429
|
+
enumerable: true,
|
|
12430
|
+
get: function () {
|
|
12431
|
+
return _ag_ui_client.AbstractAgent;
|
|
12432
|
+
}
|
|
12433
|
+
});
|
|
12434
|
+
Object.defineProperty(exports, 'ActivityDeltaEventSchema', {
|
|
12435
|
+
enumerable: true,
|
|
12436
|
+
get: function () {
|
|
12437
|
+
return _ag_ui_client.ActivityDeltaEventSchema;
|
|
12438
|
+
}
|
|
12439
|
+
});
|
|
12440
|
+
Object.defineProperty(exports, 'ActivityMessageSchema', {
|
|
12441
|
+
enumerable: true,
|
|
12442
|
+
get: function () {
|
|
12443
|
+
return _ag_ui_client.ActivityMessageSchema;
|
|
12444
|
+
}
|
|
12445
|
+
});
|
|
12446
|
+
Object.defineProperty(exports, 'ActivitySnapshotEventSchema', {
|
|
12447
|
+
enumerable: true,
|
|
12448
|
+
get: function () {
|
|
12449
|
+
return _ag_ui_client.ActivitySnapshotEventSchema;
|
|
12450
|
+
}
|
|
12451
|
+
});
|
|
12452
|
+
Object.defineProperty(exports, 'AgentCapabilitiesSchema', {
|
|
12453
|
+
enumerable: true,
|
|
12454
|
+
get: function () {
|
|
12455
|
+
return _ag_ui_client.AgentCapabilitiesSchema;
|
|
12456
|
+
}
|
|
12457
|
+
});
|
|
12458
|
+
Object.defineProperty(exports, 'AgentRegistry', {
|
|
12459
|
+
enumerable: true,
|
|
12460
|
+
get: function () {
|
|
12461
|
+
return _copilotkit_core.AgentRegistry;
|
|
12462
|
+
}
|
|
12463
|
+
});
|
|
12464
|
+
Object.defineProperty(exports, 'AgentThreadLockedError', {
|
|
12465
|
+
enumerable: true,
|
|
12466
|
+
get: function () {
|
|
12467
|
+
return _copilotkit_core.AgentThreadLockedError;
|
|
12468
|
+
}
|
|
12469
|
+
});
|
|
12470
|
+
Object.defineProperty(exports, 'AssistantMessageSchema', {
|
|
12471
|
+
enumerable: true,
|
|
12472
|
+
get: function () {
|
|
12473
|
+
return _ag_ui_client.AssistantMessageSchema;
|
|
12474
|
+
}
|
|
12475
|
+
});
|
|
12476
|
+
Object.defineProperty(exports, 'AudioInputContentSchema', {
|
|
12477
|
+
enumerable: true,
|
|
12478
|
+
get: function () {
|
|
12479
|
+
return _ag_ui_client.AudioInputContentSchema;
|
|
12480
|
+
}
|
|
12481
|
+
});
|
|
12482
|
+
Object.defineProperty(exports, 'AudioInputPartSchema', {
|
|
12483
|
+
enumerable: true,
|
|
12484
|
+
get: function () {
|
|
12485
|
+
return _ag_ui_client.AudioInputPartSchema;
|
|
12486
|
+
}
|
|
12487
|
+
});
|
|
12306
12488
|
exports.AudioRecorderError = AudioRecorderError;
|
|
12489
|
+
Object.defineProperty(exports, 'BackwardCompatibility_0_0_39', {
|
|
12490
|
+
enumerable: true,
|
|
12491
|
+
get: function () {
|
|
12492
|
+
return _ag_ui_client.BackwardCompatibility_0_0_39;
|
|
12493
|
+
}
|
|
12494
|
+
});
|
|
12495
|
+
Object.defineProperty(exports, 'BackwardCompatibility_0_0_45', {
|
|
12496
|
+
enumerable: true,
|
|
12497
|
+
get: function () {
|
|
12498
|
+
return _ag_ui_client.BackwardCompatibility_0_0_45;
|
|
12499
|
+
}
|
|
12500
|
+
});
|
|
12501
|
+
Object.defineProperty(exports, 'BackwardCompatibility_0_0_47', {
|
|
12502
|
+
enumerable: true,
|
|
12503
|
+
get: function () {
|
|
12504
|
+
return _ag_ui_client.BackwardCompatibility_0_0_47;
|
|
12505
|
+
}
|
|
12506
|
+
});
|
|
12507
|
+
Object.defineProperty(exports, 'BackwardCompatibility_0_0_57', {
|
|
12508
|
+
enumerable: true,
|
|
12509
|
+
get: function () {
|
|
12510
|
+
return _ag_ui_client.BackwardCompatibility_0_0_57;
|
|
12511
|
+
}
|
|
12512
|
+
});
|
|
12513
|
+
Object.defineProperty(exports, 'BaseEventSchema', {
|
|
12514
|
+
enumerable: true,
|
|
12515
|
+
get: function () {
|
|
12516
|
+
return _ag_ui_client.BaseEventSchema;
|
|
12517
|
+
}
|
|
12518
|
+
});
|
|
12519
|
+
Object.defineProperty(exports, 'BaseMessageSchema', {
|
|
12520
|
+
enumerable: true,
|
|
12521
|
+
get: function () {
|
|
12522
|
+
return _ag_ui_client.BaseMessageSchema;
|
|
12523
|
+
}
|
|
12524
|
+
});
|
|
12525
|
+
Object.defineProperty(exports, 'BinaryInputContentSchema', {
|
|
12526
|
+
enumerable: true,
|
|
12527
|
+
get: function () {
|
|
12528
|
+
return _ag_ui_client.BinaryInputContentSchema;
|
|
12529
|
+
}
|
|
12530
|
+
});
|
|
12531
|
+
Object.defineProperty(exports, 'ContextSchema', {
|
|
12532
|
+
enumerable: true,
|
|
12533
|
+
get: function () {
|
|
12534
|
+
return _ag_ui_client.ContextSchema;
|
|
12535
|
+
}
|
|
12536
|
+
});
|
|
12537
|
+
Object.defineProperty(exports, 'ContextStore', {
|
|
12538
|
+
enumerable: true,
|
|
12539
|
+
get: function () {
|
|
12540
|
+
return _copilotkit_core.ContextStore;
|
|
12541
|
+
}
|
|
12542
|
+
});
|
|
12307
12543
|
Object.defineProperty(exports, 'CopilotChat', {
|
|
12308
12544
|
enumerable: true,
|
|
12309
12545
|
get: function () {
|
|
@@ -12327,7 +12563,25 @@ exports.CopilotChatToolCallsView = CopilotChatToolCallsView;
|
|
|
12327
12563
|
exports.CopilotChatUserMessage = CopilotChatUserMessage_default;
|
|
12328
12564
|
exports.CopilotChatView = CopilotChatView_default;
|
|
12329
12565
|
exports.CopilotKit = CopilotKit;
|
|
12566
|
+
Object.defineProperty(exports, 'CopilotKitCore', {
|
|
12567
|
+
enumerable: true,
|
|
12568
|
+
get: function () {
|
|
12569
|
+
return _copilotkit_core.CopilotKitCore;
|
|
12570
|
+
}
|
|
12571
|
+
});
|
|
12572
|
+
Object.defineProperty(exports, 'CopilotKitCoreErrorCode', {
|
|
12573
|
+
enumerable: true,
|
|
12574
|
+
get: function () {
|
|
12575
|
+
return _copilotkit_core.CopilotKitCoreErrorCode;
|
|
12576
|
+
}
|
|
12577
|
+
});
|
|
12330
12578
|
exports.CopilotKitCoreReact = CopilotKitCoreReact;
|
|
12579
|
+
Object.defineProperty(exports, 'CopilotKitCoreRuntimeConnectionStatus', {
|
|
12580
|
+
enumerable: true,
|
|
12581
|
+
get: function () {
|
|
12582
|
+
return _copilotkit_core.CopilotKitCoreRuntimeConnectionStatus;
|
|
12583
|
+
}
|
|
12584
|
+
});
|
|
12331
12585
|
exports.CopilotKitInspector = CopilotKitInspector;
|
|
12332
12586
|
exports.CopilotKitProvider = CopilotKitProvider;
|
|
12333
12587
|
Object.defineProperty(exports, 'CopilotModalHeader', {
|
|
@@ -12351,11 +12605,149 @@ Object.defineProperty(exports, 'CopilotSidebarView', {
|
|
|
12351
12605
|
}
|
|
12352
12606
|
});
|
|
12353
12607
|
exports.CopilotThreadsDrawer = CopilotThreadsDrawer;
|
|
12608
|
+
Object.defineProperty(exports, 'CustomEventSchema', {
|
|
12609
|
+
enumerable: true,
|
|
12610
|
+
get: function () {
|
|
12611
|
+
return _ag_ui_client.CustomEventSchema;
|
|
12612
|
+
}
|
|
12613
|
+
});
|
|
12614
|
+
Object.defineProperty(exports, 'DebugLogger', {
|
|
12615
|
+
enumerable: true,
|
|
12616
|
+
get: function () {
|
|
12617
|
+
return _ag_ui_client.DebugLogger;
|
|
12618
|
+
}
|
|
12619
|
+
});
|
|
12620
|
+
Object.defineProperty(exports, 'DeveloperMessageSchema', {
|
|
12621
|
+
enumerable: true,
|
|
12622
|
+
get: function () {
|
|
12623
|
+
return _ag_ui_client.DeveloperMessageSchema;
|
|
12624
|
+
}
|
|
12625
|
+
});
|
|
12626
|
+
Object.defineProperty(exports, 'DocumentInputContentSchema', {
|
|
12627
|
+
enumerable: true,
|
|
12628
|
+
get: function () {
|
|
12629
|
+
return _ag_ui_client.DocumentInputContentSchema;
|
|
12630
|
+
}
|
|
12631
|
+
});
|
|
12632
|
+
Object.defineProperty(exports, 'DocumentInputPartSchema', {
|
|
12633
|
+
enumerable: true,
|
|
12634
|
+
get: function () {
|
|
12635
|
+
return _ag_ui_client.DocumentInputPartSchema;
|
|
12636
|
+
}
|
|
12637
|
+
});
|
|
12638
|
+
Object.defineProperty(exports, 'EventSchemas', {
|
|
12639
|
+
enumerable: true,
|
|
12640
|
+
get: function () {
|
|
12641
|
+
return _ag_ui_client.EventSchemas;
|
|
12642
|
+
}
|
|
12643
|
+
});
|
|
12644
|
+
Object.defineProperty(exports, 'EventType', {
|
|
12645
|
+
enumerable: true,
|
|
12646
|
+
get: function () {
|
|
12647
|
+
return _ag_ui_client.EventType;
|
|
12648
|
+
}
|
|
12649
|
+
});
|
|
12650
|
+
Object.defineProperty(exports, 'ExecutionCapabilitiesSchema', {
|
|
12651
|
+
enumerable: true,
|
|
12652
|
+
get: function () {
|
|
12653
|
+
return _ag_ui_client.ExecutionCapabilitiesSchema;
|
|
12654
|
+
}
|
|
12655
|
+
});
|
|
12656
|
+
Object.defineProperty(exports, 'FilterToolCallsMiddleware', {
|
|
12657
|
+
enumerable: true,
|
|
12658
|
+
get: function () {
|
|
12659
|
+
return _ag_ui_client.FilterToolCallsMiddleware;
|
|
12660
|
+
}
|
|
12661
|
+
});
|
|
12662
|
+
Object.defineProperty(exports, 'FunctionCallSchema', {
|
|
12663
|
+
enumerable: true,
|
|
12664
|
+
get: function () {
|
|
12665
|
+
return _ag_ui_client.FunctionCallSchema;
|
|
12666
|
+
}
|
|
12667
|
+
});
|
|
12668
|
+
Object.defineProperty(exports, 'FunctionMiddleware', {
|
|
12669
|
+
enumerable: true,
|
|
12670
|
+
get: function () {
|
|
12671
|
+
return _ag_ui_client.FunctionMiddleware;
|
|
12672
|
+
}
|
|
12673
|
+
});
|
|
12354
12674
|
exports.GenerateSandboxedUiArgsSchema = GenerateSandboxedUiArgsSchema;
|
|
12675
|
+
Object.defineProperty(exports, 'HttpAgent', {
|
|
12676
|
+
enumerable: true,
|
|
12677
|
+
get: function () {
|
|
12678
|
+
return _ag_ui_client.HttpAgent;
|
|
12679
|
+
}
|
|
12680
|
+
});
|
|
12681
|
+
Object.defineProperty(exports, 'HumanInTheLoopCapabilitiesSchema', {
|
|
12682
|
+
enumerable: true,
|
|
12683
|
+
get: function () {
|
|
12684
|
+
return _ag_ui_client.HumanInTheLoopCapabilitiesSchema;
|
|
12685
|
+
}
|
|
12686
|
+
});
|
|
12687
|
+
Object.defineProperty(exports, 'INSPECTOR_THREAD_BRIDGE_PLUGIN_ID', {
|
|
12688
|
+
enumerable: true,
|
|
12689
|
+
get: function () {
|
|
12690
|
+
return _copilotkit_core.INSPECTOR_THREAD_BRIDGE_PLUGIN_ID;
|
|
12691
|
+
}
|
|
12692
|
+
});
|
|
12355
12693
|
exports.INTELLIGENCE_TURN_HEAD = INTELLIGENCE_TURN_HEAD;
|
|
12356
12694
|
exports.INTERRUPT_EVENT_NAME = INTERRUPT_EVENT_NAME;
|
|
12695
|
+
Object.defineProperty(exports, 'IdentityCapabilitiesSchema', {
|
|
12696
|
+
enumerable: true,
|
|
12697
|
+
get: function () {
|
|
12698
|
+
return _ag_ui_client.IdentityCapabilitiesSchema;
|
|
12699
|
+
}
|
|
12700
|
+
});
|
|
12701
|
+
Object.defineProperty(exports, 'ImageInputContentSchema', {
|
|
12702
|
+
enumerable: true,
|
|
12703
|
+
get: function () {
|
|
12704
|
+
return _ag_ui_client.ImageInputContentSchema;
|
|
12705
|
+
}
|
|
12706
|
+
});
|
|
12707
|
+
Object.defineProperty(exports, 'ImageInputPartSchema', {
|
|
12708
|
+
enumerable: true,
|
|
12709
|
+
get: function () {
|
|
12710
|
+
return _ag_ui_client.ImageInputPartSchema;
|
|
12711
|
+
}
|
|
12712
|
+
});
|
|
12713
|
+
Object.defineProperty(exports, 'InputContentDataSourceSchema', {
|
|
12714
|
+
enumerable: true,
|
|
12715
|
+
get: function () {
|
|
12716
|
+
return _ag_ui_client.InputContentDataSourceSchema;
|
|
12717
|
+
}
|
|
12718
|
+
});
|
|
12719
|
+
Object.defineProperty(exports, 'InputContentSchema', {
|
|
12720
|
+
enumerable: true,
|
|
12721
|
+
get: function () {
|
|
12722
|
+
return _ag_ui_client.InputContentSchema;
|
|
12723
|
+
}
|
|
12724
|
+
});
|
|
12725
|
+
Object.defineProperty(exports, 'InputContentSourceSchema', {
|
|
12726
|
+
enumerable: true,
|
|
12727
|
+
get: function () {
|
|
12728
|
+
return _ag_ui_client.InputContentSourceSchema;
|
|
12729
|
+
}
|
|
12730
|
+
});
|
|
12731
|
+
Object.defineProperty(exports, 'InputContentUrlSourceSchema', {
|
|
12732
|
+
enumerable: true,
|
|
12733
|
+
get: function () {
|
|
12734
|
+
return _ag_ui_client.InputContentUrlSourceSchema;
|
|
12735
|
+
}
|
|
12736
|
+
});
|
|
12737
|
+
Object.defineProperty(exports, 'IntelligenceAgent', {
|
|
12738
|
+
enumerable: true,
|
|
12739
|
+
get: function () {
|
|
12740
|
+
return _copilotkit_core.IntelligenceAgent;
|
|
12741
|
+
}
|
|
12742
|
+
});
|
|
12357
12743
|
exports.IntelligenceIndicator = IntelligenceIndicator;
|
|
12358
12744
|
exports.IntelligenceIndicatorView = IntelligenceIndicatorView;
|
|
12745
|
+
Object.defineProperty(exports, 'InterruptSchema', {
|
|
12746
|
+
enumerable: true,
|
|
12747
|
+
get: function () {
|
|
12748
|
+
return _ag_ui_client.InterruptSchema;
|
|
12749
|
+
}
|
|
12750
|
+
});
|
|
12359
12751
|
Object.defineProperty(exports, 'MCPAppsActivityContentSchema', {
|
|
12360
12752
|
enumerable: true,
|
|
12361
12753
|
get: function () {
|
|
@@ -12369,32 +12761,765 @@ Object.defineProperty(exports, 'MCPAppsActivityType', {
|
|
|
12369
12761
|
return _copilotkit_mcp_apps_renderer_activity.MCPAppsActivityType;
|
|
12370
12762
|
}
|
|
12371
12763
|
});
|
|
12372
|
-
exports
|
|
12373
|
-
exports.OpenGenerativeUIActivityType = OpenGenerativeUIActivityType;
|
|
12374
|
-
exports.OpenGenerativeUIContentSchema = OpenGenerativeUIContentSchema;
|
|
12375
|
-
exports.OpenGenerativeUIToolRenderer = OpenGenerativeUIToolRenderer;
|
|
12376
|
-
exports.SandboxFunctionsContext = SandboxFunctionsContext;
|
|
12377
|
-
exports.UseAgentUpdate = UseAgentUpdate;
|
|
12378
|
-
exports.WildcardToolCallRender = WildcardToolCallRender;
|
|
12379
|
-
Object.defineProperty(exports, 'a2uiDefaultTheme', {
|
|
12764
|
+
Object.defineProperty(exports, 'MEMORY_ERROR_REGISTRY', {
|
|
12380
12765
|
enumerable: true,
|
|
12381
12766
|
get: function () {
|
|
12382
|
-
return
|
|
12767
|
+
return _copilotkit_core.MEMORY_ERROR_REGISTRY;
|
|
12383
12768
|
}
|
|
12384
12769
|
});
|
|
12385
|
-
exports
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
exports
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12770
|
+
Object.defineProperty(exports, 'MemoryError', {
|
|
12771
|
+
enumerable: true,
|
|
12772
|
+
get: function () {
|
|
12773
|
+
return _copilotkit_core.MemoryError;
|
|
12774
|
+
}
|
|
12775
|
+
});
|
|
12776
|
+
Object.defineProperty(exports, 'MessageSchema', {
|
|
12777
|
+
enumerable: true,
|
|
12778
|
+
get: function () {
|
|
12779
|
+
return _ag_ui_client.MessageSchema;
|
|
12780
|
+
}
|
|
12781
|
+
});
|
|
12782
|
+
Object.defineProperty(exports, 'MessagesSnapshotEventSchema', {
|
|
12783
|
+
enumerable: true,
|
|
12784
|
+
get: function () {
|
|
12785
|
+
return _ag_ui_client.MessagesSnapshotEventSchema;
|
|
12786
|
+
}
|
|
12787
|
+
});
|
|
12788
|
+
Object.defineProperty(exports, 'MetadataSchema', {
|
|
12789
|
+
enumerable: true,
|
|
12790
|
+
get: function () {
|
|
12791
|
+
return _ag_ui_client.MetadataSchema;
|
|
12792
|
+
}
|
|
12793
|
+
});
|
|
12794
|
+
Object.defineProperty(exports, 'Middleware', {
|
|
12795
|
+
enumerable: true,
|
|
12796
|
+
get: function () {
|
|
12797
|
+
return _ag_ui_client.Middleware;
|
|
12798
|
+
}
|
|
12799
|
+
});
|
|
12800
|
+
Object.defineProperty(exports, 'MultiAgentCapabilitiesSchema', {
|
|
12801
|
+
enumerable: true,
|
|
12802
|
+
get: function () {
|
|
12803
|
+
return _ag_ui_client.MultiAgentCapabilitiesSchema;
|
|
12804
|
+
}
|
|
12805
|
+
});
|
|
12806
|
+
Object.defineProperty(exports, 'MultimodalCapabilitiesSchema', {
|
|
12807
|
+
enumerable: true,
|
|
12808
|
+
get: function () {
|
|
12809
|
+
return _ag_ui_client.MultimodalCapabilitiesSchema;
|
|
12810
|
+
}
|
|
12811
|
+
});
|
|
12812
|
+
Object.defineProperty(exports, 'MultimodalInputCapabilitiesSchema', {
|
|
12813
|
+
enumerable: true,
|
|
12814
|
+
get: function () {
|
|
12815
|
+
return _ag_ui_client.MultimodalInputCapabilitiesSchema;
|
|
12816
|
+
}
|
|
12817
|
+
});
|
|
12818
|
+
Object.defineProperty(exports, 'MultimodalOutputCapabilitiesSchema', {
|
|
12819
|
+
enumerable: true,
|
|
12820
|
+
get: function () {
|
|
12821
|
+
return _ag_ui_client.MultimodalOutputCapabilitiesSchema;
|
|
12822
|
+
}
|
|
12823
|
+
});
|
|
12824
|
+
exports.OpenGenerativeUIActivityRenderer = OpenGenerativeUIActivityRenderer;
|
|
12825
|
+
exports.OpenGenerativeUIActivityType = OpenGenerativeUIActivityType;
|
|
12826
|
+
exports.OpenGenerativeUIContentSchema = OpenGenerativeUIContentSchema;
|
|
12827
|
+
exports.OpenGenerativeUIToolRenderer = OpenGenerativeUIToolRenderer;
|
|
12828
|
+
Object.defineProperty(exports, 'OptionalMetadataSchema', {
|
|
12829
|
+
enumerable: true,
|
|
12830
|
+
get: function () {
|
|
12831
|
+
return _ag_ui_client.OptionalMetadataSchema;
|
|
12832
|
+
}
|
|
12833
|
+
});
|
|
12834
|
+
Object.defineProperty(exports, 'OutputCapabilitiesSchema', {
|
|
12835
|
+
enumerable: true,
|
|
12836
|
+
get: function () {
|
|
12837
|
+
return _ag_ui_client.OutputCapabilitiesSchema;
|
|
12838
|
+
}
|
|
12839
|
+
});
|
|
12840
|
+
Object.defineProperty(exports, 'ProxiedCopilotRuntimeAgent', {
|
|
12841
|
+
enumerable: true,
|
|
12842
|
+
get: function () {
|
|
12843
|
+
return _copilotkit_core.ProxiedCopilotRuntimeAgent;
|
|
12844
|
+
}
|
|
12845
|
+
});
|
|
12846
|
+
Object.defineProperty(exports, 'RawEventSchema', {
|
|
12847
|
+
enumerable: true,
|
|
12848
|
+
get: function () {
|
|
12849
|
+
return _ag_ui_client.RawEventSchema;
|
|
12850
|
+
}
|
|
12851
|
+
});
|
|
12852
|
+
Object.defineProperty(exports, 'ReasoningCapabilitiesSchema', {
|
|
12853
|
+
enumerable: true,
|
|
12854
|
+
get: function () {
|
|
12855
|
+
return _ag_ui_client.ReasoningCapabilitiesSchema;
|
|
12856
|
+
}
|
|
12857
|
+
});
|
|
12858
|
+
Object.defineProperty(exports, 'ReasoningEncryptedValueEventSchema', {
|
|
12859
|
+
enumerable: true,
|
|
12860
|
+
get: function () {
|
|
12861
|
+
return _ag_ui_client.ReasoningEncryptedValueEventSchema;
|
|
12862
|
+
}
|
|
12863
|
+
});
|
|
12864
|
+
Object.defineProperty(exports, 'ReasoningEncryptedValueSubtypeSchema', {
|
|
12865
|
+
enumerable: true,
|
|
12866
|
+
get: function () {
|
|
12867
|
+
return _ag_ui_client.ReasoningEncryptedValueSubtypeSchema;
|
|
12868
|
+
}
|
|
12869
|
+
});
|
|
12870
|
+
Object.defineProperty(exports, 'ReasoningEndEventSchema', {
|
|
12871
|
+
enumerable: true,
|
|
12872
|
+
get: function () {
|
|
12873
|
+
return _ag_ui_client.ReasoningEndEventSchema;
|
|
12874
|
+
}
|
|
12875
|
+
});
|
|
12876
|
+
Object.defineProperty(exports, 'ReasoningMessageChunkEventSchema', {
|
|
12877
|
+
enumerable: true,
|
|
12878
|
+
get: function () {
|
|
12879
|
+
return _ag_ui_client.ReasoningMessageChunkEventSchema;
|
|
12880
|
+
}
|
|
12881
|
+
});
|
|
12882
|
+
Object.defineProperty(exports, 'ReasoningMessageContentEventSchema', {
|
|
12883
|
+
enumerable: true,
|
|
12884
|
+
get: function () {
|
|
12885
|
+
return _ag_ui_client.ReasoningMessageContentEventSchema;
|
|
12886
|
+
}
|
|
12887
|
+
});
|
|
12888
|
+
Object.defineProperty(exports, 'ReasoningMessageEndEventSchema', {
|
|
12889
|
+
enumerable: true,
|
|
12890
|
+
get: function () {
|
|
12891
|
+
return _ag_ui_client.ReasoningMessageEndEventSchema;
|
|
12892
|
+
}
|
|
12893
|
+
});
|
|
12894
|
+
Object.defineProperty(exports, 'ReasoningMessageSchema', {
|
|
12895
|
+
enumerable: true,
|
|
12896
|
+
get: function () {
|
|
12897
|
+
return _ag_ui_client.ReasoningMessageSchema;
|
|
12898
|
+
}
|
|
12899
|
+
});
|
|
12900
|
+
Object.defineProperty(exports, 'ReasoningMessageStartEventSchema', {
|
|
12901
|
+
enumerable: true,
|
|
12902
|
+
get: function () {
|
|
12903
|
+
return _ag_ui_client.ReasoningMessageStartEventSchema;
|
|
12904
|
+
}
|
|
12905
|
+
});
|
|
12906
|
+
Object.defineProperty(exports, 'ReasoningStartEventSchema', {
|
|
12907
|
+
enumerable: true,
|
|
12908
|
+
get: function () {
|
|
12909
|
+
return _ag_ui_client.ReasoningStartEventSchema;
|
|
12910
|
+
}
|
|
12911
|
+
});
|
|
12912
|
+
Object.defineProperty(exports, 'ResumeEntrySchema', {
|
|
12913
|
+
enumerable: true,
|
|
12914
|
+
get: function () {
|
|
12915
|
+
return _ag_ui_client.ResumeEntrySchema;
|
|
12916
|
+
}
|
|
12917
|
+
});
|
|
12918
|
+
Object.defineProperty(exports, 'RoleSchema', {
|
|
12919
|
+
enumerable: true,
|
|
12920
|
+
get: function () {
|
|
12921
|
+
return _ag_ui_client.RoleSchema;
|
|
12922
|
+
}
|
|
12923
|
+
});
|
|
12924
|
+
Object.defineProperty(exports, 'RunAgentInputSchema', {
|
|
12925
|
+
enumerable: true,
|
|
12926
|
+
get: function () {
|
|
12927
|
+
return _ag_ui_client.RunAgentInputSchema;
|
|
12928
|
+
}
|
|
12929
|
+
});
|
|
12930
|
+
Object.defineProperty(exports, 'RunErrorEventSchema', {
|
|
12931
|
+
enumerable: true,
|
|
12932
|
+
get: function () {
|
|
12933
|
+
return _ag_ui_client.RunErrorEventSchema;
|
|
12934
|
+
}
|
|
12935
|
+
});
|
|
12936
|
+
Object.defineProperty(exports, 'RunFinishedEventSchema', {
|
|
12937
|
+
enumerable: true,
|
|
12938
|
+
get: function () {
|
|
12939
|
+
return _ag_ui_client.RunFinishedEventSchema;
|
|
12940
|
+
}
|
|
12941
|
+
});
|
|
12942
|
+
Object.defineProperty(exports, 'RunFinishedInterruptOutcomeSchema', {
|
|
12943
|
+
enumerable: true,
|
|
12944
|
+
get: function () {
|
|
12945
|
+
return _ag_ui_client.RunFinishedInterruptOutcomeSchema;
|
|
12946
|
+
}
|
|
12947
|
+
});
|
|
12948
|
+
Object.defineProperty(exports, 'RunFinishedOutcomeSchema', {
|
|
12949
|
+
enumerable: true,
|
|
12950
|
+
get: function () {
|
|
12951
|
+
return _ag_ui_client.RunFinishedOutcomeSchema;
|
|
12952
|
+
}
|
|
12953
|
+
});
|
|
12954
|
+
Object.defineProperty(exports, 'RunFinishedSuccessOutcomeSchema', {
|
|
12955
|
+
enumerable: true,
|
|
12956
|
+
get: function () {
|
|
12957
|
+
return _ag_ui_client.RunFinishedSuccessOutcomeSchema;
|
|
12958
|
+
}
|
|
12959
|
+
});
|
|
12960
|
+
Object.defineProperty(exports, 'RunHandler', {
|
|
12961
|
+
enumerable: true,
|
|
12962
|
+
get: function () {
|
|
12963
|
+
return _copilotkit_core.RunHandler;
|
|
12964
|
+
}
|
|
12965
|
+
});
|
|
12966
|
+
Object.defineProperty(exports, 'RunStartedEventSchema', {
|
|
12967
|
+
enumerable: true,
|
|
12968
|
+
get: function () {
|
|
12969
|
+
return _ag_ui_client.RunStartedEventSchema;
|
|
12970
|
+
}
|
|
12971
|
+
});
|
|
12972
|
+
exports.SandboxFunctionsContext = SandboxFunctionsContext;
|
|
12973
|
+
Object.defineProperty(exports, 'StateCapabilitiesSchema', {
|
|
12974
|
+
enumerable: true,
|
|
12975
|
+
get: function () {
|
|
12976
|
+
return _ag_ui_client.StateCapabilitiesSchema;
|
|
12977
|
+
}
|
|
12978
|
+
});
|
|
12979
|
+
Object.defineProperty(exports, 'StateDeltaEventSchema', {
|
|
12980
|
+
enumerable: true,
|
|
12981
|
+
get: function () {
|
|
12982
|
+
return _ag_ui_client.StateDeltaEventSchema;
|
|
12983
|
+
}
|
|
12984
|
+
});
|
|
12985
|
+
Object.defineProperty(exports, 'StateManager', {
|
|
12986
|
+
enumerable: true,
|
|
12987
|
+
get: function () {
|
|
12988
|
+
return _copilotkit_core.StateManager;
|
|
12989
|
+
}
|
|
12990
|
+
});
|
|
12991
|
+
Object.defineProperty(exports, 'StateSchema', {
|
|
12992
|
+
enumerable: true,
|
|
12993
|
+
get: function () {
|
|
12994
|
+
return _ag_ui_client.StateSchema;
|
|
12995
|
+
}
|
|
12996
|
+
});
|
|
12997
|
+
Object.defineProperty(exports, 'StateSnapshotEventSchema', {
|
|
12998
|
+
enumerable: true,
|
|
12999
|
+
get: function () {
|
|
13000
|
+
return _ag_ui_client.StateSnapshotEventSchema;
|
|
13001
|
+
}
|
|
13002
|
+
});
|
|
13003
|
+
Object.defineProperty(exports, 'StepFinishedEventSchema', {
|
|
13004
|
+
enumerable: true,
|
|
13005
|
+
get: function () {
|
|
13006
|
+
return _ag_ui_client.StepFinishedEventSchema;
|
|
13007
|
+
}
|
|
13008
|
+
});
|
|
13009
|
+
Object.defineProperty(exports, 'StepStartedEventSchema', {
|
|
13010
|
+
enumerable: true,
|
|
13011
|
+
get: function () {
|
|
13012
|
+
return _ag_ui_client.StepStartedEventSchema;
|
|
13013
|
+
}
|
|
13014
|
+
});
|
|
13015
|
+
Object.defineProperty(exports, 'SubAgentInfoSchema', {
|
|
13016
|
+
enumerable: true,
|
|
13017
|
+
get: function () {
|
|
13018
|
+
return _ag_ui_client.SubAgentInfoSchema;
|
|
13019
|
+
}
|
|
13020
|
+
});
|
|
13021
|
+
Object.defineProperty(exports, 'SubagentErrorEventSchema', {
|
|
13022
|
+
enumerable: true,
|
|
13023
|
+
get: function () {
|
|
13024
|
+
return _ag_ui_client.SubagentErrorEventSchema;
|
|
13025
|
+
}
|
|
13026
|
+
});
|
|
13027
|
+
Object.defineProperty(exports, 'SubagentFinishedEventSchema', {
|
|
13028
|
+
enumerable: true,
|
|
13029
|
+
get: function () {
|
|
13030
|
+
return _ag_ui_client.SubagentFinishedEventSchema;
|
|
13031
|
+
}
|
|
13032
|
+
});
|
|
13033
|
+
Object.defineProperty(exports, 'SubagentFinishedOutcomeSchema', {
|
|
13034
|
+
enumerable: true,
|
|
13035
|
+
get: function () {
|
|
13036
|
+
return _ag_ui_client.SubagentFinishedOutcomeSchema;
|
|
13037
|
+
}
|
|
13038
|
+
});
|
|
13039
|
+
Object.defineProperty(exports, 'SubagentFinishedSuccessOutcomeSchema', {
|
|
13040
|
+
enumerable: true,
|
|
13041
|
+
get: function () {
|
|
13042
|
+
return _ag_ui_client.SubagentFinishedSuccessOutcomeSchema;
|
|
13043
|
+
}
|
|
13044
|
+
});
|
|
13045
|
+
Object.defineProperty(exports, 'SubagentFinishedSuspendedOutcomeSchema', {
|
|
13046
|
+
enumerable: true,
|
|
13047
|
+
get: function () {
|
|
13048
|
+
return _ag_ui_client.SubagentFinishedSuspendedOutcomeSchema;
|
|
13049
|
+
}
|
|
13050
|
+
});
|
|
13051
|
+
Object.defineProperty(exports, 'SubagentStartedEventSchema', {
|
|
13052
|
+
enumerable: true,
|
|
13053
|
+
get: function () {
|
|
13054
|
+
return _ag_ui_client.SubagentStartedEventSchema;
|
|
13055
|
+
}
|
|
13056
|
+
});
|
|
13057
|
+
Object.defineProperty(exports, 'SuggestionEngine', {
|
|
13058
|
+
enumerable: true,
|
|
13059
|
+
get: function () {
|
|
13060
|
+
return _copilotkit_core.SuggestionEngine;
|
|
13061
|
+
}
|
|
13062
|
+
});
|
|
13063
|
+
Object.defineProperty(exports, 'SystemMessageSchema', {
|
|
13064
|
+
enumerable: true,
|
|
13065
|
+
get: function () {
|
|
13066
|
+
return _ag_ui_client.SystemMessageSchema;
|
|
13067
|
+
}
|
|
13068
|
+
});
|
|
13069
|
+
Object.defineProperty(exports, 'TextInputContentSchema', {
|
|
13070
|
+
enumerable: true,
|
|
13071
|
+
get: function () {
|
|
13072
|
+
return _ag_ui_client.TextInputContentSchema;
|
|
13073
|
+
}
|
|
13074
|
+
});
|
|
13075
|
+
Object.defineProperty(exports, 'TextMessageChunkEventSchema', {
|
|
13076
|
+
enumerable: true,
|
|
13077
|
+
get: function () {
|
|
13078
|
+
return _ag_ui_client.TextMessageChunkEventSchema;
|
|
13079
|
+
}
|
|
13080
|
+
});
|
|
13081
|
+
Object.defineProperty(exports, 'TextMessageContentEventSchema', {
|
|
13082
|
+
enumerable: true,
|
|
13083
|
+
get: function () {
|
|
13084
|
+
return _ag_ui_client.TextMessageContentEventSchema;
|
|
13085
|
+
}
|
|
13086
|
+
});
|
|
13087
|
+
Object.defineProperty(exports, 'TextMessageEndEventSchema', {
|
|
13088
|
+
enumerable: true,
|
|
13089
|
+
get: function () {
|
|
13090
|
+
return _ag_ui_client.TextMessageEndEventSchema;
|
|
13091
|
+
}
|
|
13092
|
+
});
|
|
13093
|
+
Object.defineProperty(exports, 'TextMessageStartEventSchema', {
|
|
13094
|
+
enumerable: true,
|
|
13095
|
+
get: function () {
|
|
13096
|
+
return _ag_ui_client.TextMessageStartEventSchema;
|
|
13097
|
+
}
|
|
13098
|
+
});
|
|
13099
|
+
Object.defineProperty(exports, 'ThinkingEndEventSchema', {
|
|
13100
|
+
enumerable: true,
|
|
13101
|
+
get: function () {
|
|
13102
|
+
return _ag_ui_client.ThinkingEndEventSchema;
|
|
13103
|
+
}
|
|
13104
|
+
});
|
|
13105
|
+
Object.defineProperty(exports, 'ThinkingStartEventSchema', {
|
|
13106
|
+
enumerable: true,
|
|
13107
|
+
get: function () {
|
|
13108
|
+
return _ag_ui_client.ThinkingStartEventSchema;
|
|
13109
|
+
}
|
|
13110
|
+
});
|
|
13111
|
+
Object.defineProperty(exports, 'ThinkingTextMessageContentEventSchema', {
|
|
13112
|
+
enumerable: true,
|
|
13113
|
+
get: function () {
|
|
13114
|
+
return _ag_ui_client.ThinkingTextMessageContentEventSchema;
|
|
13115
|
+
}
|
|
13116
|
+
});
|
|
13117
|
+
Object.defineProperty(exports, 'ThinkingTextMessageEndEventSchema', {
|
|
13118
|
+
enumerable: true,
|
|
13119
|
+
get: function () {
|
|
13120
|
+
return _ag_ui_client.ThinkingTextMessageEndEventSchema;
|
|
13121
|
+
}
|
|
13122
|
+
});
|
|
13123
|
+
Object.defineProperty(exports, 'ThinkingTextMessageStartEventSchema', {
|
|
13124
|
+
enumerable: true,
|
|
13125
|
+
get: function () {
|
|
13126
|
+
return _ag_ui_client.ThinkingTextMessageStartEventSchema;
|
|
13127
|
+
}
|
|
13128
|
+
});
|
|
13129
|
+
Object.defineProperty(exports, 'TokenUsageSchema', {
|
|
13130
|
+
enumerable: true,
|
|
13131
|
+
get: function () {
|
|
13132
|
+
return _ag_ui_client.TokenUsageSchema;
|
|
13133
|
+
}
|
|
13134
|
+
});
|
|
13135
|
+
Object.defineProperty(exports, 'ToolCallArgsEventSchema', {
|
|
13136
|
+
enumerable: true,
|
|
13137
|
+
get: function () {
|
|
13138
|
+
return _ag_ui_client.ToolCallArgsEventSchema;
|
|
13139
|
+
}
|
|
13140
|
+
});
|
|
13141
|
+
Object.defineProperty(exports, 'ToolCallChunkEventSchema', {
|
|
13142
|
+
enumerable: true,
|
|
13143
|
+
get: function () {
|
|
13144
|
+
return _ag_ui_client.ToolCallChunkEventSchema;
|
|
13145
|
+
}
|
|
13146
|
+
});
|
|
13147
|
+
Object.defineProperty(exports, 'ToolCallEndEventSchema', {
|
|
13148
|
+
enumerable: true,
|
|
13149
|
+
get: function () {
|
|
13150
|
+
return _ag_ui_client.ToolCallEndEventSchema;
|
|
13151
|
+
}
|
|
13152
|
+
});
|
|
13153
|
+
Object.defineProperty(exports, 'ToolCallResultEventSchema', {
|
|
13154
|
+
enumerable: true,
|
|
13155
|
+
get: function () {
|
|
13156
|
+
return _ag_ui_client.ToolCallResultEventSchema;
|
|
13157
|
+
}
|
|
13158
|
+
});
|
|
13159
|
+
Object.defineProperty(exports, 'ToolCallSchema', {
|
|
13160
|
+
enumerable: true,
|
|
13161
|
+
get: function () {
|
|
13162
|
+
return _ag_ui_client.ToolCallSchema;
|
|
13163
|
+
}
|
|
13164
|
+
});
|
|
13165
|
+
Object.defineProperty(exports, 'ToolCallStartEventSchema', {
|
|
13166
|
+
enumerable: true,
|
|
13167
|
+
get: function () {
|
|
13168
|
+
return _ag_ui_client.ToolCallStartEventSchema;
|
|
13169
|
+
}
|
|
13170
|
+
});
|
|
13171
|
+
Object.defineProperty(exports, 'ToolCallStatus', {
|
|
13172
|
+
enumerable: true,
|
|
13173
|
+
get: function () {
|
|
13174
|
+
return _copilotkit_core.ToolCallStatus;
|
|
13175
|
+
}
|
|
13176
|
+
});
|
|
13177
|
+
Object.defineProperty(exports, 'ToolMessageSchema', {
|
|
13178
|
+
enumerable: true,
|
|
13179
|
+
get: function () {
|
|
13180
|
+
return _ag_ui_client.ToolMessageSchema;
|
|
13181
|
+
}
|
|
13182
|
+
});
|
|
13183
|
+
Object.defineProperty(exports, 'ToolSchema', {
|
|
13184
|
+
enumerable: true,
|
|
13185
|
+
get: function () {
|
|
13186
|
+
return _ag_ui_client.ToolSchema;
|
|
13187
|
+
}
|
|
13188
|
+
});
|
|
13189
|
+
Object.defineProperty(exports, 'ToolsCapabilitiesSchema', {
|
|
13190
|
+
enumerable: true,
|
|
13191
|
+
get: function () {
|
|
13192
|
+
return _ag_ui_client.ToolsCapabilitiesSchema;
|
|
13193
|
+
}
|
|
13194
|
+
});
|
|
13195
|
+
Object.defineProperty(exports, 'TransportCapabilitiesSchema', {
|
|
13196
|
+
enumerable: true,
|
|
13197
|
+
get: function () {
|
|
13198
|
+
return _ag_ui_client.TransportCapabilitiesSchema;
|
|
13199
|
+
}
|
|
13200
|
+
});
|
|
13201
|
+
exports.UseAgentUpdate = UseAgentUpdate;
|
|
13202
|
+
Object.defineProperty(exports, 'UserMessageSchema', {
|
|
13203
|
+
enumerable: true,
|
|
13204
|
+
get: function () {
|
|
13205
|
+
return _ag_ui_client.UserMessageSchema;
|
|
13206
|
+
}
|
|
13207
|
+
});
|
|
13208
|
+
Object.defineProperty(exports, 'VideoInputContentSchema', {
|
|
13209
|
+
enumerable: true,
|
|
13210
|
+
get: function () {
|
|
13211
|
+
return _ag_ui_client.VideoInputContentSchema;
|
|
13212
|
+
}
|
|
13213
|
+
});
|
|
13214
|
+
Object.defineProperty(exports, 'VideoInputPartSchema', {
|
|
13215
|
+
enumerable: true,
|
|
13216
|
+
get: function () {
|
|
13217
|
+
return _ag_ui_client.VideoInputPartSchema;
|
|
13218
|
+
}
|
|
13219
|
+
});
|
|
13220
|
+
Object.defineProperty(exports, 'WebMCPRegistry', {
|
|
13221
|
+
enumerable: true,
|
|
13222
|
+
get: function () {
|
|
13223
|
+
return _copilotkit_core.WebMCPRegistry;
|
|
13224
|
+
}
|
|
13225
|
+
});
|
|
13226
|
+
exports.WildcardToolCallRender = WildcardToolCallRender;
|
|
13227
|
+
Object.defineProperty(exports, 'a2uiDefaultTheme', {
|
|
13228
|
+
enumerable: true,
|
|
13229
|
+
get: function () {
|
|
13230
|
+
return _copilotkit_a2ui_renderer.defaultTheme;
|
|
13231
|
+
}
|
|
13232
|
+
});
|
|
13233
|
+
Object.defineProperty(exports, 'aggregateTokenUsage', {
|
|
13234
|
+
enumerable: true,
|
|
13235
|
+
get: function () {
|
|
13236
|
+
return _ag_ui_client.aggregateTokenUsage;
|
|
13237
|
+
}
|
|
13238
|
+
});
|
|
13239
|
+
Object.defineProperty(exports, 'buildResumeArray', {
|
|
13240
|
+
enumerable: true,
|
|
13241
|
+
get: function () {
|
|
13242
|
+
return _ag_ui_client.buildResumeArray;
|
|
13243
|
+
}
|
|
13244
|
+
});
|
|
13245
|
+
Object.defineProperty(exports, 'compactEvents', {
|
|
13246
|
+
enumerable: true,
|
|
13247
|
+
get: function () {
|
|
13248
|
+
return _ag_ui_client.compactEvents;
|
|
13249
|
+
}
|
|
13250
|
+
});
|
|
13251
|
+
Object.defineProperty(exports, 'completePartialMarkdown', {
|
|
13252
|
+
enumerable: true,
|
|
13253
|
+
get: function () {
|
|
13254
|
+
return _copilotkit_core.completePartialMarkdown;
|
|
13255
|
+
}
|
|
13256
|
+
});
|
|
13257
|
+
Object.defineProperty(exports, 'convertToLegacyEvents', {
|
|
13258
|
+
enumerable: true,
|
|
13259
|
+
get: function () {
|
|
13260
|
+
return _ag_ui_client.convertToLegacyEvents;
|
|
13261
|
+
}
|
|
13262
|
+
});
|
|
13263
|
+
exports.createA2UIMessageRenderer = createA2UIMessageRenderer;
|
|
13264
|
+
Object.defineProperty(exports, 'createActionGroup', {
|
|
13265
|
+
enumerable: true,
|
|
13266
|
+
get: function () {
|
|
13267
|
+
return _copilotkit_core.createActionGroup;
|
|
13268
|
+
}
|
|
13269
|
+
});
|
|
13270
|
+
Object.defineProperty(exports, 'createDebugLogger', {
|
|
13271
|
+
enumerable: true,
|
|
13272
|
+
get: function () {
|
|
13273
|
+
return _ag_ui_client.createDebugLogger;
|
|
13274
|
+
}
|
|
13275
|
+
});
|
|
13276
|
+
Object.defineProperty(exports, 'createEffect', {
|
|
13277
|
+
enumerable: true,
|
|
13278
|
+
get: function () {
|
|
13279
|
+
return _copilotkit_core.createEffect;
|
|
13280
|
+
}
|
|
13281
|
+
});
|
|
13282
|
+
Object.defineProperty(exports, 'createInspectorThreadRequestId', {
|
|
13283
|
+
enumerable: true,
|
|
13284
|
+
get: function () {
|
|
13285
|
+
return _copilotkit_core.createInspectorThreadRequestId;
|
|
13286
|
+
}
|
|
13287
|
+
});
|
|
13288
|
+
Object.defineProperty(exports, 'createReducer', {
|
|
13289
|
+
enumerable: true,
|
|
13290
|
+
get: function () {
|
|
13291
|
+
return _copilotkit_core.createReducer;
|
|
13292
|
+
}
|
|
13293
|
+
});
|
|
13294
|
+
Object.defineProperty(exports, 'createSelector', {
|
|
13295
|
+
enumerable: true,
|
|
13296
|
+
get: function () {
|
|
13297
|
+
return _copilotkit_core.createSelector;
|
|
13298
|
+
}
|
|
13299
|
+
});
|
|
13300
|
+
Object.defineProperty(exports, 'createStore', {
|
|
13301
|
+
enumerable: true,
|
|
13302
|
+
get: function () {
|
|
13303
|
+
return _copilotkit_core.createStore;
|
|
13304
|
+
}
|
|
13305
|
+
});
|
|
13306
|
+
Object.defineProperty(exports, 'defaultApplyEvents', {
|
|
13307
|
+
enumerable: true,
|
|
13308
|
+
get: function () {
|
|
13309
|
+
return _ag_ui_client.defaultApplyEvents;
|
|
13310
|
+
}
|
|
13311
|
+
});
|
|
13312
|
+
exports.defineToolCallRenderer = defineToolCallRenderer;
|
|
13313
|
+
Object.defineProperty(exports, 'emitInspectorActiveThread', {
|
|
13314
|
+
enumerable: true,
|
|
13315
|
+
get: function () {
|
|
13316
|
+
return _copilotkit_core.emitInspectorActiveThread;
|
|
13317
|
+
}
|
|
13318
|
+
});
|
|
13319
|
+
Object.defineProperty(exports, 'emitInspectorStopViewing', {
|
|
13320
|
+
enumerable: true,
|
|
13321
|
+
get: function () {
|
|
13322
|
+
return _copilotkit_core.emitInspectorStopViewing;
|
|
13323
|
+
}
|
|
13324
|
+
});
|
|
13325
|
+
Object.defineProperty(exports, 'emitInspectorViewThread', {
|
|
13326
|
+
enumerable: true,
|
|
13327
|
+
get: function () {
|
|
13328
|
+
return _copilotkit_core.emitInspectorViewThread;
|
|
13329
|
+
}
|
|
13330
|
+
});
|
|
13331
|
+
Object.defineProperty(exports, 'emitInspectorViewThreadResult', {
|
|
13332
|
+
enumerable: true,
|
|
13333
|
+
get: function () {
|
|
13334
|
+
return _copilotkit_core.emitInspectorViewThreadResult;
|
|
13335
|
+
}
|
|
13336
|
+
});
|
|
13337
|
+
Object.defineProperty(exports, 'empty', {
|
|
13338
|
+
enumerable: true,
|
|
13339
|
+
get: function () {
|
|
13340
|
+
return _copilotkit_core.empty;
|
|
13341
|
+
}
|
|
13342
|
+
});
|
|
13343
|
+
Object.defineProperty(exports, 'ensureObjectArgs', {
|
|
13344
|
+
enumerable: true,
|
|
13345
|
+
get: function () {
|
|
13346
|
+
return _copilotkit_core.ensureObjectArgs;
|
|
13347
|
+
}
|
|
13348
|
+
});
|
|
13349
|
+
exports.getIntelligenceTurnAnchors = getIntelligenceTurnAnchors;
|
|
13350
|
+
Object.defineProperty(exports, 'getRunOutcome', {
|
|
13351
|
+
enumerable: true,
|
|
13352
|
+
get: function () {
|
|
13353
|
+
return _ag_ui_client.getRunOutcome;
|
|
13354
|
+
}
|
|
13355
|
+
});
|
|
13356
|
+
Object.defineProperty(exports, 'getWebMCPModelContext', {
|
|
13357
|
+
enumerable: true,
|
|
13358
|
+
get: function () {
|
|
13359
|
+
return _copilotkit_core.getWebMCPModelContext;
|
|
13360
|
+
}
|
|
13361
|
+
});
|
|
13362
|
+
Object.defineProperty(exports, 'isAbortError', {
|
|
13363
|
+
enumerable: true,
|
|
13364
|
+
get: function () {
|
|
13365
|
+
return _copilotkit_core.isAbortError;
|
|
13366
|
+
}
|
|
13367
|
+
});
|
|
13368
|
+
Object.defineProperty(exports, 'isInspectorThreadBridgeEnabled', {
|
|
13369
|
+
enumerable: true,
|
|
13370
|
+
get: function () {
|
|
13371
|
+
return _copilotkit_core.isInspectorThreadBridgeEnabled;
|
|
13372
|
+
}
|
|
13373
|
+
});
|
|
13374
|
+
Object.defineProperty(exports, 'isInterruptExpired', {
|
|
13375
|
+
enumerable: true,
|
|
13376
|
+
get: function () {
|
|
13377
|
+
return _ag_ui_client.isInterruptExpired;
|
|
13378
|
+
}
|
|
13379
|
+
});
|
|
13380
|
+
Object.defineProperty(exports, 'isRunCompletionAware', {
|
|
13381
|
+
enumerable: true,
|
|
13382
|
+
get: function () {
|
|
13383
|
+
return _copilotkit_core.isRunCompletionAware;
|
|
13384
|
+
}
|
|
13385
|
+
});
|
|
13386
|
+
Object.defineProperty(exports, 'mergeMetadata', {
|
|
13387
|
+
enumerable: true,
|
|
13388
|
+
get: function () {
|
|
13389
|
+
return _ag_ui_client.mergeMetadata;
|
|
13390
|
+
}
|
|
13391
|
+
});
|
|
13392
|
+
Object.defineProperty(exports, 'ofType', {
|
|
13393
|
+
enumerable: true,
|
|
13394
|
+
get: function () {
|
|
13395
|
+
return _copilotkit_core.ofType;
|
|
13396
|
+
}
|
|
13397
|
+
});
|
|
13398
|
+
Object.defineProperty(exports, 'on', {
|
|
13399
|
+
enumerable: true,
|
|
13400
|
+
get: function () {
|
|
13401
|
+
return _copilotkit_core.on;
|
|
13402
|
+
}
|
|
13403
|
+
});
|
|
13404
|
+
Object.defineProperty(exports, 'onInspectorActiveThread', {
|
|
13405
|
+
enumerable: true,
|
|
13406
|
+
get: function () {
|
|
13407
|
+
return _copilotkit_core.onInspectorActiveThread;
|
|
13408
|
+
}
|
|
13409
|
+
});
|
|
13410
|
+
Object.defineProperty(exports, 'onInspectorStopViewing', {
|
|
13411
|
+
enumerable: true,
|
|
13412
|
+
get: function () {
|
|
13413
|
+
return _copilotkit_core.onInspectorStopViewing;
|
|
13414
|
+
}
|
|
13415
|
+
});
|
|
13416
|
+
Object.defineProperty(exports, 'onInspectorViewThread', {
|
|
13417
|
+
enumerable: true,
|
|
13418
|
+
get: function () {
|
|
13419
|
+
return _copilotkit_core.onInspectorViewThread;
|
|
13420
|
+
}
|
|
13421
|
+
});
|
|
13422
|
+
Object.defineProperty(exports, 'onInspectorViewThreadResult', {
|
|
13423
|
+
enumerable: true,
|
|
13424
|
+
get: function () {
|
|
13425
|
+
return _copilotkit_core.onInspectorViewThreadResult;
|
|
13426
|
+
}
|
|
13427
|
+
});
|
|
13428
|
+
Object.defineProperty(exports, 'parseProtoStream', {
|
|
13429
|
+
enumerable: true,
|
|
13430
|
+
get: function () {
|
|
13431
|
+
return _ag_ui_client.parseProtoStream;
|
|
13432
|
+
}
|
|
13433
|
+
});
|
|
13434
|
+
Object.defineProperty(exports, 'parseSSEStream', {
|
|
13435
|
+
enumerable: true,
|
|
13436
|
+
get: function () {
|
|
13437
|
+
return _ag_ui_client.parseSSEStream;
|
|
13438
|
+
}
|
|
13439
|
+
});
|
|
13440
|
+
Object.defineProperty(exports, 'parseToolArguments', {
|
|
13441
|
+
enumerable: true,
|
|
13442
|
+
get: function () {
|
|
13443
|
+
return _copilotkit_core.parseToolArguments;
|
|
13444
|
+
}
|
|
13445
|
+
});
|
|
13446
|
+
Object.defineProperty(exports, 'props', {
|
|
13447
|
+
enumerable: true,
|
|
13448
|
+
get: function () {
|
|
13449
|
+
return _copilotkit_core.props;
|
|
13450
|
+
}
|
|
13451
|
+
});
|
|
13452
|
+
Object.defineProperty(exports, 'randomUUID', {
|
|
13453
|
+
enumerable: true,
|
|
13454
|
+
get: function () {
|
|
13455
|
+
return _ag_ui_client.randomUUID;
|
|
13456
|
+
}
|
|
13457
|
+
});
|
|
13458
|
+
Object.defineProperty(exports, 'resolveAgentDebugConfig', {
|
|
13459
|
+
enumerable: true,
|
|
13460
|
+
get: function () {
|
|
13461
|
+
return _ag_ui_client.resolveAgentDebugConfig;
|
|
13462
|
+
}
|
|
13463
|
+
});
|
|
13464
|
+
Object.defineProperty(exports, 'resolveDebugLogger', {
|
|
13465
|
+
enumerable: true,
|
|
13466
|
+
get: function () {
|
|
13467
|
+
return _ag_ui_client.resolveDebugLogger;
|
|
13468
|
+
}
|
|
13469
|
+
});
|
|
13470
|
+
Object.defineProperty(exports, 'runHttpRequest', {
|
|
13471
|
+
enumerable: true,
|
|
13472
|
+
get: function () {
|
|
13473
|
+
return _ag_ui_client.runHttpRequest;
|
|
13474
|
+
}
|
|
13475
|
+
});
|
|
13476
|
+
Object.defineProperty(exports, 'select', {
|
|
13477
|
+
enumerable: true,
|
|
13478
|
+
get: function () {
|
|
13479
|
+
return _copilotkit_core.select;
|
|
13480
|
+
}
|
|
13481
|
+
});
|
|
13482
|
+
Object.defineProperty(exports, 'structuredClone_', {
|
|
13483
|
+
enumerable: true,
|
|
13484
|
+
get: function () {
|
|
13485
|
+
return _ag_ui_client.structuredClone_;
|
|
13486
|
+
}
|
|
13487
|
+
});
|
|
13488
|
+
Object.defineProperty(exports, 'tokenUsageFromAiSdkUsage', {
|
|
13489
|
+
enumerable: true,
|
|
13490
|
+
get: function () {
|
|
13491
|
+
return _ag_ui_client.tokenUsageFromAiSdkUsage;
|
|
13492
|
+
}
|
|
13493
|
+
});
|
|
13494
|
+
Object.defineProperty(exports, 'tokenUsageFromLangChainMetadata', {
|
|
13495
|
+
enumerable: true,
|
|
13496
|
+
get: function () {
|
|
13497
|
+
return _ag_ui_client.tokenUsageFromLangChainMetadata;
|
|
13498
|
+
}
|
|
13499
|
+
});
|
|
13500
|
+
Object.defineProperty(exports, 'transformChunks', {
|
|
13501
|
+
enumerable: true,
|
|
13502
|
+
get: function () {
|
|
13503
|
+
return _ag_ui_client.transformChunks;
|
|
13504
|
+
}
|
|
13505
|
+
});
|
|
13506
|
+
Object.defineProperty(exports, 'transformHttpEventStream', {
|
|
13507
|
+
enumerable: true,
|
|
13508
|
+
get: function () {
|
|
13509
|
+
return _ag_ui_client.transformHttpEventStream;
|
|
13510
|
+
}
|
|
13511
|
+
});
|
|
13512
|
+
exports.useAgent = useAgent;
|
|
13513
|
+
exports.useAgentContext = useAgentContext;
|
|
13514
|
+
exports.useAttachments = useAttachments;
|
|
13515
|
+
exports.useCapabilities = useCapabilities;
|
|
13516
|
+
exports.useComponent = useComponent;
|
|
13517
|
+
exports.useConfigureSuggestions = useConfigureSuggestions;
|
|
13518
|
+
exports.useCopilotChatConfiguration = useCopilotChatConfiguration;
|
|
13519
|
+
exports.useCopilotKit = useCopilotKit;
|
|
13520
|
+
exports.useDefaultRenderTool = useDefaultRenderTool;
|
|
12397
13521
|
exports.useFrontendTool = useFrontendTool;
|
|
13522
|
+
exports.useFrontendTools = useFrontendTools;
|
|
12398
13523
|
exports.useHumanInTheLoop = useHumanInTheLoop;
|
|
12399
13524
|
exports.useInterrupt = useInterrupt;
|
|
12400
13525
|
exports.useLearnFromUserAction = useLearnFromUserAction;
|
|
@@ -12410,25 +13535,233 @@ exports.useRenderToolCall = useRenderToolCall;
|
|
|
12410
13535
|
exports.useSandboxFunctions = useSandboxFunctions;
|
|
12411
13536
|
exports.useSuggestions = useSuggestions;
|
|
12412
13537
|
exports.useThreads = useThreads;
|
|
13538
|
+
Object.defineProperty(exports, 'verifyEvents', {
|
|
13539
|
+
enumerable: true,
|
|
13540
|
+
get: function () {
|
|
13541
|
+
return _ag_ui_client.verifyEvents;
|
|
13542
|
+
}
|
|
13543
|
+
});
|
|
13544
|
+
Object.defineProperty(exports, 'ɵCOPILOTKIT_FEATURES', {
|
|
13545
|
+
enumerable: true,
|
|
13546
|
+
get: function () {
|
|
13547
|
+
return _copilotkit_core.ɵCOPILOTKIT_FEATURES;
|
|
13548
|
+
}
|
|
13549
|
+
});
|
|
13550
|
+
Object.defineProperty(exports, 'ɵInterruptState', {
|
|
13551
|
+
enumerable: true,
|
|
13552
|
+
get: function () {
|
|
13553
|
+
return _copilotkit_core.ɵInterruptState;
|
|
13554
|
+
}
|
|
13555
|
+
});
|
|
13556
|
+
Object.defineProperty(exports, 'ɵMAX_SOCKET_RETRIES', {
|
|
13557
|
+
enumerable: true,
|
|
13558
|
+
get: function () {
|
|
13559
|
+
return _copilotkit_core.ɵMAX_SOCKET_RETRIES;
|
|
13560
|
+
}
|
|
13561
|
+
});
|
|
13562
|
+
Object.defineProperty(exports, 'ɵRUNTIME_PROBE_TIMEOUT_MS', {
|
|
13563
|
+
enumerable: true,
|
|
13564
|
+
get: function () {
|
|
13565
|
+
return _copilotkit_core.ɵRUNTIME_PROBE_TIMEOUT_MS;
|
|
13566
|
+
}
|
|
13567
|
+
});
|
|
13568
|
+
Object.defineProperty(exports, 'ɵTHREAD_REQUEST_TIMEOUT_MS', {
|
|
13569
|
+
enumerable: true,
|
|
13570
|
+
get: function () {
|
|
13571
|
+
return _copilotkit_core.ɵTHREAD_REQUEST_TIMEOUT_MS;
|
|
13572
|
+
}
|
|
13573
|
+
});
|
|
13574
|
+
Object.defineProperty(exports, 'ɵcreateMemoryStore', {
|
|
13575
|
+
enumerable: true,
|
|
13576
|
+
get: function () {
|
|
13577
|
+
return _copilotkit_core.ɵcreateMemoryStore;
|
|
13578
|
+
}
|
|
13579
|
+
});
|
|
13580
|
+
Object.defineProperty(exports, 'ɵcreateThreadSelectors', {
|
|
13581
|
+
enumerable: true,
|
|
13582
|
+
get: function () {
|
|
13583
|
+
return _copilotkit_core.ɵcreateThreadSelectors;
|
|
13584
|
+
}
|
|
13585
|
+
});
|
|
13586
|
+
Object.defineProperty(exports, 'ɵcreateThreadStore', {
|
|
13587
|
+
enumerable: true,
|
|
13588
|
+
get: function () {
|
|
13589
|
+
return _copilotkit_core.ɵcreateThreadStore;
|
|
13590
|
+
}
|
|
13591
|
+
});
|
|
13592
|
+
Object.defineProperty(exports, 'ɵisCopilotKitFeature', {
|
|
13593
|
+
enumerable: true,
|
|
13594
|
+
get: function () {
|
|
13595
|
+
return _copilotkit_core.ɵisCopilotKitFeature;
|
|
13596
|
+
}
|
|
13597
|
+
});
|
|
13598
|
+
Object.defineProperty(exports, 'ɵisRetryableMemoryStatus', {
|
|
13599
|
+
enumerable: true,
|
|
13600
|
+
get: function () {
|
|
13601
|
+
return _copilotkit_core.ɵisRetryableMemoryStatus;
|
|
13602
|
+
}
|
|
13603
|
+
});
|
|
13604
|
+
Object.defineProperty(exports, 'ɵjoinPhoenixChannel$', {
|
|
13605
|
+
enumerable: true,
|
|
13606
|
+
get: function () {
|
|
13607
|
+
return _copilotkit_core.ɵjoinPhoenixChannel$;
|
|
13608
|
+
}
|
|
13609
|
+
});
|
|
13610
|
+
Object.defineProperty(exports, 'ɵmapMemoryMetadataEvent', {
|
|
13611
|
+
enumerable: true,
|
|
13612
|
+
get: function () {
|
|
13613
|
+
return _copilotkit_core.ɵmapMemoryMetadataEvent;
|
|
13614
|
+
}
|
|
13615
|
+
});
|
|
13616
|
+
Object.defineProperty(exports, 'ɵmemoryAdapterEvents', {
|
|
13617
|
+
enumerable: true,
|
|
13618
|
+
get: function () {
|
|
13619
|
+
return _copilotkit_core.ɵmemoryAdapterEvents;
|
|
13620
|
+
}
|
|
13621
|
+
});
|
|
13622
|
+
Object.defineProperty(exports, 'ɵmemoryDomainEvents', {
|
|
13623
|
+
enumerable: true,
|
|
13624
|
+
get: function () {
|
|
13625
|
+
return _copilotkit_core.ɵmemoryDomainEvents;
|
|
13626
|
+
}
|
|
13627
|
+
});
|
|
13628
|
+
Object.defineProperty(exports, 'ɵmemoryReducer', {
|
|
13629
|
+
enumerable: true,
|
|
13630
|
+
get: function () {
|
|
13631
|
+
return _copilotkit_core.ɵmemoryReducer;
|
|
13632
|
+
}
|
|
13633
|
+
});
|
|
13634
|
+
Object.defineProperty(exports, 'ɵmemoryRestEvents', {
|
|
13635
|
+
enumerable: true,
|
|
13636
|
+
get: function () {
|
|
13637
|
+
return _copilotkit_core.ɵmemoryRestEvents;
|
|
13638
|
+
}
|
|
13639
|
+
});
|
|
13640
|
+
Object.defineProperty(exports, 'ɵobservePhoenixEvent$', {
|
|
13641
|
+
enumerable: true,
|
|
13642
|
+
get: function () {
|
|
13643
|
+
return _copilotkit_core.ɵobservePhoenixEvent$;
|
|
13644
|
+
}
|
|
13645
|
+
});
|
|
13646
|
+
Object.defineProperty(exports, 'ɵobservePhoenixJoinOutcome$', {
|
|
13647
|
+
enumerable: true,
|
|
13648
|
+
get: function () {
|
|
13649
|
+
return _copilotkit_core.ɵobservePhoenixJoinOutcome$;
|
|
13650
|
+
}
|
|
13651
|
+
});
|
|
13652
|
+
Object.defineProperty(exports, 'ɵobservePhoenixSocketHealth$', {
|
|
13653
|
+
enumerable: true,
|
|
13654
|
+
get: function () {
|
|
13655
|
+
return _copilotkit_core.ɵobservePhoenixSocketHealth$;
|
|
13656
|
+
}
|
|
13657
|
+
});
|
|
13658
|
+
Object.defineProperty(exports, 'ɵobservePhoenixSocketSignals$', {
|
|
13659
|
+
enumerable: true,
|
|
13660
|
+
get: function () {
|
|
13661
|
+
return _copilotkit_core.ɵobservePhoenixSocketSignals$;
|
|
13662
|
+
}
|
|
13663
|
+
});
|
|
13664
|
+
Object.defineProperty(exports, 'ɵphoenixChannel$', {
|
|
13665
|
+
enumerable: true,
|
|
13666
|
+
get: function () {
|
|
13667
|
+
return _copilotkit_core.ɵphoenixChannel$;
|
|
13668
|
+
}
|
|
13669
|
+
});
|
|
13670
|
+
Object.defineProperty(exports, 'ɵphoenixSocket$', {
|
|
13671
|
+
enumerable: true,
|
|
13672
|
+
get: function () {
|
|
13673
|
+
return _copilotkit_core.ɵphoenixSocket$;
|
|
13674
|
+
}
|
|
13675
|
+
});
|
|
12413
13676
|
Object.defineProperty(exports, 'ɵrunMcpFollowUp', {
|
|
12414
13677
|
enumerable: true,
|
|
12415
13678
|
get: function () {
|
|
12416
13679
|
return _copilotkit_mcp_apps_renderer_activity.ɵrunMcpFollowUp;
|
|
12417
13680
|
}
|
|
12418
13681
|
});
|
|
12419
|
-
Object.
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
}
|
|
13682
|
+
Object.defineProperty(exports, 'ɵselectFetchMoreError', {
|
|
13683
|
+
enumerable: true,
|
|
13684
|
+
get: function () {
|
|
13685
|
+
return _copilotkit_core.ɵselectFetchMoreError;
|
|
13686
|
+
}
|
|
12424
13687
|
});
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
13688
|
+
Object.defineProperty(exports, 'ɵselectHasNextPage', {
|
|
13689
|
+
enumerable: true,
|
|
13690
|
+
get: function () {
|
|
13691
|
+
return _copilotkit_core.ɵselectHasNextPage;
|
|
13692
|
+
}
|
|
13693
|
+
});
|
|
13694
|
+
Object.defineProperty(exports, 'ɵselectIsFetchingNextPage', {
|
|
13695
|
+
enumerable: true,
|
|
13696
|
+
get: function () {
|
|
13697
|
+
return _copilotkit_core.ɵselectIsFetchingNextPage;
|
|
13698
|
+
}
|
|
13699
|
+
});
|
|
13700
|
+
Object.defineProperty(exports, 'ɵselectIsMutating', {
|
|
13701
|
+
enumerable: true,
|
|
13702
|
+
get: function () {
|
|
13703
|
+
return _copilotkit_core.ɵselectIsMutating;
|
|
13704
|
+
}
|
|
13705
|
+
});
|
|
13706
|
+
Object.defineProperty(exports, 'ɵselectMemories', {
|
|
13707
|
+
enumerable: true,
|
|
13708
|
+
get: function () {
|
|
13709
|
+
return _copilotkit_core.ɵselectMemories;
|
|
13710
|
+
}
|
|
13711
|
+
});
|
|
13712
|
+
Object.defineProperty(exports, 'ɵselectMemoriesAvailable', {
|
|
13713
|
+
enumerable: true,
|
|
13714
|
+
get: function () {
|
|
13715
|
+
return _copilotkit_core.ɵselectMemoriesAvailable;
|
|
13716
|
+
}
|
|
13717
|
+
});
|
|
13718
|
+
Object.defineProperty(exports, 'ɵselectMemoriesError', {
|
|
13719
|
+
enumerable: true,
|
|
13720
|
+
get: function () {
|
|
13721
|
+
return _copilotkit_core.ɵselectMemoriesError;
|
|
13722
|
+
}
|
|
13723
|
+
});
|
|
13724
|
+
Object.defineProperty(exports, 'ɵselectMemoriesIsLoading', {
|
|
13725
|
+
enumerable: true,
|
|
13726
|
+
get: function () {
|
|
13727
|
+
return _copilotkit_core.ɵselectMemoriesIsLoading;
|
|
13728
|
+
}
|
|
13729
|
+
});
|
|
13730
|
+
Object.defineProperty(exports, 'ɵselectMemoriesIsMutating', {
|
|
13731
|
+
enumerable: true,
|
|
13732
|
+
get: function () {
|
|
13733
|
+
return _copilotkit_core.ɵselectMemoriesIsMutating;
|
|
13734
|
+
}
|
|
13735
|
+
});
|
|
13736
|
+
Object.defineProperty(exports, 'ɵselectMemoriesRealtimeStatus', {
|
|
13737
|
+
enumerable: true,
|
|
13738
|
+
get: function () {
|
|
13739
|
+
return _copilotkit_core.ɵselectMemoriesRealtimeStatus;
|
|
13740
|
+
}
|
|
13741
|
+
});
|
|
13742
|
+
Object.defineProperty(exports, 'ɵselectThreads', {
|
|
13743
|
+
enumerable: true,
|
|
13744
|
+
get: function () {
|
|
13745
|
+
return _copilotkit_core.ɵselectThreads;
|
|
13746
|
+
}
|
|
13747
|
+
});
|
|
13748
|
+
Object.defineProperty(exports, 'ɵselectThreadsError', {
|
|
13749
|
+
enumerable: true,
|
|
13750
|
+
get: function () {
|
|
13751
|
+
return _copilotkit_core.ɵselectThreadsError;
|
|
13752
|
+
}
|
|
13753
|
+
});
|
|
13754
|
+
Object.defineProperty(exports, 'ɵselectThreadsIsLoading', {
|
|
13755
|
+
enumerable: true,
|
|
13756
|
+
get: function () {
|
|
13757
|
+
return _copilotkit_core.ɵselectThreadsIsLoading;
|
|
13758
|
+
}
|
|
13759
|
+
});
|
|
13760
|
+
Object.defineProperty(exports, 'ɵthreadAdapterEvents', {
|
|
13761
|
+
enumerable: true,
|
|
13762
|
+
get: function () {
|
|
13763
|
+
return _copilotkit_core.ɵthreadAdapterEvents;
|
|
13764
|
+
}
|
|
12431
13765
|
});
|
|
12432
|
-
|
|
12433
13766
|
});
|
|
12434
13767
|
//# sourceMappingURL=index.umd.js.map
|