@copilotkit/react-core 2.0.0-rc.41 → 2.0.0-rc.43
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/{MarkdownRendererContext-BL8ct_3U.d.mts → MarkdownRendererContext-CytkPOAJ.d.mts} +1 -1
- package/dist/{MarkdownRendererContext-BL8ct_3U.d.mts.map → MarkdownRendererContext-CytkPOAJ.d.mts.map} +1 -1
- package/dist/MarkdownSurfaces-DlYqJkAE.mjs +135 -0
- package/dist/MarkdownSurfaces-DlYqJkAE.mjs.map +1 -0
- package/dist/MarkdownSurfaces-DytbRzj2.cjs +141 -0
- package/dist/MarkdownSurfaces-DytbRzj2.cjs.map +1 -0
- package/dist/{MarkdownSurfaces-Byz821bg.mjs → ProviderMarkdown-BZaPDROY.mjs} +6 -132
- package/dist/ProviderMarkdown-BZaPDROY.mjs.map +1 -0
- package/dist/{MarkdownSurfaces-D2Ck-cbb.cjs → ProviderMarkdown-i_i2osOH.cjs} +4 -136
- package/dist/ProviderMarkdown-i_i2osOH.cjs.map +1 -0
- package/dist/accessibility-BLK-gE0R.mjs +129 -0
- package/dist/accessibility-BLK-gE0R.mjs.map +1 -0
- package/dist/accessibility-GnodqxkH.cjs +228 -0
- package/dist/accessibility-GnodqxkH.cjs.map +1 -0
- package/dist/{chat-Bf0vVdo7.mjs → chat-B1zczXUD.mjs} +21 -145
- package/dist/chat-B1zczXUD.mjs.map +1 -0
- package/dist/{chat-DgP2N7bD.d.mts → chat-C5XWeO1M.d.mts} +1 -1
- package/dist/{chat-DgP2N7bD.d.mts.map → chat-C5XWeO1M.d.mts.map} +1 -1
- package/dist/{chat-D3fxo6Ah.cjs → chat-CkFZMo5E.cjs} +29 -234
- package/dist/chat-CkFZMo5E.cjs.map +1 -0
- package/dist/context.cjs +2 -2
- package/dist/context.cjs.map +1 -1
- package/dist/context.d.cts +2 -2
- package/dist/context.d.mts +2 -2
- package/dist/context.mjs +2 -2
- package/dist/context.mjs.map +1 -1
- package/dist/generative-ui/native.cjs +9 -8
- package/dist/generative-ui/native.cjs.map +1 -1
- package/dist/generative-ui/native.d.cts.map +1 -1
- package/dist/generative-ui/native.d.mts +2 -2
- package/dist/generative-ui/native.d.mts.map +1 -1
- package/dist/generative-ui/native.mjs +4 -3
- package/dist/generative-ui/native.mjs.map +1 -1
- package/dist/generative-ui.cjs +11 -5767
- package/dist/generative-ui.cjs.map +1 -1
- package/dist/generative-ui.d.mts +4 -4
- package/dist/generative-ui.mjs +8 -5764
- package/dist/generative-ui.mjs.map +1 -1
- package/dist/{hooks-BRYonCVu.d.mts → hooks-DqsOIh8A.d.mts} +3 -3
- package/dist/{hooks-BRYonCVu.d.mts.map → hooks-DqsOIh8A.d.mts.map} +1 -1
- package/dist/index.cjs +180 -681
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -102
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +11 -104
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +64 -407
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +6132 -795
- package/dist/index.umd.js.map +1 -1
- package/dist/{refs-BIUfn1wb.cjs → refs-B5Dn59Pn.cjs} +2 -2
- package/dist/{refs-BIUfn1wb.cjs.map → refs-B5Dn59Pn.cjs.map} +1 -1
- package/dist/{refs-CMrRm3ta.mjs → refs-BW15wX_V.mjs} +1 -1
- package/dist/{refs-CMrRm3ta.mjs.map → refs-BW15wX_V.mjs.map} +1 -1
- package/dist/standard-CqGTZUZy.cjs +5780 -0
- package/dist/standard-CqGTZUZy.cjs.map +1 -0
- package/dist/standard-s8jByRiE.mjs +5784 -0
- package/dist/standard-s8jByRiE.mjs.map +1 -0
- package/dist/{use-generative-ui-root-C12htqbK.cjs → use-generative-ui-root-CIp0ytE6.cjs} +3 -3
- package/dist/{use-generative-ui-root-C12htqbK.cjs.map → use-generative-ui-root-CIp0ytE6.cjs.map} +1 -1
- package/dist/{use-generative-ui-root-CVgsDy1f.mjs → use-generative-ui-root-oBqPa6uy.mjs} +3 -2
- package/dist/{use-generative-ui-root-CVgsDy1f.mjs.map → use-generative-ui-root-oBqPa6uy.mjs.map} +1 -1
- package/package.json +7 -10
- package/dist/MarkdownSurfaces-Byz821bg.mjs.map +0 -1
- package/dist/MarkdownSurfaces-D2Ck-cbb.cjs.map +0 -1
- package/dist/chat-Bf0vVdo7.mjs.map +0 -1
- package/dist/chat-D3fxo6Ah.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
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, 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, ɵA2UIActivityController, ɵA2UIActivityController as ɵA2UIActivityController$1, ɵA2UI_DEFAULT_SURFACE_ID, ɵA2UI_LIFECYCLE_TEXT, ɵA2UI_LIFECYCLE_TEXT as ɵA2UI_LIFECYCLE_TEXT$1, ɵA2UI_OPERATIONS_KEY, ɵA2UI_PAINT_FALLBACK_MS, ɵA2UI_RECOVERY_DEFAULTS, ɵA2UI_ROOT_COMPONENT_ID, ɵA2UI_SKELETON_ROWS, ɵA2UI_SKELETON_ROWS as ɵA2UI_SKELETON_ROWS$1, ɵA2UI_SURFACE_ACTIVITY_TYPE, ɵA2UI_SURFACE_ACTIVITY_TYPE as ɵA2UI_SURFACE_ACTIVITY_TYPE$1, ɵA2UI_SURFACE_CONTENT_SCHEMA, ɵA2UI_SURFACE_CONTENT_SCHEMA as ɵA2UI_SURFACE_CONTENT_SCHEMA$1, ɵ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, ɵRENDER_A2UI_TOOL_NAME, ɵRENDER_A2UI_TOOL_NAME as ɵRENDER_A2UI_TOOL_NAME$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, ɵdiagnoseMissingSurface, ɵdiagnoseUnpaintedSurface, ɵdiagnoseUnresolvedRoot, ɵ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, ɵformatA2UIDebugPayload, ɵformatA2UIRetryLabel, ɵformatCountLabel, ɵformatCountLabel as ɵformatCountLabel$1, ɵformatLabel, ɵformatLabel as ɵformatLabel$1, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatToolNames as ɵformatToolNames$1, ɵformatWorkDuration, ɵgetA2UIOperationSurfaceId, ɵgetA2UIOperations, ɵgetA2UIProgressPhase, ɵ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, ɵgroupA2UIOperationsBySurface, ɵgroupA2UIOperationsBySurface as ɵgroupA2UIOperationsBySurface$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, ɵreadA2UILifecycle, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordAnnotation as ɵrecordAnnotation$1, ɵrecordWorkTime, ɵregisterFrontendTools, ɵregisterFrontendTools as ɵregisterFrontendTools$1, ɵreportProviderConfigDiagnostics, ɵreportProviderConfigDiagnostics as ɵreportProviderConfigDiagnostics$1, ɵreserveLicenseBannerOffset, ɵreserveLicenseBannerOffset as ɵreserveLicenseBannerOffset$1, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveA2UIActivation, ɵresolveA2UIActivation as ɵresolveA2UIActivation$1, ɵresolveA2UIDebugExposure, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentId as ɵresolveAgentId$1, ɵresolveAgentThreadId, ɵresolveAgentThreadId as ɵresolveAgentThreadId$1, ɵresolveChatNotice, ɵresolveChatNotice as ɵresolveChatNotice$1, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderContext as ɵresolveCustomMessageRenderContext$1, ɵresolveCustomMessageRenderers, ɵ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, ɵrunA2UIAction, ɵrunA2UIAction as ɵrunA2UIAction$1, ɵ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, ɵsurfaceHasRenderableContent, ɵsyncRecorderToMode, ɵsyncRecorderToMode as ɵsyncRecorderToMode$1, ɵthreadAdapterEvents, ɵtoA2UIClientEvent, ɵtoA2UIClientEvent as ɵtoA2UIClientEvent$1, ɵ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";
|
|
3
|
+
import { a as renderSlot, c as cn, i as isReactComponentType, l as StreamingMarkdownDefaultRenderer, n as MarkdownRendererProvider, o as CopilotIcon, r as useMarkdownRenderer } from "./ProviderMarkdown-BZaPDROY.mjs";
|
|
4
|
+
import { d as GenerativeUIRuntimeContext, g as useShallowStableRef, p as useGenerativeUIRuntime } from "./accessibility-BLK-gE0R.mjs";
|
|
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
|
+
import { t as useGenerativeUIRoot } from "./use-generative-ui-root-oBqPa6uy.mjs";
|
|
7
|
+
import { t as MarkdownSurfaces } from "./MarkdownSurfaces-DlYqJkAE.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, 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";
|
|
7
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";
|
|
8
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";
|
|
9
11
|
import * as React$1 from "react";
|
|
@@ -15,10 +17,6 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
|
15
17
|
import { commitRowKeyStore, copyToClipboard, createRowKeyStore, formatFileSize, getDocumentIcon, getSourceUrl, randomUUID as randomUUID$1, resolveRowRenderKeysById, shouldEnableInspector } from "@copilotkit/shared";
|
|
16
18
|
import { ɵmountInspector } from "@copilotkit/web-inspector/mount";
|
|
17
19
|
import { MCPAppsActivityContentSchema, MCPAppsActivityType, ɵMcpAppHost, ɵrunMcpFollowUp } from "@copilotkit/mcp-apps-renderer/activity";
|
|
18
|
-
import { A2UIProvider, A2UIRenderer, Catalog, basicCatalog, defaultTheme as a2uiDefaultTheme, filterCatalog, initializeDefaultCatalog, injectStyles, useA2UIActions, useA2UIError, viewerTheme } from "@copilotkit/a2ui-renderer";
|
|
19
|
-
import { A2UISurfaceDiagnostics } from "@copilotkit/a2ui-renderer/engine-core";
|
|
20
|
-
import * as z from "zod";
|
|
21
|
-
import { A2UICatalogController } from "@copilotkit/a2ui-renderer/catalog-schema";
|
|
22
20
|
import { stylesheet } from "@copilotkit/core/styles";
|
|
23
21
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
24
22
|
import { createPortal, flushSync } from "react-dom";
|
|
@@ -819,7 +817,7 @@ function ɵuseOwnedCore(ref, create) {
|
|
|
819
817
|
|
|
820
818
|
//#endregion
|
|
821
819
|
//#region package.json
|
|
822
|
-
var version$1 = "2.0.0-rc.
|
|
820
|
+
var version$1 = "2.0.0-rc.43";
|
|
823
821
|
|
|
824
822
|
//#endregion
|
|
825
823
|
//#region src/components/CopilotKitInspector.tsx
|
|
@@ -1108,362 +1106,62 @@ const OpenGenerativeUIToolRenderer = function OpenGenerativeUIToolRenderer(props
|
|
|
1108
1106
|
};
|
|
1109
1107
|
|
|
1110
1108
|
//#endregion
|
|
1111
|
-
//#region src/
|
|
1109
|
+
//#region src/generative-ui/use-standard-ui-fallback.ts
|
|
1112
1110
|
/**
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1111
|
+
* The standard UI, loaded once on first use. It is a dynamic import so the
|
|
1112
|
+
* standard components (chart, map, media, ...) stay out of the main entry:
|
|
1113
|
+
* an app that does not use generative UI never downloads them.
|
|
1115
1114
|
*/
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
if (lifecycle.status === "failed") return /* @__PURE__ */ jsxs("div", {
|
|
1124
|
-
className: "cpk-a2ui-recovery-failure",
|
|
1125
|
-
children: [
|
|
1126
|
-
/* @__PURE__ */ jsx("div", {
|
|
1127
|
-
className: "cpk-a2ui-recovery-failure-title",
|
|
1128
|
-
children: ɵA2UI_LIFECYCLE_TEXT$1.failureTitle
|
|
1129
|
-
}),
|
|
1130
|
-
/* @__PURE__ */ jsx("div", {
|
|
1131
|
-
className: "cpk-a2ui-recovery-failure-description",
|
|
1132
|
-
children: ɵA2UI_LIFECYCLE_TEXT$1.failureDescription
|
|
1133
|
-
}),
|
|
1134
|
-
details
|
|
1135
|
-
]
|
|
1136
|
-
});
|
|
1137
|
-
if (lifecycle.status === "building" && LoadingComponent) return /* @__PURE__ */ jsx(LoadingComponent, {});
|
|
1138
|
-
return /* @__PURE__ */ jsx(A2UIGeneratingSkeleton, {
|
|
1139
|
-
label: snapshot.label,
|
|
1140
|
-
tokens: lifecycle.progressTokens,
|
|
1141
|
-
phase: snapshot.progressPhase,
|
|
1142
|
-
children: details
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
|
-
/**
|
|
1146
|
-
* Animated wireframe skeleton with a label, an optional live token count, and
|
|
1147
|
-
* an optional debug-detail slot below it. `phase` reveals the rows.
|
|
1148
|
-
*/
|
|
1149
|
-
function A2UIGeneratingSkeleton({ label, tokens, phase, children }) {
|
|
1150
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1151
|
-
style: {
|
|
1152
|
-
margin: "12px 0",
|
|
1153
|
-
maxWidth: 320
|
|
1154
|
-
},
|
|
1155
|
-
children: [
|
|
1156
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1157
|
-
style: {
|
|
1158
|
-
position: "relative",
|
|
1159
|
-
overflow: "hidden",
|
|
1160
|
-
borderRadius: 12,
|
|
1161
|
-
border: "1px solid rgba(228,228,231,0.8)",
|
|
1162
|
-
backgroundColor: "#fff",
|
|
1163
|
-
boxShadow: "0 1px 2px rgba(0,0,0,0.04)",
|
|
1164
|
-
padding: "16px 18px 14px"
|
|
1165
|
-
},
|
|
1166
|
-
children: [
|
|
1167
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1168
|
-
style: {
|
|
1169
|
-
display: "flex",
|
|
1170
|
-
alignItems: "center",
|
|
1171
|
-
gap: 8,
|
|
1172
|
-
marginBottom: 12
|
|
1173
|
-
},
|
|
1174
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
1175
|
-
style: {
|
|
1176
|
-
display: "flex",
|
|
1177
|
-
gap: 4
|
|
1178
|
-
},
|
|
1179
|
-
children: [
|
|
1180
|
-
/* @__PURE__ */ jsx(Dot, {}),
|
|
1181
|
-
/* @__PURE__ */ jsx(Dot, {}),
|
|
1182
|
-
/* @__PURE__ */ jsx(Dot, {})
|
|
1183
|
-
]
|
|
1184
|
-
}), /* @__PURE__ */ jsx("div", { style: {
|
|
1185
|
-
width: 64,
|
|
1186
|
-
height: 6,
|
|
1187
|
-
borderRadius: 9999,
|
|
1188
|
-
backgroundColor: "#e4e4e7",
|
|
1189
|
-
opacity: phase >= 1 ? 1 : .4,
|
|
1190
|
-
transition: "opacity 0.5s"
|
|
1191
|
-
} })]
|
|
1192
|
-
}),
|
|
1193
|
-
/* @__PURE__ */ jsx("div", {
|
|
1194
|
-
style: {
|
|
1195
|
-
display: "grid",
|
|
1196
|
-
gap: 7
|
|
1197
|
-
},
|
|
1198
|
-
children: ɵA2UI_SKELETON_ROWS$1.map((row, rowIndex) => /* @__PURE__ */ jsx("div", {
|
|
1199
|
-
style: {
|
|
1200
|
-
display: "flex",
|
|
1201
|
-
alignItems: "center",
|
|
1202
|
-
gap: 6,
|
|
1203
|
-
opacity: phase >= row.phase ? 1 : 0,
|
|
1204
|
-
transition: `opacity 0.4s ${String(row.delay)}s`
|
|
1205
|
-
},
|
|
1206
|
-
children: row.parts.map((part, partIndex) => /* @__PURE__ */ jsx(SkeletonPart, { part }, partIndex))
|
|
1207
|
-
}, rowIndex))
|
|
1208
|
-
}),
|
|
1209
|
-
/* @__PURE__ */ jsx("div", { style: {
|
|
1210
|
-
pointerEvents: "none",
|
|
1211
|
-
position: "absolute",
|
|
1212
|
-
inset: 0,
|
|
1213
|
-
background: "linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%, transparent 100%)",
|
|
1214
|
-
backgroundSize: "250% 100%",
|
|
1215
|
-
animation: "cpk-a2ui-sweep 3s ease-in-out infinite"
|
|
1216
|
-
} })
|
|
1217
|
-
]
|
|
1218
|
-
}),
|
|
1219
|
-
/* @__PURE__ */ jsxs("div", {
|
|
1220
|
-
style: {
|
|
1221
|
-
display: "flex",
|
|
1222
|
-
alignItems: "center",
|
|
1223
|
-
justifyContent: "center",
|
|
1224
|
-
gap: 8,
|
|
1225
|
-
marginTop: 8
|
|
1226
|
-
},
|
|
1227
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
1228
|
-
style: {
|
|
1229
|
-
fontSize: 12,
|
|
1230
|
-
color: "#a1a1aa",
|
|
1231
|
-
letterSpacing: "0.025em"
|
|
1232
|
-
},
|
|
1233
|
-
children: label
|
|
1234
|
-
}), typeof tokens === "number" && tokens > 0 && /* @__PURE__ */ jsxs("span", {
|
|
1235
|
-
style: {
|
|
1236
|
-
fontSize: 11,
|
|
1237
|
-
color: "#d4d4d8",
|
|
1238
|
-
fontVariantNumeric: "tabular-nums"
|
|
1239
|
-
},
|
|
1240
|
-
children: [
|
|
1241
|
-
"~",
|
|
1242
|
-
tokens.toLocaleString(),
|
|
1243
|
-
" tokens"
|
|
1244
|
-
]
|
|
1245
|
-
})]
|
|
1246
|
-
}),
|
|
1247
|
-
children,
|
|
1248
|
-
/* @__PURE__ */ jsx("style", { children: `
|
|
1249
|
-
@keyframes cpk-a2ui-fade {
|
|
1250
|
-
0%, 100% { opacity: 1; }
|
|
1251
|
-
50% { opacity: 0.5; }
|
|
1252
|
-
}
|
|
1253
|
-
@keyframes cpk-a2ui-sweep {
|
|
1254
|
-
0% { background-position: 250% 0; }
|
|
1255
|
-
100% { background-position: -250% 0; }
|
|
1256
|
-
}
|
|
1257
|
-
` })
|
|
1258
|
-
]
|
|
1259
|
-
});
|
|
1260
|
-
}
|
|
1261
|
-
function A2UIDebugDetails({ label, open, payload }) {
|
|
1262
|
-
return /* @__PURE__ */ jsxs("details", {
|
|
1263
|
-
open,
|
|
1264
|
-
className: "cpk-a2ui-debug-details",
|
|
1265
|
-
children: [/* @__PURE__ */ jsx("summary", {
|
|
1266
|
-
className: "cpk-a2ui-debug-details-summary",
|
|
1267
|
-
children: label
|
|
1268
|
-
}), /* @__PURE__ */ jsx("pre", {
|
|
1269
|
-
className: "cpk-a2ui-debug-details-payload",
|
|
1270
|
-
style: { fontSize: 11 },
|
|
1271
|
-
children: payload
|
|
1272
|
-
})]
|
|
1273
|
-
});
|
|
1274
|
-
}
|
|
1275
|
-
function Dot() {
|
|
1276
|
-
return /* @__PURE__ */ jsx("div", { style: {
|
|
1277
|
-
width: 7,
|
|
1278
|
-
height: 7,
|
|
1279
|
-
borderRadius: "50%",
|
|
1280
|
-
backgroundColor: "#d4d4d8",
|
|
1281
|
-
flexShrink: 0
|
|
1282
|
-
} });
|
|
1283
|
-
}
|
|
1284
|
-
function SkeletonPart({ part }) {
|
|
1285
|
-
if (part === "dot") return /* @__PURE__ */ jsx(Dot, {});
|
|
1286
|
-
if (part === "spacer") return /* @__PURE__ */ jsx("div", { style: { width: 12 } });
|
|
1287
|
-
return /* @__PURE__ */ jsx("div", { style: {
|
|
1288
|
-
width: part.w,
|
|
1289
|
-
height: 7,
|
|
1290
|
-
borderRadius: 9999,
|
|
1291
|
-
backgroundColor: part.bg,
|
|
1292
|
-
animation: `cpk-a2ui-fade 2.4s ease-in-out ${String(part.anim)}s infinite`
|
|
1293
|
-
} });
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
//#endregion
|
|
1297
|
-
//#region src/a2ui/A2UIMessageRenderer.tsx
|
|
1298
|
-
let initialized = false;
|
|
1299
|
-
function ensureInitialized() {
|
|
1300
|
-
if (!initialized) {
|
|
1301
|
-
initializeDefaultCatalog();
|
|
1302
|
-
injectStyles();
|
|
1303
|
-
initialized = true;
|
|
1115
|
+
let standardUIPromise;
|
|
1116
|
+
function loadStandardUI() {
|
|
1117
|
+
if (!standardUIPromise) {
|
|
1118
|
+
standardUIPromise = import("./standard-s8jByRiE.mjs").then((n) => n.n).then((module) => module.standardUI);
|
|
1119
|
+
standardUIPromise.catch(() => {
|
|
1120
|
+
standardUIPromise = void 0;
|
|
1121
|
+
});
|
|
1304
1122
|
}
|
|
1305
|
-
|
|
1306
|
-
const warnInDevelopment = process.env.NODE_ENV !== "production" ? (message) => console.warn(message) : void 0;
|
|
1307
|
-
/**
|
|
1308
|
-
* The `a2ui-surface` activity carries the WHOLE generative-UI lifecycle on one
|
|
1309
|
-
* stable messageId (OSS-162): pre-paint `status` ("building" | "retrying" |
|
|
1310
|
-
* "failed") with recovery detail, then `a2ui_operations` on paint. Core's
|
|
1311
|
-
* `ɵA2UIActivityController` decides what shows; this renderer draws it and
|
|
1312
|
-
* keeps the surface mounted across the loader → surface hand-off.
|
|
1313
|
-
*/
|
|
1314
|
-
function createA2UIMessageRenderer(options) {
|
|
1315
|
-
const { theme, catalog, loadingComponent, recovery, onAction } = options;
|
|
1316
|
-
return {
|
|
1317
|
-
activityType: ɵA2UI_SURFACE_ACTIVITY_TYPE$1,
|
|
1318
|
-
content: ɵA2UI_SURFACE_CONTENT_SCHEMA$1,
|
|
1319
|
-
render: ({ content, agent }) => {
|
|
1320
|
-
ensureInitialized();
|
|
1321
|
-
const { copilotkit } = useCopilotKit();
|
|
1322
|
-
const [controller] = useState(() => {
|
|
1323
|
-
const created = new ɵA2UIActivityController$1({
|
|
1324
|
-
recovery,
|
|
1325
|
-
warn: warnInDevelopment
|
|
1326
|
-
});
|
|
1327
|
-
created.setContent(content);
|
|
1328
|
-
return created;
|
|
1329
|
-
});
|
|
1330
|
-
const snapshot = useSyncExternalStore(controller.subscribe, controller.getSnapshot, controller.getSnapshot);
|
|
1331
|
-
useEffect(() => {
|
|
1332
|
-
controller.setContent(content);
|
|
1333
|
-
}, [controller, content]);
|
|
1334
|
-
useEffect(() => () => controller.dispose(), [controller]);
|
|
1335
|
-
const markRendered = useCallback(() => controller.markRendered(), [controller]);
|
|
1336
|
-
const groups = useMemo(() => ɵgroupA2UIOperationsBySurface$1(snapshot.operations), [snapshot.operations]);
|
|
1337
|
-
if (snapshot.view === "lifecycle") return /* @__PURE__ */ jsx(A2UILifecycleState, {
|
|
1338
|
-
snapshot,
|
|
1339
|
-
loadingComponent
|
|
1340
|
-
});
|
|
1341
|
-
const surfaces = /* @__PURE__ */ jsx("div", {
|
|
1342
|
-
className: "cpk-a2ui-message-surfaces",
|
|
1343
|
-
children: Array.from(groups.entries()).map(([surfaceId, operations]) => /* @__PURE__ */ jsx(ReactSurfaceHost, {
|
|
1344
|
-
surfaceId,
|
|
1345
|
-
operations,
|
|
1346
|
-
theme,
|
|
1347
|
-
agent,
|
|
1348
|
-
copilotkit,
|
|
1349
|
-
catalog,
|
|
1350
|
-
onAction,
|
|
1351
|
-
onRendered: markRendered
|
|
1352
|
-
}, surfaceId))
|
|
1353
|
-
});
|
|
1354
|
-
const handingOff = snapshot.view === "handoff";
|
|
1355
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
1356
|
-
style: { position: "relative" },
|
|
1357
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
1358
|
-
"aria-hidden": handingOff,
|
|
1359
|
-
style: handingOff ? {
|
|
1360
|
-
position: "absolute",
|
|
1361
|
-
inset: 0,
|
|
1362
|
-
opacity: 0,
|
|
1363
|
-
pointerEvents: "none"
|
|
1364
|
-
} : void 0,
|
|
1365
|
-
children: surfaces
|
|
1366
|
-
}), handingOff && /* @__PURE__ */ jsx(A2UILifecycleState, {
|
|
1367
|
-
snapshot,
|
|
1368
|
-
loadingComponent
|
|
1369
|
-
})]
|
|
1370
|
-
});
|
|
1371
|
-
}
|
|
1372
|
-
};
|
|
1373
|
-
}
|
|
1374
|
-
/**
|
|
1375
|
-
* Renders a single A2UI surface using the React renderer.
|
|
1376
|
-
* Wraps A2UIProvider + A2UIRenderer and bridges actions back to CopilotKit.
|
|
1377
|
-
*/
|
|
1378
|
-
function ReactSurfaceHost({ surfaceId, operations, theme, agent, copilotkit, catalog, onAction, onRendered }) {
|
|
1379
|
-
return /* @__PURE__ */ jsx("div", {
|
|
1380
|
-
className: "cpk-a2ui-message-surface-host",
|
|
1381
|
-
children: /* @__PURE__ */ jsxs(A2UIProvider, {
|
|
1382
|
-
onAction: useCallback(({ userAction }) => ɵrunA2UIAction$1({
|
|
1383
|
-
message: ɵtoA2UIClientEvent$1(userAction ?? {}),
|
|
1384
|
-
agent,
|
|
1385
|
-
core: copilotkit,
|
|
1386
|
-
onAction
|
|
1387
|
-
}), [
|
|
1388
|
-
agent,
|
|
1389
|
-
copilotkit,
|
|
1390
|
-
onAction
|
|
1391
|
-
]),
|
|
1392
|
-
theme,
|
|
1393
|
-
catalog,
|
|
1394
|
-
children: [/* @__PURE__ */ jsx(SurfaceMessageProcessor, {
|
|
1395
|
-
operations,
|
|
1396
|
-
onRendered
|
|
1397
|
-
}), /* @__PURE__ */ jsx(A2UISurfaceOrError, { surfaceId })]
|
|
1398
|
-
})
|
|
1399
|
-
});
|
|
1123
|
+
return standardUIPromise;
|
|
1400
1124
|
}
|
|
1401
1125
|
/**
|
|
1402
|
-
*
|
|
1403
|
-
*
|
|
1126
|
+
* The generative UI config of the provider. That is the `generativeUI` prop
|
|
1127
|
+
* when the app sets one. Otherwise, when the runtime turns generative UI on,
|
|
1128
|
+
* it is the standard UI for the agents of the runtime, once the standard UI
|
|
1129
|
+
* has loaded. `undefined` while generative UI is off, or still loading.
|
|
1404
1130
|
*/
|
|
1405
|
-
function
|
|
1406
|
-
const
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
});
|
|
1415
|
-
}
|
|
1416
|
-
/**
|
|
1417
|
-
* Applies the surface's operations to the provider's processor, reports each
|
|
1418
|
-
* applied batch to the activity controller, and runs the development
|
|
1419
|
-
* diagnostics. Must be a child of A2UIProvider.
|
|
1420
|
-
*/
|
|
1421
|
-
function SurfaceMessageProcessor({ operations, onRendered }) {
|
|
1422
|
-
const { applyOperations, getSurface } = useA2UIActions();
|
|
1423
|
-
const [diagnostics] = useState(() => warnInDevelopment ? new A2UISurfaceDiagnostics({ warn: warnInDevelopment }) : null);
|
|
1424
|
-
useEffect(() => () => diagnostics?.dispose(), [diagnostics]);
|
|
1131
|
+
function useStandardUIFallback(generativeUI, runtimeInfo) {
|
|
1132
|
+
const fallback = ɵresolveGenerativeUIDefault$1({
|
|
1133
|
+
runtimeEnabled: runtimeInfo?.generativeUIEnabled ?? false,
|
|
1134
|
+
runtimeAgents: runtimeInfo?.generativeUIAgents,
|
|
1135
|
+
hasUI: !!generativeUI?.ui
|
|
1136
|
+
});
|
|
1137
|
+
const active = fallback.active;
|
|
1138
|
+
const agentIds = fallback.active ? fallback.agentIds : void 0;
|
|
1139
|
+
const [standardUI, setStandardUI] = useState();
|
|
1425
1140
|
useEffect(() => {
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1141
|
+
if (!active || standardUI) return;
|
|
1142
|
+
let cancelled = false;
|
|
1143
|
+
loadStandardUI().then((ui) => {
|
|
1144
|
+
if (!cancelled) setStandardUI(ui);
|
|
1145
|
+
}, (error) => {
|
|
1146
|
+
console.error("[generativeUI] could not load the standard UI for the runtime's generative UI:", error);
|
|
1147
|
+
});
|
|
1148
|
+
return () => {
|
|
1149
|
+
cancelled = true;
|
|
1150
|
+
};
|
|
1151
|
+
}, [active, standardUI]);
|
|
1152
|
+
return useMemo(() => {
|
|
1153
|
+
if (generativeUI) return generativeUI;
|
|
1154
|
+
if (!active || !standardUI) return void 0;
|
|
1155
|
+
return {
|
|
1156
|
+
ui: standardUI,
|
|
1157
|
+
agentIds
|
|
1158
|
+
};
|
|
1429
1159
|
}, [
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
diagnostics
|
|
1160
|
+
generativeUI,
|
|
1161
|
+
active,
|
|
1162
|
+
standardUI,
|
|
1163
|
+
agentIds
|
|
1435
1164
|
]);
|
|
1436
|
-
return null;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
//#endregion
|
|
1440
|
-
//#region src/a2ui/A2UIToolCallRenderer.tsx
|
|
1441
|
-
/**
|
|
1442
|
-
* Registers a no-op renderer for the `render_a2ui` tool call so its raw streamed
|
|
1443
|
-
* args are never surfaced in the transcript.
|
|
1444
|
-
*
|
|
1445
|
-
* The generation skeleton / retry / failure UX is NO LONGER owned here (OSS-162):
|
|
1446
|
-
* the A2UI middleware drives the whole lifecycle on the `a2ui-surface` activity
|
|
1447
|
-
* (one stable messageId, building → retrying → failed → painted), rendered in
|
|
1448
|
-
* place by `createA2UIMessageRenderer`. Owning a skeleton per tool call caused a
|
|
1449
|
-
* duplicate skeleton on retries / multi-call generations and a skeleton that
|
|
1450
|
-
* lingered after the surface painted — both fixed by retiring it here.
|
|
1451
|
-
*
|
|
1452
|
-
* It is a built-in renderer, so a `renderToolCalls` entry or a
|
|
1453
|
-
* `useRenderTool({ name: "render_a2ui" })` hook replaces it, and it never
|
|
1454
|
-
* removes the app's renderers. It is removed when A2UI turns off.
|
|
1455
|
-
*/
|
|
1456
|
-
function A2UIBuiltInToolCallRenderer() {
|
|
1457
|
-
const { copilotkit } = useCopilotKit();
|
|
1458
|
-
useEffect(() => {
|
|
1459
|
-
const renderer = defineToolCallRenderer({
|
|
1460
|
-
name: ɵRENDER_A2UI_TOOL_NAME$1,
|
|
1461
|
-
args: z.any(),
|
|
1462
|
-
render: () => /* @__PURE__ */ jsx(Fragment$1, {})
|
|
1463
|
-
});
|
|
1464
|
-
return copilotkit.ɵaddBuiltInRenderToolCall(renderer);
|
|
1465
|
-
}, [copilotkit]);
|
|
1466
|
-
return null;
|
|
1467
1165
|
}
|
|
1468
1166
|
|
|
1469
1167
|
//#endregion
|
|
@@ -1535,8 +1233,8 @@ var CopilotKitCoreReact = class extends CopilotKitCore$1 {
|
|
|
1535
1233
|
this._renderers.removeHookToolCall(name, agentId);
|
|
1536
1234
|
}
|
|
1537
1235
|
/**
|
|
1538
|
-
* @internal Add a renderer for a tool a built-in feature owns
|
|
1539
|
-
* generative UI). Prop and hook renderers with the same name and agent win
|
|
1236
|
+
* @internal Add a renderer for a tool a built-in feature owns
|
|
1237
|
+
* (generative UI). Prop and hook renderers with the same name and agent win
|
|
1540
1238
|
* over it, and `setRenderToolCalls` never removes it.
|
|
1541
1239
|
*
|
|
1542
1240
|
* @returns A function that removes the renderer.
|
|
@@ -1632,7 +1330,7 @@ function useStableArrayProp(prop, name) {
|
|
|
1632
1330
|
return value;
|
|
1633
1331
|
}
|
|
1634
1332
|
/** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
|
|
1635
|
-
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,
|
|
1333
|
+
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, mcpApps, defaultThrottleMs, debug, learning }) => {
|
|
1636
1334
|
const learningConfig = useMemo(() => ɵtoLearningConfig$1(learning), [learning]);
|
|
1637
1335
|
const [shouldRenderInspector, setShouldRenderInspector] = useState(false);
|
|
1638
1336
|
const [inspectorVisible, setInspectorVisible] = useState(false);
|
|
@@ -1646,18 +1344,12 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1646
1344
|
}, [enableInspector]);
|
|
1647
1345
|
const [inspectorOpenRequest, setInspectorOpenRequest] = useState(null);
|
|
1648
1346
|
const [runtimeInfo, setRuntimeInfo] = useState(null);
|
|
1649
|
-
const runtimeA2UIEnabled = runtimeInfo?.a2uiEnabled ?? false;
|
|
1650
|
-
const runtimeOpenGenUIEnabled = runtimeInfo?.openGenerativeUIEnabled ?? false;
|
|
1651
|
-
const [catalogToggleVersion, setCatalogToggleVersion] = useState(0);
|
|
1652
1347
|
const openGenUIActive = ɵisOpenGenerativeUIActive$1({
|
|
1653
|
-
runtimeEnabled:
|
|
1348
|
+
runtimeEnabled: runtimeInfo?.openGenerativeUIEnabled ?? false,
|
|
1654
1349
|
configured: !!openGenerativeUI
|
|
1655
1350
|
});
|
|
1656
|
-
const
|
|
1657
|
-
|
|
1658
|
-
hasCatalog: !!a2ui?.catalog
|
|
1659
|
-
}).active;
|
|
1660
|
-
const generativeUIActive = !!generativeUI?.ui;
|
|
1351
|
+
const generativeUIConfig = useStandardUIFallback(generativeUI, runtimeInfo);
|
|
1352
|
+
const generativeUIActive = !!generativeUIConfig?.ui;
|
|
1661
1353
|
const runtimeLicenseStatus = runtimeInfo?.licenseStatus;
|
|
1662
1354
|
const runtimeEntitlements = runtimeInfo?.runtimeEntitlements;
|
|
1663
1355
|
const runtimeEntitlementRetryPending = runtimeInfo?.runtimeEntitlementRetryPending ?? false;
|
|
@@ -1678,23 +1370,9 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1678
1370
|
const renderCustomMessagesList = useStableArrayProp(renderCustomMessages, "renderCustomMessages");
|
|
1679
1371
|
const renderActivityMessagesList = useStableArrayProp(renderActivityMessages, "renderActivityMessages");
|
|
1680
1372
|
const copilotkitRef = useRef(null);
|
|
1681
|
-
const rawCatalog = a2ui?.catalog;
|
|
1682
|
-
const filteredCatalog = useMemo(() => {
|
|
1683
|
-
if (!rawCatalog) return rawCatalog;
|
|
1684
|
-
if (!(rawCatalog instanceof Catalog)) return rawCatalog;
|
|
1685
|
-
const core = copilotkitRef.current;
|
|
1686
|
-
return filterCatalog(rawCatalog, (name) => core ? core.isCatalogComponentEnabled(name) : true);
|
|
1687
|
-
}, [rawCatalog, catalogToggleVersion]);
|
|
1688
1373
|
const mcpAppsAllowSameOrigin = mcpApps?.allowSameOriginFallback === true;
|
|
1689
1374
|
const allActivityRenderers = useMemo(() => ɵassembleActivityRenderers$1({
|
|
1690
1375
|
app: renderActivityMessagesList,
|
|
1691
|
-
a2ui: a2uiActive ? createA2UIMessageRenderer({
|
|
1692
|
-
theme: a2ui?.theme ?? viewerTheme,
|
|
1693
|
-
catalog: filteredCatalog,
|
|
1694
|
-
loadingComponent: a2ui?.loadingComponent,
|
|
1695
|
-
recovery: a2ui?.recovery,
|
|
1696
|
-
onAction: a2ui?.onAction
|
|
1697
|
-
}) : void 0,
|
|
1698
1376
|
builtIns: [
|
|
1699
1377
|
{
|
|
1700
1378
|
activityType: MCPAppsActivityType,
|
|
@@ -1711,11 +1389,8 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1711
1389
|
]
|
|
1712
1390
|
}), [
|
|
1713
1391
|
renderActivityMessagesList,
|
|
1714
|
-
a2uiActive,
|
|
1715
1392
|
openGenUIActive,
|
|
1716
1393
|
generativeUIActive,
|
|
1717
|
-
a2ui,
|
|
1718
|
-
filteredCatalog,
|
|
1719
1394
|
mcpAppsAllowSameOrigin
|
|
1720
1395
|
]);
|
|
1721
1396
|
const resolvedConfig = useMemo(() => ɵresolveProviderConfig$1({
|
|
@@ -1725,8 +1400,7 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1725
1400
|
useSingleEndpoint,
|
|
1726
1401
|
agents__unsafe_dev_only: agents,
|
|
1727
1402
|
selfManagedAgents,
|
|
1728
|
-
properties
|
|
1729
|
-
a2uiCatalog: a2ui?.catalog
|
|
1403
|
+
properties
|
|
1730
1404
|
}), [
|
|
1731
1405
|
runtimeUrl,
|
|
1732
1406
|
publicApiKey,
|
|
@@ -1734,8 +1408,7 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1734
1408
|
useSingleEndpoint,
|
|
1735
1409
|
agents,
|
|
1736
1410
|
selfManagedAgents,
|
|
1737
|
-
properties
|
|
1738
|
-
a2ui?.catalog
|
|
1411
|
+
properties
|
|
1739
1412
|
]);
|
|
1740
1413
|
const resolvedPublicKey = resolvedConfig.publicKey;
|
|
1741
1414
|
const loggedDiagnosticsRef = useRef(/* @__PURE__ */ new Set());
|
|
@@ -1805,22 +1478,7 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1805
1478
|
onError,
|
|
1806
1479
|
learning: learningConfig
|
|
1807
1480
|
}));
|
|
1808
|
-
const generativeUIRuntime = useGenerativeUIRoot(copilotkit,
|
|
1809
|
-
const [a2uiCatalogController] = useState(() => new A2UICatalogController(copilotkit, basicCatalog));
|
|
1810
|
-
useEffect(() => a2uiCatalogController.subscribe(() => setCatalogToggleVersion((v) => v + 1)), [a2uiCatalogController]);
|
|
1811
|
-
useEffect(() => {
|
|
1812
|
-
a2uiCatalogController.update({
|
|
1813
|
-
enabled: a2uiActive,
|
|
1814
|
-
catalog: rawCatalog,
|
|
1815
|
-
includeSchema: a2ui?.includeSchema
|
|
1816
|
-
});
|
|
1817
|
-
}, [
|
|
1818
|
-
a2uiCatalogController,
|
|
1819
|
-
a2uiActive,
|
|
1820
|
-
rawCatalog,
|
|
1821
|
-
a2ui?.includeSchema
|
|
1822
|
-
]);
|
|
1823
|
-
useEffect(() => () => a2uiCatalogController.dispose(), [a2uiCatalogController]);
|
|
1481
|
+
const generativeUIRuntime = useGenerativeUIRoot(copilotkit, generativeUIConfig);
|
|
1824
1482
|
useEffect(() => {
|
|
1825
1483
|
const syncRuntimeInfo = () => setRuntimeInfo(copilotkit.ɵruntimeInfo);
|
|
1826
1484
|
const unsubscribe = copilotkit.ɵsubscribeToRuntimeInfo(syncRuntimeInfo);
|
|
@@ -1942,7 +1600,6 @@ const CopilotKitProvider = ({ children, runtimeUrl, headers: headersProp = EMPTY
|
|
|
1942
1600
|
children: /* @__PURE__ */ jsxs(LicenseContext.Provider, {
|
|
1943
1601
|
value: licenseState.context,
|
|
1944
1602
|
children: [
|
|
1945
|
-
a2uiActive && /* @__PURE__ */ jsx(A2UIBuiltInToolCallRenderer, {}),
|
|
1946
1603
|
generativeUIActive && /* @__PURE__ */ jsx(GenerativeUIToolCallRenderer, {}),
|
|
1947
1604
|
/* @__PURE__ */ jsx(MarkdownRendererProvider, {
|
|
1948
1605
|
renderer: markdownRenderer,
|
|
@@ -8240,5 +7897,5 @@ const WildcardToolCallRender = defineToolCallRenderer({
|
|
|
8240
7897
|
});
|
|
8241
7898
|
|
|
8242
7899
|
//#endregion
|
|
8243
|
-
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, 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, 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, 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, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolCallStatus, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TranscriptionError, TranscriptionErrorCode, TransportCapabilitiesSchema, UrlSourceSchema, UseAgentUpdate, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema, WebMCPRegistry, WildcardToolCallRender, a2uiDefaultTheme, 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, splitA2UIMarkdown, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, useAgent, useAgentContext, useAttachments, useCapabilities, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useCopilotKit, useDefaultRenderTool, useFrontendTool, useFrontendTools, useHumanInTheLoop, useInterrupt, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLicenseContext, useMarkdownRenderer, useMemories, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSandboxFunctions, useSuggestions, useThreads, verifyEvents, withAuthoritativeActivityTypes, ɵA2UIActivityController, ɵA2UI_DEFAULT_SURFACE_ID, ɵA2UI_LIFECYCLE_TEXT, ɵA2UI_OPERATIONS_KEY, ɵA2UI_PAINT_FALLBACK_MS, ɵA2UI_RECOVERY_DEFAULTS, ɵA2UI_ROOT_COMPONENT_ID, ɵA2UI_SKELETON_ROWS, ɵA2UI_SURFACE_ACTIVITY_TYPE, ɵA2UI_SURFACE_CONTENT_SCHEMA, ɵ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, ɵRENDER_A2UI_TOOL_NAME, ɵ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, ɵdiagnoseMissingSurface, ɵdiagnoseUnpaintedSurface, ɵdiagnoseUnresolvedRoot, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵflattenToolsMenuForDisplay, ɵflattenUserMessageContent, ɵformatA2UIDebugPayload, ɵformatA2UIRetryLabel, ɵformatCountLabel, ɵformatLabel, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatWorkDuration, ɵgetA2UIOperationSurfaceId, ɵgetA2UIOperations, ɵgetA2UIProgressPhase, ɵ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, ɵgroupA2UIOperationsBySurface, ɵ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, ɵreadA2UILifecycle, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵregisterFrontendTools, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveA2UIActivation, ɵresolveA2UIDebugExposure, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentThreadId, ɵresolveChatNotice, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderers, ɵresolveLicenseState, ɵresolveProviderConfig, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveToolCallAgentId, ɵresolveToolCallRenderer, ɵrmsAmplitude, ɵrunA2UIAction, ɵ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, ɵsurfaceHasRenderableContent, ɵsyncRecorderToMode, ɵthreadAdapterEvents, ɵtoA2UIClientEvent, ɵtoDefaultToolCallStatus, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchElementHeight, ɵwatchElementWidth, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
|
|
7900
|
+
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, 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, 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, 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, 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, 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, splitA2UIMarkdown, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, useAgent, useAgentContext, useAttachments, useCapabilities, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useCopilotKit, useDefaultRenderTool, useFrontendTool, useFrontendTools, useHumanInTheLoop, useInterrupt, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLicenseContext, 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 };
|
|
8244
7901
|
//# sourceMappingURL=index.mjs.map
|