@copilotkit/react-core 2.0.0-rc.64 → 2.0.0-rc.66
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/headless.cjs +57 -4
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.d.cts +11 -7
- package/dist/headless.d.cts.map +1 -1
- package/dist/headless.d.mts +11 -7
- package/dist/headless.d.mts.map +1 -1
- package/dist/headless.mjs +59 -6
- package/dist/headless.mjs.map +1 -1
- package/dist/index.cjs +97 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -112
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +116 -112
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +88 -34
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +97 -31
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/index.d.cts +4 -0
- package/dist/v2/index.d.mts +4 -0
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { d as GenerativeUIRuntimeContext, g as useShallowStableRef, p as useGene
|
|
|
5
5
|
import { _ as ControlledModalOpenScope, a as createGenerativeUIFunctionCallActivityRenderer, i as createGenerativeUIActivityRenderer, l as defineToolCallRenderer, n as GenerativeUIChatSlotContext, r as GenerativeUIToolCallRenderer, v as CopilotChatConfigurationProvider, y as useCopilotChatConfiguration } from "./chat-B1zczXUD.mjs";
|
|
6
6
|
import { t as useGenerativeUIRoot } from "./use-generative-ui-root-oBqPa6uy.mjs";
|
|
7
7
|
import { t as MarkdownSurfaces } from "./MarkdownSurfaces-rtE9wRUP.mjs";
|
|
8
|
-
import { A2UI_FENCE_LANGUAGE, AgentRegistry, AgentThreadLockedError, ContextStore, CopilotChatDefaultLabels, CopilotChatDefaultLabels as CopilotChatDefaultLabels$1, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreErrorCode, CopilotKitCoreRuntimeConnectionStatus, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitHeaderResolutionError, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, GENERATE_SANDBOXED_UI_TOOL_NAME, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTERRUPT_EVENT_NAME, IntelligenceAgent, IntelligenceReplayFailedError, MEMORY_ERROR_REGISTRY, MemoryError, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_ACTIVITY_TYPE as OPEN_GENERATIVE_UI_ACTIVITY_TYPE$1, ProxiedCopilotRuntimeAgent, RunHandler, StateManager, SuggestionEngine, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, TranscriptionError, TranscriptionErrorCode, WebMCPRegistry, classifySurfaceCards, completePartialMarkdown, createActionGroup, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, emitInspectorActiveThread, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getMarkdownOperationSurfaceId, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isRunCompletionAware, ofType, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseToolArguments, prepareSurfaceOperations, props, segmentSurfaceProse, select, splitA2UIMarkdown, ɵALL_AGENT_UPDATES, ɵAgentResolver, ɵAttachmentQueue, ɵAttachmentQueue as ɵAttachmentQueue$1, ɵAudioRecorder, ɵAudioRecorder as ɵAudioRecorder$1, ɵAudioRecorderError, ɵAudioRecorderError as AudioRecorderError, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, ɵChatConfigurationStore, ɵChatConnection, ɵChatConnection as ɵChatConnection$1, ɵChatSubmitter, ɵComposerAutosize, ɵComposerController, ɵComposerController as ɵComposerController$1, ɵCopyFeedback, ɵCopyFeedback as ɵCopyFeedback$1, ɵDockedSidebar, ɵDockedSidebarRegistry, ɵExitPresence, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, ɵFeedbackCommentController as ɵFeedbackCommentController$1, ɵFreshThreadId, ɵFreshThreadId as ɵFreshThreadId$1, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA as ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA$1, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, ɵHoverMenuController as ɵHoverMenuController$1, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, ɵINLINE_FEATURE_WARNING_STYLE as ɵINLINE_FEATURE_WARNING_STYLE$1, ɵInspectorThreadOverride, ɵInspectorThreadOverride as ɵInspectorThreadOverride$1, ɵInterruptController, ɵInterruptController as ɵInterruptController$1, ɵInterruptExpiredError, ɵInterruptState, ɵKEYBOARD_OPEN_THRESHOLD_PX, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, ɵLICENSE_BANNER_STYLE as ɵLICENSE_BANNER_STYLE$1, ɵLearningAutoStarter, ɵLearningAutoStarter as ɵLearningAutoStarter$1, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH as ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH$1, ɵMOBILE_MAX_WIDTH_QUERY, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA as ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA$1, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, ɵOpenGenerativeUIController as ɵOpenGenerativeUIController$1, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPOPUP_DEFAULT_HEIGHT, ɵPOPUP_DEFAULT_HEIGHT as ɵPOPUP_DEFAULT_HEIGHT$1, ɵPOPUP_DEFAULT_WIDTH, ɵPOPUP_DEFAULT_WIDTH as ɵPOPUP_DEFAULT_WIDTH$1, ɵPlaceholderCycler, ɵPlaceholderCycler as ɵPlaceholderCycler$1, ɵRESIZE_SETTLE_MS, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵReasoningDisclosure, ɵReasoningDisclosure as ɵReasoningDisclosure$1, ɵRendererRegistry, ɵRendererRegistry as ɵRendererRegistry$1, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSIDEBAR_DEFAULT_WIDTH, ɵSIDEBAR_DEFAULT_WIDTH as ɵSIDEBAR_DEFAULT_WIDTH$1, ɵSIDEBAR_TRANSITION_MS, ɵSIDEBAR_TRANSITION_MS as ɵSIDEBAR_TRANSITION_MS$1, ɵSTABLE_ARRAY_WARNINGS, ɵStickToBottom, ɵTAB_STOP_SELECTOR, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_ICONS as ɵTOOL_CALL_STATUS_ICONS$1, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTOOL_CALL_STATUS_LABEL_KEYS as ɵTOOL_CALL_STATUS_LABEL_KEYS$1, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, ɵThreadSelection, ɵThreadSwitchCoordinator, ɵThreadsController, ɵThreadsController as ɵThreadsController$1, ɵadaptDefaultToolCallRenderProps, ɵadaptDefaultToolCallRenderProps as ɵadaptDefaultToolCallRenderProps$1, ɵaddOpenGenerativeUIContexts, ɵaddOpenGenerativeUIContexts as ɵaddOpenGenerativeUIContexts$1, ɵagentUpdateHandlers, ɵappendTranscript, ɵassembleActivityRenderers, ɵassembleActivityRenderers as ɵassembleActivityRenderers$1, ɵassembleHumanInTheLoop, ɵassembleHumanInTheLoop as ɵassembleHumanInTheLoop$1, ɵassembleProviderRegistry, ɵassembleProviderToolRenderers, ɵassembleProviderToolRenderers as ɵassembleProviderToolRenderers$1, ɵassembleProviderTools, ɵassembleProviderTools as ɵassembleProviderTools$1, ɵbindDialogFocus, ɵbindDialogFocus as ɵbindDialogFocus$1, ɵbindPopupDismiss, ɵbindPopupDismiss as ɵbindPopupDismiss$1, ɵbindSuggestionsConfig, ɵbindSuggestionsConfig as ɵbindSuggestionsConfig$1, ɵbuildHumanInTheLoopTool, ɵbuildHumanInTheLoopTool as ɵbuildHumanInTheLoopTool$1, ɵbuildLearnFromUserActionPayload, ɵbuildLearnFromUserActionPayload as ɵbuildLearnFromUserActionPayload$1, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildToolCallRenderProps as ɵbuildToolCallRenderProps$1, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵcanPreviewDocument as ɵcanPreviewDocument$1, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomponentToolDescription as ɵcomponentToolDescription$1, ɵcomposerButtonState, ɵcomposerButtonState as ɵcomposerButtonState$1, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcountFailedToolCalls as ɵcountFailedToolCalls$1, ɵcreateChatSubmitter, ɵcreateChatSubmitter as ɵcreateChatSubmitter$1, ɵcreateComposerAutosize, ɵcreateComposerAutosize as ɵcreateComposerAutosize$1, ɵcreateDockedSidebar, ɵcreateDockedSidebar as ɵcreateDockedSidebar$1, ɵcreateExitPresence, ɵcreateExitPresence as ɵcreateExitPresence$1, ɵcreateLastUserMessageTracker, ɵcreateLastUserMessageTracker as ɵcreateLastUserMessageTracker$1, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateMessageViewModel as ɵcreateMessageViewModel$1, ɵcreateObjectUrlFromSource, ɵcreateObjectUrlFromSource as ɵcreateObjectUrlFromSource$1, ɵcreateOpenGenerativeUITool, ɵcreateOpenGenerativeUITool as ɵcreateOpenGenerativeUITool$1, ɵcreateStickToBottom, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadStore as ɵcreateThreadStore$1, ɵcreateThreadsDrawerActions, ɵcreateThreadsDrawerActions as ɵcreateThreadsDrawerActions$1, ɵcreateWaveformRenderer, ɵcreateWaveformRenderer as ɵcreateWaveformRenderer$1, ɵdecodeTextSource, ɵdecodeTextSource as ɵdecodeTextSource$1, ɵdeduplicateMessages, ɵdeduplicateMessages as ɵdeduplicateMessages$1, ɵdescribeActivityRendererFailure, ɵdescribeActivityRendererFailure as ɵdescribeActivityRendererFailure$1, ɵdescribeUnrenderedToolCalls, ɵdescribeUnrenderedToolCalls as ɵdescribeUnrenderedToolCalls$1, ɵdimensionToCss, ɵdimensionToCss as ɵdimensionToCss$1, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵduplicateMessagesWarning as ɵduplicateMessagesWarning$1, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindActivityRenderer as ɵfindActivityRenderer$1, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵflattenUserMessageContent as ɵflattenUserMessageContent$1, ɵformatCountLabel, ɵformatCountLabel as ɵformatCountLabel$1, ɵformatLabel, ɵformatLabel as ɵformatLabel$1, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatToolNames as ɵformatToolNames$1, ɵformatWorkDuration, ɵgetAgentCapabilities, ɵgetAgentCapabilities as ɵgetAgentCapabilities$1, ɵgetAgentInterruptState, ɵgetAgentResolver, ɵgetAgentResolver as ɵgetAgentResolver$1, ɵgetArgumentPreview, ɵgetArgumentPreview as ɵgetArgumentPreview$1, ɵgetBranchNavState, ɵgetBranchNavState as ɵgetBranchNavState$1, ɵgetChatViewState, ɵgetChatViewState as ɵgetChatViewState$1, ɵgetCustomMessageRenderProps, ɵgetCustomMessageRenderProps as ɵgetCustomMessageRenderProps$1, ɵgetInlineFeatureWarningSpec, ɵgetInlineFeatureWarningSpec as ɵgetInlineFeatureWarningSpec$1, ɵgetLastUserMessageId, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetLicenseBannerSpec as ɵgetLicenseBannerSpec$1, ɵgetMessageFeedback, ɵgetMessageFeedback as ɵgetMessageFeedback$1, ɵgetMessageFeedbackControls, ɵgetMessageFeedbackControls as ɵgetMessageFeedbackControls$1, ɵgetMessageRunStateSnapshot, ɵgetMessageRunStateSnapshot as ɵgetMessageRunStateSnapshot$1, ɵgetReasoningHeaderLabel, ɵgetReasoningHeaderLabel as ɵgetReasoningHeaderLabel$1, ɵgetThreadsDrawerElementProps, ɵgetThreadsDrawerElementProps as ɵgetThreadsDrawerElementProps$1, ɵgetToolCallBadge, ɵgetToolCallBadge as ɵgetToolCallBadge$1, ɵgetToolCallGroupState, ɵgetToolCallGroupState as ɵgetToolCallGroupState$1, ɵgetToolCallLayouts, ɵgetToolCallLayouts as ɵgetToolCallLayouts$1, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRendererNames as ɵgetToolCallRendererNames$1, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaFilename as ɵgetUserMessageMediaFilename$1, ɵgetUserMessageMediaParts, ɵgetUserMessageMediaParts as ɵgetUserMessageMediaParts$1, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵgetWorkSummaryText as ɵgetWorkSummaryText$1, ɵhasAssistantMessageText, ɵhasAssistantMessageText as ɵhasAssistantMessageText$1, ɵhitlRenderProps, ɵhitlRenderProps as ɵhitlRenderProps$1, ɵimplementsConnect, ɵinitialKeyboardState, ɵinitialKeyboardState as ɵinitialKeyboardState$1, ɵinspectorKiteFill, ɵinspectorKiteFill as ɵinspectorKiteFill$1, ɵinspectorKiteIcon, ɵinspectorKiteIcon as ɵinspectorKiteIcon$1, ɵinspectorShortcuts, ɵinspectorShortcuts as ɵinspectorShortcuts$1, ɵisContentPart, ɵisContentScrolledToBottom, ɵisContentScrolledToBottom as ɵisContentScrolledToBottom$1, ɵisCopilotKitFeature, ɵisFocusVisible, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisLearningFeedbackEnabled as ɵisLearningFeedbackEnabled$1, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisOpenGenerativeUIActive as ɵisOpenGenerativeUIActive$1, ɵisOwnFeedbackThumb, ɵisOwnFeedbackThumb as ɵisOwnFeedbackThumb$1, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisScrolledToBottom as ɵisScrolledToBottom$1, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmatchActivityRenderer as ɵmatchActivityRenderer$1, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmessagesFingerprint as ɵmessagesFingerprint$1, ɵmorphViewTransition, ɵmorphViewTransition as ɵmorphViewTransition$1, ɵnextSlashIndex, ɵnextTabStop, ɵnormalizeAutoScroll, ɵnormalizeAutoScroll as ɵnormalizeAutoScroll$1, ɵnormalizeToolCallStatus, ɵnormalizeToolCallStatus as ɵnormalizeToolCallStatus$1, ɵnormalizeToolsMenu, ɵnormalizeToolsMenu as ɵnormalizeToolsMenu$1, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpinMessageToTop as ɵpinMessageToTop$1, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵpublicKeyHeaderDefaults as ɵpublicKeyHeaderDefaults$1, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordAnnotation as ɵrecordAnnotation$1, ɵrecordWorkTime, ɵregisterFrontendTools, ɵregisterFrontendTools as ɵregisterFrontendTools$1, ɵreportProviderConfigDiagnostics, ɵreportProviderConfigDiagnostics as ɵreportProviderConfigDiagnostics$1, ɵreserveLicenseBannerOffset, ɵreserveLicenseBannerOffset as ɵreserveLicenseBannerOffset$1, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentId as ɵresolveAgentId$1, ɵresolveAgentThreadId, ɵresolveAgentThreadId as ɵresolveAgentThreadId$1, ɵresolveChatNotice, ɵresolveChatNotice as ɵresolveChatNotice$1, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderContext as ɵresolveCustomMessageRenderContext$1, ɵresolveCustomMessageRenderers, ɵresolveGenerativeUIDefault, ɵresolveGenerativeUIDefault as ɵresolveGenerativeUIDefault$1, ɵresolveLicenseState, ɵresolveLicenseState as ɵresolveLicenseState$1, ɵresolveProviderConfig, ɵresolveProviderConfig as ɵresolveProviderConfig$1, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveThreadsLicense as ɵresolveThreadsLicense$1, ɵresolveToolCallAgentId, ɵresolveToolCallAgentId as ɵresolveToolCallAgentId$1, ɵresolveToolCallRenderer, ɵresolveToolCallRenderer as ɵresolveToolCallRenderer$1, ɵrmsAmplitude, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵ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, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵserializeContextValue as ɵserializeContextValue$1, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowAssistantToolbar as ɵshouldShowAssistantToolbar$1, ɵshouldShowMessageCursor, ɵshowsComposerDisclaimer, ɵshowsComposerDisclaimer as ɵshowsComposerDisclaimer$1, ɵsnapshotAgentState, ɵstableArrayPropWarning, ɵstableArrayPropWarning as ɵstableArrayPropWarning$1, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallAttr as ɵstringifyToolCallAttr$1, ɵstringifyToolCallPayload, ɵstringifyToolCallPayload as ɵstringifyToolCallPayload$1, ɵsubscribeToAgentErrors, ɵsubscribeToAgentErrors as ɵsubscribeToAgentErrors$1, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentSuggestions as ɵsubscribeToAgentSuggestions$1, ɵsubscribeToAgentUpdates, ɵsubscribeToAgentUpdates as ɵsubscribeToAgentUpdates$1, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToLearningFeedbackEnabled as ɵsubscribeToLearningFeedbackEnabled$1, ɵsubscribeToMessageFeedback, ɵsubscribeToMessageFeedback as ɵsubscribeToMessageFeedback$1, ɵsyncRecorderToMode, ɵsyncRecorderToMode as ɵsyncRecorderToMode$1, ɵthreadAdapterEvents, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoDrawerThread as ɵtoDrawerThread$1, ɵtoLearningConfig, ɵtoLearningConfig as ɵtoLearningConfig$1, ɵtoolCallAppearance, ɵtoolCallAppearance as ɵtoolCallAppearance$1, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵvalidateAgentBinding as ɵvalidateAgentBinding$1, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementHeight as ɵwatchElementHeight$1, ɵwatchElementWidth, ɵwatchElementWidth as ɵwatchElementWidth$1, ɵwatchKeyboardState, ɵwatchKeyboardState as ɵwatchKeyboardState$1, ɵwatchMobileViewport, ɵwatchMobileViewport as ɵwatchMobileViewport$1, ɵwithHeaderDefaults, ɵwithHeaderDefaults as ɵwithHeaderDefaults$1 } from "@copilotkit/core";
|
|
8
|
+
import { A2UI_FENCE_LANGUAGE, AgentRegistry, AgentThreadLockedError, ContextStore, CopilotChatDefaultLabels, CopilotChatDefaultLabels as CopilotChatDefaultLabels$1, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreErrorCode, CopilotKitCoreRuntimeConnectionStatus, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitHeaderResolutionError, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, GENERATE_SANDBOXED_UI_TOOL_NAME, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTERRUPT_EVENT_NAME, IntelligenceAgent, IntelligenceReplayFailedError, MEMORY_ERROR_REGISTRY, MemoryError, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_ACTIVITY_TYPE as OPEN_GENERATIVE_UI_ACTIVITY_TYPE$1, ProxiedCopilotRuntimeAgent, RunHandler, StateManager, SuggestionEngine, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, TranscriptionError, TranscriptionErrorCode, WebMCPRegistry, classifySurfaceCards, completePartialMarkdown, createActionGroup, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, emitInspectorActiveThread, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getMarkdownOperationSurfaceId, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isRunCompletionAware, ofType, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseToolArguments, prepareSurfaceOperations, props, segmentSurfaceProse, select, splitA2UIMarkdown, ɵALL_AGENT_UPDATES, ɵAgentResolver, ɵAttachmentQueue, ɵAttachmentQueue as ɵAttachmentQueue$1, ɵAudioRecorder, ɵAudioRecorder as ɵAudioRecorder$1, ɵAudioRecorderError, ɵAudioRecorderError as AudioRecorderError, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, ɵChatConfigurationStore, ɵChatConnection, ɵChatConnection as ɵChatConnection$1, ɵChatSubmitter, ɵComposerAutosize, ɵComposerController, ɵComposerController as ɵComposerController$1, ɵCopyFeedback, ɵCopyFeedback as ɵCopyFeedback$1, ɵDockedSidebar, ɵDockedSidebarRegistry, ɵExitPresence, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, ɵFeedbackCommentController as ɵFeedbackCommentController$1, ɵFreshThreadId, ɵFreshThreadId as ɵFreshThreadId$1, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA as ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA$1, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, ɵHoverMenuController as ɵHoverMenuController$1, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, ɵINLINE_FEATURE_WARNING_STYLE as ɵINLINE_FEATURE_WARNING_STYLE$1, ɵInspectorThreadOverride, ɵInspectorThreadOverride as ɵInspectorThreadOverride$1, ɵInterruptController, ɵInterruptController as ɵInterruptController$1, ɵInterruptExpiredError, ɵInterruptState, ɵKEYBOARD_OPEN_THRESHOLD_PX, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, ɵLICENSE_BANNER_STYLE as ɵLICENSE_BANNER_STYLE$1, ɵLearningAutoStarter, ɵLearningAutoStarter as ɵLearningAutoStarter$1, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH as ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH$1, ɵMOBILE_MAX_WIDTH_QUERY, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA as ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA$1, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, ɵOpenGenerativeUIController as ɵOpenGenerativeUIController$1, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPOPUP_DEFAULT_HEIGHT, ɵPOPUP_DEFAULT_HEIGHT as ɵPOPUP_DEFAULT_HEIGHT$1, ɵPOPUP_DEFAULT_WIDTH, ɵPOPUP_DEFAULT_WIDTH as ɵPOPUP_DEFAULT_WIDTH$1, ɵPlaceholderCycler, ɵPlaceholderCycler as ɵPlaceholderCycler$1, ɵRESIZE_SETTLE_MS, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵReasoningDisclosure, ɵReasoningDisclosure as ɵReasoningDisclosure$1, ɵRendererRegistry, ɵRendererRegistry as ɵRendererRegistry$1, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSIDEBAR_DEFAULT_WIDTH, ɵSIDEBAR_DEFAULT_WIDTH as ɵSIDEBAR_DEFAULT_WIDTH$1, ɵSIDEBAR_TRANSITION_MS, ɵSIDEBAR_TRANSITION_MS as ɵSIDEBAR_TRANSITION_MS$1, ɵSTABLE_ARRAY_WARNINGS, ɵStickToBottom, ɵTAB_STOP_SELECTOR, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_ICONS as ɵTOOL_CALL_STATUS_ICONS$1, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTOOL_CALL_STATUS_LABEL_KEYS as ɵTOOL_CALL_STATUS_LABEL_KEYS$1, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, ɵThreadSelection, ɵThreadSwitchCoordinator, ɵThreadsController, ɵThreadsController as ɵThreadsController$1, ɵadaptDefaultToolCallRenderProps, ɵadaptDefaultToolCallRenderProps as ɵadaptDefaultToolCallRenderProps$1, ɵaddOpenGenerativeUIContexts, ɵaddOpenGenerativeUIContexts as ɵaddOpenGenerativeUIContexts$1, ɵagentUpdateHandlers, ɵappendTranscript, ɵassembleActivityRenderers, ɵassembleActivityRenderers as ɵassembleActivityRenderers$1, ɵassembleHumanInTheLoop, ɵassembleHumanInTheLoop as ɵassembleHumanInTheLoop$1, ɵassembleProviderRegistry, ɵassembleProviderToolRenderers, ɵassembleProviderToolRenderers as ɵassembleProviderToolRenderers$1, ɵassembleProviderTools, ɵassembleProviderTools as ɵassembleProviderTools$1, ɵbindDialogFocus, ɵbindDialogFocus as ɵbindDialogFocus$1, ɵbindPopupDismiss, ɵbindPopupDismiss as ɵbindPopupDismiss$1, ɵbindSuggestionsConfig, ɵbindSuggestionsConfig as ɵbindSuggestionsConfig$1, ɵbuildHumanInTheLoopTool, ɵbuildHumanInTheLoopTool as ɵbuildHumanInTheLoopTool$1, ɵbuildLearnFromUserActionPayload, ɵbuildLearnFromUserActionPayload as ɵbuildLearnFromUserActionPayload$1, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildToolCallRenderProps as ɵbuildToolCallRenderProps$1, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵcanPreviewDocument as ɵcanPreviewDocument$1, ɵcheckRemovedProviderProps, ɵcheckRemovedProviderProps as ɵcheckRemovedProviderProps$1, ɵcheckToolParameters, ɵcheckToolParameters as ɵcheckToolParameters$1, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomponentToolDescription as ɵcomponentToolDescription$1, ɵcomposerButtonState, ɵcomposerButtonState as ɵcomposerButtonState$1, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcountFailedToolCalls as ɵcountFailedToolCalls$1, ɵcreateChatSubmitter, ɵcreateChatSubmitter as ɵcreateChatSubmitter$1, ɵcreateComposerAutosize, ɵcreateComposerAutosize as ɵcreateComposerAutosize$1, ɵcreateDockedSidebar, ɵcreateDockedSidebar as ɵcreateDockedSidebar$1, ɵcreateExitPresence, ɵcreateExitPresence as ɵcreateExitPresence$1, ɵcreateLastUserMessageTracker, ɵcreateLastUserMessageTracker as ɵcreateLastUserMessageTracker$1, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateMessageViewModel as ɵcreateMessageViewModel$1, ɵcreateObjectUrlFromSource, ɵcreateObjectUrlFromSource as ɵcreateObjectUrlFromSource$1, ɵcreateOpenGenerativeUITool, ɵcreateOpenGenerativeUITool as ɵcreateOpenGenerativeUITool$1, ɵcreateStickToBottom, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadStore as ɵcreateThreadStore$1, ɵcreateThreadsDrawerActions, ɵcreateThreadsDrawerActions as ɵcreateThreadsDrawerActions$1, ɵcreateWaveformRenderer, ɵcreateWaveformRenderer as ɵcreateWaveformRenderer$1, ɵdecodeTextSource, ɵdecodeTextSource as ɵdecodeTextSource$1, ɵdeduplicateMessages, ɵdeduplicateMessages as ɵdeduplicateMessages$1, ɵdescribeActivityRendererFailure, ɵdescribeActivityRendererFailure as ɵdescribeActivityRendererFailure$1, ɵdescribeUnrenderedToolCalls, ɵdescribeUnrenderedToolCalls as ɵdescribeUnrenderedToolCalls$1, ɵdimensionToCss, ɵdimensionToCss as ɵdimensionToCss$1, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵduplicateMessagesWarning as ɵduplicateMessagesWarning$1, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindActivityRenderer as ɵfindActivityRenderer$1, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵflattenUserMessageContent as ɵflattenUserMessageContent$1, ɵformatCountLabel, ɵformatCountLabel as ɵformatCountLabel$1, ɵformatLabel, ɵformatLabel as ɵformatLabel$1, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatToolNames as ɵformatToolNames$1, ɵformatWorkDuration, ɵgetAgentCapabilities, ɵgetAgentCapabilities as ɵgetAgentCapabilities$1, ɵgetAgentInterruptState, ɵgetAgentResolver, ɵgetAgentResolver as ɵgetAgentResolver$1, ɵgetArgumentPreview, ɵgetArgumentPreview as ɵgetArgumentPreview$1, ɵgetBranchNavState, ɵgetBranchNavState as ɵgetBranchNavState$1, ɵgetChatViewState, ɵgetChatViewState as ɵgetChatViewState$1, ɵgetCustomMessageRenderProps, ɵgetCustomMessageRenderProps as ɵgetCustomMessageRenderProps$1, ɵgetInlineFeatureWarningSpec, ɵgetInlineFeatureWarningSpec as ɵgetInlineFeatureWarningSpec$1, ɵgetLastUserMessageId, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetLicenseBannerSpec as ɵgetLicenseBannerSpec$1, ɵgetMessageFeedback, ɵgetMessageFeedback as ɵgetMessageFeedback$1, ɵgetMessageFeedbackControls, ɵgetMessageFeedbackControls as ɵgetMessageFeedbackControls$1, ɵgetMessageRunStateSnapshot, ɵgetMessageRunStateSnapshot as ɵgetMessageRunStateSnapshot$1, ɵgetReasoningHeaderLabel, ɵgetReasoningHeaderLabel as ɵgetReasoningHeaderLabel$1, ɵgetThreadsDrawerElementProps, ɵgetThreadsDrawerElementProps as ɵgetThreadsDrawerElementProps$1, ɵgetToolCallBadge, ɵgetToolCallBadge as ɵgetToolCallBadge$1, ɵgetToolCallGroupState, ɵgetToolCallGroupState as ɵgetToolCallGroupState$1, ɵgetToolCallLayouts, ɵgetToolCallLayouts as ɵgetToolCallLayouts$1, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRendererNames as ɵgetToolCallRendererNames$1, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaFilename as ɵgetUserMessageMediaFilename$1, ɵgetUserMessageMediaParts, ɵgetUserMessageMediaParts as ɵgetUserMessageMediaParts$1, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵgetWorkSummaryText as ɵgetWorkSummaryText$1, ɵhasAssistantMessageText, ɵhasAssistantMessageText as ɵhasAssistantMessageText$1, ɵhitlRenderProps, ɵhitlRenderProps as ɵhitlRenderProps$1, ɵimplementsConnect, ɵinitialKeyboardState, ɵinitialKeyboardState as ɵinitialKeyboardState$1, ɵinspectorKiteFill, ɵinspectorKiteFill as ɵinspectorKiteFill$1, ɵinspectorKiteIcon, ɵinspectorKiteIcon as ɵinspectorKiteIcon$1, ɵinspectorShortcuts, ɵinspectorShortcuts as ɵinspectorShortcuts$1, ɵisContentPart, ɵisContentScrolledToBottom, ɵisContentScrolledToBottom as ɵisContentScrolledToBottom$1, ɵisCopilotKitFeature, ɵisFocusVisible, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisLearningFeedbackEnabled as ɵisLearningFeedbackEnabled$1, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisOpenGenerativeUIActive as ɵisOpenGenerativeUIActive$1, ɵisOwnFeedbackThumb, ɵisOwnFeedbackThumb as ɵisOwnFeedbackThumb$1, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisScrolledToBottom as ɵisScrolledToBottom$1, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmatchActivityRenderer as ɵmatchActivityRenderer$1, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmessagesFingerprint as ɵmessagesFingerprint$1, ɵmorphViewTransition, ɵmorphViewTransition as ɵmorphViewTransition$1, ɵnextSlashIndex, ɵnextTabStop, ɵnormalizeAutoScroll, ɵnormalizeAutoScroll as ɵnormalizeAutoScroll$1, ɵnormalizeToolCallStatus, ɵnormalizeToolCallStatus as ɵnormalizeToolCallStatus$1, ɵnormalizeToolsMenu, ɵnormalizeToolsMenu as ɵnormalizeToolsMenu$1, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpinMessageToTop as ɵpinMessageToTop$1, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵpublicKeyHeaderDefaults as ɵpublicKeyHeaderDefaults$1, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordAnnotation as ɵrecordAnnotation$1, ɵrecordWorkTime, ɵregisterFrontendTools, ɵregisterFrontendTools as ɵregisterFrontendTools$1, ɵreportProviderConfigDiagnostics, ɵreportProviderConfigDiagnostics as ɵreportProviderConfigDiagnostics$1, ɵreserveLicenseBannerOffset, ɵreserveLicenseBannerOffset as ɵreserveLicenseBannerOffset$1, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentId as ɵresolveAgentId$1, ɵresolveAgentThreadId, ɵresolveAgentThreadId as ɵresolveAgentThreadId$1, ɵresolveChatNotice, ɵresolveChatNotice as ɵresolveChatNotice$1, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderContext as ɵresolveCustomMessageRenderContext$1, ɵresolveCustomMessageRenderers, ɵresolveGenerativeUIDefault, ɵresolveGenerativeUIDefault as ɵresolveGenerativeUIDefault$1, ɵresolveLicenseState, ɵresolveLicenseState as ɵresolveLicenseState$1, ɵresolveProviderConfig, ɵresolveProviderConfig as ɵresolveProviderConfig$1, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveThreadsLicense as ɵresolveThreadsLicense$1, ɵresolveToolCallAgentId, ɵresolveToolCallAgentId as ɵresolveToolCallAgentId$1, ɵresolveToolCallRenderer, ɵresolveToolCallRenderer as ɵresolveToolCallRenderer$1, ɵrmsAmplitude, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵ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, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵserializeContextValue as ɵserializeContextValue$1, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowAssistantToolbar as ɵshouldShowAssistantToolbar$1, ɵshouldShowMessageCursor, ɵshowsComposerDisclaimer, ɵshowsComposerDisclaimer as ɵshowsComposerDisclaimer$1, ɵsnapshotAgentState, ɵstableArrayPropWarning, ɵstableArrayPropWarning as ɵstableArrayPropWarning$1, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallAttr as ɵstringifyToolCallAttr$1, ɵstringifyToolCallPayload, ɵstringifyToolCallPayload as ɵstringifyToolCallPayload$1, ɵsubscribeToAgentErrors, ɵsubscribeToAgentErrors as ɵsubscribeToAgentErrors$1, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentSuggestions as ɵsubscribeToAgentSuggestions$1, ɵsubscribeToAgentUpdates, ɵsubscribeToAgentUpdates as ɵsubscribeToAgentUpdates$1, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToLearningFeedbackEnabled as ɵsubscribeToLearningFeedbackEnabled$1, ɵsubscribeToMessageFeedback, ɵsubscribeToMessageFeedback as ɵsubscribeToMessageFeedback$1, ɵsyncRecorderToMode, ɵsyncRecorderToMode as ɵsyncRecorderToMode$1, ɵthreadAdapterEvents, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoDrawerThread as ɵtoDrawerThread$1, ɵtoLearningConfig, ɵtoLearningConfig as ɵtoLearningConfig$1, ɵtoolCallAppearance, ɵtoolCallAppearance as ɵtoolCallAppearance$1, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵvalidateAgentBinding as ɵvalidateAgentBinding$1, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementHeight as ɵwatchElementHeight$1, ɵwatchElementWidth, ɵwatchElementWidth as ɵwatchElementWidth$1, ɵwatchKeyboardState, ɵwatchKeyboardState as ɵwatchKeyboardState$1, ɵwatchMobileViewport, ɵwatchMobileViewport as ɵwatchMobileViewport$1, ɵwithHeaderDefaults, ɵwithHeaderDefaults as ɵwithHeaderDefaults$1 } from "@copilotkit/core";
|
|
9
9
|
import { ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIEnforcementLimitError, AGUIError, AGUI_METADATA_KEY, AbstractAgent, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, CompatibilityBoundary, DEFAULT_MAX_ENFORCED_ENTRIES, DebugLogger, EventType, FilterToolCallsMiddleware, FunctionMiddleware, HttpAgent, Middleware, PROTOCOL_VERSION, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, compactEvents, contentHasMedia, contentToText, convertToLegacyEvents, createDebugLogger, defaultApplyEvents, enforceEvents, enforceOutgoingInput, getRunOutcome, isInterruptExpired, isRecognizedEvent, mergeMetadata, omitOptionalNulls, parseProtoStream, parseSSEStream, randomUUID, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, verifyEvents, withAuthoritativeActivityTypes } from "@ag-ui/client";
|
|
10
10
|
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";
|
|
11
11
|
import * as React$1 from "react";
|
|
@@ -14,7 +14,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
import { CopilotKitAgentIdContext, CopilotKitContext, LicenseContext, useCopilotKit, useCopilotKit as useCopilotKit$1, useDefaultAgentId, useLicenseContext, useLicenseContext as useLicenseContext$1 } from "@copilotkit/react-core/context";
|
|
15
15
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
16
16
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import { commitRowKeyStore, copyToClipboard, createRowKeyStore, formatFileSize, getDocumentIcon, getSourceUrl, randomUUID as randomUUID$1, removedApi, resolveRowRenderKeysById, shouldEnableInspector } from "@copilotkit/shared";
|
|
17
|
+
import { CopilotKitRemovedApiError, commitRowKeyStore, copyToClipboard, createRowKeyStore, formatFileSize, getDocumentIcon, getSourceUrl, randomUUID as randomUUID$1, removedApi, resolveRowRenderKeysById, shouldEnableInspector } from "@copilotkit/shared";
|
|
18
18
|
import { ɵmountInspector } from "@copilotkit/web-inspector/mount";
|
|
19
19
|
import { MCPAppsActivityContentSchema, MCPAppsActivityType, ɵMcpAppHost, ɵrunMcpFollowUp } from "@copilotkit/mcp-apps-renderer/activity";
|
|
20
20
|
import { stylesheet } from "@copilotkit/core/styles";
|
|
@@ -711,9 +711,18 @@ function useToolCallRendererNames() {
|
|
|
711
711
|
* Hook that returns a function to render tool calls based on the render functions
|
|
712
712
|
* defined in CopilotKitProvider.
|
|
713
713
|
*
|
|
714
|
+
* @param removedArguments - None. In 1.x, `useRenderToolCall(tool, deps)`
|
|
715
|
+
* registered a renderer for a tool. That call throws a
|
|
716
|
+
* `CopilotKitRemovedApiError` in 2.0: register a renderer with `useRenderTool`.
|
|
717
|
+
* See https://docs.copilotkit.ai/migrate/removed-apis-2.0#userendertoolcall-with-arguments
|
|
714
718
|
* @returns A function that takes a tool call and optional tool message and returns the rendered component
|
|
715
719
|
*/
|
|
716
|
-
function useRenderToolCall() {
|
|
720
|
+
function useRenderToolCall(...removedArguments) {
|
|
721
|
+
if (removedArguments.length > 0) throw new CopilotKitRemovedApiError({
|
|
722
|
+
what: "\"useRenderToolCall(tool, deps)\"",
|
|
723
|
+
use: "To register a renderer for a tool, use useRenderTool from @copilotkit/react-core. useRenderToolCall() takes no arguments: it returns a function that renders a tool call.",
|
|
724
|
+
docs: "/migrate/removed-apis-2.0#userendertoolcall-with-arguments"
|
|
725
|
+
});
|
|
717
726
|
const { copilotkit, executingToolCallIds } = useCopilotKit$1();
|
|
718
727
|
const agentId = ɵresolveToolCallAgentId$1(useCopilotChatConfiguration()?.agentId, void 0);
|
|
719
728
|
const unrenderedToolNames = useRef(/* @__PURE__ */ new Set());
|
|
@@ -801,7 +810,7 @@ function ɵuseOwnedCore(ref, create) {
|
|
|
801
810
|
|
|
802
811
|
//#endregion
|
|
803
812
|
//#region package.json
|
|
804
|
-
var version$1 = "2.0.0-rc.
|
|
813
|
+
var version$1 = "2.0.0-rc.66";
|
|
805
814
|
|
|
806
815
|
//#endregion
|
|
807
816
|
//#region src/components/CopilotKitInspector.tsx
|
|
@@ -1331,7 +1340,8 @@ function useStableArrayProp(prop, name) {
|
|
|
1331
1340
|
return value;
|
|
1332
1341
|
}
|
|
1333
1342
|
/** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
|
|
1334
|
-
const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, nonce, injectStyles = true, messageFilter, publicApiKey, publicLicenseKey, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, markdownRenderer, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, showIntelligenceIndicator = true, useSingleEndpoint, onError, generativeUI, a2ui, mcpApps, defaultThrottleMs, debug, learning }) => {
|
|
1343
|
+
const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY_HEADERS, credentials, nonce, injectStyles = true, messageFilter, publicApiKey, publicLicenseKey, properties = EMPTY_PROPERTIES, agents__unsafe_dev_only: agents = EMPTY_AGENTS, selfManagedAgents = EMPTY_AGENTS, renderToolCalls, renderActivityMessages, renderCustomMessages, markdownRenderer, frontendTools, humanInTheLoop, openGenerativeUI, enableInspector, agentId, showIntelligenceIndicator = true, useSingleEndpoint, onError, generativeUI, a2ui, mcpApps, defaultThrottleMs, debug, learning, ...otherProps }) => {
|
|
1344
|
+
ɵcheckRemovedProviderProps$1(otherProps);
|
|
1335
1345
|
const learningConfig = useMemo(() => ɵtoLearningConfig$1(learning), [learning]);
|
|
1336
1346
|
const [shouldRenderInspector, setShouldRenderInspector] = useState(false);
|
|
1337
1347
|
const [inspectorVisible, setInspectorVisible] = useState(false);
|
|
@@ -1825,6 +1835,7 @@ function useDepsVersion(deps) {
|
|
|
1825
1835
|
* ```
|
|
1826
1836
|
*/
|
|
1827
1837
|
function useFrontendTool(tool, deps) {
|
|
1838
|
+
ɵcheckToolParameters$1("useFrontendTool", tool.parameters);
|
|
1828
1839
|
const { copilotkit } = useCopilotKit$1();
|
|
1829
1840
|
const depsVersion = useDepsVersion(deps);
|
|
1830
1841
|
useLayoutEffect(() => {
|
|
@@ -2557,6 +2568,7 @@ function DefaultToolCallRenderer({ name, toolCallId, parameters, status, result
|
|
|
2557
2568
|
//#endregion
|
|
2558
2569
|
//#region src/hooks/use-human-in-the-loop.tsx
|
|
2559
2570
|
function useHumanInTheLoop(tool, deps) {
|
|
2571
|
+
ɵcheckToolParameters$1("useHumanInTheLoop", tool.parameters);
|
|
2560
2572
|
const { copilotkit } = useCopilotKit$1();
|
|
2561
2573
|
const registry = copilotkit.ɵhumanInTheLoop;
|
|
2562
2574
|
const RenderComponent = useCallback((props) => React.createElement(tool.render, ɵhitlRenderProps$1(props, tool, registry)), [
|
|
@@ -2896,6 +2908,11 @@ function useInterrupt(config) {
|
|
|
2896
2908
|
* `deleteThread`) return promises that resolve once the platform confirms the
|
|
2897
2909
|
* operation and reject with an `Error` on failure.
|
|
2898
2910
|
*
|
|
2911
|
+
* In 1.x, `useThreads()` returned the current thread. A call without
|
|
2912
|
+
* arguments throws a `CopilotKitRemovedApiError`, and so does a read of
|
|
2913
|
+
* `threadId`, `setThreadId`, or `isThreadIdExplicit` on the result. Read the
|
|
2914
|
+
* current thread from `useCopilotChatConfiguration()`.
|
|
2915
|
+
*
|
|
2899
2916
|
* @param input - Agent identifier and optional list controls.
|
|
2900
2917
|
* @returns Thread list state and stable mutation callbacks.
|
|
2901
2918
|
*
|
|
@@ -2924,7 +2941,9 @@ function useInterrupt(config) {
|
|
|
2924
2941
|
* }
|
|
2925
2942
|
* ```
|
|
2926
2943
|
*/
|
|
2927
|
-
function useThreads(
|
|
2944
|
+
function useThreads(input) {
|
|
2945
|
+
checkThreadsInput(input);
|
|
2946
|
+
const { agentId, includeArchived, limit, enabled = true } = input;
|
|
2928
2947
|
const { copilotkit } = useCopilotKit$1();
|
|
2929
2948
|
const [controller] = useState(() => new ɵThreadsController$1(ɵcreateThreadStore$1({ fetch: copilotkit.ɵruntimeFetch }), {
|
|
2930
2949
|
core: copilotkit,
|
|
@@ -2958,7 +2977,7 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
2958
2977
|
copilotkit.threadEndpoints?.mutations
|
|
2959
2978
|
]);
|
|
2960
2979
|
const { fetchMoreThreads, refetchThreads, startNewThread, renameThread, archiveThread, unarchiveThread, deleteThread } = controller;
|
|
2961
|
-
return {
|
|
2980
|
+
return withRemovedThreadFields({
|
|
2962
2981
|
threads,
|
|
2963
2982
|
isLoading,
|
|
2964
2983
|
error,
|
|
@@ -2974,7 +2993,42 @@ function useThreads({ agentId, includeArchived, limit, enabled = true }) {
|
|
|
2974
2993
|
archiveThread,
|
|
2975
2994
|
unarchiveThread,
|
|
2976
2995
|
deleteThread
|
|
2977
|
-
};
|
|
2996
|
+
});
|
|
2997
|
+
}
|
|
2998
|
+
const USE_THREADS_SECTION = "/migrate/removed-apis-2.0#usethreads";
|
|
2999
|
+
/** Throws for the 1.x call `useThreads()`, which has no input. */
|
|
3000
|
+
function checkThreadsInput(input) {
|
|
3001
|
+
if (input !== void 0) return;
|
|
3002
|
+
throw new CopilotKitRemovedApiError({
|
|
3003
|
+
what: "\"useThreads()\" without arguments",
|
|
3004
|
+
use: "useThreads({ agentId }) lists the threads of an agent. To read or set the current thread, use useCopilotChatConfiguration() from @copilotkit/react-core.",
|
|
3005
|
+
docs: USE_THREADS_SECTION
|
|
3006
|
+
});
|
|
3007
|
+
}
|
|
3008
|
+
/** The fields of the 1.x `useThreads()` result, and what to use in 2.0. */
|
|
3009
|
+
const REMOVED_THREAD_FIELDS = {
|
|
3010
|
+
threadId: "Read threadId from useCopilotChatConfiguration() of @copilotkit/react-core.",
|
|
3011
|
+
setThreadId: "Call setActiveThreadId(threadId) on useCopilotChatConfiguration() of @copilotkit/react-core.",
|
|
3012
|
+
isThreadIdExplicit: "Read hasExplicitThreadId from useCopilotChatConfiguration() of @copilotkit/react-core."
|
|
3013
|
+
};
|
|
3014
|
+
/**
|
|
3015
|
+
* Adds a getter that throws a `CopilotKitRemovedApiError` for each field of
|
|
3016
|
+
* the 1.x result. The getters are not enumerable, so a spread, a JSON copy,
|
|
3017
|
+
* or devtools do not call them.
|
|
3018
|
+
*/
|
|
3019
|
+
function withRemovedThreadFields(result) {
|
|
3020
|
+
const fields = Object.entries(REMOVED_THREAD_FIELDS);
|
|
3021
|
+
for (const [field, use] of fields) Object.defineProperty(result, field, {
|
|
3022
|
+
enumerable: false,
|
|
3023
|
+
get() {
|
|
3024
|
+
throw new CopilotKitRemovedApiError({
|
|
3025
|
+
what: `"${field}" from useThreads`,
|
|
3026
|
+
use: `${use} useThreads({ agentId }) lists the threads of an agent.`,
|
|
3027
|
+
docs: USE_THREADS_SECTION
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
3030
|
+
});
|
|
3031
|
+
return result;
|
|
2978
3032
|
}
|
|
2979
3033
|
|
|
2980
3034
|
//#endregion
|
|
@@ -8117,151 +8171,151 @@ const WildcardToolCallRender = defineToolCallRenderer({
|
|
|
8117
8171
|
|
|
8118
8172
|
//#endregion
|
|
8119
8173
|
//#region src/removed-exports.ts
|
|
8120
|
-
/** @deprecated "CoAgentStateRendersProvider" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx
|
|
8174
|
+
/** @deprecated "CoAgentStateRendersProvider" was removed in CopilotKit 2.0. Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8121
8175
|
const CoAgentStateRendersProvider = /* @__PURE__ */ removedApi({
|
|
8122
8176
|
name: "CoAgentStateRendersProvider",
|
|
8123
8177
|
use: "Delete it. Render agent.state from useAgent from @copilotkit/react-core in your component.",
|
|
8124
8178
|
docs: "/migrate/v2#hook-mapping"
|
|
8125
8179
|
});
|
|
8126
|
-
/** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx
|
|
8180
|
+
/** @deprecated "CopilotTask" was removed in CopilotKit 2.0. Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
|
|
8127
8181
|
const CopilotTask = /* @__PURE__ */ removedApi({
|
|
8128
8182
|
name: "CopilotTask",
|
|
8129
8183
|
use: "Run the agent from code: add a message with agent.addMessage from useAgent, then call copilotkit.runAgent({ agent }) from useCopilotKit, both from @copilotkit/react-core.",
|
|
8130
8184
|
docs: "/programmatic-control#sending-a-message-from-code"
|
|
8131
8185
|
});
|
|
8132
|
-
/** @deprecated "createA2UIMessageRenderer" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx
|
|
8186
|
+
/** @deprecated "createA2UIMessageRenderer" was removed in CopilotKit 2.0. The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/generative-ui-2.0#a2ui-v09-renderer */
|
|
8133
8187
|
const createA2UIMessageRenderer = /* @__PURE__ */ removedApi({
|
|
8134
8188
|
name: "createA2UIMessageRenderer",
|
|
8135
8189
|
use: "The A2UI v0.9 renderer was removed, and CopilotKitProvider renders A2UI with generative UI. Pass generativeUI={{ ui }} with a UI from createGenerativeUI in @copilotkit/react-core/generative-ui.",
|
|
8136
8190
|
docs: "/migrate/generative-ui-2.0#a2ui-v09-renderer"
|
|
8137
8191
|
});
|
|
8138
|
-
/** @deprecated "shouldShowDevConsole" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx
|
|
8192
|
+
/** @deprecated "shouldShowDevConsole" was removed in CopilotKit 2.0. Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/removed-apis-2.0#showdevconsole */
|
|
8139
8193
|
const shouldShowDevConsole = /* @__PURE__ */ removedApi({
|
|
8140
8194
|
name: "shouldShowDevConsole",
|
|
8141
8195
|
use: "Delete the call. To turn the Inspector on or off, set enableInspector on CopilotKitProvider.",
|
|
8142
8196
|
docs: "/migrate/removed-apis-2.0#showdevconsole"
|
|
8143
8197
|
});
|
|
8144
|
-
/** @deprecated "ThreadsProvider" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx
|
|
8198
|
+
/** @deprecated "ThreadsProvider" was removed in CopilotKit 2.0. Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#thread-lists */
|
|
8145
8199
|
const ThreadsProvider = /* @__PURE__ */ removedApi({
|
|
8146
8200
|
name: "ThreadsProvider",
|
|
8147
8201
|
use: "Delete it. Pass threadId to CopilotChat (or to CopilotChatConfigurationProvider around the chat), and list the threads with useThreads, from @copilotkit/react-core.",
|
|
8148
8202
|
docs: "/migrate/chat-2.0#thread-lists"
|
|
8149
8203
|
});
|
|
8150
|
-
/** @deprecated "useCoAgent" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx
|
|
8204
|
+
/** @deprecated "useCoAgent" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8151
8205
|
const useCoAgent = /* @__PURE__ */ removedApi({
|
|
8152
8206
|
name: "useCoAgent",
|
|
8153
8207
|
use: "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.",
|
|
8154
8208
|
docs: "/migrate/v2#hook-mapping"
|
|
8155
8209
|
});
|
|
8156
|
-
/** @deprecated "useCoAgentStateRender" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx
|
|
8210
|
+
/** @deprecated "useCoAgentStateRender" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8157
8211
|
const useCoAgentStateRender = /* @__PURE__ */ removedApi({
|
|
8158
8212
|
name: "useCoAgentStateRender",
|
|
8159
8213
|
use: "Use useAgent from @copilotkit/react-core, and render agent.state in your component.",
|
|
8160
8214
|
docs: "/migrate/v2#hook-mapping"
|
|
8161
8215
|
});
|
|
8162
|
-
/** @deprecated "useCoAgentStateRenders" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx
|
|
8216
|
+
/** @deprecated "useCoAgentStateRenders" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core, and render agent.state in your component. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8163
8217
|
const useCoAgentStateRenders = /* @__PURE__ */ removedApi({
|
|
8164
8218
|
name: "useCoAgentStateRenders",
|
|
8165
8219
|
use: "Use useAgent from @copilotkit/react-core, and render agent.state in your component.",
|
|
8166
8220
|
docs: "/migrate/v2#hook-mapping"
|
|
8167
8221
|
});
|
|
8168
|
-
/** @deprecated "useCopilotAction" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx
|
|
8222
|
+
/** @deprecated "useCopilotAction" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8169
8223
|
const useCopilotAction = /* @__PURE__ */ removedApi({
|
|
8170
8224
|
name: "useCopilotAction",
|
|
8171
8225
|
use: "Use useFrontendTool from @copilotkit/react-core (parameters are now a Zod 4 / Standard Schema), or useHumanInTheLoop when the action waits for the user.",
|
|
8172
8226
|
docs: "/migrate/v2#hook-mapping"
|
|
8173
8227
|
});
|
|
8174
|
-
/** @deprecated "useCopilotAdditionalInstructions" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx
|
|
8228
|
+
/** @deprecated "useCopilotAdditionalInstructions" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core to give the agent the instructions. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8175
8229
|
const useCopilotAdditionalInstructions = /* @__PURE__ */ removedApi({
|
|
8176
8230
|
name: "useCopilotAdditionalInstructions",
|
|
8177
8231
|
use: "Use useAgentContext from @copilotkit/react-core to give the agent the instructions.",
|
|
8178
8232
|
docs: "/migrate/v2#hook-mapping"
|
|
8179
8233
|
});
|
|
8180
|
-
/** @deprecated "useCopilotAuthenticatedAction_c" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx
|
|
8234
|
+
/** @deprecated "useCopilotAuthenticatedAction_c" was removed in CopilotKit 2.0. Use useFrontendTool from @copilotkit/react-core, and check the user in its handler. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8181
8235
|
const useCopilotAuthenticatedAction_c = /* @__PURE__ */ removedApi({
|
|
8182
8236
|
name: "useCopilotAuthenticatedAction_c",
|
|
8183
8237
|
use: "Use useFrontendTool from @copilotkit/react-core, and check the user in its handler.",
|
|
8184
8238
|
docs: "/migrate/v2#hook-mapping"
|
|
8185
8239
|
});
|
|
8186
|
-
/** @deprecated "useCopilotChat" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx
|
|
8240
|
+
/** @deprecated "useCopilotChat" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8187
8241
|
const useCopilotChat = /* @__PURE__ */ removedApi({
|
|
8188
8242
|
name: "useCopilotChat",
|
|
8189
8243
|
use: "Use useAgent from @copilotkit/react-core. It returns the agent with its messages. For a chat UI of your own, see Headless UI.",
|
|
8190
8244
|
docs: "/migrate/v2#hook-mapping"
|
|
8191
8245
|
});
|
|
8192
|
-
/** @deprecated "useCopilotChatHeadless_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx
|
|
8246
|
+
/** @deprecated "useCopilotChatHeadless_c" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8193
8247
|
const useCopilotChatHeadless_c = /* @__PURE__ */ removedApi({
|
|
8194
8248
|
name: "useCopilotChatHeadless_c",
|
|
8195
8249
|
use: "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.",
|
|
8196
8250
|
docs: "/migrate/v2#hook-mapping"
|
|
8197
8251
|
});
|
|
8198
|
-
/** @deprecated "useCopilotChatInternal" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx
|
|
8252
|
+
/** @deprecated "useCopilotChatInternal" was removed in CopilotKit 2.0. Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8199
8253
|
const useCopilotChatInternal = /* @__PURE__ */ removedApi({
|
|
8200
8254
|
name: "useCopilotChatInternal",
|
|
8201
8255
|
use: "Use useAgent from @copilotkit/react-core. It returns the agent, with its messages and its state.",
|
|
8202
8256
|
docs: "/migrate/v2#hook-mapping"
|
|
8203
8257
|
});
|
|
8204
|
-
/** @deprecated "useCopilotChatSuggestions" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx
|
|
8258
|
+
/** @deprecated "useCopilotChatSuggestions" was removed in CopilotKit 2.0. Use useConfigureSuggestions from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8205
8259
|
const useCopilotChatSuggestions = /* @__PURE__ */ removedApi({
|
|
8206
8260
|
name: "useCopilotChatSuggestions",
|
|
8207
8261
|
use: "Use useConfigureSuggestions from @copilotkit/react-core.",
|
|
8208
8262
|
docs: "/migrate/v2#hook-mapping"
|
|
8209
8263
|
});
|
|
8210
|
-
/** @deprecated "useCopilotContext" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx
|
|
8264
|
+
/** @deprecated "useCopilotContext" was removed in CopilotKit 2.0. Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/programmatic-control#sending-a-message-from-code */
|
|
8211
8265
|
const useCopilotContext = /* @__PURE__ */ removedApi({
|
|
8212
8266
|
name: "useCopilotContext",
|
|
8213
8267
|
use: "Use useCopilotKit from @copilotkit/react-core. It returns the CopilotKit core.",
|
|
8214
8268
|
docs: "/programmatic-control#sending-a-message-from-code"
|
|
8215
8269
|
});
|
|
8216
|
-
/** @deprecated "useCopilotMessagesContext" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx
|
|
8270
|
+
/** @deprecated "useCopilotMessagesContext" was removed in CopilotKit 2.0. Read agent.messages from useAgent from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8217
8271
|
const useCopilotMessagesContext = /* @__PURE__ */ removedApi({
|
|
8218
8272
|
name: "useCopilotMessagesContext",
|
|
8219
8273
|
use: "Read agent.messages from useAgent from @copilotkit/react-core.",
|
|
8220
8274
|
docs: "/migrate/v2#hook-mapping"
|
|
8221
8275
|
});
|
|
8222
|
-
/** @deprecated "useCopilotReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx
|
|
8276
|
+
/** @deprecated "useCopilotReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8223
8277
|
const useCopilotReadable = /* @__PURE__ */ removedApi({
|
|
8224
8278
|
name: "useCopilotReadable",
|
|
8225
8279
|
use: "Use useAgentContext from @copilotkit/react-core.",
|
|
8226
8280
|
docs: "/migrate/v2#hook-mapping"
|
|
8227
8281
|
});
|
|
8228
|
-
/** @deprecated "useCopilotRuntimeClient" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx
|
|
8282
|
+
/** @deprecated "useCopilotRuntimeClient" was removed in CopilotKit 2.0. CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#update-the-runtime */
|
|
8229
8283
|
const useCopilotRuntimeClient = /* @__PURE__ */ removedApi({
|
|
8230
8284
|
name: "useCopilotRuntimeClient",
|
|
8231
8285
|
use: "CopilotKit 2.0 has no GraphQL runtime client. Use useAgent or useCopilotKit from @copilotkit/react-core.",
|
|
8232
8286
|
docs: "/migrate/v2#update-the-runtime"
|
|
8233
8287
|
});
|
|
8234
|
-
/** @deprecated "useDefaultTool" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx
|
|
8288
|
+
/** @deprecated "useDefaultTool" was removed in CopilotKit 2.0. Use useDefaultRenderTool from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8235
8289
|
const useDefaultTool = /* @__PURE__ */ removedApi({
|
|
8236
8290
|
name: "useDefaultTool",
|
|
8237
8291
|
use: "Use useDefaultRenderTool from @copilotkit/react-core.",
|
|
8238
8292
|
docs: "/migrate/v2#hook-mapping"
|
|
8239
8293
|
});
|
|
8240
|
-
/** @deprecated "useLangGraphInterrupt" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx
|
|
8294
|
+
/** @deprecated "useLangGraphInterrupt" was removed in CopilotKit 2.0. Use useInterrupt from @copilotkit/react-core. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8241
8295
|
const useLangGraphInterrupt = /* @__PURE__ */ removedApi({
|
|
8242
8296
|
name: "useLangGraphInterrupt",
|
|
8243
8297
|
use: "Use useInterrupt from @copilotkit/react-core.",
|
|
8244
8298
|
docs: "/migrate/v2#hook-mapping"
|
|
8245
8299
|
});
|
|
8246
|
-
/** @deprecated "useLazyToolRenderer" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx
|
|
8300
|
+
/** @deprecated "useLazyToolRenderer" was removed in CopilotKit 2.0. Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#gotchas */
|
|
8247
8301
|
const useLazyToolRenderer = /* @__PURE__ */ removedApi({
|
|
8248
8302
|
name: "useLazyToolRenderer",
|
|
8249
8303
|
use: "Use useRenderToolCall from @copilotkit/react-core. It returns a function that renders a tool call.",
|
|
8250
8304
|
docs: "/migrate/v2#gotchas"
|
|
8251
8305
|
});
|
|
8252
|
-
/** @deprecated "useLearningContainers" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx
|
|
8306
|
+
/** @deprecated "useLearningContainers" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
|
|
8253
8307
|
const useLearningContainers = /* @__PURE__ */ removedApi({
|
|
8254
8308
|
name: "useLearningContainers",
|
|
8255
8309
|
use: "Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime.",
|
|
8256
8310
|
docs: "/migrate/chat-2.0#removed-exports"
|
|
8257
8311
|
});
|
|
8258
|
-
/** @deprecated "useLearningContainersInCurrentThread" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx
|
|
8312
|
+
/** @deprecated "useLearningContainersInCurrentThread" was removed in CopilotKit 2.0. Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/chat-2.0#removed-exports */
|
|
8259
8313
|
const useLearningContainersInCurrentThread = /* @__PURE__ */ removedApi({
|
|
8260
8314
|
name: "useLearningContainersInCurrentThread",
|
|
8261
8315
|
use: "Set getLearningContainerId on CopilotKitIntelligence from @copilotkit/runtime.",
|
|
8262
8316
|
docs: "/migrate/chat-2.0#removed-exports"
|
|
8263
8317
|
});
|
|
8264
|
-
/** @deprecated "useMakeCopilotDocumentReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx
|
|
8318
|
+
/** @deprecated "useMakeCopilotDocumentReadable" was removed in CopilotKit 2.0. Use useAgentContext from @copilotkit/react-core, with the document text as the value. Run `npx copilotkit@latest migrate` to update your code. See https://docs.copilotkit.ai/migrate/v2#hook-mapping */
|
|
8265
8319
|
const useMakeCopilotDocumentReadable = /* @__PURE__ */ removedApi({
|
|
8266
8320
|
name: "useMakeCopilotDocumentReadable",
|
|
8267
8321
|
use: "Use useAgentContext from @copilotkit/react-core, with the document text as the value.",
|
|
@@ -8269,5 +8323,5 @@ const useMakeCopilotDocumentReadable = /* @__PURE__ */ removedApi({
|
|
|
8269
8323
|
});
|
|
8270
8324
|
|
|
8271
8325
|
//#endregion
|
|
8272
|
-
export { A2UI_FENCE_LANGUAGE, ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIEnforcementLimitError, AGUIError, AGUI_METADATA_KEY, AbstractAgent, ActivityDeltaEventSchema, ActivityMessageSchema, ActivitySnapshotEventSchema, AddOperationSchema, AgentCapabilitiesSchema, AgentRegistry, AgentThreadLockedError, AssistantMessageSchema, AttributableSchema, AudioInputContentSchema, AudioInputPartSchema, AudioPartSchema, AudioRecorderError, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, BaseEventSchema, BaseMessageSchema, CoAgentStateRendersProvider, CompatibilityBoundary, ContentPartSchema, ContextSchema, ContextStore, CopilotChat, CopilotChatAssistantMessage_default as CopilotChatAssistantMessage, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, CopilotChatDefaultLabels, CopilotChatInput_default as CopilotChatInput, CopilotChatMessageView, CopilotChatReasoningMessage_default as CopilotChatReasoningMessage, CopilotChatSuggestionPill, CopilotChatSuggestionView, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, CopilotChatToolCallGroup, CopilotChatToolCallsView, CopilotChatUserMessage_default as CopilotChatUserMessage, CopilotChatView_default as CopilotChatView, CopilotChatWorkSummary, CopilotKit, CopilotKitCore, CopilotKitCoreErrorCode, CopilotKitCoreReact, CopilotKitCoreRuntimeConnectionStatus, CopilotKitHeaderResolutionError, CopilotKitInspector, CopilotKitProvider, CopilotKitStyles, CopilotModalHeader, CopilotPopup, CopilotPopupView, CopilotSidebar, CopilotSidebarView, CopilotTask, CopilotThreadsDrawer, CopyOperationSchema, CustomEventSchema, DEFAULT_MAX_ENFORCED_ENTRIES, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, DataSourceSchema, DebugLogger, DeveloperMessageSchema, DocumentInputContentSchema, DocumentInputPartSchema, DocumentPartSchema, EventSchema, EventSchemas, EventType, EventTypeSchema, ExecutionCapabilitiesSchema, FileSourceSchema, FilterToolCallsMiddleware, FunctionCallSchema, FunctionMiddleware, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgsSchema, HttpAgent, HumanInTheLoopCapabilitiesSchema, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTELLIGENCE_TURN_HEAD, INTERRUPT_EVENT_NAME, IdentityCapabilitiesSchema, ImageInputContentSchema, ImageInputPartSchema, ImagePartSchema, InputContentDataSourceSchema, InputContentSchema, InputContentSourceSchema, InputContentUrlSourceSchema, IntelligenceAgent, IntelligenceIndicator, IntelligenceIndicatorView, IntelligenceReplayFailedError, InterruptSchema, JsonPatchOperationSchema, JsonPatchSchema, JsonPointerSchema, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, MEMORY_ERROR_REGISTRY, MarkdownRendererProvider, MemoryError, MessageSchema, MessagesSnapshotEventSchema, MetadataSchema, Middleware, MoveOperationSchema, MultiAgentCapabilitiesSchema, MultimodalCapabilitiesSchema, MultimodalInputCapabilitiesSchema, MultimodalOutputCapabilitiesSchema, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OpenGenerativeUIActivityRenderer, OpenGenerativeUIActivityType, OpenGenerativeUIContentSchema, OpenGenerativeUIToolRenderer, OptionalMetadataSchema, OutputCapabilitiesSchema, PROTOCOL_VERSION, PartSourceSchema, ProxiedCopilotRuntimeAgent, RawEventSchema, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEventSchema, ReasoningMessageChunkEventSchema, ReasoningMessageContentEventSchema, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEventSchema, ReasoningStartEventSchema, RemoveOperationSchema, ReplaceOperationSchema, ResumeEntrySchema, RoleSchema, RunAgentInputSchema, RunErrorEventSchema, RunFinishedCancelledOutcomeSchema, RunFinishedEventSchema, RunFinishedInterruptOutcomeSchema, RunFinishedOutcomeSchema, RunFinishedSuccessOutcomeSchema, RunHandler, RunStartedEventSchema, SandboxFunctionsContext, StateCapabilitiesSchema, StateDeltaEventSchema, StateManager, StateSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, StreamingMarkdownDefaultRenderer, SubagentErrorEventSchema, SubagentFinishedEventSchema, SubagentFinishedOutcomeSchema, SubagentFinishedSuccessOutcomeSchema, SubagentFinishedSuspendedOutcomeSchema, SubagentInfoSchema, SubagentRunIdSchema, SubagentStartedEventSchema, SuggestionEngine, SystemMessageSchema, TestOperationSchema, TextInputContentSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageRoleSchema, TextMessageStartEventSchema, TextPartSchema, ThreadsProvider, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolCallStatus, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TranscriptionError, TranscriptionErrorCode, TransportCapabilitiesSchema, UrlSourceSchema, UseAgentUpdate, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema, WebMCPRegistry, WildcardToolCallRender, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, classifySurfaceCards, compactEvents, completePartialMarkdown, contentHasMedia, contentToText, convertToLegacyEvents, createA2UIMessageRenderer, createActionGroup, createDebugLogger, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, defaultApplyEvents, defineToolCallRenderer, emitInspectorActiveThread, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, enforceEvents, enforceOutgoingInput, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getIntelligenceTurnAnchors, getMarkdownOperationSurfaceId, getRunOutcome, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isInterruptExpired, isRecognizedEvent, isRunCompletionAware, mergeMetadata, messageGroup, messageRow, ofType, omitOptionalNulls, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseProtoStream, parseSSEStream, parseToolArguments, prepareSurfaceOperations, props, randomUUID, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, segmentSurfaceProse, select, shouldShowDevConsole, splitA2UIMarkdown, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, useAgent, useAgentContext, useAttachments, useCapabilities, useCoAgent, useCoAgentStateRender, useCoAgentStateRenders, useComponent, useConfigureSuggestions, useCopilotAction, useCopilotAdditionalInstructions, useCopilotAuthenticatedAction_c, useCopilotChat, useCopilotChatConfiguration, useCopilotChatHeadless_c, useCopilotChatInternal, useCopilotChatSuggestions, useCopilotContext, useCopilotKit, useCopilotMessagesContext, useCopilotReadable, useCopilotRuntimeClient, useDefaultRenderTool, useDefaultTool, useFrontendTool, useFrontendTools, useHumanInTheLoop, useInterrupt, useLangGraphInterrupt, useLazyToolRenderer, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLearningContainers, useLearningContainersInCurrentThread, useLicenseContext, useMakeCopilotDocumentReadable, useMarkdownRenderer, useMemories, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSandboxFunctions, useSuggestions, useThreads, verifyEvents, withAuthoritativeActivityTypes, ɵALL_AGENT_UPDATES, ɵAgentResolver, ɵAttachmentQueue, ɵAudioRecorder, ɵAudioRecorderError, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, ɵChatConfigurationStore, ɵChatConnection, ɵChatSubmitter, ɵComposerAutosize, ɵComposerController, ɵCopyFeedback, ɵDockedSidebar, ɵDockedSidebarRegistry, ɵExitPresence, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, ɵFreshThreadId, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, ɵInspectorThreadOverride, ɵInterruptController, ɵInterruptExpiredError, ɵInterruptState, ɵKEYBOARD_OPEN_THRESHOLD_PX, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, ɵLearningAutoStarter, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPOPUP_DEFAULT_HEIGHT, ɵPOPUP_DEFAULT_WIDTH, ɵPlaceholderCycler, ɵRESIZE_SETTLE_MS, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵReasoningDisclosure, ɵRendererRegistry, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSIDEBAR_DEFAULT_WIDTH, ɵSIDEBAR_TRANSITION_MS, ɵSTABLE_ARRAY_WARNINGS, ɵStickToBottom, ɵTAB_STOP_SELECTOR, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, ɵThreadSelection, ɵThreadSwitchCoordinator, ɵThreadsController, ɵadaptDefaultToolCallRenderProps, ɵaddOpenGenerativeUIContexts, ɵagentUpdateHandlers, ɵappendTranscript, ɵassembleActivityRenderers, ɵassembleHumanInTheLoop, ɵassembleProviderRegistry, ɵassembleProviderToolRenderers, ɵassembleProviderTools, ɵbindDialogFocus, ɵbindPopupDismiss, ɵbindSuggestionsConfig, ɵbuildHumanInTheLoopTool, ɵbuildLearnFromUserActionPayload, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateChatSubmitter, ɵcreateComposerAutosize, ɵcreateDockedSidebar, ɵcreateExitPresence, ɵcreateLastUserMessageTracker, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateObjectUrlFromSource, ɵcreateOpenGenerativeUITool, ɵcreateStickToBottom, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadsDrawerActions, ɵcreateWaveformRenderer, ɵdecodeTextSource, ɵdeduplicateMessages, ɵdescribeActivityRendererFailure, ɵdescribeUnrenderedToolCalls, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵformatCountLabel, ɵformatLabel, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatWorkDuration, ɵgetAgentCapabilities, ɵgetAgentInterruptState, ɵgetAgentResolver, ɵgetArgumentPreview, ɵgetBranchNavState, ɵgetChatViewState, ɵgetCustomMessageRenderProps, ɵgetInlineFeatureWarningSpec, ɵgetLastUserMessageId, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetMessageFeedback, ɵgetMessageFeedbackControls, ɵgetMessageRunStateSnapshot, ɵgetReasoningHeaderLabel, ɵgetThreadsDrawerElementProps, ɵgetToolCallBadge, ɵgetToolCallGroupState, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵhasAssistantMessageText, ɵhitlRenderProps, ɵimplementsConnect, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisContentPart, ɵisContentScrolledToBottom, ɵisCopilotKitFeature, ɵisFocusVisible, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisOwnFeedbackThumb, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmorphViewTransition, ɵnextSlashIndex, ɵnextTabStop, ɵnormalizeAutoScroll, ɵnormalizeToolCallStatus, ɵnormalizeToolsMenu, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵregisterFrontendTools, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentThreadId, ɵresolveChatNotice, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderers, ɵresolveGenerativeUIDefault, ɵresolveLicenseState, ɵresolveProviderConfig, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveToolCallAgentId, ɵresolveToolCallRenderer, ɵrmsAmplitude, ɵrunMcpFollowUp, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowMessageCursor, ɵshowsComposerDisclaimer, ɵsnapshotAgentState, ɵstableArrayPropWarning, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallPayload, ɵsubscribeToAgentErrors, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentUpdates, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵsyncRecorderToMode, ɵthreadAdapterEvents, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementWidth, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
|
|
8326
|
+
export { A2UI_FENCE_LANGUAGE, ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIEnforcementLimitError, AGUIError, AGUI_METADATA_KEY, AbstractAgent, ActivityDeltaEventSchema, ActivityMessageSchema, ActivitySnapshotEventSchema, AddOperationSchema, AgentCapabilitiesSchema, AgentRegistry, AgentThreadLockedError, AssistantMessageSchema, AttributableSchema, AudioInputContentSchema, AudioInputPartSchema, AudioPartSchema, AudioRecorderError, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, BaseEventSchema, BaseMessageSchema, CoAgentStateRendersProvider, CompatibilityBoundary, ContentPartSchema, ContextSchema, ContextStore, CopilotChat, CopilotChatAssistantMessage_default as CopilotChatAssistantMessage, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, CopilotChatDefaultLabels, CopilotChatInput_default as CopilotChatInput, CopilotChatMessageView, CopilotChatReasoningMessage_default as CopilotChatReasoningMessage, CopilotChatSuggestionPill, CopilotChatSuggestionView, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, CopilotChatToolCallGroup, CopilotChatToolCallsView, CopilotChatUserMessage_default as CopilotChatUserMessage, CopilotChatView_default as CopilotChatView, CopilotChatWorkSummary, CopilotKit, CopilotKitCore, CopilotKitCoreErrorCode, CopilotKitCoreReact, CopilotKitCoreRuntimeConnectionStatus, CopilotKitHeaderResolutionError, CopilotKitInspector, CopilotKitProvider, CopilotKitStyles, CopilotModalHeader, CopilotPopup, CopilotPopupView, CopilotSidebar, CopilotSidebarView, CopilotTask, CopilotThreadsDrawer, CopyOperationSchema, CustomEventSchema, DEFAULT_MAX_ENFORCED_ENTRIES, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, DataSourceSchema, DebugLogger, DeveloperMessageSchema, DocumentInputContentSchema, DocumentInputPartSchema, DocumentPartSchema, EventSchema, EventSchemas, EventType, EventTypeSchema, ExecutionCapabilitiesSchema, FileSourceSchema, FilterToolCallsMiddleware, FunctionCallSchema, FunctionMiddleware, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgsSchema, HttpAgent, HumanInTheLoopCapabilitiesSchema, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTELLIGENCE_TURN_HEAD, INTERRUPT_EVENT_NAME, IdentityCapabilitiesSchema, ImageInputContentSchema, ImageInputPartSchema, ImagePartSchema, InputContentDataSourceSchema, InputContentSchema, InputContentSourceSchema, InputContentUrlSourceSchema, IntelligenceAgent, IntelligenceIndicator, IntelligenceIndicatorView, IntelligenceReplayFailedError, InterruptSchema, JsonPatchOperationSchema, JsonPatchSchema, JsonPointerSchema, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, MEMORY_ERROR_REGISTRY, MarkdownRendererProvider, MemoryError, MessageSchema, MessagesSnapshotEventSchema, MetadataSchema, Middleware, MoveOperationSchema, MultiAgentCapabilitiesSchema, MultimodalCapabilitiesSchema, MultimodalInputCapabilitiesSchema, MultimodalOutputCapabilitiesSchema, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OpenGenerativeUIActivityRenderer, OpenGenerativeUIActivityType, OpenGenerativeUIContentSchema, OpenGenerativeUIToolRenderer, OptionalMetadataSchema, OutputCapabilitiesSchema, PROTOCOL_VERSION, PartSourceSchema, ProxiedCopilotRuntimeAgent, RawEventSchema, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEventSchema, ReasoningMessageChunkEventSchema, ReasoningMessageContentEventSchema, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEventSchema, ReasoningStartEventSchema, RemoveOperationSchema, ReplaceOperationSchema, ResumeEntrySchema, RoleSchema, RunAgentInputSchema, RunErrorEventSchema, RunFinishedCancelledOutcomeSchema, RunFinishedEventSchema, RunFinishedInterruptOutcomeSchema, RunFinishedOutcomeSchema, RunFinishedSuccessOutcomeSchema, RunHandler, RunStartedEventSchema, SandboxFunctionsContext, StateCapabilitiesSchema, StateDeltaEventSchema, StateManager, StateSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, StreamingMarkdownDefaultRenderer, SubagentErrorEventSchema, SubagentFinishedEventSchema, SubagentFinishedOutcomeSchema, SubagentFinishedSuccessOutcomeSchema, SubagentFinishedSuspendedOutcomeSchema, SubagentInfoSchema, SubagentRunIdSchema, SubagentStartedEventSchema, SuggestionEngine, SystemMessageSchema, TestOperationSchema, TextInputContentSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageRoleSchema, TextMessageStartEventSchema, TextPartSchema, ThreadsProvider, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolCallStatus, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TranscriptionError, TranscriptionErrorCode, TransportCapabilitiesSchema, UrlSourceSchema, UseAgentUpdate, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema, WebMCPRegistry, WildcardToolCallRender, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, classifySurfaceCards, compactEvents, completePartialMarkdown, contentHasMedia, contentToText, convertToLegacyEvents, createA2UIMessageRenderer, createActionGroup, createDebugLogger, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, defaultApplyEvents, defineToolCallRenderer, emitInspectorActiveThread, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, enforceEvents, enforceOutgoingInput, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getIntelligenceTurnAnchors, getMarkdownOperationSurfaceId, getRunOutcome, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isInterruptExpired, isRecognizedEvent, isRunCompletionAware, mergeMetadata, messageGroup, messageRow, ofType, omitOptionalNulls, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseProtoStream, parseSSEStream, parseToolArguments, prepareSurfaceOperations, props, randomUUID, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, segmentSurfaceProse, select, shouldShowDevConsole, splitA2UIMarkdown, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, useAgent, useAgentContext, useAttachments, useCapabilities, useCoAgent, useCoAgentStateRender, useCoAgentStateRenders, useComponent, useConfigureSuggestions, useCopilotAction, useCopilotAdditionalInstructions, useCopilotAuthenticatedAction_c, useCopilotChat, useCopilotChatConfiguration, useCopilotChatHeadless_c, useCopilotChatInternal, useCopilotChatSuggestions, useCopilotContext, useCopilotKit, useCopilotMessagesContext, useCopilotReadable, useCopilotRuntimeClient, useDefaultRenderTool, useDefaultTool, useFrontendTool, useFrontendTools, useHumanInTheLoop, useInterrupt, useLangGraphInterrupt, useLazyToolRenderer, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLearningContainers, useLearningContainersInCurrentThread, useLicenseContext, useMakeCopilotDocumentReadable, useMarkdownRenderer, useMemories, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSandboxFunctions, useSuggestions, useThreads, verifyEvents, withAuthoritativeActivityTypes, ɵALL_AGENT_UPDATES, ɵAgentResolver, ɵAttachmentQueue, ɵAudioRecorder, ɵAudioRecorderError, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, ɵChatConfigurationStore, ɵChatConnection, ɵChatSubmitter, ɵComposerAutosize, ɵComposerController, ɵCopyFeedback, ɵDockedSidebar, ɵDockedSidebarRegistry, ɵExitPresence, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, ɵFreshThreadId, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, ɵInspectorThreadOverride, ɵInterruptController, ɵInterruptExpiredError, ɵInterruptState, ɵKEYBOARD_OPEN_THRESHOLD_PX, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, ɵLearningAutoStarter, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPOPUP_DEFAULT_HEIGHT, ɵPOPUP_DEFAULT_WIDTH, ɵPlaceholderCycler, ɵRESIZE_SETTLE_MS, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵReasoningDisclosure, ɵRendererRegistry, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSIDEBAR_DEFAULT_WIDTH, ɵSIDEBAR_TRANSITION_MS, ɵSTABLE_ARRAY_WARNINGS, ɵStickToBottom, ɵTAB_STOP_SELECTOR, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, ɵThreadSelection, ɵThreadSwitchCoordinator, ɵThreadsController, ɵadaptDefaultToolCallRenderProps, ɵaddOpenGenerativeUIContexts, ɵagentUpdateHandlers, ɵappendTranscript, ɵassembleActivityRenderers, ɵassembleHumanInTheLoop, ɵassembleProviderRegistry, ɵassembleProviderToolRenderers, ɵassembleProviderTools, ɵbindDialogFocus, ɵbindPopupDismiss, ɵbindSuggestionsConfig, ɵbuildHumanInTheLoopTool, ɵbuildLearnFromUserActionPayload, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵcheckRemovedProviderProps, ɵcheckToolParameters, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateChatSubmitter, ɵcreateComposerAutosize, ɵcreateDockedSidebar, ɵcreateExitPresence, ɵcreateLastUserMessageTracker, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateObjectUrlFromSource, ɵcreateOpenGenerativeUITool, ɵcreateStickToBottom, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadsDrawerActions, ɵcreateWaveformRenderer, ɵdecodeTextSource, ɵdeduplicateMessages, ɵdescribeActivityRendererFailure, ɵdescribeUnrenderedToolCalls, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵformatCountLabel, ɵformatLabel, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatWorkDuration, ɵgetAgentCapabilities, ɵgetAgentInterruptState, ɵgetAgentResolver, ɵgetArgumentPreview, ɵgetBranchNavState, ɵgetChatViewState, ɵgetCustomMessageRenderProps, ɵgetInlineFeatureWarningSpec, ɵgetLastUserMessageId, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetMessageFeedback, ɵgetMessageFeedbackControls, ɵgetMessageRunStateSnapshot, ɵgetReasoningHeaderLabel, ɵgetThreadsDrawerElementProps, ɵgetToolCallBadge, ɵgetToolCallGroupState, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵhasAssistantMessageText, ɵhitlRenderProps, ɵimplementsConnect, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisContentPart, ɵisContentScrolledToBottom, ɵisCopilotKitFeature, ɵisFocusVisible, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisOwnFeedbackThumb, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmorphViewTransition, ɵnextSlashIndex, ɵnextTabStop, ɵnormalizeAutoScroll, ɵnormalizeToolCallStatus, ɵnormalizeToolsMenu, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵregisterFrontendTools, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentThreadId, ɵresolveChatNotice, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderers, ɵresolveGenerativeUIDefault, ɵresolveLicenseState, ɵresolveProviderConfig, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveToolCallAgentId, ɵresolveToolCallRenderer, ɵrmsAmplitude, ɵrunMcpFollowUp, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowMessageCursor, ɵshowsComposerDisclaimer, ɵsnapshotAgentState, ɵstableArrayPropWarning, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallPayload, ɵsubscribeToAgentErrors, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentUpdates, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵsyncRecorderToMode, ɵthreadAdapterEvents, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementWidth, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
|
|
8273
8327
|
//# sourceMappingURL=index.mjs.map
|