@copilotkit/react-core 1.79.1-canary.1792089208 → 1.79.1
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-BSpdnD7P.mjs → copilotkit-CD3uPUN3.mjs} +8 -24
- package/dist/{copilotkit-BSpdnD7P.mjs.map → copilotkit-CD3uPUN3.mjs.map} +1 -1
- package/dist/{copilotkit-CwkkqStB.cjs → copilotkit-DEaA0Cat.cjs} +6 -22
- package/dist/{copilotkit-CwkkqStB.cjs.map → copilotkit-DEaA0Cat.cjs.map} +1 -1
- package/dist/{copilotkit-kcYN96tM.d.mts → copilotkit-Yz8qXx00.d.mts} +3 -3
- package/dist/{copilotkit-kcYN96tM.d.mts.map → copilotkit-Yz8qXx00.d.mts.map} +1 -1
- package/dist/{copilotkit-BA0vyDds.d.cts → copilotkit-k7IYk2AN.d.cts} +3 -3
- package/dist/{copilotkit-BA0vyDds.d.cts.map → copilotkit-k7IYk2AN.d.cts.map} +1 -1
- 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 +1 -1
- package/dist/v2/index.cjs +1 -7
- 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 +5 -27
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import React, { createContext, createElement, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
3
|
-
import { AgentRegistry, AgentThreadLockedError, ContextStore, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreErrorCode, CopilotKitCoreErrorCode as CopilotKitCoreErrorCode$1, CopilotKitCoreRuntimeConnectionStatus, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitHeaderResolutionError, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, IntelligenceAgent,
|
|
3
|
+
import { AgentRegistry, AgentThreadLockedError, ContextStore, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreErrorCode, CopilotKitCoreErrorCode as CopilotKitCoreErrorCode$1, CopilotKitCoreRuntimeConnectionStatus, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitHeaderResolutionError, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, IntelligenceAgent, MEMORY_ERROR_REGISTRY, MemoryError, ProxiedCopilotRuntimeAgent, ProxiedCopilotRuntimeAgent as ProxiedCopilotRuntimeAgent$1, RunHandler, StateManager, SuggestionEngine, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, WebMCPRegistry, completePartialMarkdown, createActionGroup, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, emitInspectorActiveThread, emitInspectorActiveThread as emitInspectorActiveThread$1, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, emitInspectorViewThreadResult as emitInspectorViewThreadResult$1, empty, ensureObjectArgs, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isInspectorThreadBridgeEnabled as isInspectorThreadBridgeEnabled$1, isRunCompletionAware, isRunCompletionAware as isRunCompletionAware$1, ofType, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorStopViewing as onInspectorStopViewing$1, onInspectorViewThread, onInspectorViewThread as onInspectorViewThread$1, onInspectorViewThreadResult, parseToolArguments, props, select, ɵCOPILOTKIT_FEATURES, ɵInterruptState, ɵInterruptState as ɵInterruptState$1, ɵMAX_SOCKET_RETRIES, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵcreateMemoryStore, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadStore as ɵcreateThreadStore$1, ɵisCopilotKitFeature, ɵisHttpAgent, ɵisHttpAgent as ɵisHttpAgent$1, ɵisRetryableMemoryStatus, ɵjoinPhoenixChannel$, ɵmapMemoryMetadataEvent, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵphoenixChannel$, ɵphoenixSocket$, ɵselectFetchMoreError, ɵselectFetchMoreError as ɵselectFetchMoreError$1, ɵselectHasNextPage, ɵselectHasNextPage as ɵselectHasNextPage$1, ɵselectIsFetchingNextPage, ɵselectIsFetchingNextPage as ɵselectIsFetchingNextPage$1, ɵselectIsMutating, ɵselectIsMutating as ɵselectIsMutating$1, ɵselectMemories, ɵselectMemories as ɵselectMemories$1, ɵselectMemoriesAvailable, ɵselectMemoriesAvailable as ɵselectMemoriesAvailable$1, ɵselectMemoriesError, ɵselectMemoriesError as ɵselectMemoriesError$1, ɵselectMemoriesIsLoading, ɵselectMemoriesIsLoading as ɵselectMemoriesIsLoading$1, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectMemoriesRealtimeStatus as ɵselectMemoriesRealtimeStatus$1, ɵselectThreads, ɵselectThreads as ɵselectThreads$1, ɵselectThreadsError, ɵselectThreadsError as ɵselectThreadsError$1, ɵselectThreadsIsLoading, ɵselectThreadsIsLoading as ɵselectThreadsIsLoading$1, ɵthreadAdapterEvents, ɵwithHeaderDefaults, ɵwithHeaderDefaults as ɵwithHeaderDefaults$1 } from "@copilotkit/core";
|
|
4
4
|
import { ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError as AGUIConnectNotImplementedError$1, AGUIError, AGUI_METADATA_KEY, AbstractAgent as AbstractAgent$1, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, CompatibilityBoundary, DebugLogger, EventType, FilterToolCallsMiddleware, FunctionMiddleware, HttpAgent, Middleware, PROTOCOL_VERSION, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, compactEvents, contentHasMedia, contentToText as contentToText$1, convertToLegacyEvents, createDebugLogger, defaultApplyEvents, enforceEvents, enforceOutgoingInput, getRunOutcome, isInterruptExpired, isRecognizedEvent, mergeMetadata, omitOptionalNulls, parseProtoStream, parseSSEStream, randomUUID, randomUUID as randomUUID$2, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, verifyEvents, withAuthoritativeActivityTypes } from "@ag-ui/client";
|
|
5
5
|
import { ActivityDeltaEventSchema, ActivityMessageSchema, ActivitySnapshotEventSchema, AddOperationSchema, AgentCapabilitiesSchema, AssistantMessageSchema, AttributableSchema, AudioInputContentSchema, AudioInputPartSchema, AudioPartSchema, BaseEventSchema, BaseMessageSchema, ContentPartSchema, ContextSchema, CopyOperationSchema, CustomEventSchema, DataSourceSchema, DeveloperMessageSchema, DocumentInputContentSchema, DocumentInputPartSchema, DocumentPartSchema, EventSchema, EventSchemas, EventTypeSchema, ExecutionCapabilitiesSchema, FileSourceSchema, FunctionCallSchema, HumanInTheLoopCapabilitiesSchema, IdentityCapabilitiesSchema, ImageInputContentSchema, ImageInputPartSchema, ImagePartSchema, InputContentDataSourceSchema, InputContentSchema, InputContentSourceSchema, InputContentUrlSourceSchema, InterruptSchema, JsonPatchOperationSchema, JsonPatchSchema, JsonPointerSchema, MessageSchema, MessagesSnapshotEventSchema, MetadataSchema, MoveOperationSchema, MultiAgentCapabilitiesSchema, MultimodalCapabilitiesSchema, MultimodalInputCapabilitiesSchema, MultimodalOutputCapabilitiesSchema, OptionalMetadataSchema, OutputCapabilitiesSchema, PartSourceSchema, RawEventSchema, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEventSchema, ReasoningMessageChunkEventSchema, ReasoningMessageContentEventSchema, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEventSchema, ReasoningStartEventSchema, RemoveOperationSchema, ReplaceOperationSchema, ResumeEntrySchema, RoleSchema, RunAgentInputSchema, RunErrorEventSchema, RunFinishedCancelledOutcomeSchema, RunFinishedEventSchema, RunFinishedInterruptOutcomeSchema, RunFinishedOutcomeSchema, RunFinishedSuccessOutcomeSchema, RunStartedEventSchema, StateCapabilitiesSchema, StateDeltaEventSchema, StateSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, SubagentErrorEventSchema, SubagentFinishedEventSchema, SubagentFinishedOutcomeSchema, SubagentFinishedSuccessOutcomeSchema, SubagentFinishedSuspendedOutcomeSchema, SubagentInfoSchema, SubagentRunIdSchema, SubagentStartedEventSchema, SystemMessageSchema, TestOperationSchema, TextInputContentSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageRoleSchema, TextMessageStartEventSchema, TextPartSchema, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TransportCapabilitiesSchema, UrlSourceSchema, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema } from "@ag-ui/core/schemas";
|
|
6
6
|
import { extendTailwindMerge, twMerge } from "tailwind-merge";
|
|
@@ -1626,7 +1626,7 @@ function useRenderToolCall() {
|
|
|
1626
1626
|
|
|
1627
1627
|
//#endregion
|
|
1628
1628
|
//#region package.json
|
|
1629
|
-
var version = "1.79.1
|
|
1629
|
+
var version = "1.79.1";
|
|
1630
1630
|
|
|
1631
1631
|
//#endregion
|
|
1632
1632
|
//#region src/v2/components/CopilotKitInspector.tsx
|
|
@@ -7766,8 +7766,6 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7766
7766
|
commitRowKeyStore(rowKeyStore, renderedMessages);
|
|
7767
7767
|
}, [rowKeyStore, renderedMessages]);
|
|
7768
7768
|
const stableGroupKey = (key) => rowRenderKeys.get(key) ?? key;
|
|
7769
|
-
const rowKey = (row) => row.type === "group" ? `${GROUP_ROW_KEY_PREFIX}${stableGroupKey(row.key)}` : rowRenderKeys.get(row.message.id) ?? row.message.id;
|
|
7770
|
-
const rowKeys = useMemo(() => rows.map(rowKey), [rows, rowRenderKeys]);
|
|
7771
7769
|
const groupStateRef = useRef(/* @__PURE__ */ new Map());
|
|
7772
7770
|
const groupSettersRef = useRef(/* @__PURE__ */ new Map());
|
|
7773
7771
|
const groupStateThreadRef = useRef(config?.threadId);
|
|
@@ -7841,8 +7839,6 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7841
7839
|
total: 0,
|
|
7842
7840
|
sizes: /* @__PURE__ */ new Map()
|
|
7843
7841
|
});
|
|
7844
|
-
const rowKeysRef = React.useRef(rowKeys);
|
|
7845
|
-
rowKeysRef.current = rowKeys;
|
|
7846
7842
|
const firstMessageId = deduplicatedMessages[0]?.id;
|
|
7847
7843
|
const measuredThreadRef = React.useRef(firstMessageId);
|
|
7848
7844
|
if (measuredThreadRef.current !== firstMessageId) {
|
|
@@ -7852,16 +7848,6 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7852
7848
|
sizes: /* @__PURE__ */ new Map()
|
|
7853
7849
|
};
|
|
7854
7850
|
}
|
|
7855
|
-
const measuredKeysRef = React.useRef(rowKeys);
|
|
7856
|
-
if (measuredKeysRef.current !== rowKeys) {
|
|
7857
|
-
measuredKeysRef.current = rowKeys;
|
|
7858
|
-
const live = new Set(rowKeys);
|
|
7859
|
-
const measured = measuredRef.current;
|
|
7860
|
-
for (const [key, height] of measured.sizes) if (!live.has(key)) {
|
|
7861
|
-
measured.sizes.delete(key);
|
|
7862
|
-
measured.total -= height;
|
|
7863
|
-
}
|
|
7864
|
-
}
|
|
7865
7851
|
const estimateRowSize = React.useCallback(() => {
|
|
7866
7852
|
const { total, sizes } = measuredRef.current;
|
|
7867
7853
|
return sizes.size > 0 ? Math.max(1, Math.round(total / sizes.size)) : 100;
|
|
@@ -7869,15 +7855,13 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7869
7855
|
const measureRowElement = React.useCallback((el) => {
|
|
7870
7856
|
const height = el?.getBoundingClientRect().height ?? 0;
|
|
7871
7857
|
const index = Number(el?.dataset?.index);
|
|
7872
|
-
|
|
7873
|
-
if (height > 0 && key !== void 0) {
|
|
7858
|
+
if (height > 0 && Number.isInteger(index)) {
|
|
7874
7859
|
const { total, sizes } = measuredRef.current;
|
|
7875
|
-
measuredRef.current.total = total - (sizes.get(
|
|
7876
|
-
sizes.set(
|
|
7860
|
+
measuredRef.current.total = total - (sizes.get(index) ?? 0) + height;
|
|
7861
|
+
sizes.set(index, height);
|
|
7877
7862
|
}
|
|
7878
7863
|
return height;
|
|
7879
7864
|
}, []);
|
|
7880
|
-
const getRowKey = React.useCallback((index) => rowKeys[index] ?? index, [rowKeys]);
|
|
7881
7865
|
const isPinnedToBottomRef = React.useRef(isPinnedToBottom);
|
|
7882
7866
|
const shouldAdjustScrollOnResize = React.useCallback((item, _delta, instance) => {
|
|
7883
7867
|
if (isPinnedToBottomRef.current) return false;
|
|
@@ -7888,7 +7872,6 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7888
7872
|
count: shouldVirtualize ? rows.length : 0,
|
|
7889
7873
|
getScrollElement: () => scrollElement,
|
|
7890
7874
|
estimateSize: estimateRowSize,
|
|
7891
|
-
getItemKey: getRowKey,
|
|
7892
7875
|
overscan: 5,
|
|
7893
7876
|
measureElement: measureRowElement,
|
|
7894
7877
|
initialRect: {
|
|
@@ -7952,6 +7935,7 @@ function CopilotChatMessageView({ messages = [], assistantMessage, userMessage,
|
|
|
7952
7935
|
}, `intelligence-${intelligenceTurnId}`));
|
|
7953
7936
|
return elements.filter(Boolean);
|
|
7954
7937
|
};
|
|
7938
|
+
const rowKey = (row) => row.type === "group" ? `${GROUP_ROW_KEY_PREFIX}${stableGroupKey(row.key)}` : rowRenderKeys.get(row.message.id) ?? row.message.id;
|
|
7955
7939
|
const renderRow = (row) => {
|
|
7956
7940
|
if (row.type === "message") return renderMessageBlock(row.message);
|
|
7957
7941
|
const Wrapper = row.wrapper;
|
|
@@ -12865,5 +12849,5 @@ function validateProps(props) {
|
|
|
12865
12849
|
}
|
|
12866
12850
|
|
|
12867
12851
|
//#endregion
|
|
12868
|
-
export { useConfigureSuggestions as $,
|
|
12869
|
-
//# sourceMappingURL=copilotkit-
|
|
12852
|
+
export { useConfigureSuggestions as $, ɵselectMemoriesIsMutating as $a, ofType as $i, MultiAgentCapabilitiesSchema as $n, TextMessageEndEventSchema as $r, AudioPartSchema as $t, CopilotChatMessageView as A, ɵisCopilotKitFeature as Aa, createDebugLogger as Ai, HttpAgent as An, RunHandler as Ar, CopilotKitInspector as At, CopilotChatUserMessage_default as B, ɵobservePhoenixJoinOutcome$ as Ba, emitInspectorViewThreadResult$1 as Bi, InputContentUrlSourceSchema as Bn, SubagentFinishedEventSchema as Br, AGUI_METADATA_KEY as Bt, CopilotModalHeader as C, ɵInterruptState$1 as Ca, buildResumeArray as Ci, EventType as Cn, RunAgentInputSchema as Cr, OpenGenerativeUIToolRenderer as Ct, CopilotChat as D, ɵcreateMemoryStore as Da, contentToText$1 as Di, FilterToolCallsMiddleware as Dn, RunFinishedInterruptOutcomeSchema as Dr, MCPAppsActivityRenderer as Dt, DefaultOpenIcon as E, ɵTHREAD_REQUEST_TIMEOUT_MS as Ea, contentHasMedia as Ei, FileSourceSchema as En, RunFinishedEventSchema as Er, MCPAppsActivityContentSchema as Et, getIntelligenceTurnAnchors as F, ɵmemoryAdapterEvents as Fa, createStore as Fi, ImageInputPartSchema as Fn, StateSchema as Fr, CopilotChatConfigurationProvider as Ft, useLearningContainers as G, ɵselectFetchMoreError$1 as Ga, getRunOutcome as Gi, JsonPointerSchema as Gn, SubagentRunIdSchema as Gr, AddOperationSchema as Gt, CopilotChatAssistantMessage_default as H, ɵobservePhoenixSocketSignals$ as Ha, enforceEvents as Hi, InterruptSchema as Hn, SubagentFinishedSuccessOutcomeSchema as Hr, ActivityDeltaEventSchema as Ht, IntelligenceIndicatorView as I, ɵmemoryDomainEvents as Ia, defaultApplyEvents as Ii, ImagePartSchema as In, StateSnapshotEventSchema as Ir, useCopilotChatConfiguration as It, useLearnFromUserAction as J, ɵselectIsMutating$1 as Ja, isInspectorThreadBridgeEnabled$1 as Ji, MessageSchema as Jn, SystemMessageSchema as Jr, AgentThreadLockedError as Jt, useAttachments as K, ɵselectHasNextPage$1 as Ka, getWebMCPModelContext as Ki, MEMORY_ERROR_REGISTRY as Kn, SubagentStartedEventSchema as Kr, AgentCapabilitiesSchema as Kt, CopilotChatSuggestionView as L, ɵmemoryReducer as La, emitInspectorActiveThread$1 as Li, InputContentDataSourceSchema as Ln, StepFinishedEventSchema as Lr, ACTIVITY_HISTORY_METADATA as Lt, messageRow as M, ɵisRetryableMemoryStatus as Ma, createInspectorThreadRequestId as Mi, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID as Mn, StateCapabilitiesSchema as Mr, CopilotChatInput_default as Mt, INTELLIGENCE_TURN_HEAD as N, ɵjoinPhoenixChannel$ as Na, createReducer as Ni, IdentityCapabilitiesSchema as Nn, StateDeltaEventSchema as Nr, AudioRecorderError as Nt, CopilotChatView_default as O, ɵcreateThreadSelectors as Oa, convertToLegacyEvents as Oi, FunctionCallSchema as On, RunFinishedOutcomeSchema as Or, MCPAppsActivityType as Ot, IntelligenceIndicator as P, ɵmapMemoryMetadataEvent as Pa, createSelector as Pi, ImageInputContentSchema as Pn, StateManager as Pr, CopilotChatAudioRecorder as Pt, INTERRUPT_EVENT_NAME as Q, ɵselectMemoriesIsLoading$1 as Qa, mergeMetadata as Qi, MoveOperationSchema as Qn, TextMessageContentEventSchema as Qr, AudioInputPartSchema as Qt, CopilotChatSuggestionPill as R, ɵmemoryRestEvents as Ra, emitInspectorStopViewing as Ri, InputContentSchema as Rn, StepStartedEventSchema as Rr, AGUIConnectNotImplementedError$1 as Rt, CopilotSidebarView as S, ɵCOPILOTKIT_FEATURES as Sa, authoritativeActivityTypes as Si, EventSchemas as Sn, RoleSchema as Sr, OpenGenerativeUIContentSchema as St, DefaultCloseIcon as T, ɵRUNTIME_PROBE_TIMEOUT_MS as Ta, completePartialMarkdown as Ti, ExecutionCapabilitiesSchema as Tn, RunFinishedCancelledOutcomeSchema as Tr, useSandboxFunctions as Tt, CopilotChatToolCallsView as U, ɵphoenixChannel$ as Ua, enforceOutgoingInput as Ui, JsonPatchOperationSchema as Un, SubagentFinishedSuspendedOutcomeSchema as Ur, ActivityMessageSchema as Ut, CopilotChatAttachmentRenderer as V, ɵobservePhoenixSocketHealth$ as Va, empty as Vi, IntelligenceAgent as Vn, SubagentFinishedOutcomeSchema as Vr, AbstractAgent$1 as Vt, useLearningContainersInCurrentThread as W, ɵphoenixSocket$ as Wa, ensureObjectArgs as Wi, JsonPatchSchema as Wn, SubagentInfoSchema as Wr, ActivitySnapshotEventSchema as Wt, useThreads$1 as X, ɵselectMemoriesAvailable$1 as Xa, isRecognizedEvent as Xi, MetadataSchema as Xn, TextInputContentSchema as Xr, AttributableSchema as Xt, useMemories as Y, ɵselectMemories$1 as Ya, isInterruptExpired as Yi, MessagesSnapshotEventSchema as Yn, TestOperationSchema as Yr, AssistantMessageSchema as Yt, useInterrupt as Z, ɵselectMemoriesError$1 as Za, isRunCompletionAware$1 as Zi, Middleware as Zn, TextMessageChunkEventSchema as Zr, AudioInputContentSchema as Zt, WildcardToolCallRender as _, tokenUsageFromLangChainMetadata as _a, VideoInputContentSchema as _i, DeveloperMessageSchema as _n, ReasoningMessageStartEventSchema as _r, defineToolCallRenderer as _t, ThreadsProvider as a, onInspectorViewThreadResult as aa, ToolCallChunkEventSchema as ai, CompatibilityBoundary as an, ɵwithHeaderDefaults$1 as ao, PROTOCOL_VERSION as ar, useHumanInTheLoop as at, CopilotSidebar as b, verifyEvents as ba, WebMCPRegistry as bi, DocumentPartSchema as bn, ReplaceOperationSchema as br, OpenGenerativeUIActivityRenderer as bt, CoAgentStateRendersProvider as c, parseToolArguments as ca, ToolCallSchema as ci, ContextStore as cn, RawEventSchema as cr, useComponent as ct, shouldShowDevConsole as d, resolveAgentDebugConfig as da, ToolMessageSchema as di, CopilotKitCoreRuntimeConnectionStatus$1 as dn, ReasoningEncryptedValueSubtypeSchema as dr, useRenderActivityMessage as dt, omitOptionalNulls as ea, TextMessageRoleSchema as ei, BackwardCompatibility_0_0_39 as en, ɵselectMemoriesRealtimeStatus$1 as eo, MultimodalCapabilitiesSchema as er, useSuggestions as et, useToast as f, resolveDebugLogger as fa, ToolSchema as fi, CopilotKitHeaderResolutionError as fn, ReasoningEndEventSchema as fr, useRenderCustomMessages as ft, useCopilotContext as g, tokenUsageFromAiSdkUsage as ga, UserMessageSchema as gi, DebugLogger as gn, ReasoningMessageSchema as gr, CopilotKitCoreReact as gt, CopilotContext as h, structuredClone_ as ha, UrlSourceSchema as hi, DataSourceSchema as hn, ReasoningMessageEndEventSchema as hr, useLicenseContext$1 as ht, ThreadsContext as i, onInspectorViewThread$1 as ia, ToolCallArgsEventSchema as ii, BaseMessageSchema as in, ɵthreadAdapterEvents as io, OutputCapabilitiesSchema as ir, useAgent as it, messageGroup as j, ɵisHttpAgent$1 as ja, createEffect as ji, HumanInTheLoopCapabilitiesSchema as jn, RunStartedEventSchema as jr, useRenderToolCall as jt, CopilotChatAttachmentQueue as k, ɵcreateThreadStore$1 as ka, createActionGroup as ki, FunctionMiddleware as kn, RunFinishedSuccessOutcomeSchema as kr, ɵrunMcpFollowUp as kt, useCoAgentStateRenders as l, props as la, ToolCallStartEventSchema as li, CopilotKitCore$1 as ln, ReasoningCapabilitiesSchema as lr, useFrontendTools as lt, useCopilotMessagesContext as m, select as ma, TransportCapabilitiesSchema as mi, CustomEventSchema as mn, ReasoningMessageContentEventSchema as mr, useCopilotKit$1 as mt, defaultCopilotContextCategories as n, onInspectorActiveThread as na, TextPartSchema as ni, BackwardCompatibility_0_0_57 as nn, ɵselectThreadsError$1 as no, MultimodalOutputCapabilitiesSchema as nr, useCapabilities as nt, useThreads as o, parseProtoStream as oa, ToolCallEndEventSchema as oi, ContentPartSchema as on, PartSourceSchema as or, useDefaultRenderTool as ot, CopilotMessagesContext as p, runHttpRequest as pa, ToolsCapabilitiesSchema as pi, CopyOperationSchema as pn, ReasoningMessageChunkEventSchema as pr, CopilotKitProvider as pt, useLearnFromUserActionInCurrentThread as q, ɵselectIsFetchingNextPage$1 as qa, isAbortError as qi, MemoryError as qn, SuggestionEngine as qr, AgentRegistry as qt, CoAgentStateRenderBridge as r, onInspectorStopViewing$1 as ra, TokenUsageSchema as ri, BaseEventSchema as rn, ɵselectThreadsIsLoading$1 as ro, OptionalMetadataSchema as rr, UseAgentUpdate as rt, CoAgentStateRendersContext as s, parseSSEStream as sa, ToolCallResultEventSchema as si, ContextSchema as sn, ProxiedCopilotRuntimeAgent$1 as sr, useRenderTool as st, CopilotKit as t, on as ta, TextMessageStartEventSchema as ti, BackwardCompatibility_0_0_45 as tn, ɵselectThreads$1 as to, MultimodalInputCapabilitiesSchema as tr, useAgentContext as tt, useAsyncCallback as u, randomUUID$2 as ua, ToolCallStatus$1 as ui, CopilotKitCoreErrorCode$1 as un, ReasoningEncryptedValueEventSchema as ur, useFrontendTool as ut, CopilotThreadsDrawer as v, transformChunks as va, VideoInputPartSchema as vi, DocumentInputContentSchema as vn, ReasoningStartEventSchema as vr, createA2UIMessageRenderer as vt, CopilotChatToggleButton as w, ɵMAX_SOCKET_RETRIES as wa, compactEvents as wi, EventTypeSchema as wn, RunErrorEventSchema as wr, SandboxFunctionsContext as wt, CopilotPopupView as x, withAuthoritativeActivityTypes as xa, aggregateTokenUsage as xi, EventSchema as xn, ResumeEntrySchema as xr, OpenGenerativeUIActivityType as xt, CopilotPopup as y, transformHttpEventStream as ya, VideoPartSchema as yi, DocumentInputPartSchema as yn, RemoveOperationSchema as yr, GenerateSandboxedUiArgsSchema as yt, CopilotChatReasoningMessage_default as z, ɵobservePhoenixEvent$ as za, emitInspectorViewThread as zi, InputContentSourceSchema as zn, SubagentErrorEventSchema as zr, AGUIError as zt };
|
|
12853
|
+
//# sourceMappingURL=copilotkit-CD3uPUN3.mjs.map
|