@copilotkit/react-core 1.75.1 → 1.76.0
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-CGlSOKHM.d.mts → copilotkit-B90cY0Zg.d.mts} +18 -17
- package/dist/copilotkit-B90cY0Zg.d.mts.map +1 -0
- package/dist/{copilotkit-DfsHZUuo.mjs → copilotkit-LD7Gp2aV.mjs} +75 -49
- package/dist/copilotkit-LD7Gp2aV.mjs.map +1 -0
- package/dist/{copilotkit-Cjj9wDI8.d.cts → copilotkit-W-bV_OSs.d.cts} +5 -4
- package/dist/copilotkit-W-bV_OSs.d.cts.map +1 -0
- package/dist/{copilotkit-DIudpHkM.cjs → copilotkit-dHdNF7H5.cjs} +71 -46
- package/dist/copilotkit-dHdNF7H5.cjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +24 -43
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/headless.cjs +20 -38
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.d.cts.map +1 -1
- package/dist/v2/headless.d.mts +2 -2
- package/dist/v2/headless.d.mts.map +1 -1
- package/dist/v2/headless.mjs +21 -39
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +302 -121
- package/dist/v2/index.d.cts +2 -2
- package/dist/v2/index.d.mts +2 -2
- package/dist/v2/index.mjs +2 -2
- package/dist/v2/index.umd.js +373 -169
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +10 -10
- package/dist/copilotkit-CGlSOKHM.d.mts.map +0 -1
- package/dist/copilotkit-Cjj9wDI8.d.cts.map +0 -1
- package/dist/copilotkit-DIudpHkM.cjs.map +0 -1
- package/dist/copilotkit-DfsHZUuo.mjs.map +0 -1
package/dist/v2/index.umd.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
(function(global, factory) {
|
|
4
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./index.css'), require('@copilotkit/core'), require('@ag-ui/client'), require('react'), require('tailwind-merge'), require('lucide-react'), require('@copilotkit/shared'), require('react/jsx-runtime'), require('@radix-ui/react-slot'), require('class-variance-authority'), require('clsx'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-dropdown-menu'), require('streamdown'), require('zod'), require('@copilotkit/mcp-apps-renderer/activity'), require('@copilotkit/a2ui-renderer'), require('zod-to-json-schema'), require('react-dom'), require('@tanstack/react-virtual'), require('use-stick-to-bottom'), require('@copilotkit/web-components/threads-drawer')) :
|
|
5
|
-
typeof define === 'function' && define.amd ? define(['exports', './index.css', '@copilotkit/core', '@ag-ui/client', 'react', 'tailwind-merge', 'lucide-react', '@copilotkit/shared', 'react/jsx-runtime', '@radix-ui/react-slot', 'class-variance-authority', 'clsx', '@radix-ui/react-tooltip', '@radix-ui/react-dropdown-menu', 'streamdown', 'zod', '@copilotkit/mcp-apps-renderer/activity', '@copilotkit/a2ui-renderer', 'zod-to-json-schema', 'react-dom', '@tanstack/react-virtual', 'use-stick-to-bottom', '@copilotkit/web-components/threads-drawer'], factory) :
|
|
6
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitReactCoreV2 = {}), global.src_v2_index_css,global.CopilotKitCore,global.AgUIClient,global.React,global.tailwindMerge,global.lucideReact,global.CopilotKitShared,global.ReactJsxRuntime,global.RadixReactSlot,global.classVarianceAuthority,global.clsx,global.RadixReactTooltip,global.RadixReactDropdownMenu,global.streamdown,global.Zod,global.CopilotKitMcpAppsRendererActivity,global.CopilotKitA2UIRenderer,global.zod_to_json_schema,global.ReactDOM,global._tanstack_react_virtual,global.useStickToBottom,global._copilotkit_web_components_threads_drawer));
|
|
7
|
-
})(this, function(exports, src_v2_index_css, _copilotkit_core, _ag_ui_client, react, tailwind_merge, lucide_react, _copilotkit_shared, react_jsx_runtime, _radix_ui_react_slot, class_variance_authority, clsx, _radix_ui_react_tooltip, _radix_ui_react_dropdown_menu, streamdown, zod, _copilotkit_mcp_apps_renderer_activity, _copilotkit_a2ui_renderer, zod_to_json_schema, react_dom, _tanstack_react_virtual, use_stick_to_bottom, _copilotkit_web_components_threads_drawer) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./index.css'), require('@copilotkit/core'), require('@ag-ui/client'), require('react'), require('tailwind-merge'), require('lucide-react'), require('@copilotkit/shared'), require('react/jsx-runtime'), require('@radix-ui/react-slot'), require('class-variance-authority'), require('clsx'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-dropdown-menu'), require('streamdown'), require('@ag-ui/core'), require('zod'), require('@copilotkit/mcp-apps-renderer/activity'), require('@copilotkit/a2ui-renderer'), require('zod-to-json-schema'), require('react-dom'), require('@tanstack/react-virtual'), require('use-stick-to-bottom'), require('@copilotkit/web-components/threads-drawer')) :
|
|
5
|
+
typeof define === 'function' && define.amd ? define(['exports', './index.css', '@copilotkit/core', '@ag-ui/client', 'react', 'tailwind-merge', 'lucide-react', '@copilotkit/shared', 'react/jsx-runtime', '@radix-ui/react-slot', 'class-variance-authority', 'clsx', '@radix-ui/react-tooltip', '@radix-ui/react-dropdown-menu', 'streamdown', '@ag-ui/core', 'zod', '@copilotkit/mcp-apps-renderer/activity', '@copilotkit/a2ui-renderer', 'zod-to-json-schema', 'react-dom', '@tanstack/react-virtual', 'use-stick-to-bottom', '@copilotkit/web-components/threads-drawer'], factory) :
|
|
6
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitReactCoreV2 = {}), global.src_v2_index_css,global.CopilotKitCore,global.AgUIClient,global.React,global.tailwindMerge,global.lucideReact,global.CopilotKitShared,global.ReactJsxRuntime,global.RadixReactSlot,global.classVarianceAuthority,global.clsx,global.RadixReactTooltip,global.RadixReactDropdownMenu,global.streamdown,global.AgUICore,global.Zod,global.CopilotKitMcpAppsRendererActivity,global.CopilotKitA2UIRenderer,global.zod_to_json_schema,global.ReactDOM,global._tanstack_react_virtual,global.useStickToBottom,global._copilotkit_web_components_threads_drawer));
|
|
7
|
+
})(this, function(exports, src_v2_index_css, _copilotkit_core, _ag_ui_client, react, tailwind_merge, lucide_react, _copilotkit_shared, react_jsx_runtime, _radix_ui_react_slot, class_variance_authority, clsx, _radix_ui_react_tooltip, _radix_ui_react_dropdown_menu, streamdown, _ag_ui_core, zod, _copilotkit_mcp_apps_renderer_activity, _copilotkit_a2ui_renderer, zod_to_json_schema, react_dom, _tanstack_react_virtual, use_stick_to_bottom, _copilotkit_web_components_threads_drawer) {
|
|
8
8
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
9
9
|
//#region \0rolldown/runtime.js
|
|
10
10
|
var __create = Object.create;
|
|
@@ -1651,7 +1651,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
1651
1651
|
toolCallId: toolCall.id,
|
|
1652
1652
|
args,
|
|
1653
1653
|
status: _copilotkit_core.ToolCallStatus.Complete,
|
|
1654
|
-
result: toolMessage.content
|
|
1654
|
+
result: (0, _ag_ui_core.contentToText)(toolMessage.content)
|
|
1655
1655
|
});
|
|
1656
1656
|
else if (isExecuting) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RenderComponent, {
|
|
1657
1657
|
name: toolName,
|
|
@@ -1747,7 +1747,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
1747
1747
|
|
|
1748
1748
|
//#endregion
|
|
1749
1749
|
//#region package.json
|
|
1750
|
-
var version = "1.
|
|
1750
|
+
var version = "1.76.0";
|
|
1751
1751
|
|
|
1752
1752
|
//#endregion
|
|
1753
1753
|
//#region src/v2/components/CopilotKitInspector.tsx
|
|
@@ -4699,7 +4699,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
4699
4699
|
updateFlags
|
|
4700
4700
|
]);
|
|
4701
4701
|
(0, react.useEffect)(() => {
|
|
4702
|
-
if (
|
|
4702
|
+
if ((0, _copilotkit_core.ɵisHttpAgent)(agent)) copilotkit.applyHeadersToAgent(agent);
|
|
4703
4703
|
if (agent instanceof _copilotkit_core.ProxiedCopilotRuntimeAgent) agent.credentials = copilotkit.credentials;
|
|
4704
4704
|
}, [
|
|
4705
4705
|
agent,
|
|
@@ -5037,8 +5037,6 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5037
5037
|
pendingRef.current = pending;
|
|
5038
5038
|
const [handlerResult, setHandlerResult] = (0, react.useState)(null);
|
|
5039
5039
|
const interruptStateRef = (0, react.useRef)(new _copilotkit_core.ɵInterruptState());
|
|
5040
|
-
const interruptRunIdsRef = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
5041
|
-
const legacyRunIdRef = (0, react.useRef)(void 0);
|
|
5042
5040
|
(0, react.useEffect)(() => {
|
|
5043
5041
|
const interruptState = interruptStateRef.current;
|
|
5044
5042
|
let localLegacy = null;
|
|
@@ -5051,26 +5049,19 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5051
5049
|
};
|
|
5052
5050
|
},
|
|
5053
5051
|
onRunFinishedEvent: (params) => {
|
|
5054
|
-
if (params.outcome === "interrupt")
|
|
5055
|
-
const runId = params.input.runId;
|
|
5056
|
-
for (const interrupt of params.interrupts) interruptRunIdsRef.current.set(interrupt.id, runId);
|
|
5057
|
-
localStandard = params.interrupts;
|
|
5058
|
-
}
|
|
5052
|
+
if (params.outcome === "interrupt") localStandard = params.interrupts;
|
|
5059
5053
|
},
|
|
5060
5054
|
onRunStartedEvent: () => {
|
|
5061
5055
|
localLegacy = null;
|
|
5062
5056
|
localStandard = null;
|
|
5063
|
-
interruptRunIdsRef.current.clear();
|
|
5064
|
-
legacyRunIdRef.current = void 0;
|
|
5065
5057
|
interruptState.clear();
|
|
5066
5058
|
setPending(null);
|
|
5067
5059
|
},
|
|
5068
|
-
onRunFinalized: (
|
|
5060
|
+
onRunFinalized: () => {
|
|
5069
5061
|
if (localStandard && localStandard.length > 0) {
|
|
5070
5062
|
interruptState.setStandard(localStandard);
|
|
5071
5063
|
setPending(interruptState.pending);
|
|
5072
5064
|
} else if (localLegacy) {
|
|
5073
|
-
legacyRunIdRef.current = params.input.runId;
|
|
5074
5065
|
interruptState.setLegacy(localLegacy);
|
|
5075
5066
|
setPending(interruptState.pending);
|
|
5076
5067
|
}
|
|
@@ -5080,8 +5071,6 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5080
5071
|
onRunFailed: () => {
|
|
5081
5072
|
localLegacy = null;
|
|
5082
5073
|
localStandard = null;
|
|
5083
|
-
interruptRunIdsRef.current.clear();
|
|
5084
|
-
legacyRunIdRef.current = void 0;
|
|
5085
5074
|
interruptState.clear();
|
|
5086
5075
|
setPending(null);
|
|
5087
5076
|
}
|
|
@@ -5096,22 +5085,18 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5096
5085
|
if (!current) return;
|
|
5097
5086
|
if (current.kind === "standard" && current.interrupts.length > 1 && interruptId === void 0) console.warn(`[CopilotKit] useInterrupt: resolve()/cancel() called without an interruptId while ${current.interrupts.length} interrupts are open; defaulting to the first. Pass an interruptId to address a specific interrupt.`);
|
|
5098
5087
|
const decision = interruptStateRef.current.resolve(payload, interruptId);
|
|
5099
|
-
if (decision.kind === "legacy-resume") {
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
console.error("[CopilotKit] useInterrupt resolve: runAgent rejected; clearing pending + rethrowing", err);
|
|
5112
|
-
setPending(null);
|
|
5113
|
-
throw err;
|
|
5114
|
-
}
|
|
5088
|
+
if (decision.kind === "legacy-resume") try {
|
|
5089
|
+
return await copilotkit.runAgent({
|
|
5090
|
+
agent,
|
|
5091
|
+
forwardedProps: { command: {
|
|
5092
|
+
resume: decision.payload,
|
|
5093
|
+
interruptEvent: decision.interruptValue
|
|
5094
|
+
} }
|
|
5095
|
+
});
|
|
5096
|
+
} catch (err) {
|
|
5097
|
+
console.error("[CopilotKit] useInterrupt resolve: runAgent rejected; clearing pending + rethrowing", err);
|
|
5098
|
+
setPending(null);
|
|
5099
|
+
throw err;
|
|
5115
5100
|
}
|
|
5116
5101
|
if (decision.kind === "expired") {
|
|
5117
5102
|
console.error(`[CopilotKit] useInterrupt: interrupt ${decision.interrupt.id} expired at ${decision.interrupt.expiresAt}; not resuming.`);
|
|
@@ -5120,7 +5105,6 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5120
5105
|
return;
|
|
5121
5106
|
}
|
|
5122
5107
|
if (decision.kind !== "resume") return;
|
|
5123
|
-
const runId = decision.resume.map((entry) => interruptRunIdsRef.current.get(entry.interruptId)).find((candidate) => candidate !== void 0);
|
|
5124
5108
|
for (const toolResult of decision.toolResults) agent.addMessage({
|
|
5125
5109
|
id: (0, _ag_ui_client.randomUUID)(),
|
|
5126
5110
|
role: "tool",
|
|
@@ -5130,8 +5114,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5130
5114
|
try {
|
|
5131
5115
|
return await copilotkit.runAgent({
|
|
5132
5116
|
agent,
|
|
5133
|
-
resume: decision.resume
|
|
5134
|
-
...runId !== void 0 ? { runId } : {}
|
|
5117
|
+
resume: decision.resume
|
|
5135
5118
|
});
|
|
5136
5119
|
} catch (err) {
|
|
5137
5120
|
console.error("[CopilotKit] useInterrupt resolve: runAgent rejected; clearing pending + rethrowing", err);
|
|
@@ -5158,7 +5141,6 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5158
5141
|
return;
|
|
5159
5142
|
}
|
|
5160
5143
|
if (decision.kind !== "resume") return;
|
|
5161
|
-
const runId = decision.resume.map((entry) => interruptRunIdsRef.current.get(entry.interruptId)).find((candidate) => candidate !== void 0);
|
|
5162
5144
|
for (const toolResult of decision.toolResults) agent.addMessage({
|
|
5163
5145
|
id: (0, _ag_ui_client.randomUUID)(),
|
|
5164
5146
|
role: "tool",
|
|
@@ -5168,8 +5150,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
5168
5150
|
try {
|
|
5169
5151
|
return await copilotkit.runAgent({
|
|
5170
5152
|
agent,
|
|
5171
|
-
resume: decision.resume
|
|
5172
|
-
...runId !== void 0 ? { runId } : {}
|
|
5153
|
+
resume: decision.resume
|
|
5173
5154
|
});
|
|
5174
5155
|
} catch (err) {
|
|
5175
5156
|
console.error("[CopilotKit] useInterrupt resolve: runAgent rejected; clearing pending + rethrowing", err);
|
|
@@ -8970,6 +8951,8 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
8970
8951
|
const hasNativeIntelligenceRunActivity = hasExplicitThreadId && runtimeStatus === "Connected" && !!copilotkit.intelligence?.wsUrl && copilotkit.threadEndpoints?.realtimeMetadata === true;
|
|
8971
8952
|
const [standaloneRunActivityStore] = (0, react.useState)(() => (0, _copilotkit_core.ɵcreateThreadStore)({ fetch: copilotkit.ɵruntimeFetch }));
|
|
8972
8953
|
const previousThreadRef = (0, react.useRef)(null);
|
|
8954
|
+
const detachPromisesRef = (0, react.useRef)(/* @__PURE__ */ new WeakMap());
|
|
8955
|
+
const pendingTeardownRef = (0, react.useRef)(Promise.resolve());
|
|
8973
8956
|
const hasExplicitThreadIdRef = (0, react.useRef)(hasExplicitThreadId);
|
|
8974
8957
|
hasExplicitThreadIdRef.current = hasExplicitThreadId;
|
|
8975
8958
|
const rememberRecentlyLocalRunId = (0, react.useCallback)((runId) => {
|
|
@@ -9012,23 +8995,59 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
9012
8995
|
const previousThread = previousThreadRef.current;
|
|
9013
8996
|
const threadChanged = previousThread?.threadId !== resolvedThreadId;
|
|
9014
8997
|
const inspectorTransition = threadChanged && previousThread !== null && previousThread.inspectorRequestId !== inspectorRequestId && (previousThread.inspectorRequestId !== null || inspectorRequestId !== null);
|
|
9015
|
-
|
|
8998
|
+
const selection = {
|
|
9016
8999
|
threadId: resolvedThreadId,
|
|
9017
|
-
inspectorRequestId
|
|
9000
|
+
inspectorRequestId,
|
|
9001
|
+
agent
|
|
9018
9002
|
};
|
|
9003
|
+
previousThreadRef.current = selection;
|
|
9004
|
+
const discardedThreadId = previousThread?.agent === agent ? previousThread.threadId : agent.threadId;
|
|
9019
9005
|
if (inspectorTransition) if (typeof copilotkit.stopAgent === "function") copilotkit.stopAgent({ agent });
|
|
9020
9006
|
else agent.abortRun?.();
|
|
9021
9007
|
agent.threadId = resolvedThreadId;
|
|
9022
9008
|
if (!hasExplicitThreadId) {
|
|
9023
|
-
|
|
9024
|
-
|
|
9009
|
+
let active = true;
|
|
9010
|
+
if (threadChanged && previousThread !== null) {
|
|
9011
|
+
let resetPending = true;
|
|
9012
|
+
const clearCursor = () => {
|
|
9013
|
+
if ("clearReplayCursor" in agent && typeof agent.clearReplayCursor === "function") agent.clearReplayCursor(discardedThreadId);
|
|
9014
|
+
if ("clearReconnectCursor" in agent && typeof agent.clearReconnectCursor === "function") agent.clearReconnectCursor(discardedThreadId);
|
|
9015
|
+
};
|
|
9016
|
+
const clearDiscardedBaseline = () => {
|
|
9017
|
+
if (!active || !resetPending || previousThreadRef.current !== selection) return;
|
|
9018
|
+
agent.setMessages([]);
|
|
9019
|
+
agent.setState({});
|
|
9020
|
+
agent.pendingInterrupts = [];
|
|
9021
|
+
clearCursor();
|
|
9022
|
+
};
|
|
9023
|
+
if (previousThread.agent === agent) previousThread.clearDiscardedBaseline = clearDiscardedBaseline;
|
|
9024
|
+
const detach = detachPromisesRef.current.get(agent) ?? agent.detachActiveRun();
|
|
9025
|
+
detachPromisesRef.current.set(agent, detach);
|
|
9026
|
+
const finishReset = () => {
|
|
9027
|
+
if (!resetPending) return;
|
|
9028
|
+
clearCursor();
|
|
9029
|
+
clearDiscardedBaseline();
|
|
9030
|
+
resetPending = false;
|
|
9031
|
+
};
|
|
9032
|
+
clearDiscardedBaseline();
|
|
9033
|
+
pendingTeardownRef.current = Promise.all([pendingTeardownRef.current, detach]).then(finishReset).catch((error) => {
|
|
9034
|
+
console.error("CopilotChat: detachActiveRun failed", error);
|
|
9035
|
+
}).finally(() => {
|
|
9036
|
+
if (detachPromisesRef.current.get(agent) === detach) detachPromisesRef.current.delete(agent);
|
|
9037
|
+
});
|
|
9038
|
+
}
|
|
9039
|
+
return () => {
|
|
9040
|
+
active = false;
|
|
9041
|
+
};
|
|
9025
9042
|
}
|
|
9026
9043
|
let detached = false;
|
|
9027
9044
|
const connectAbortController = new AbortController();
|
|
9028
|
-
if (agent instanceof _ag_ui_client.HttpAgent) agent.abortController = connectAbortController;
|
|
9029
9045
|
const connect = async (agentToConnect) => {
|
|
9030
9046
|
activeConnectCountRef.current += 1;
|
|
9031
9047
|
try {
|
|
9048
|
+
await pendingTeardownRef.current;
|
|
9049
|
+
if (detached) return;
|
|
9050
|
+
if ((0, _copilotkit_core.ɵisHttpAgent)(agentToConnect)) agentToConnect.abortController = connectAbortController;
|
|
9032
9051
|
await copilotkit.connectAgent({ agent: agentToConnect });
|
|
9033
9052
|
} catch (error) {
|
|
9034
9053
|
if (detached) return;
|
|
@@ -9038,7 +9057,7 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
9038
9057
|
if (!detached) (typeof requestAnimationFrame === "function" ? requestAnimationFrame : (cb) => setTimeout(cb, 16))(() => {
|
|
9039
9058
|
if (!detached) setLastConnectedThreadId(resolvedThreadId);
|
|
9040
9059
|
});
|
|
9041
|
-
else if (!hasExplicitThreadIdRef.current)
|
|
9060
|
+
else if (!hasExplicitThreadIdRef.current) selection.clearDiscardedBaseline?.();
|
|
9042
9061
|
activeConnectCountRef.current = Math.max(0, activeConnectCountRef.current - 1);
|
|
9043
9062
|
if (!detached && activeConnectCountRef.current === 0) {
|
|
9044
9063
|
const startReconnect = startRunActivityReconnectRef.current;
|
|
@@ -9053,7 +9072,12 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
9053
9072
|
return () => {
|
|
9054
9073
|
detached = true;
|
|
9055
9074
|
connectAbortController.abort();
|
|
9056
|
-
agent.detachActiveRun().catch(() => {});
|
|
9075
|
+
const detach = agent.detachActiveRun().catch(() => {});
|
|
9076
|
+
detachPromisesRef.current.set(agent, detach);
|
|
9077
|
+
pendingTeardownRef.current = Promise.all([pendingTeardownRef.current, detach]).then(() => {});
|
|
9078
|
+
detach.then(() => {
|
|
9079
|
+
if (detachPromisesRef.current.get(agent) === detach) detachPromisesRef.current.delete(agent);
|
|
9080
|
+
});
|
|
9057
9081
|
};
|
|
9058
9082
|
}, [
|
|
9059
9083
|
resolvedThreadId,
|
|
@@ -12514,6 +12538,12 @@ _radix_ui_react_dropdown_menu = __toESM(_radix_ui_react_dropdown_menu);
|
|
|
12514
12538
|
}
|
|
12515
12539
|
|
|
12516
12540
|
//#endregion
|
|
12541
|
+
Object.defineProperty(exports, 'ACTIVITY_HISTORY_METADATA', {
|
|
12542
|
+
enumerable: true,
|
|
12543
|
+
get: function () {
|
|
12544
|
+
return _ag_ui_client.ACTIVITY_HISTORY_METADATA;
|
|
12545
|
+
}
|
|
12546
|
+
});
|
|
12517
12547
|
Object.defineProperty(exports, 'AGUIConnectNotImplementedError', {
|
|
12518
12548
|
enumerable: true,
|
|
12519
12549
|
get: function () {
|
|
@@ -12541,25 +12571,31 @@ Object.defineProperty(exports, 'AbstractAgent', {
|
|
|
12541
12571
|
Object.defineProperty(exports, 'ActivityDeltaEventSchema', {
|
|
12542
12572
|
enumerable: true,
|
|
12543
12573
|
get: function () {
|
|
12544
|
-
return
|
|
12574
|
+
return _ag_ui_core_schemas.ActivityDeltaEventSchema;
|
|
12545
12575
|
}
|
|
12546
12576
|
});
|
|
12547
12577
|
Object.defineProperty(exports, 'ActivityMessageSchema', {
|
|
12548
12578
|
enumerable: true,
|
|
12549
12579
|
get: function () {
|
|
12550
|
-
return
|
|
12580
|
+
return _ag_ui_core_schemas.ActivityMessageSchema;
|
|
12551
12581
|
}
|
|
12552
12582
|
});
|
|
12553
12583
|
Object.defineProperty(exports, 'ActivitySnapshotEventSchema', {
|
|
12554
12584
|
enumerable: true,
|
|
12555
12585
|
get: function () {
|
|
12556
|
-
return
|
|
12586
|
+
return _ag_ui_core_schemas.ActivitySnapshotEventSchema;
|
|
12587
|
+
}
|
|
12588
|
+
});
|
|
12589
|
+
Object.defineProperty(exports, 'AddOperationSchema', {
|
|
12590
|
+
enumerable: true,
|
|
12591
|
+
get: function () {
|
|
12592
|
+
return _ag_ui_core_schemas.AddOperationSchema;
|
|
12557
12593
|
}
|
|
12558
12594
|
});
|
|
12559
12595
|
Object.defineProperty(exports, 'AgentCapabilitiesSchema', {
|
|
12560
12596
|
enumerable: true,
|
|
12561
12597
|
get: function () {
|
|
12562
|
-
return
|
|
12598
|
+
return _ag_ui_core_schemas.AgentCapabilitiesSchema;
|
|
12563
12599
|
}
|
|
12564
12600
|
});
|
|
12565
12601
|
Object.defineProperty(exports, 'AgentRegistry', {
|
|
@@ -12577,19 +12613,31 @@ Object.defineProperty(exports, 'AgentThreadLockedError', {
|
|
|
12577
12613
|
Object.defineProperty(exports, 'AssistantMessageSchema', {
|
|
12578
12614
|
enumerable: true,
|
|
12579
12615
|
get: function () {
|
|
12580
|
-
return
|
|
12616
|
+
return _ag_ui_core_schemas.AssistantMessageSchema;
|
|
12617
|
+
}
|
|
12618
|
+
});
|
|
12619
|
+
Object.defineProperty(exports, 'AttributableSchema', {
|
|
12620
|
+
enumerable: true,
|
|
12621
|
+
get: function () {
|
|
12622
|
+
return _ag_ui_core_schemas.AttributableSchema;
|
|
12581
12623
|
}
|
|
12582
12624
|
});
|
|
12583
12625
|
Object.defineProperty(exports, 'AudioInputContentSchema', {
|
|
12584
12626
|
enumerable: true,
|
|
12585
12627
|
get: function () {
|
|
12586
|
-
return
|
|
12628
|
+
return _ag_ui_core_schemas.AudioInputContentSchema;
|
|
12587
12629
|
}
|
|
12588
12630
|
});
|
|
12589
12631
|
Object.defineProperty(exports, 'AudioInputPartSchema', {
|
|
12590
12632
|
enumerable: true,
|
|
12591
12633
|
get: function () {
|
|
12592
|
-
return
|
|
12634
|
+
return _ag_ui_core_schemas.AudioInputPartSchema;
|
|
12635
|
+
}
|
|
12636
|
+
});
|
|
12637
|
+
Object.defineProperty(exports, 'AudioPartSchema', {
|
|
12638
|
+
enumerable: true,
|
|
12639
|
+
get: function () {
|
|
12640
|
+
return _ag_ui_core_schemas.AudioPartSchema;
|
|
12593
12641
|
}
|
|
12594
12642
|
});
|
|
12595
12643
|
exports.AudioRecorderError = AudioRecorderError;
|
|
@@ -12605,12 +12653,6 @@ Object.defineProperty(exports, 'BackwardCompatibility_0_0_45', {
|
|
|
12605
12653
|
return _ag_ui_client.BackwardCompatibility_0_0_45;
|
|
12606
12654
|
}
|
|
12607
12655
|
});
|
|
12608
|
-
Object.defineProperty(exports, 'BackwardCompatibility_0_0_47', {
|
|
12609
|
-
enumerable: true,
|
|
12610
|
-
get: function () {
|
|
12611
|
-
return _ag_ui_client.BackwardCompatibility_0_0_47;
|
|
12612
|
-
}
|
|
12613
|
-
});
|
|
12614
12656
|
Object.defineProperty(exports, 'BackwardCompatibility_0_0_57', {
|
|
12615
12657
|
enumerable: true,
|
|
12616
12658
|
get: function () {
|
|
@@ -12620,25 +12662,31 @@ Object.defineProperty(exports, 'BackwardCompatibility_0_0_57', {
|
|
|
12620
12662
|
Object.defineProperty(exports, 'BaseEventSchema', {
|
|
12621
12663
|
enumerable: true,
|
|
12622
12664
|
get: function () {
|
|
12623
|
-
return
|
|
12665
|
+
return _ag_ui_core_schemas.BaseEventSchema;
|
|
12624
12666
|
}
|
|
12625
12667
|
});
|
|
12626
12668
|
Object.defineProperty(exports, 'BaseMessageSchema', {
|
|
12627
12669
|
enumerable: true,
|
|
12628
12670
|
get: function () {
|
|
12629
|
-
return
|
|
12671
|
+
return _ag_ui_core_schemas.BaseMessageSchema;
|
|
12630
12672
|
}
|
|
12631
12673
|
});
|
|
12632
|
-
Object.defineProperty(exports, '
|
|
12674
|
+
Object.defineProperty(exports, 'CompatibilityBoundary', {
|
|
12633
12675
|
enumerable: true,
|
|
12634
12676
|
get: function () {
|
|
12635
|
-
return _ag_ui_client.
|
|
12677
|
+
return _ag_ui_client.CompatibilityBoundary;
|
|
12678
|
+
}
|
|
12679
|
+
});
|
|
12680
|
+
Object.defineProperty(exports, 'ContentPartSchema', {
|
|
12681
|
+
enumerable: true,
|
|
12682
|
+
get: function () {
|
|
12683
|
+
return _ag_ui_core_schemas.ContentPartSchema;
|
|
12636
12684
|
}
|
|
12637
12685
|
});
|
|
12638
12686
|
Object.defineProperty(exports, 'ContextSchema', {
|
|
12639
12687
|
enumerable: true,
|
|
12640
12688
|
get: function () {
|
|
12641
|
-
return
|
|
12689
|
+
return _ag_ui_core_schemas.ContextSchema;
|
|
12642
12690
|
}
|
|
12643
12691
|
});
|
|
12644
12692
|
Object.defineProperty(exports, 'ContextStore', {
|
|
@@ -12712,10 +12760,22 @@ Object.defineProperty(exports, 'CopilotSidebarView', {
|
|
|
12712
12760
|
}
|
|
12713
12761
|
});
|
|
12714
12762
|
exports.CopilotThreadsDrawer = CopilotThreadsDrawer;
|
|
12763
|
+
Object.defineProperty(exports, 'CopyOperationSchema', {
|
|
12764
|
+
enumerable: true,
|
|
12765
|
+
get: function () {
|
|
12766
|
+
return _ag_ui_core_schemas.CopyOperationSchema;
|
|
12767
|
+
}
|
|
12768
|
+
});
|
|
12715
12769
|
Object.defineProperty(exports, 'CustomEventSchema', {
|
|
12716
12770
|
enumerable: true,
|
|
12717
12771
|
get: function () {
|
|
12718
|
-
return
|
|
12772
|
+
return _ag_ui_core_schemas.CustomEventSchema;
|
|
12773
|
+
}
|
|
12774
|
+
});
|
|
12775
|
+
Object.defineProperty(exports, 'DataSourceSchema', {
|
|
12776
|
+
enumerable: true,
|
|
12777
|
+
get: function () {
|
|
12778
|
+
return _ag_ui_core_schemas.DataSourceSchema;
|
|
12719
12779
|
}
|
|
12720
12780
|
});
|
|
12721
12781
|
Object.defineProperty(exports, 'DebugLogger', {
|
|
@@ -12727,25 +12787,37 @@ Object.defineProperty(exports, 'DebugLogger', {
|
|
|
12727
12787
|
Object.defineProperty(exports, 'DeveloperMessageSchema', {
|
|
12728
12788
|
enumerable: true,
|
|
12729
12789
|
get: function () {
|
|
12730
|
-
return
|
|
12790
|
+
return _ag_ui_core_schemas.DeveloperMessageSchema;
|
|
12731
12791
|
}
|
|
12732
12792
|
});
|
|
12733
12793
|
Object.defineProperty(exports, 'DocumentInputContentSchema', {
|
|
12734
12794
|
enumerable: true,
|
|
12735
12795
|
get: function () {
|
|
12736
|
-
return
|
|
12796
|
+
return _ag_ui_core_schemas.DocumentInputContentSchema;
|
|
12737
12797
|
}
|
|
12738
12798
|
});
|
|
12739
12799
|
Object.defineProperty(exports, 'DocumentInputPartSchema', {
|
|
12740
12800
|
enumerable: true,
|
|
12741
12801
|
get: function () {
|
|
12742
|
-
return
|
|
12802
|
+
return _ag_ui_core_schemas.DocumentInputPartSchema;
|
|
12803
|
+
}
|
|
12804
|
+
});
|
|
12805
|
+
Object.defineProperty(exports, 'DocumentPartSchema', {
|
|
12806
|
+
enumerable: true,
|
|
12807
|
+
get: function () {
|
|
12808
|
+
return _ag_ui_core_schemas.DocumentPartSchema;
|
|
12809
|
+
}
|
|
12810
|
+
});
|
|
12811
|
+
Object.defineProperty(exports, 'EventSchema', {
|
|
12812
|
+
enumerable: true,
|
|
12813
|
+
get: function () {
|
|
12814
|
+
return _ag_ui_core_schemas.EventSchema;
|
|
12743
12815
|
}
|
|
12744
12816
|
});
|
|
12745
12817
|
Object.defineProperty(exports, 'EventSchemas', {
|
|
12746
12818
|
enumerable: true,
|
|
12747
12819
|
get: function () {
|
|
12748
|
-
return
|
|
12820
|
+
return _ag_ui_core_schemas.EventSchemas;
|
|
12749
12821
|
}
|
|
12750
12822
|
});
|
|
12751
12823
|
Object.defineProperty(exports, 'EventType', {
|
|
@@ -12754,10 +12826,22 @@ Object.defineProperty(exports, 'EventType', {
|
|
|
12754
12826
|
return _ag_ui_client.EventType;
|
|
12755
12827
|
}
|
|
12756
12828
|
});
|
|
12829
|
+
Object.defineProperty(exports, 'EventTypeSchema', {
|
|
12830
|
+
enumerable: true,
|
|
12831
|
+
get: function () {
|
|
12832
|
+
return _ag_ui_core_schemas.EventTypeSchema;
|
|
12833
|
+
}
|
|
12834
|
+
});
|
|
12757
12835
|
Object.defineProperty(exports, 'ExecutionCapabilitiesSchema', {
|
|
12758
12836
|
enumerable: true,
|
|
12759
12837
|
get: function () {
|
|
12760
|
-
return
|
|
12838
|
+
return _ag_ui_core_schemas.ExecutionCapabilitiesSchema;
|
|
12839
|
+
}
|
|
12840
|
+
});
|
|
12841
|
+
Object.defineProperty(exports, 'FileSourceSchema', {
|
|
12842
|
+
enumerable: true,
|
|
12843
|
+
get: function () {
|
|
12844
|
+
return _ag_ui_core_schemas.FileSourceSchema;
|
|
12761
12845
|
}
|
|
12762
12846
|
});
|
|
12763
12847
|
Object.defineProperty(exports, 'FilterToolCallsMiddleware', {
|
|
@@ -12769,7 +12853,7 @@ Object.defineProperty(exports, 'FilterToolCallsMiddleware', {
|
|
|
12769
12853
|
Object.defineProperty(exports, 'FunctionCallSchema', {
|
|
12770
12854
|
enumerable: true,
|
|
12771
12855
|
get: function () {
|
|
12772
|
-
return
|
|
12856
|
+
return _ag_ui_core_schemas.FunctionCallSchema;
|
|
12773
12857
|
}
|
|
12774
12858
|
});
|
|
12775
12859
|
Object.defineProperty(exports, 'FunctionMiddleware', {
|
|
@@ -12788,7 +12872,7 @@ Object.defineProperty(exports, 'HttpAgent', {
|
|
|
12788
12872
|
Object.defineProperty(exports, 'HumanInTheLoopCapabilitiesSchema', {
|
|
12789
12873
|
enumerable: true,
|
|
12790
12874
|
get: function () {
|
|
12791
|
-
return
|
|
12875
|
+
return _ag_ui_core_schemas.HumanInTheLoopCapabilitiesSchema;
|
|
12792
12876
|
}
|
|
12793
12877
|
});
|
|
12794
12878
|
Object.defineProperty(exports, 'INSPECTOR_THREAD_BRIDGE_PLUGIN_ID', {
|
|
@@ -12802,43 +12886,49 @@ exports.INTERRUPT_EVENT_NAME = INTERRUPT_EVENT_NAME;
|
|
|
12802
12886
|
Object.defineProperty(exports, 'IdentityCapabilitiesSchema', {
|
|
12803
12887
|
enumerable: true,
|
|
12804
12888
|
get: function () {
|
|
12805
|
-
return
|
|
12889
|
+
return _ag_ui_core_schemas.IdentityCapabilitiesSchema;
|
|
12806
12890
|
}
|
|
12807
12891
|
});
|
|
12808
12892
|
Object.defineProperty(exports, 'ImageInputContentSchema', {
|
|
12809
12893
|
enumerable: true,
|
|
12810
12894
|
get: function () {
|
|
12811
|
-
return
|
|
12895
|
+
return _ag_ui_core_schemas.ImageInputContentSchema;
|
|
12812
12896
|
}
|
|
12813
12897
|
});
|
|
12814
12898
|
Object.defineProperty(exports, 'ImageInputPartSchema', {
|
|
12815
12899
|
enumerable: true,
|
|
12816
12900
|
get: function () {
|
|
12817
|
-
return
|
|
12901
|
+
return _ag_ui_core_schemas.ImageInputPartSchema;
|
|
12902
|
+
}
|
|
12903
|
+
});
|
|
12904
|
+
Object.defineProperty(exports, 'ImagePartSchema', {
|
|
12905
|
+
enumerable: true,
|
|
12906
|
+
get: function () {
|
|
12907
|
+
return _ag_ui_core_schemas.ImagePartSchema;
|
|
12818
12908
|
}
|
|
12819
12909
|
});
|
|
12820
12910
|
Object.defineProperty(exports, 'InputContentDataSourceSchema', {
|
|
12821
12911
|
enumerable: true,
|
|
12822
12912
|
get: function () {
|
|
12823
|
-
return
|
|
12913
|
+
return _ag_ui_core_schemas.InputContentDataSourceSchema;
|
|
12824
12914
|
}
|
|
12825
12915
|
});
|
|
12826
12916
|
Object.defineProperty(exports, 'InputContentSchema', {
|
|
12827
12917
|
enumerable: true,
|
|
12828
12918
|
get: function () {
|
|
12829
|
-
return
|
|
12919
|
+
return _ag_ui_core_schemas.InputContentSchema;
|
|
12830
12920
|
}
|
|
12831
12921
|
});
|
|
12832
12922
|
Object.defineProperty(exports, 'InputContentSourceSchema', {
|
|
12833
12923
|
enumerable: true,
|
|
12834
12924
|
get: function () {
|
|
12835
|
-
return
|
|
12925
|
+
return _ag_ui_core_schemas.InputContentSourceSchema;
|
|
12836
12926
|
}
|
|
12837
12927
|
});
|
|
12838
12928
|
Object.defineProperty(exports, 'InputContentUrlSourceSchema', {
|
|
12839
12929
|
enumerable: true,
|
|
12840
12930
|
get: function () {
|
|
12841
|
-
return
|
|
12931
|
+
return _ag_ui_core_schemas.InputContentUrlSourceSchema;
|
|
12842
12932
|
}
|
|
12843
12933
|
});
|
|
12844
12934
|
Object.defineProperty(exports, 'IntelligenceAgent', {
|
|
@@ -12852,7 +12942,25 @@ exports.IntelligenceIndicatorView = IntelligenceIndicatorView;
|
|
|
12852
12942
|
Object.defineProperty(exports, 'InterruptSchema', {
|
|
12853
12943
|
enumerable: true,
|
|
12854
12944
|
get: function () {
|
|
12855
|
-
return
|
|
12945
|
+
return _ag_ui_core_schemas.InterruptSchema;
|
|
12946
|
+
}
|
|
12947
|
+
});
|
|
12948
|
+
Object.defineProperty(exports, 'JsonPatchOperationSchema', {
|
|
12949
|
+
enumerable: true,
|
|
12950
|
+
get: function () {
|
|
12951
|
+
return _ag_ui_core_schemas.JsonPatchOperationSchema;
|
|
12952
|
+
}
|
|
12953
|
+
});
|
|
12954
|
+
Object.defineProperty(exports, 'JsonPatchSchema', {
|
|
12955
|
+
enumerable: true,
|
|
12956
|
+
get: function () {
|
|
12957
|
+
return _ag_ui_core_schemas.JsonPatchSchema;
|
|
12958
|
+
}
|
|
12959
|
+
});
|
|
12960
|
+
Object.defineProperty(exports, 'JsonPointerSchema', {
|
|
12961
|
+
enumerable: true,
|
|
12962
|
+
get: function () {
|
|
12963
|
+
return _ag_ui_core_schemas.JsonPointerSchema;
|
|
12856
12964
|
}
|
|
12857
12965
|
});
|
|
12858
12966
|
Object.defineProperty(exports, 'MCPAppsActivityContentSchema', {
|
|
@@ -12883,19 +12991,19 @@ Object.defineProperty(exports, 'MemoryError', {
|
|
|
12883
12991
|
Object.defineProperty(exports, 'MessageSchema', {
|
|
12884
12992
|
enumerable: true,
|
|
12885
12993
|
get: function () {
|
|
12886
|
-
return
|
|
12994
|
+
return _ag_ui_core_schemas.MessageSchema;
|
|
12887
12995
|
}
|
|
12888
12996
|
});
|
|
12889
12997
|
Object.defineProperty(exports, 'MessagesSnapshotEventSchema', {
|
|
12890
12998
|
enumerable: true,
|
|
12891
12999
|
get: function () {
|
|
12892
|
-
return
|
|
13000
|
+
return _ag_ui_core_schemas.MessagesSnapshotEventSchema;
|
|
12893
13001
|
}
|
|
12894
13002
|
});
|
|
12895
13003
|
Object.defineProperty(exports, 'MetadataSchema', {
|
|
12896
13004
|
enumerable: true,
|
|
12897
13005
|
get: function () {
|
|
12898
|
-
return
|
|
13006
|
+
return _ag_ui_core_schemas.MetadataSchema;
|
|
12899
13007
|
}
|
|
12900
13008
|
});
|
|
12901
13009
|
Object.defineProperty(exports, 'Middleware', {
|
|
@@ -12904,28 +13012,34 @@ Object.defineProperty(exports, 'Middleware', {
|
|
|
12904
13012
|
return _ag_ui_client.Middleware;
|
|
12905
13013
|
}
|
|
12906
13014
|
});
|
|
13015
|
+
Object.defineProperty(exports, 'MoveOperationSchema', {
|
|
13016
|
+
enumerable: true,
|
|
13017
|
+
get: function () {
|
|
13018
|
+
return _ag_ui_core_schemas.MoveOperationSchema;
|
|
13019
|
+
}
|
|
13020
|
+
});
|
|
12907
13021
|
Object.defineProperty(exports, 'MultiAgentCapabilitiesSchema', {
|
|
12908
13022
|
enumerable: true,
|
|
12909
13023
|
get: function () {
|
|
12910
|
-
return
|
|
13024
|
+
return _ag_ui_core_schemas.MultiAgentCapabilitiesSchema;
|
|
12911
13025
|
}
|
|
12912
13026
|
});
|
|
12913
13027
|
Object.defineProperty(exports, 'MultimodalCapabilitiesSchema', {
|
|
12914
13028
|
enumerable: true,
|
|
12915
13029
|
get: function () {
|
|
12916
|
-
return
|
|
13030
|
+
return _ag_ui_core_schemas.MultimodalCapabilitiesSchema;
|
|
12917
13031
|
}
|
|
12918
13032
|
});
|
|
12919
13033
|
Object.defineProperty(exports, 'MultimodalInputCapabilitiesSchema', {
|
|
12920
13034
|
enumerable: true,
|
|
12921
13035
|
get: function () {
|
|
12922
|
-
return
|
|
13036
|
+
return _ag_ui_core_schemas.MultimodalInputCapabilitiesSchema;
|
|
12923
13037
|
}
|
|
12924
13038
|
});
|
|
12925
13039
|
Object.defineProperty(exports, 'MultimodalOutputCapabilitiesSchema', {
|
|
12926
13040
|
enumerable: true,
|
|
12927
13041
|
get: function () {
|
|
12928
|
-
return
|
|
13042
|
+
return _ag_ui_core_schemas.MultimodalOutputCapabilitiesSchema;
|
|
12929
13043
|
}
|
|
12930
13044
|
});
|
|
12931
13045
|
exports.OpenGenerativeUIActivityRenderer = OpenGenerativeUIActivityRenderer;
|
|
@@ -12935,13 +13049,25 @@ exports.OpenGenerativeUIToolRenderer = OpenGenerativeUIToolRenderer;
|
|
|
12935
13049
|
Object.defineProperty(exports, 'OptionalMetadataSchema', {
|
|
12936
13050
|
enumerable: true,
|
|
12937
13051
|
get: function () {
|
|
12938
|
-
return
|
|
13052
|
+
return _ag_ui_core_schemas.OptionalMetadataSchema;
|
|
12939
13053
|
}
|
|
12940
13054
|
});
|
|
12941
13055
|
Object.defineProperty(exports, 'OutputCapabilitiesSchema', {
|
|
12942
13056
|
enumerable: true,
|
|
12943
13057
|
get: function () {
|
|
12944
|
-
return
|
|
13058
|
+
return _ag_ui_core_schemas.OutputCapabilitiesSchema;
|
|
13059
|
+
}
|
|
13060
|
+
});
|
|
13061
|
+
Object.defineProperty(exports, 'PROTOCOL_VERSION', {
|
|
13062
|
+
enumerable: true,
|
|
13063
|
+
get: function () {
|
|
13064
|
+
return _ag_ui_client.PROTOCOL_VERSION;
|
|
13065
|
+
}
|
|
13066
|
+
});
|
|
13067
|
+
Object.defineProperty(exports, 'PartSourceSchema', {
|
|
13068
|
+
enumerable: true,
|
|
13069
|
+
get: function () {
|
|
13070
|
+
return _ag_ui_core_schemas.PartSourceSchema;
|
|
12945
13071
|
}
|
|
12946
13072
|
});
|
|
12947
13073
|
Object.defineProperty(exports, 'ProxiedCopilotRuntimeAgent', {
|
|
@@ -12953,115 +13079,133 @@ Object.defineProperty(exports, 'ProxiedCopilotRuntimeAgent', {
|
|
|
12953
13079
|
Object.defineProperty(exports, 'RawEventSchema', {
|
|
12954
13080
|
enumerable: true,
|
|
12955
13081
|
get: function () {
|
|
12956
|
-
return
|
|
13082
|
+
return _ag_ui_core_schemas.RawEventSchema;
|
|
12957
13083
|
}
|
|
12958
13084
|
});
|
|
12959
13085
|
Object.defineProperty(exports, 'ReasoningCapabilitiesSchema', {
|
|
12960
13086
|
enumerable: true,
|
|
12961
13087
|
get: function () {
|
|
12962
|
-
return
|
|
13088
|
+
return _ag_ui_core_schemas.ReasoningCapabilitiesSchema;
|
|
12963
13089
|
}
|
|
12964
13090
|
});
|
|
12965
13091
|
Object.defineProperty(exports, 'ReasoningEncryptedValueEventSchema', {
|
|
12966
13092
|
enumerable: true,
|
|
12967
13093
|
get: function () {
|
|
12968
|
-
return
|
|
13094
|
+
return _ag_ui_core_schemas.ReasoningEncryptedValueEventSchema;
|
|
12969
13095
|
}
|
|
12970
13096
|
});
|
|
12971
13097
|
Object.defineProperty(exports, 'ReasoningEncryptedValueSubtypeSchema', {
|
|
12972
13098
|
enumerable: true,
|
|
12973
13099
|
get: function () {
|
|
12974
|
-
return
|
|
13100
|
+
return _ag_ui_core_schemas.ReasoningEncryptedValueSubtypeSchema;
|
|
12975
13101
|
}
|
|
12976
13102
|
});
|
|
12977
13103
|
Object.defineProperty(exports, 'ReasoningEndEventSchema', {
|
|
12978
13104
|
enumerable: true,
|
|
12979
13105
|
get: function () {
|
|
12980
|
-
return
|
|
13106
|
+
return _ag_ui_core_schemas.ReasoningEndEventSchema;
|
|
12981
13107
|
}
|
|
12982
13108
|
});
|
|
12983
13109
|
Object.defineProperty(exports, 'ReasoningMessageChunkEventSchema', {
|
|
12984
13110
|
enumerable: true,
|
|
12985
13111
|
get: function () {
|
|
12986
|
-
return
|
|
13112
|
+
return _ag_ui_core_schemas.ReasoningMessageChunkEventSchema;
|
|
12987
13113
|
}
|
|
12988
13114
|
});
|
|
12989
13115
|
Object.defineProperty(exports, 'ReasoningMessageContentEventSchema', {
|
|
12990
13116
|
enumerable: true,
|
|
12991
13117
|
get: function () {
|
|
12992
|
-
return
|
|
13118
|
+
return _ag_ui_core_schemas.ReasoningMessageContentEventSchema;
|
|
12993
13119
|
}
|
|
12994
13120
|
});
|
|
12995
13121
|
Object.defineProperty(exports, 'ReasoningMessageEndEventSchema', {
|
|
12996
13122
|
enumerable: true,
|
|
12997
13123
|
get: function () {
|
|
12998
|
-
return
|
|
13124
|
+
return _ag_ui_core_schemas.ReasoningMessageEndEventSchema;
|
|
12999
13125
|
}
|
|
13000
13126
|
});
|
|
13001
13127
|
Object.defineProperty(exports, 'ReasoningMessageSchema', {
|
|
13002
13128
|
enumerable: true,
|
|
13003
13129
|
get: function () {
|
|
13004
|
-
return
|
|
13130
|
+
return _ag_ui_core_schemas.ReasoningMessageSchema;
|
|
13005
13131
|
}
|
|
13006
13132
|
});
|
|
13007
13133
|
Object.defineProperty(exports, 'ReasoningMessageStartEventSchema', {
|
|
13008
13134
|
enumerable: true,
|
|
13009
13135
|
get: function () {
|
|
13010
|
-
return
|
|
13136
|
+
return _ag_ui_core_schemas.ReasoningMessageStartEventSchema;
|
|
13011
13137
|
}
|
|
13012
13138
|
});
|
|
13013
13139
|
Object.defineProperty(exports, 'ReasoningStartEventSchema', {
|
|
13014
13140
|
enumerable: true,
|
|
13015
13141
|
get: function () {
|
|
13016
|
-
return
|
|
13142
|
+
return _ag_ui_core_schemas.ReasoningStartEventSchema;
|
|
13143
|
+
}
|
|
13144
|
+
});
|
|
13145
|
+
Object.defineProperty(exports, 'RemoveOperationSchema', {
|
|
13146
|
+
enumerable: true,
|
|
13147
|
+
get: function () {
|
|
13148
|
+
return _ag_ui_core_schemas.RemoveOperationSchema;
|
|
13149
|
+
}
|
|
13150
|
+
});
|
|
13151
|
+
Object.defineProperty(exports, 'ReplaceOperationSchema', {
|
|
13152
|
+
enumerable: true,
|
|
13153
|
+
get: function () {
|
|
13154
|
+
return _ag_ui_core_schemas.ReplaceOperationSchema;
|
|
13017
13155
|
}
|
|
13018
13156
|
});
|
|
13019
13157
|
Object.defineProperty(exports, 'ResumeEntrySchema', {
|
|
13020
13158
|
enumerable: true,
|
|
13021
13159
|
get: function () {
|
|
13022
|
-
return
|
|
13160
|
+
return _ag_ui_core_schemas.ResumeEntrySchema;
|
|
13023
13161
|
}
|
|
13024
13162
|
});
|
|
13025
13163
|
Object.defineProperty(exports, 'RoleSchema', {
|
|
13026
13164
|
enumerable: true,
|
|
13027
13165
|
get: function () {
|
|
13028
|
-
return
|
|
13166
|
+
return _ag_ui_core_schemas.RoleSchema;
|
|
13029
13167
|
}
|
|
13030
13168
|
});
|
|
13031
13169
|
Object.defineProperty(exports, 'RunAgentInputSchema', {
|
|
13032
13170
|
enumerable: true,
|
|
13033
13171
|
get: function () {
|
|
13034
|
-
return
|
|
13172
|
+
return _ag_ui_core_schemas.RunAgentInputSchema;
|
|
13035
13173
|
}
|
|
13036
13174
|
});
|
|
13037
13175
|
Object.defineProperty(exports, 'RunErrorEventSchema', {
|
|
13038
13176
|
enumerable: true,
|
|
13039
13177
|
get: function () {
|
|
13040
|
-
return
|
|
13178
|
+
return _ag_ui_core_schemas.RunErrorEventSchema;
|
|
13179
|
+
}
|
|
13180
|
+
});
|
|
13181
|
+
Object.defineProperty(exports, 'RunFinishedCancelledOutcomeSchema', {
|
|
13182
|
+
enumerable: true,
|
|
13183
|
+
get: function () {
|
|
13184
|
+
return _ag_ui_core_schemas.RunFinishedCancelledOutcomeSchema;
|
|
13041
13185
|
}
|
|
13042
13186
|
});
|
|
13043
13187
|
Object.defineProperty(exports, 'RunFinishedEventSchema', {
|
|
13044
13188
|
enumerable: true,
|
|
13045
13189
|
get: function () {
|
|
13046
|
-
return
|
|
13190
|
+
return _ag_ui_core_schemas.RunFinishedEventSchema;
|
|
13047
13191
|
}
|
|
13048
13192
|
});
|
|
13049
13193
|
Object.defineProperty(exports, 'RunFinishedInterruptOutcomeSchema', {
|
|
13050
13194
|
enumerable: true,
|
|
13051
13195
|
get: function () {
|
|
13052
|
-
return
|
|
13196
|
+
return _ag_ui_core_schemas.RunFinishedInterruptOutcomeSchema;
|
|
13053
13197
|
}
|
|
13054
13198
|
});
|
|
13055
13199
|
Object.defineProperty(exports, 'RunFinishedOutcomeSchema', {
|
|
13056
13200
|
enumerable: true,
|
|
13057
13201
|
get: function () {
|
|
13058
|
-
return
|
|
13202
|
+
return _ag_ui_core_schemas.RunFinishedOutcomeSchema;
|
|
13059
13203
|
}
|
|
13060
13204
|
});
|
|
13061
13205
|
Object.defineProperty(exports, 'RunFinishedSuccessOutcomeSchema', {
|
|
13062
13206
|
enumerable: true,
|
|
13063
13207
|
get: function () {
|
|
13064
|
-
return
|
|
13208
|
+
return _ag_ui_core_schemas.RunFinishedSuccessOutcomeSchema;
|
|
13065
13209
|
}
|
|
13066
13210
|
});
|
|
13067
13211
|
Object.defineProperty(exports, 'RunHandler', {
|
|
@@ -13073,20 +13217,20 @@ Object.defineProperty(exports, 'RunHandler', {
|
|
|
13073
13217
|
Object.defineProperty(exports, 'RunStartedEventSchema', {
|
|
13074
13218
|
enumerable: true,
|
|
13075
13219
|
get: function () {
|
|
13076
|
-
return
|
|
13220
|
+
return _ag_ui_core_schemas.RunStartedEventSchema;
|
|
13077
13221
|
}
|
|
13078
13222
|
});
|
|
13079
13223
|
exports.SandboxFunctionsContext = SandboxFunctionsContext;
|
|
13080
13224
|
Object.defineProperty(exports, 'StateCapabilitiesSchema', {
|
|
13081
13225
|
enumerable: true,
|
|
13082
13226
|
get: function () {
|
|
13083
|
-
return
|
|
13227
|
+
return _ag_ui_core_schemas.StateCapabilitiesSchema;
|
|
13084
13228
|
}
|
|
13085
13229
|
});
|
|
13086
13230
|
Object.defineProperty(exports, 'StateDeltaEventSchema', {
|
|
13087
13231
|
enumerable: true,
|
|
13088
13232
|
get: function () {
|
|
13089
|
-
return
|
|
13233
|
+
return _ag_ui_core_schemas.StateDeltaEventSchema;
|
|
13090
13234
|
}
|
|
13091
13235
|
});
|
|
13092
13236
|
Object.defineProperty(exports, 'StateManager', {
|
|
@@ -13098,181 +13242,175 @@ Object.defineProperty(exports, 'StateManager', {
|
|
|
13098
13242
|
Object.defineProperty(exports, 'StateSchema', {
|
|
13099
13243
|
enumerable: true,
|
|
13100
13244
|
get: function () {
|
|
13101
|
-
return
|
|
13245
|
+
return _ag_ui_core_schemas.StateSchema;
|
|
13102
13246
|
}
|
|
13103
13247
|
});
|
|
13104
13248
|
Object.defineProperty(exports, 'StateSnapshotEventSchema', {
|
|
13105
13249
|
enumerable: true,
|
|
13106
13250
|
get: function () {
|
|
13107
|
-
return
|
|
13251
|
+
return _ag_ui_core_schemas.StateSnapshotEventSchema;
|
|
13108
13252
|
}
|
|
13109
13253
|
});
|
|
13110
13254
|
Object.defineProperty(exports, 'StepFinishedEventSchema', {
|
|
13111
13255
|
enumerable: true,
|
|
13112
13256
|
get: function () {
|
|
13113
|
-
return
|
|
13257
|
+
return _ag_ui_core_schemas.StepFinishedEventSchema;
|
|
13114
13258
|
}
|
|
13115
13259
|
});
|
|
13116
13260
|
Object.defineProperty(exports, 'StepStartedEventSchema', {
|
|
13117
13261
|
enumerable: true,
|
|
13118
13262
|
get: function () {
|
|
13119
|
-
return
|
|
13120
|
-
}
|
|
13121
|
-
});
|
|
13122
|
-
Object.defineProperty(exports, 'SubAgentInfoSchema', {
|
|
13123
|
-
enumerable: true,
|
|
13124
|
-
get: function () {
|
|
13125
|
-
return _ag_ui_client.SubAgentInfoSchema;
|
|
13263
|
+
return _ag_ui_core_schemas.StepStartedEventSchema;
|
|
13126
13264
|
}
|
|
13127
13265
|
});
|
|
13128
13266
|
Object.defineProperty(exports, 'SubagentErrorEventSchema', {
|
|
13129
13267
|
enumerable: true,
|
|
13130
13268
|
get: function () {
|
|
13131
|
-
return
|
|
13269
|
+
return _ag_ui_core_schemas.SubagentErrorEventSchema;
|
|
13132
13270
|
}
|
|
13133
13271
|
});
|
|
13134
13272
|
Object.defineProperty(exports, 'SubagentFinishedEventSchema', {
|
|
13135
13273
|
enumerable: true,
|
|
13136
13274
|
get: function () {
|
|
13137
|
-
return
|
|
13275
|
+
return _ag_ui_core_schemas.SubagentFinishedEventSchema;
|
|
13138
13276
|
}
|
|
13139
13277
|
});
|
|
13140
13278
|
Object.defineProperty(exports, 'SubagentFinishedOutcomeSchema', {
|
|
13141
13279
|
enumerable: true,
|
|
13142
13280
|
get: function () {
|
|
13143
|
-
return
|
|
13281
|
+
return _ag_ui_core_schemas.SubagentFinishedOutcomeSchema;
|
|
13144
13282
|
}
|
|
13145
13283
|
});
|
|
13146
13284
|
Object.defineProperty(exports, 'SubagentFinishedSuccessOutcomeSchema', {
|
|
13147
13285
|
enumerable: true,
|
|
13148
13286
|
get: function () {
|
|
13149
|
-
return
|
|
13287
|
+
return _ag_ui_core_schemas.SubagentFinishedSuccessOutcomeSchema;
|
|
13150
13288
|
}
|
|
13151
13289
|
});
|
|
13152
13290
|
Object.defineProperty(exports, 'SubagentFinishedSuspendedOutcomeSchema', {
|
|
13153
13291
|
enumerable: true,
|
|
13154
13292
|
get: function () {
|
|
13155
|
-
return
|
|
13293
|
+
return _ag_ui_core_schemas.SubagentFinishedSuspendedOutcomeSchema;
|
|
13156
13294
|
}
|
|
13157
13295
|
});
|
|
13158
|
-
Object.defineProperty(exports, '
|
|
13296
|
+
Object.defineProperty(exports, 'SubagentInfoSchema', {
|
|
13159
13297
|
enumerable: true,
|
|
13160
13298
|
get: function () {
|
|
13161
|
-
return
|
|
13299
|
+
return _ag_ui_core_schemas.SubagentInfoSchema;
|
|
13162
13300
|
}
|
|
13163
13301
|
});
|
|
13164
|
-
Object.defineProperty(exports, '
|
|
13302
|
+
Object.defineProperty(exports, 'SubagentRunIdSchema', {
|
|
13165
13303
|
enumerable: true,
|
|
13166
13304
|
get: function () {
|
|
13167
|
-
return
|
|
13305
|
+
return _ag_ui_core_schemas.SubagentRunIdSchema;
|
|
13168
13306
|
}
|
|
13169
13307
|
});
|
|
13170
|
-
Object.defineProperty(exports, '
|
|
13308
|
+
Object.defineProperty(exports, 'SubagentStartedEventSchema', {
|
|
13171
13309
|
enumerable: true,
|
|
13172
13310
|
get: function () {
|
|
13173
|
-
return
|
|
13311
|
+
return _ag_ui_core_schemas.SubagentStartedEventSchema;
|
|
13174
13312
|
}
|
|
13175
13313
|
});
|
|
13176
|
-
Object.defineProperty(exports, '
|
|
13314
|
+
Object.defineProperty(exports, 'SuggestionEngine', {
|
|
13177
13315
|
enumerable: true,
|
|
13178
13316
|
get: function () {
|
|
13179
|
-
return
|
|
13317
|
+
return _copilotkit_core.SuggestionEngine;
|
|
13180
13318
|
}
|
|
13181
13319
|
});
|
|
13182
|
-
Object.defineProperty(exports, '
|
|
13320
|
+
Object.defineProperty(exports, 'SystemMessageSchema', {
|
|
13183
13321
|
enumerable: true,
|
|
13184
13322
|
get: function () {
|
|
13185
|
-
return
|
|
13323
|
+
return _ag_ui_core_schemas.SystemMessageSchema;
|
|
13186
13324
|
}
|
|
13187
13325
|
});
|
|
13188
|
-
Object.defineProperty(exports, '
|
|
13326
|
+
Object.defineProperty(exports, 'TestOperationSchema', {
|
|
13189
13327
|
enumerable: true,
|
|
13190
13328
|
get: function () {
|
|
13191
|
-
return
|
|
13329
|
+
return _ag_ui_core_schemas.TestOperationSchema;
|
|
13192
13330
|
}
|
|
13193
13331
|
});
|
|
13194
|
-
Object.defineProperty(exports, '
|
|
13332
|
+
Object.defineProperty(exports, 'TextInputContentSchema', {
|
|
13195
13333
|
enumerable: true,
|
|
13196
13334
|
get: function () {
|
|
13197
|
-
return
|
|
13335
|
+
return _ag_ui_core_schemas.TextInputContentSchema;
|
|
13198
13336
|
}
|
|
13199
13337
|
});
|
|
13200
|
-
Object.defineProperty(exports, '
|
|
13338
|
+
Object.defineProperty(exports, 'TextMessageChunkEventSchema', {
|
|
13201
13339
|
enumerable: true,
|
|
13202
13340
|
get: function () {
|
|
13203
|
-
return
|
|
13341
|
+
return _ag_ui_core_schemas.TextMessageChunkEventSchema;
|
|
13204
13342
|
}
|
|
13205
13343
|
});
|
|
13206
|
-
Object.defineProperty(exports, '
|
|
13344
|
+
Object.defineProperty(exports, 'TextMessageContentEventSchema', {
|
|
13207
13345
|
enumerable: true,
|
|
13208
13346
|
get: function () {
|
|
13209
|
-
return
|
|
13347
|
+
return _ag_ui_core_schemas.TextMessageContentEventSchema;
|
|
13210
13348
|
}
|
|
13211
13349
|
});
|
|
13212
|
-
Object.defineProperty(exports, '
|
|
13350
|
+
Object.defineProperty(exports, 'TextMessageEndEventSchema', {
|
|
13213
13351
|
enumerable: true,
|
|
13214
13352
|
get: function () {
|
|
13215
|
-
return
|
|
13353
|
+
return _ag_ui_core_schemas.TextMessageEndEventSchema;
|
|
13216
13354
|
}
|
|
13217
13355
|
});
|
|
13218
|
-
Object.defineProperty(exports, '
|
|
13356
|
+
Object.defineProperty(exports, 'TextMessageRoleSchema', {
|
|
13219
13357
|
enumerable: true,
|
|
13220
13358
|
get: function () {
|
|
13221
|
-
return
|
|
13359
|
+
return _ag_ui_core_schemas.TextMessageRoleSchema;
|
|
13222
13360
|
}
|
|
13223
13361
|
});
|
|
13224
|
-
Object.defineProperty(exports, '
|
|
13362
|
+
Object.defineProperty(exports, 'TextMessageStartEventSchema', {
|
|
13225
13363
|
enumerable: true,
|
|
13226
13364
|
get: function () {
|
|
13227
|
-
return
|
|
13365
|
+
return _ag_ui_core_schemas.TextMessageStartEventSchema;
|
|
13228
13366
|
}
|
|
13229
13367
|
});
|
|
13230
|
-
Object.defineProperty(exports, '
|
|
13368
|
+
Object.defineProperty(exports, 'TextPartSchema', {
|
|
13231
13369
|
enumerable: true,
|
|
13232
13370
|
get: function () {
|
|
13233
|
-
return
|
|
13371
|
+
return _ag_ui_core_schemas.TextPartSchema;
|
|
13234
13372
|
}
|
|
13235
13373
|
});
|
|
13236
13374
|
Object.defineProperty(exports, 'TokenUsageSchema', {
|
|
13237
13375
|
enumerable: true,
|
|
13238
13376
|
get: function () {
|
|
13239
|
-
return
|
|
13377
|
+
return _ag_ui_core_schemas.TokenUsageSchema;
|
|
13240
13378
|
}
|
|
13241
13379
|
});
|
|
13242
13380
|
Object.defineProperty(exports, 'ToolCallArgsEventSchema', {
|
|
13243
13381
|
enumerable: true,
|
|
13244
13382
|
get: function () {
|
|
13245
|
-
return
|
|
13383
|
+
return _ag_ui_core_schemas.ToolCallArgsEventSchema;
|
|
13246
13384
|
}
|
|
13247
13385
|
});
|
|
13248
13386
|
Object.defineProperty(exports, 'ToolCallChunkEventSchema', {
|
|
13249
13387
|
enumerable: true,
|
|
13250
13388
|
get: function () {
|
|
13251
|
-
return
|
|
13389
|
+
return _ag_ui_core_schemas.ToolCallChunkEventSchema;
|
|
13252
13390
|
}
|
|
13253
13391
|
});
|
|
13254
13392
|
Object.defineProperty(exports, 'ToolCallEndEventSchema', {
|
|
13255
13393
|
enumerable: true,
|
|
13256
13394
|
get: function () {
|
|
13257
|
-
return
|
|
13395
|
+
return _ag_ui_core_schemas.ToolCallEndEventSchema;
|
|
13258
13396
|
}
|
|
13259
13397
|
});
|
|
13260
13398
|
Object.defineProperty(exports, 'ToolCallResultEventSchema', {
|
|
13261
13399
|
enumerable: true,
|
|
13262
13400
|
get: function () {
|
|
13263
|
-
return
|
|
13401
|
+
return _ag_ui_core_schemas.ToolCallResultEventSchema;
|
|
13264
13402
|
}
|
|
13265
13403
|
});
|
|
13266
13404
|
Object.defineProperty(exports, 'ToolCallSchema', {
|
|
13267
13405
|
enumerable: true,
|
|
13268
13406
|
get: function () {
|
|
13269
|
-
return
|
|
13407
|
+
return _ag_ui_core_schemas.ToolCallSchema;
|
|
13270
13408
|
}
|
|
13271
13409
|
});
|
|
13272
13410
|
Object.defineProperty(exports, 'ToolCallStartEventSchema', {
|
|
13273
13411
|
enumerable: true,
|
|
13274
13412
|
get: function () {
|
|
13275
|
-
return
|
|
13413
|
+
return _ag_ui_core_schemas.ToolCallStartEventSchema;
|
|
13276
13414
|
}
|
|
13277
13415
|
});
|
|
13278
13416
|
Object.defineProperty(exports, 'ToolCallStatus', {
|
|
@@ -13284,44 +13422,56 @@ Object.defineProperty(exports, 'ToolCallStatus', {
|
|
|
13284
13422
|
Object.defineProperty(exports, 'ToolMessageSchema', {
|
|
13285
13423
|
enumerable: true,
|
|
13286
13424
|
get: function () {
|
|
13287
|
-
return
|
|
13425
|
+
return _ag_ui_core_schemas.ToolMessageSchema;
|
|
13288
13426
|
}
|
|
13289
13427
|
});
|
|
13290
13428
|
Object.defineProperty(exports, 'ToolSchema', {
|
|
13291
13429
|
enumerable: true,
|
|
13292
13430
|
get: function () {
|
|
13293
|
-
return
|
|
13431
|
+
return _ag_ui_core_schemas.ToolSchema;
|
|
13294
13432
|
}
|
|
13295
13433
|
});
|
|
13296
13434
|
Object.defineProperty(exports, 'ToolsCapabilitiesSchema', {
|
|
13297
13435
|
enumerable: true,
|
|
13298
13436
|
get: function () {
|
|
13299
|
-
return
|
|
13437
|
+
return _ag_ui_core_schemas.ToolsCapabilitiesSchema;
|
|
13300
13438
|
}
|
|
13301
13439
|
});
|
|
13302
13440
|
Object.defineProperty(exports, 'TransportCapabilitiesSchema', {
|
|
13303
13441
|
enumerable: true,
|
|
13304
13442
|
get: function () {
|
|
13305
|
-
return
|
|
13443
|
+
return _ag_ui_core_schemas.TransportCapabilitiesSchema;
|
|
13444
|
+
}
|
|
13445
|
+
});
|
|
13446
|
+
Object.defineProperty(exports, 'UrlSourceSchema', {
|
|
13447
|
+
enumerable: true,
|
|
13448
|
+
get: function () {
|
|
13449
|
+
return _ag_ui_core_schemas.UrlSourceSchema;
|
|
13306
13450
|
}
|
|
13307
13451
|
});
|
|
13308
13452
|
exports.UseAgentUpdate = UseAgentUpdate;
|
|
13309
13453
|
Object.defineProperty(exports, 'UserMessageSchema', {
|
|
13310
13454
|
enumerable: true,
|
|
13311
13455
|
get: function () {
|
|
13312
|
-
return
|
|
13456
|
+
return _ag_ui_core_schemas.UserMessageSchema;
|
|
13313
13457
|
}
|
|
13314
13458
|
});
|
|
13315
13459
|
Object.defineProperty(exports, 'VideoInputContentSchema', {
|
|
13316
13460
|
enumerable: true,
|
|
13317
13461
|
get: function () {
|
|
13318
|
-
return
|
|
13462
|
+
return _ag_ui_core_schemas.VideoInputContentSchema;
|
|
13319
13463
|
}
|
|
13320
13464
|
});
|
|
13321
13465
|
Object.defineProperty(exports, 'VideoInputPartSchema', {
|
|
13322
13466
|
enumerable: true,
|
|
13323
13467
|
get: function () {
|
|
13324
|
-
return
|
|
13468
|
+
return _ag_ui_core_schemas.VideoInputPartSchema;
|
|
13469
|
+
}
|
|
13470
|
+
});
|
|
13471
|
+
Object.defineProperty(exports, 'VideoPartSchema', {
|
|
13472
|
+
enumerable: true,
|
|
13473
|
+
get: function () {
|
|
13474
|
+
return _ag_ui_core_schemas.VideoPartSchema;
|
|
13325
13475
|
}
|
|
13326
13476
|
});
|
|
13327
13477
|
Object.defineProperty(exports, 'WebMCPRegistry', {
|
|
@@ -13343,6 +13493,12 @@ Object.defineProperty(exports, 'aggregateTokenUsage', {
|
|
|
13343
13493
|
return _ag_ui_client.aggregateTokenUsage;
|
|
13344
13494
|
}
|
|
13345
13495
|
});
|
|
13496
|
+
Object.defineProperty(exports, 'authoritativeActivityTypes', {
|
|
13497
|
+
enumerable: true,
|
|
13498
|
+
get: function () {
|
|
13499
|
+
return _ag_ui_client.authoritativeActivityTypes;
|
|
13500
|
+
}
|
|
13501
|
+
});
|
|
13346
13502
|
Object.defineProperty(exports, 'buildResumeArray', {
|
|
13347
13503
|
enumerable: true,
|
|
13348
13504
|
get: function () {
|
|
@@ -13361,6 +13517,18 @@ Object.defineProperty(exports, 'completePartialMarkdown', {
|
|
|
13361
13517
|
return _copilotkit_core.completePartialMarkdown;
|
|
13362
13518
|
}
|
|
13363
13519
|
});
|
|
13520
|
+
Object.defineProperty(exports, 'contentHasMedia', {
|
|
13521
|
+
enumerable: true,
|
|
13522
|
+
get: function () {
|
|
13523
|
+
return _ag_ui_client.contentHasMedia;
|
|
13524
|
+
}
|
|
13525
|
+
});
|
|
13526
|
+
Object.defineProperty(exports, 'contentToText', {
|
|
13527
|
+
enumerable: true,
|
|
13528
|
+
get: function () {
|
|
13529
|
+
return _ag_ui_client.contentToText;
|
|
13530
|
+
}
|
|
13531
|
+
});
|
|
13364
13532
|
Object.defineProperty(exports, 'convertToLegacyEvents', {
|
|
13365
13533
|
enumerable: true,
|
|
13366
13534
|
get: function () {
|
|
@@ -13447,6 +13615,18 @@ Object.defineProperty(exports, 'empty', {
|
|
|
13447
13615
|
return _copilotkit_core.empty;
|
|
13448
13616
|
}
|
|
13449
13617
|
});
|
|
13618
|
+
Object.defineProperty(exports, 'enforceEvents', {
|
|
13619
|
+
enumerable: true,
|
|
13620
|
+
get: function () {
|
|
13621
|
+
return _ag_ui_client.enforceEvents;
|
|
13622
|
+
}
|
|
13623
|
+
});
|
|
13624
|
+
Object.defineProperty(exports, 'enforceOutgoingInput', {
|
|
13625
|
+
enumerable: true,
|
|
13626
|
+
get: function () {
|
|
13627
|
+
return _ag_ui_client.enforceOutgoingInput;
|
|
13628
|
+
}
|
|
13629
|
+
});
|
|
13450
13630
|
Object.defineProperty(exports, 'ensureObjectArgs', {
|
|
13451
13631
|
enumerable: true,
|
|
13452
13632
|
get: function () {
|
|
@@ -13484,6 +13664,12 @@ Object.defineProperty(exports, 'isInterruptExpired', {
|
|
|
13484
13664
|
return _ag_ui_client.isInterruptExpired;
|
|
13485
13665
|
}
|
|
13486
13666
|
});
|
|
13667
|
+
Object.defineProperty(exports, 'isRecognizedEvent', {
|
|
13668
|
+
enumerable: true,
|
|
13669
|
+
get: function () {
|
|
13670
|
+
return _ag_ui_client.isRecognizedEvent;
|
|
13671
|
+
}
|
|
13672
|
+
});
|
|
13487
13673
|
Object.defineProperty(exports, 'isRunCompletionAware', {
|
|
13488
13674
|
enumerable: true,
|
|
13489
13675
|
get: function () {
|
|
@@ -13502,6 +13688,12 @@ Object.defineProperty(exports, 'ofType', {
|
|
|
13502
13688
|
return _copilotkit_core.ofType;
|
|
13503
13689
|
}
|
|
13504
13690
|
});
|
|
13691
|
+
Object.defineProperty(exports, 'omitOptionalNulls', {
|
|
13692
|
+
enumerable: true,
|
|
13693
|
+
get: function () {
|
|
13694
|
+
return _ag_ui_client.omitOptionalNulls;
|
|
13695
|
+
}
|
|
13696
|
+
});
|
|
13505
13697
|
Object.defineProperty(exports, 'on', {
|
|
13506
13698
|
enumerable: true,
|
|
13507
13699
|
get: function () {
|
|
@@ -13648,6 +13840,12 @@ Object.defineProperty(exports, 'verifyEvents', {
|
|
|
13648
13840
|
return _ag_ui_client.verifyEvents;
|
|
13649
13841
|
}
|
|
13650
13842
|
});
|
|
13843
|
+
Object.defineProperty(exports, 'withAuthoritativeActivityTypes', {
|
|
13844
|
+
enumerable: true,
|
|
13845
|
+
get: function () {
|
|
13846
|
+
return _ag_ui_client.withAuthoritativeActivityTypes;
|
|
13847
|
+
}
|
|
13848
|
+
});
|
|
13651
13849
|
Object.defineProperty(exports, 'ɵCOPILOTKIT_FEATURES', {
|
|
13652
13850
|
enumerable: true,
|
|
13653
13851
|
get: function () {
|
|
@@ -13702,6 +13900,12 @@ Object.defineProperty(exports, 'ɵisCopilotKitFeature', {
|
|
|
13702
13900
|
return _copilotkit_core.ɵisCopilotKitFeature;
|
|
13703
13901
|
}
|
|
13704
13902
|
});
|
|
13903
|
+
Object.defineProperty(exports, 'ɵisHttpAgent', {
|
|
13904
|
+
enumerable: true,
|
|
13905
|
+
get: function () {
|
|
13906
|
+
return _copilotkit_core.ɵisHttpAgent;
|
|
13907
|
+
}
|
|
13908
|
+
});
|
|
13705
13909
|
Object.defineProperty(exports, 'ɵisRetryableMemoryStatus', {
|
|
13706
13910
|
enumerable: true,
|
|
13707
13911
|
get: function () {
|