@copilotkit/react-core 2.0.0-rc.20 → 2.0.0-rc.22
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/{MarkdownSurfaces-CoUoPhR9.cjs → MarkdownSurfaces-CGW92DCL.cjs} +49 -178
- package/dist/MarkdownSurfaces-CGW92DCL.cjs.map +1 -0
- package/dist/{MarkdownSurfaces-Bt7TD_U1.mjs → MarkdownSurfaces-DveOwhaW.mjs} +52 -181
- package/dist/MarkdownSurfaces-DveOwhaW.mjs.map +1 -0
- package/dist/context.cjs +43 -46
- package/dist/context.cjs.map +1 -1
- package/dist/context.d.cts +15 -11
- package/dist/context.d.cts.map +1 -1
- package/dist/context.d.mts +15 -11
- package/dist/context.d.mts.map +1 -1
- package/dist/context.mjs +44 -47
- package/dist/context.mjs.map +1 -1
- package/dist/generative-ui.cjs +1 -1
- package/dist/generative-ui.mjs +1 -1
- package/dist/headless.cjs +235 -941
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.d.cts +67 -26
- package/dist/headless.d.cts.map +1 -1
- package/dist/headless.d.mts +53 -16
- package/dist/headless.d.mts.map +1 -1
- package/dist/headless.mjs +236 -943
- package/dist/headless.mjs.map +1 -1
- package/dist/index.cjs +1847 -3433
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +121 -278
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +122 -279
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +924 -3379
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1866 -3583
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/dist/MarkdownSurfaces-Bt7TD_U1.mjs.map +0 -1
- package/dist/MarkdownSurfaces-CoUoPhR9.cjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { a as useMarkdownRenderer, c as ReactActivityMessageRenderer, i as MarkdownRendererProvider, l as GenerativeUIConfig, n as MarkdownRenderer, r as MarkdownRendererProps, s as GenerativeUIChatSurfaceProps, t as DefaultMarkdownRendererProps } from "./MarkdownRendererContext-Bsl28Gmn.mjs";
|
|
2
|
-
import
|
|
2
|
+
import * as _copilotkit_core0 from "@copilotkit/core";
|
|
3
|
+
import { A2UIMarkdownOperation, A2UI_FENCE_LANGUAGE, ActionConfig, ActionCreator, ActionFromCreator, ActionFromCreators, ActionGroupConfig, ActionGroupResult, ActivityMessageRenderProps, ActivityMessageRendererDef, AgentRegistry, AgentThreadLockedError, AnyAction, ChildIdsOf, ChildWalkOptions, ContextStore, CopilotChatDefaultLabels, CopilotChatLabels, CopilotChatLabels as CopilotChatLabels$1, CopilotChatToolCallDisplay, CopilotChatToolCallDisplay as CopilotChatToolCallDisplay$1, CopilotIconData, CopilotIconDefinition, CopilotIconName, CopilotIconNode, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreAddAgentParams, CopilotKitCoreCatalogComponent, CopilotKitCoreConfig, CopilotKitCoreConfig as CopilotKitCoreConfig$1, CopilotKitCoreConnectAgentParams, CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, CopilotKitCoreErrorCode as CopilotKitCoreErrorCode$1, CopilotKitCoreErrorEvent, CopilotKitCoreErrorHandler, CopilotKitCoreFriendsAccess, CopilotKitCoreGetSuggestionsResult, CopilotKitCoreGetToolParams, CopilotKitCoreRegisterProxiedAgentParams, CopilotKitCoreRegisterProxiedAgentResult, CopilotKitCoreRunAgentParams, CopilotKitCoreRunToolParams, CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus, CopilotKitCoreStopAgentParams, CopilotKitCoreSubscriber, CopilotKitCoreSubscriber as CopilotKitCoreSubscriber$1, CopilotKitCoreSubscription, CopilotKitCoreSubscription as CopilotKitCoreSubscription$1, CopilotKitHeaderResolutionError, CopilotKitHeadersSource, CopilotKitMessageFilter, CopilotRuntimeTransport, CustomMessageRenderProps, CustomMessageRenderProps as CustomMessageRenderProps$1, CustomMessageRendererDef, CustomMessageRendererDef as CustomMessageRendererDef$1, CustomMessageRendererPosition, CustomMessageRendererPosition as CustomMessageRendererPosition$1, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, DispatchingEffect, DispatchingEffectOptions, DynamicSuggestionsConfig, Effect, EmptyActionConfig, FrontendTool, FrontendTool as FrontendTool$1, FrontendToolHandlerContext, FrontendToolReconnectBehavior, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgs, HumanInTheLoopRenderProps, HumanInTheLoopRenderProps as HumanInTheLoopRenderProps$1, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTERRUPT_EVENT_NAME, InspectorActiveThreadPayload, InspectorMetadataV1, InspectorStopViewingPayload, InspectorViewThreadPayload, InspectorViewThreadResultPayload, IntelligenceAgent, IntelligenceAgentConfig, IntelligenceRuntimeInfo, InterruptCancelFn, InterruptEvent, InterruptHandlerProps, InterruptRenderProps, InterruptResolveFn, JsonValue, LearningConfig, LegacyLearningConfig, MEMORY_ERROR_REGISTRY, MarkdownSegment, Memory, Memory as Memory$1, MemoryChanges, MemoryChanges as MemoryChanges$1, MemoryError, MemoryErrorCategory, MemoryErrorCode, MemoryErrorRegistryEntry, MemoryKind, MemoryRealtimeStatus, MemoryRealtimeStatus as MemoryRealtimeStatus$1, MemoryScope, NewMemory, NewMemory as NewMemory$1, NonDispatchingEffect, NonDispatchingEffectOptions, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OpenGenerativeUIContent, OpenThreadRegistration, PropsActionConfig, ProxiedCopilotRuntimeAgent, ProxiedCopilotRuntimeAgentConfig, Reducer, RunCompletionAware, RunHandler, RuntimeLicenseStatus, RuntimeMode, ScopedContext, ScopedProperties, Selector, StartResult, StateManager, StaticSuggestionsConfig, Store, StoreLifecycleAction, SubscribeToAgentOptions, SubscribeToAgentSubscriber, Suggestion, Suggestion as Suggestion$1, SuggestionAvailability, SuggestionEngine, SuggestionsConfig, SurfaceSegment, ThreadEndpointRuntimeInfo, ThreadRunActivityNotification, ToolCallEntry, ToolCallEntry as ToolCallEntry$1, ToolCallRenderProps, ToolCallRenderProps as ToolCallRenderProps$1, ToolCallRendererDef, ToolCallRendererDef as ToolCallRendererDef$1, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, TrajectoryStartOptions, TranscriptionError, TranscriptionErrorCode, TranscriptionErrorInfo, TranscriptionResult, WebMCPModelContext, WebMCPRegistry, WebMCPToolAnnotations, WebMCPToolConfig, 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, ɵA2UIActionAgent, ɵA2UIActionCore, ɵA2UIActionInterceptor, ɵA2UIActionInterceptor as ɵA2UIActionInterceptor$1, ɵA2UIActivityController, ɵA2UIActivityControllerOptions, ɵA2UIActivitySnapshot, ɵA2UIActivityView, ɵA2UIBaseOptions, ɵA2UIBaseOptions as ɵA2UIBaseOptions$1, ɵA2UIClientEvent, ɵA2UIDebugExposure, ɵA2UIDiagnosedSurface, ɵA2UILifecycle, ɵA2UILifecycleStatus, ɵA2UIOperation, ɵA2UIProcessorAction, ɵA2UIProgressPhase, ɵA2UIRecoveryOptions, ɵA2UIRecoveryOptions as ɵA2UIRecoveryOptions$1, ɵA2UIScheduler, ɵA2UISkeletonBar, ɵA2UISkeletonPart, ɵA2UISurfaceContent, ɵA2UIUserAction, ɵA2UIUserAction as ɵA2UIUserAction$1, ɵ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, ɵActivityRendererFailureReason, ɵActivityRendererLookup, ɵActivityRendererQuery, ɵAgentBindingInput, ɵAgentContextInput, ɵAgentResolveInput, ɵAgentResolver, ɵAgentUpdateFlag, ɵAssistantToolbarInput, ɵAttachmentQueue, ɵAudioRecorder, ɵAudioRecorderError, ɵAudioRecorderError as AudioRecorderError, ɵAudioRecorderState, ɵAudioRecorderState as ɵAudioRecorderState$1, ɵAutoScrollMode, ɵAutoScrollMode as AutoScrollMode, ɵAutoScrollMode as ɵAutoScrollMode$1, ɵBranchNavInput, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, ɵChatConfigurationOptions, ɵChatConfigurationSnapshot, ɵChatConfigurationStore, ɵChatConfigurationStore as ɵChatConfigurationStore$1, ɵChatNotice, ɵChatRunScope, ɵChatSubmitter, ɵChatSubmitterOptions, ɵChatSubmitterSnapshot, ɵChatViewStateInput, ɵClassValue, ɵClipboardItem, ɵCommandMenuItem, ɵComposerAutosize, ɵComposerAutosizeOptions, ɵComposerElements, ɵComposerInput, ɵComposerKeyEvent, ɵComposerLayout, ɵComposerMode, ɵConnectionWaitResult, ɵCopilotKitCoreConfigPatch, ɵCopilotKitFeature, ɵCopilotKitLearningOptions, ɵCopilotKitProviderBaseOptions, ɵCopilotKitProviderBaseOptions as ɵCopilotKitProviderBaseOptions$1, ɵCopyFeedback, ɵCustomMessageRunSource, ɵDialogFocusOptions, ɵDockedSidebar, ɵDockedSidebarPlacement, ɵDockedSidebarRegistry, ɵDockedSidebarState, ɵDockedSidebarTransition, ɵDrawerThread, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, ɵFeedbackCommentControllerOptions, ɵFeedbackCommentState, ɵFeedbackCommentVia, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, ɵGenerativeUIDebugFunction, ɵGenerativeUIDebugPromptSection, ɵGenerativeUIDebugRun, ɵGenerativeUIDebugSnapshot, ɵGenerativeUIDebugSource, ɵGenerativeUIDebugSurface, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, ɵHoverMenuState, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, ɵInspectorKiteArtwork, ɵInspectorKiteGradient, ɵInspectorKitePath, ɵInspectorKiteStop, ɵInspectorThreadOverride, ɵInspectorThreadOverrideInput, ɵInspectorThreadOverrideSnapshot, ɵInterruptController, ɵInterruptControllerOptions, ɵInterruptDecision, ɵInterruptEvent, ɵInterruptExpiredError, ɵInterruptRunner, ɵInterruptSnapshot, ɵInterruptState, ɵInterruptToolResult, ɵJsonSerializable, ɵJsonSerializable as ɵJsonSerializable$1, ɵKEYBOARD_OPEN_THRESHOLD_PX, ɵKeyboardState, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, ɵLastUserMessageState, ɵLearnFromUserActionFields, ɵLearningAutoStarter, ɵLicenseBannerDetails, ɵLicenseBannerSeverity, ɵLicenseBannerSpec, ɵLicenseBannerType, ɵLicenseStateInput, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, ɵMemoryEnvironment, ɵMemoryMetadataEvent, ɵMemoryRuntimeContext, ɵMemoryState, ɵMemoryStore, ɵMessageFeedback, ɵMessageFeedbackControls, ɵMessageFeedbackRating, ɵMessageFeedbackScope, ɵMessageViewInput, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, ɵOpenGenerativeUIControllerOptions, ɵOpenGenerativeUIPhase, ɵOpenGenerativeUISandboxFunction, ɵOpenGenerativeUISchema, ɵOpenGenerativeUIState, ɵOpenThreadRegistry, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, ɵPendingInterrupt, ɵPhoenixChannelLike, ɵPhoenixChannelOptions, ɵPhoenixChannelSession, ɵPhoenixJoinOutcome, ɵPhoenixPushLike, ɵPhoenixSocketLike, ɵPhoenixSocketOptions, ɵPhoenixSocketSession, ɵPhoenixSocketSignal, ɵPinMessageToTopOptions, ɵPlaceholderCycler, ɵPlaceholderCyclerSnapshot, ɵPopupDismissOptions, ɵProviderConfigDiagnostic, ɵProviderConfigDiagnosticCode, ɵProviderConfigInput, ɵRENDER_A2UI_TOOL_NAME, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵReasoningDuration, ɵRecordAnnotationArgs, ɵRecordAnnotationResult, ɵRendererKind, ɵRendererRegistry, ɵRendererRegistryInit, ɵReportProviderConfigDiagnosticsOptions, ɵResolvedProviderConfig, ɵRunnableCommand, ɵRuntimeInfo, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSTABLE_ARRAY_WARNINGS, ɵSandboxFunctionHandle, ɵSandboxLocalApi, ɵSidebarPosition, ɵSlashKeyResult, ɵSlashMenuState, ɵStaticSuggestionInput, ɵSuggestionsBinding, ɵSuggestionsBindingOptions, ɵSuggestionsConfigInput, ɵSuggestionsConfigInput as ɵSuggestionsConfigInput$1, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, ɵTextareaMetrics, ɵThread, ɵThreadBaselineResetOptions, ɵThreadEnvironment, ɵThreadMetadataEvent, ɵThreadRuntimeContext, ɵThreadSelection, ɵThreadSelectionInput, ɵThreadSelectors, ɵThreadStore, ɵThreadSummary, ɵThreadSwitchCoordinator, ɵThreadsController, ɵThreadsCore, ɵThreadsDrawerCallbacks, ɵThreadsDrawerConfig, ɵThreadsDrawerThreads, ɵThreadsInput, ɵThreadsSnapshot, ɵToolCallCardStatus, ɵToolCallDisplayContextValue, ɵToolCallGroupAppearance, ɵToolCallGroupAppearance as ɵToolCallGroupAppearance$1, ɵToolCallLayout, ɵToolCallRendererNames, ɵToolCallRendererNamesOptions, ɵToolCallRowStatus, ɵToolCallSegment, ɵToolRendererShape, ɵTranscriptionCore, ɵTranscriptionErrorLabelKey, ɵTurnOpenState, ɵTurnWork, ɵUserMessageMediaPart, ɵWebsandboxConstructor, ɵWebsandboxInstance, ɵWebsandboxLoader, ɵWorkSummaryInput, ɵWorkTime, ɵagentUpdateHandlers, ɵappendTranscript, ɵbindDialogFocus, ɵbindPopupDismiss, ɵbindSuggestionsConfig, ɵbuildHumanInTheLoopTool, ɵbuildLearnFromUserActionPayload, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateChatSubmitter, ɵcreateComposerAutosize, ɵcreateDockedSidebar, ɵcreateLastUserMessageTracker, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateObjectUrlFromSource, ɵcreateOpenGenerativeUITool, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadsDrawerActions, ɵcreateWaveformRenderer, ɵdecodeTextSource, ɵdeduplicateMessages, ɵdescribeActivityRendererFailure, ɵdescribeUnrenderedToolCalls, ɵdiagnoseMissingSurface, ɵdiagnoseUnpaintedSurface, ɵdiagnoseUnresolvedRoot, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵ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, ɵgetThreadsDrawerElementProps, ɵgetToolCallBadge, ɵgetToolCallGroupState, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵgroupA2UIOperationsBySurface, ɵhasAssistantMessageText, ɵhitlRenderProps, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisCopilotKitFeature, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmorphViewTransition, ɵnextSlashIndex, ɵnormalizeAutoScroll, ɵnormalizeToolCallStatus, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵreadA2UILifecycle, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵresolveA2UIDebugExposure, ɵresolveActivityRenderer, ɵresolveAgentId, ɵresolveAgentThreadId, ɵresolveChatNotice, ɵresolveComposerKey, ɵresolveCustomMessageRenderContext, ɵresolveCustomMessageRenderers, ɵresolveLicenseState, ɵresolveProviderConfig, ɵresolveSlashKey, ɵresolveThreadsLicense, ɵresolveToolCallAgentId, ɵresolveToolCallRenderer, ɵrmsAmplitude, ɵrunA2UIAction, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵserializeContextValue, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵshouldShowMessageCursor, ɵsnapshotAgentState, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallPayload, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentUpdates, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵsurfaceHasRenderableContent, ɵthreadAdapterEvents, ɵtoA2UIClientEvent, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults } from "@copilotkit/core";
|
|
4
|
+
import * as _ag_ui_client0 from "@ag-ui/client";
|
|
3
5
|
import { ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, AGUI_METADATA_KEY, AbstractAgent, AbstractAgent as AbstractAgent$1, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityMessage, ActivitySnapshotEvent, ActivitySnapshotEventProps, AddOperation, AgentCapabilities, AgentConfig, AgentDebugConfig, AgentStateMutation, AgentSubscriber, AgentSubscriberParams, AssistantMessage, Attributable, AudioInputContent, AudioInputPart, AudioPart, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, BaseEvent, BaseEventFields, BaseEventProps, BaseMessage, CompatibilityBoundary, ContentPart, Context, CopyOperation, CustomEvent, CustomEventProps, DataSource, DebugLogger, DebugLoggerInput, DeveloperMessage, DocumentInputContent, DocumentInputPart, DocumentPart, Event, EventPayloadOf, EventType, ExecutionCapabilities, FileSource, FilterToolCallsMiddleware, FunctionCall, FunctionMiddleware, HttpAgent, HttpAgentConfig, HttpAgentFetchFn, HumanInTheLoopCapabilities, IdentityCapabilities, ImageInputContent, ImageInputPart, ImagePart, InputContent, InputContentDataSource, InputContentPart, InputContentSource, InputContentUrlSource, Interrupt, JsonPatch, JsonPatchOperation, JsonPointer, Message, MessagesSnapshotEvent, MessagesSnapshotEventProps, Metadata, Middleware, MiddlewareFunction, MoveOperation, MultiAgentCapabilities, MultimodalCapabilities, MultimodalInputCapabilities, MultimodalOutputCapabilities, OutputCapabilities, PROTOCOL_VERSION, PartSource, RawEvent, RawEventProps, ReasoningCapabilities, ReasoningEncryptedValueEvent, ReasoningEncryptedValueEventProps, ReasoningEncryptedValueSubtype, ReasoningEndEvent, ReasoningEndEventProps, ReasoningMessage, ReasoningMessageChunkEvent, ReasoningMessageChunkEventProps, ReasoningMessageContentEvent, ReasoningMessageContentEventProps, ReasoningMessageEndEvent, ReasoningMessageEndEventProps, ReasoningMessageStartEvent, ReasoningMessageStartEventProps, ReasoningStartEvent, ReasoningStartEventProps, RemoveOperation, ReplaceOperation, ResolvedAgentDebugConfig, ResumeEntry, ResumeStatus, Role, RunAgentInput, RunAgentParameters, RunAgentResult, RunErrorEvent, RunErrorEventProps, RunFinishedCancelledOutcome, RunFinishedEvent, RunFinishedEventProps, RunFinishedInterruptOutcome, RunFinishedOutcome, RunFinishedSuccessOutcome, RunStartedEvent, RunStartedEventProps, State, StateCapabilities, StateDeltaEvent, StateDeltaEventProps, StateSnapshotEvent, StateSnapshotEventProps, StepFinishedEvent, StepFinishedEventProps, StepStartedEvent, StepStartedEventProps, SubagentErrorEvent, SubagentErrorEventProps, SubagentFinishedEvent, SubagentFinishedEventProps, SubagentFinishedOutcome, SubagentFinishedSuccessOutcome, SubagentFinishedSuspendedOutcome, SubagentInfo, SubagentRunId, SubagentStartedEvent, SubagentStartedEventProps, SystemMessage, TestOperation, TextInputContent, TextMessageChunkEvent, TextMessageChunkEventProps, TextMessageContentEvent, TextMessageContentEventProps, TextMessageEndEvent, TextMessageEndEventProps, TextMessageRole, TextMessageStartEvent, TextMessageStartEventProps, TextPart, TokenUsage, Tool, ToolCall, ToolCallArgsEvent, ToolCallArgsEventProps, ToolCallChunkEvent, ToolCallChunkEventProps, ToolCallEndEvent, ToolCallEndEventProps, ToolCallResultEvent, ToolCallResultEventProps, ToolCallStartEvent, ToolCallStartEventProps, ToolMessage, ToolsCapabilities, TransportCapabilities, UnrecognizedEvent, UrlSource, UserMessage, VideoInputContent, VideoInputPart, VideoPart, 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";
|
|
4
6
|
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";
|
|
5
7
|
import * as react from "react";
|
|
6
8
|
import React$1, { ComponentType, ReactNode } from "react";
|
|
7
9
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
|
-
import { Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1,
|
|
9
|
-
import { ActivityMessage as ActivityMessage$1, AgentCapabilities as AgentCapabilities$1, AssistantMessage as AssistantMessage$1, Message as Message$1, ReasoningMessage as ReasoningMessage$1, ToolCall as ToolCall$1, ToolMessage as ToolMessage$1, UserMessage as UserMessage$1 } from "@ag-ui/core";
|
|
10
|
+
import { Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1, InferSchemaOutput, InputContentSource as InputContentSource$1, StandardSchemaV1 } from "@copilotkit/shared";
|
|
10
11
|
import { MCPAppsActivityContent, MCPAppsActivityContent as MCPAppsActivityContent$1, MCPAppsActivityContentSchema, MCPAppsActivityType, ɵMcpFollowUpHost, ɵrunMcpFollowUp } from "@copilotkit/mcp-apps-renderer/activity";
|
|
11
|
-
import * as z from "zod";
|
|
12
12
|
import { Theme, Theme as A2UITheme, defaultTheme as a2uiDefaultTheme } from "@copilotkit/a2ui-renderer";
|
|
13
13
|
import { Anchor as InspectorAnchor } from "@copilotkit/web-inspector";
|
|
14
|
+
import { ActivityMessage as ActivityMessage$1, AgentCapabilities as AgentCapabilities$1, AssistantMessage as AssistantMessage$1, Message as Message$1, ReasoningMessage as ReasoningMessage$1, ToolCall as ToolCall$1, ToolMessage as ToolMessage$1, UserMessage as UserMessage$1 } from "@ag-ui/core";
|
|
14
15
|
import { CopilotKitContextValue, useCopilotKit, useLicenseContext } from "@copilotkit/react-core/context";
|
|
15
16
|
|
|
16
17
|
//#region src/components/chat/StreamingMarkdownDefaultRenderer.d.ts
|
|
@@ -37,17 +38,18 @@ declare namespace StreamingMarkdownDefaultRenderer {
|
|
|
37
38
|
//#endregion
|
|
38
39
|
//#region src/components/chat/CopilotChatAudioRecorder.d.ts
|
|
39
40
|
/** Finite-state machine for every recorder implementation */
|
|
40
|
-
type AudioRecorderState =
|
|
41
|
-
/** Error subclass so callers can `instanceof`-guard recorder failures */
|
|
42
|
-
declare class AudioRecorderError extends Error {
|
|
43
|
-
constructor(message: string);
|
|
44
|
-
}
|
|
41
|
+
type AudioRecorderState = ɵAudioRecorderState$1;
|
|
45
42
|
interface AudioRecorderRef {
|
|
46
43
|
state: AudioRecorderState;
|
|
47
44
|
start: () => Promise<void>;
|
|
48
45
|
stop: () => Promise<Blob>;
|
|
49
46
|
dispose: () => void;
|
|
50
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Records from the microphone and draws the live level as a scrolling
|
|
50
|
+
* waveform. The recording itself is `ɵAudioRecorder` from
|
|
51
|
+
* `@copilotkit/core`; control it through the ref.
|
|
52
|
+
*/
|
|
51
53
|
declare const CopilotChatAudioRecorder: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<AudioRecorderRef>>;
|
|
52
54
|
//#endregion
|
|
53
55
|
//#region src/lib/slots.d.ts
|
|
@@ -190,7 +192,7 @@ declare namespace CopilotChatInput {
|
|
|
190
192
|
}
|
|
191
193
|
//#endregion
|
|
192
194
|
//#region src/components/chat/CopilotChatToolCallGroup.d.ts
|
|
193
|
-
type CopilotChatToolCallGroupAppearance =
|
|
195
|
+
type CopilotChatToolCallGroupAppearance = ɵToolCallGroupAppearance$1;
|
|
194
196
|
interface CopilotChatToolCallGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
195
197
|
/** The calls in the group, in order. */
|
|
196
198
|
calls: ToolCallEntry$1[];
|
|
@@ -837,7 +839,7 @@ type CopilotChatViewProps = WithSlots<{
|
|
|
837
839
|
suggestionView: typeof CopilotChatSuggestionView;
|
|
838
840
|
}, {
|
|
839
841
|
messages?: Message$1[];
|
|
840
|
-
autoScroll?:
|
|
842
|
+
autoScroll?: ɵAutoScrollMode$1 | boolean;
|
|
841
843
|
isRunning?: boolean;
|
|
842
844
|
suggestions?: Suggestion$1[];
|
|
843
845
|
suggestionLoadingIndexes?: ReadonlyArray<number>;
|
|
@@ -926,7 +928,7 @@ declare function CopilotChatView({
|
|
|
926
928
|
}: CopilotChatViewProps): react_jsx_runtime0.JSX.Element;
|
|
927
929
|
declare namespace CopilotChatView {
|
|
928
930
|
const ScrollView: React$1.FC<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
929
|
-
autoScroll?:
|
|
931
|
+
autoScroll?: ɵAutoScrollMode$1 | boolean;
|
|
930
932
|
scrollThreadId?: string;
|
|
931
933
|
scrollToBottomButton?: SlotValue<React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>>;
|
|
932
934
|
feather?: SlotValue<React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>>;
|
|
@@ -1058,7 +1060,7 @@ declare function CopilotModalHeader({
|
|
|
1058
1060
|
children,
|
|
1059
1061
|
className,
|
|
1060
1062
|
...rest
|
|
1061
|
-
}: CopilotModalHeaderProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
1063
|
+
}: CopilotModalHeaderProps): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
1062
1064
|
declare namespace CopilotModalHeader {
|
|
1063
1065
|
var displayName: string;
|
|
1064
1066
|
}
|
|
@@ -1620,38 +1622,22 @@ interface MCPAppsActivityRendererProps {
|
|
|
1620
1622
|
/**
|
|
1621
1623
|
* MCP Apps Extension Activity Renderer
|
|
1622
1624
|
*
|
|
1623
|
-
* Renders MCP Apps UI in a sandboxed iframe with full protocol support.
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1625
|
+
* Renders MCP Apps UI in a sandboxed iframe with full protocol support. The
|
|
1626
|
+
* shared `ɵMcpAppHost` owns the iframe, its size and its state, and binds the
|
|
1627
|
+
* protocol session (`bindMcpApp`, loaded lazily); this component only draws
|
|
1628
|
+
* the state around it.
|
|
1626
1629
|
*/
|
|
1627
1630
|
declare const MCPAppsActivityRenderer: React$1.FC<MCPAppsActivityRendererProps>;
|
|
1628
1631
|
//#endregion
|
|
1629
1632
|
//#region src/components/OpenGenerativeUIRenderer.d.ts
|
|
1630
1633
|
declare const OpenGenerativeUIActivityType = "open-generative-ui";
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
generating: z.ZodOptional<z.ZodBoolean>;
|
|
1634
|
-
css: z.ZodOptional<z.ZodString>;
|
|
1635
|
-
cssComplete: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
-
html: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1637
|
-
htmlComplete: z.ZodOptional<z.ZodBoolean>;
|
|
1638
|
-
jsFunctions: z.ZodOptional<z.ZodString>;
|
|
1639
|
-
jsFunctionsComplete: z.ZodOptional<z.ZodBoolean>;
|
|
1640
|
-
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1641
|
-
jsExpressionsComplete: z.ZodOptional<z.ZodBoolean>;
|
|
1642
|
-
}, z.core.$strip>;
|
|
1634
|
+
/** Validates Open Generative UI activity content (shared with Vue and Angular). */
|
|
1635
|
+
declare const OpenGenerativeUIContentSchema: _copilotkit_core0.ɵOpenGenerativeUISchema<OpenGenerativeUIContent>;
|
|
1643
1636
|
/**
|
|
1644
|
-
* Schema for the generateSandboxedUi tool call arguments
|
|
1645
|
-
*
|
|
1637
|
+
* Schema for the generateSandboxedUi tool call arguments (shared with Vue and
|
|
1638
|
+
* Angular). It also describes the arguments to the model as JSON Schema.
|
|
1646
1639
|
*/
|
|
1647
|
-
declare const GenerateSandboxedUiArgsSchema:
|
|
1648
|
-
initialHeight: z.ZodOptional<z.ZodNumber>;
|
|
1649
|
-
placeholderMessages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1650
|
-
css: z.ZodOptional<z.ZodString>;
|
|
1651
|
-
html: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
jsFunctions: z.ZodOptional<z.ZodString>;
|
|
1653
|
-
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1654
|
-
}, z.core.$strip>;
|
|
1640
|
+
declare const GenerateSandboxedUiArgsSchema: _copilotkit_core0.ɵOpenGenerativeUISchema<GenerateSandboxedUiArgs>;
|
|
1655
1641
|
interface OpenGenerativeUIActivityRendererProps {
|
|
1656
1642
|
activityType: string;
|
|
1657
1643
|
content: OpenGenerativeUIContent;
|
|
@@ -2225,7 +2211,7 @@ declare function useAgent({
|
|
|
2225
2211
|
updates,
|
|
2226
2212
|
throttleMs
|
|
2227
2213
|
}?: UseAgentProps): {
|
|
2228
|
-
agent: AbstractAgent
|
|
2214
|
+
agent: _ag_ui_client0.AbstractAgent | _copilotkit_core0.ProxiedCopilotRuntimeAgent;
|
|
2229
2215
|
/**
|
|
2230
2216
|
* Whether `agent` is the real, runtime-synced (or locally-registered) agent
|
|
2231
2217
|
* rather than a provisional stand-in returned while the runtime is still
|
|
@@ -2263,9 +2249,7 @@ declare function useCapabilities(agentId?: string): AgentCapabilities$1 | undefi
|
|
|
2263
2249
|
/**
|
|
2264
2250
|
* Represents any value that can be serialized to JSON.
|
|
2265
2251
|
*/
|
|
2266
|
-
type JsonSerializable =
|
|
2267
|
-
[key: string]: JsonSerializable;
|
|
2268
|
-
};
|
|
2252
|
+
type JsonSerializable = ɵJsonSerializable$1;
|
|
2269
2253
|
/**
|
|
2270
2254
|
* Context configuration for useAgentContext.
|
|
2271
2255
|
* Accepts any JSON-serializable value which will be converted to a string.
|
|
@@ -2293,12 +2277,20 @@ declare function useSuggestions({
|
|
|
2293
2277
|
}?: UseSuggestionsOptions): UseSuggestionsResult;
|
|
2294
2278
|
//#endregion
|
|
2295
2279
|
//#region src/hooks/use-configure-suggestions.d.ts
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2280
|
+
/**
|
|
2281
|
+
* Registers a suggestions configuration (dynamic or static) for the current
|
|
2282
|
+
* chat. A global config (no `consumerAgentId`, or `"*"`) applies to every
|
|
2283
|
+
* agent and loads for the surrounding chat's agent first.
|
|
2284
|
+
*
|
|
2285
|
+
* Pass `deps` to reload suggestions when values the config reads change.
|
|
2286
|
+
*
|
|
2287
|
+
* @example
|
|
2288
|
+
* useConfigureSuggestions({
|
|
2289
|
+
* instructions: "Suggest concise next steps for the user",
|
|
2290
|
+
* available: "always",
|
|
2291
|
+
* });
|
|
2292
|
+
*/
|
|
2293
|
+
declare function useConfigureSuggestions(config: ɵSuggestionsConfigInput$1 | null | undefined, deps?: ReadonlyArray<unknown>): void;
|
|
2302
2294
|
//#endregion
|
|
2303
2295
|
//#region src/hooks/use-interrupt.d.ts
|
|
2304
2296
|
type InterruptHandlerFn<TValue, TResult> = (props: InterruptHandlerProps<TValue>) => TResult | PromiseLike<TResult>;
|
|
@@ -2306,7 +2298,6 @@ type InterruptResultFromHandler<THandler> = THandler extends ((...args: never[])
|
|
|
2306
2298
|
type InterruptResult<TValue, TResult> = InterruptResultFromHandler<InterruptHandlerFn<TValue, TResult>>;
|
|
2307
2299
|
type InterruptRenderInChat = boolean | undefined;
|
|
2308
2300
|
type UseInterruptReturn<TRenderInChat extends InterruptRenderInChat> = TRenderInChat extends false ? React$1.ReactElement | null : TRenderInChat extends true | undefined ? void : React$1.ReactElement | null | void;
|
|
2309
|
-
/** Recognize thenables returned by interrupt preprocessing handlers. */
|
|
2310
2301
|
/**
|
|
2311
2302
|
* Configuration options for `useInterrupt`.
|
|
2312
2303
|
*/
|
|
@@ -2496,7 +2487,7 @@ interface LearnFromUserActionInput {
|
|
|
2496
2487
|
/** ISO-8601 client-asserted timestamp. Defaults to server NOW() when absent. */
|
|
2497
2488
|
occurredAt?: string;
|
|
2498
2489
|
/**
|
|
2499
|
-
* Caller-supplied idempotency key. When omitted,
|
|
2490
|
+
* Caller-supplied idempotency key. When omitted, `ɵrecordAnnotation` generates a
|
|
2500
2491
|
* fresh UUID per call so retries collapse to the original row at the
|
|
2501
2492
|
* platform. Supply your own to keep a single semantic event idempotent
|
|
2502
2493
|
* across calls (e.g. a React re-render or a manual retry button).
|
|
@@ -2616,7 +2607,7 @@ interface UseAttachmentsReturn {
|
|
|
2616
2607
|
fileInputRef: React$1.RefObject<HTMLInputElement | null>;
|
|
2617
2608
|
/** Ref for the container element (used for scoped paste handling). */
|
|
2618
2609
|
containerRef: React$1.RefObject<HTMLDivElement | null>;
|
|
2619
|
-
/** Process an array of files (validate, upload, add to state). */
|
|
2610
|
+
/** Process an array of files (validate, upload, add to state). No-op while attachments are disabled. */
|
|
2620
2611
|
processFiles: (files: File[]) => Promise<void>;
|
|
2621
2612
|
/** Handler for `<input type="file" onChange>`. */
|
|
2622
2613
|
handleFileUpload: (e: React$1.ChangeEvent<HTMLInputElement>) => Promise<void>;
|
|
@@ -2637,8 +2628,9 @@ interface UseAttachmentsReturn {
|
|
|
2637
2628
|
}
|
|
2638
2629
|
/**
|
|
2639
2630
|
* Hook that manages file attachment state — uploads, drag-and-drop, paste,
|
|
2640
|
-
* and lifecycle.
|
|
2641
|
-
*
|
|
2631
|
+
* and lifecycle. The queue itself (validation, uploads, ready state) lives in
|
|
2632
|
+
* `@copilotkit/core`'s `ɵAttachmentQueue`; this hook adds the DOM wiring. All
|
|
2633
|
+
* returned callbacks are referentially stable across renders.
|
|
2642
2634
|
*/
|
|
2643
2635
|
declare function useAttachments({
|
|
2644
2636
|
config
|
|
@@ -2719,6 +2711,11 @@ interface CopilotChatConfigurationValue {
|
|
|
2719
2711
|
* threadId is prop-controlled.
|
|
2720
2712
|
*/
|
|
2721
2713
|
startNewThread: () => void;
|
|
2714
|
+
/**
|
|
2715
|
+
* Internal: the core store behind this value, so a nested provider can link
|
|
2716
|
+
* its own store to it.
|
|
2717
|
+
*/
|
|
2718
|
+
ɵstore?: ɵChatConfigurationStore$1;
|
|
2722
2719
|
}
|
|
2723
2720
|
interface CopilotChatConfigurationProviderProps {
|
|
2724
2721
|
children: ReactNode;
|
|
@@ -2733,44 +2730,60 @@ declare const useCopilotChatConfiguration: () => CopilotChatConfigurationValue |
|
|
|
2733
2730
|
//#endregion
|
|
2734
2731
|
//#region src/a2ui/A2UIRecoveryStates.d.ts
|
|
2735
2732
|
/**
|
|
2736
|
-
*
|
|
2737
|
-
*
|
|
2738
|
-
*
|
|
2739
|
-
*
|
|
2740
|
-
* below swap IN PLACE and the painted surface ultimately replaces them:
|
|
2741
|
-
*
|
|
2742
|
-
* building → animated skeleton + "Building interface" (+ optional ~N tokens)
|
|
2743
|
-
* retrying → same skeleton; once perceptible, the sub-label becomes
|
|
2744
|
-
* "Retrying generation… (N/M attempts)" (threshold-gated so a fast
|
|
2745
|
-
* transient retry never flashes), with debug detail per debugExposure
|
|
2746
|
-
* failed → a clean hard-failure card (replacing the skeleton), developer
|
|
2747
|
-
* detail tucked into an expander gated by debugExposure
|
|
2748
|
-
* painted → the surface renderer owns the UI (these states render nothing)
|
|
2749
|
-
*
|
|
2750
|
-
* Timing (`showAfterMs` / `showAfterAttempts`) and how much debug detail to surface
|
|
2751
|
-
* (`debugExposure`) are client concerns; the server can override `debugExposure`
|
|
2752
|
-
* by stamping it onto the activity content (it wins over the client option).
|
|
2733
|
+
* Pre-paint recovery and loading options: how long before the "Retrying…"
|
|
2734
|
+
* label appears, and how much retry and debug detail to show. Core's
|
|
2735
|
+
* `ɵA2UIActivityController` owns the rules; these components only draw its
|
|
2736
|
+
* snapshot.
|
|
2753
2737
|
*/
|
|
2754
|
-
type A2UIRecoveryRendererOptions =
|
|
2755
|
-
/** Delay (ms) before the "Retrying…" sub-label becomes visible. Default 2000. */showAfterMs?: number; /** Show the "Retrying…" sub-label immediately once `attempt` reaches this. Default 2. */
|
|
2756
|
-
showAfterAttempts?: number; /** How much retry/debug detail to surface. Default "collapsed". */
|
|
2757
|
-
debugExposure?: "hidden" | "collapsed" | "verbose";
|
|
2758
|
-
};
|
|
2738
|
+
type A2UIRecoveryRendererOptions = ɵA2UIRecoveryOptions$1;
|
|
2759
2739
|
//#endregion
|
|
2760
|
-
//#region src/
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2740
|
+
//#region src/a2ui/A2UIMessageRenderer.d.ts
|
|
2741
|
+
/** User action with dataContextPath, as dispatched by A2UI components. */
|
|
2742
|
+
type A2UIUserAction = ɵA2UIUserAction$1;
|
|
2743
|
+
/**
|
|
2744
|
+
* Intercept an A2UI user action before it reaches the agent.
|
|
2745
|
+
*
|
|
2746
|
+
* Called with the dispatched action and a `forward` helper that runs the agent
|
|
2747
|
+
* with the (optionally modified) action. The return value drives the default
|
|
2748
|
+
* forwarding:
|
|
2749
|
+
* - return `null` → the app handled it client-side (e.g. a `navigate` event);
|
|
2750
|
+
* the action is NOT forwarded to the agent.
|
|
2751
|
+
* - return an `A2UIUserAction` → that (possibly modified) action is forwarded.
|
|
2752
|
+
* - return `undefined` / `void` → the original action is forwarded unchanged.
|
|
2753
|
+
*
|
|
2754
|
+
* `forward` is provided for advanced cases where you want to do async work and
|
|
2755
|
+
* forward manually; if you call it yourself, return `null` to suppress the
|
|
2756
|
+
* default forward and avoid running the agent twice.
|
|
2757
|
+
*/
|
|
2758
|
+
type A2UIActionInterceptor = ɵA2UIActionInterceptor$1;
|
|
2759
|
+
type A2UIMessageRendererOptions = {
|
|
2760
|
+
theme: Theme; /** Optional component catalog to pass to A2UIProvider */
|
|
2761
|
+
catalog?: any; /** Optional custom loading component shown while the A2UI surface is building. */
|
|
2762
|
+
loadingComponent?: React.ComponentType;
|
|
2764
2763
|
/**
|
|
2765
|
-
*
|
|
2766
|
-
*
|
|
2767
|
-
* should be cheap; cache tokens in it (Clerk's `getToken()` already does).
|
|
2764
|
+
* Pre-paint recovery/loading UX options (OSS-162): timing before the
|
|
2765
|
+
* "Retrying…" sub-label appears + how much retry/debug detail to surface.
|
|
2768
2766
|
*/
|
|
2769
|
-
|
|
2767
|
+
recovery?: A2UIRecoveryRendererOptions;
|
|
2770
2768
|
/**
|
|
2771
|
-
*
|
|
2769
|
+
* Intercept actions before they reach the agent. Lets an app handle an action
|
|
2770
|
+
* client-side (e.g. `navigate`) instead of forwarding every action. See
|
|
2771
|
+
* {@link A2UIActionInterceptor}.
|
|
2772
2772
|
*/
|
|
2773
|
-
|
|
2773
|
+
onAction?: A2UIActionInterceptor;
|
|
2774
|
+
};
|
|
2775
|
+
/**
|
|
2776
|
+
* The `a2ui-surface` activity carries the WHOLE generative-UI lifecycle on one
|
|
2777
|
+
* stable messageId (OSS-162): pre-paint `status` ("building" | "retrying" |
|
|
2778
|
+
* "failed") with recovery detail, then `a2ui_operations` on paint. Core's
|
|
2779
|
+
* `ɵA2UIActivityController` decides what shows; this renderer draws it and
|
|
2780
|
+
* keeps the surface mounted across the loader → surface hand-off.
|
|
2781
|
+
*/
|
|
2782
|
+
declare function createA2UIMessageRenderer(options: A2UIMessageRendererOptions): ReactActivityMessageRenderer<any>;
|
|
2783
|
+
//#endregion
|
|
2784
|
+
//#region src/providers/CopilotKitProvider.d.ts
|
|
2785
|
+
interface CopilotKitProviderProps extends ɵCopilotKitProviderBaseOptions$1 {
|
|
2786
|
+
children: ReactNode;
|
|
2774
2787
|
/**
|
|
2775
2788
|
* CSP nonce for the `<style>` tags CopilotKit adds. Set it when your
|
|
2776
2789
|
* Content-Security-Policy limits `style-src` to a nonce.
|
|
@@ -2782,43 +2795,6 @@ interface CopilotKitProviderProps {
|
|
|
2782
2795
|
* @default true
|
|
2783
2796
|
*/
|
|
2784
2797
|
injectStyles?: boolean;
|
|
2785
|
-
/**
|
|
2786
|
-
* Rewrites the message list sent to runtime agents on every run.
|
|
2787
|
-
*
|
|
2788
|
-
* CopilotKit sends the whole thread each time. When your agent already
|
|
2789
|
-
* stores the conversation, most of that payload is waste, and an agent that
|
|
2790
|
-
* merges the inbound list with its own store can show the model every turn
|
|
2791
|
-
* twice. Return the messages to send:
|
|
2792
|
-
*
|
|
2793
|
-
* ```tsx
|
|
2794
|
-
* <CopilotKit
|
|
2795
|
-
* runtimeUrl="/api/copilotkit"
|
|
2796
|
-
* messageFilter={(messages) => messages.slice(-1)}
|
|
2797
|
-
* />
|
|
2798
|
-
* ```
|
|
2799
|
-
*
|
|
2800
|
-
* The filter changes the request body only. The transcript the UI renders is
|
|
2801
|
-
* untouched. Broken tool-call pairs are repaired before the request is sent,
|
|
2802
|
-
* so a filter this blunt cannot strand a tool result mid-HITL.
|
|
2803
|
-
*
|
|
2804
|
-
* Agents reached through your CopilotRuntime honor this. An agent your app
|
|
2805
|
-
* passes in directly does not, and neither Intelligence runs nor suggestion
|
|
2806
|
-
* runs are ever filtered.
|
|
2807
|
-
*
|
|
2808
|
-
* Prefer a stable reference (`useCallback`). An inline arrow re-registers the
|
|
2809
|
-
* filter on every render, which is harmless but needless.
|
|
2810
|
-
*/
|
|
2811
|
-
messageFilter?: CopilotKitMessageFilter$1;
|
|
2812
|
-
/** Your CopilotKit public license key. */
|
|
2813
|
-
publicApiKey?: string;
|
|
2814
|
-
/** Your public license key for accessing CopilotKit Intelligence features. */
|
|
2815
|
-
publicLicenseKey?: string;
|
|
2816
|
-
/**
|
|
2817
|
-
* Signed license token for offline verification of CopilotKit Intelligence features.
|
|
2818
|
-
* Obtain from https://dashboard.operations.copilotkit.ai.
|
|
2819
|
-
*/
|
|
2820
|
-
licenseToken?: string;
|
|
2821
|
-
properties?: Record<string, unknown>;
|
|
2822
2798
|
/**
|
|
2823
2799
|
* The id of the agent every `<CopilotChat>` under this provider talks to,
|
|
2824
2800
|
* unless a chat names its own with the `agentId` prop.
|
|
@@ -2828,9 +2804,6 @@ interface CopilotKitProviderProps {
|
|
|
2828
2804
|
* agent. Defaults to `"default"`.
|
|
2829
2805
|
*/
|
|
2830
2806
|
agentId?: string;
|
|
2831
|
-
useSingleEndpoint?: boolean;
|
|
2832
|
-
agents__unsafe_dev_only?: Record<string, AbstractAgent$1>;
|
|
2833
|
-
selfManagedAgents?: Record<string, AbstractAgent$1>;
|
|
2834
2807
|
renderToolCalls?: ReactToolCallRenderer<any>[];
|
|
2835
2808
|
renderActivityMessages?: ReactActivityMessageRenderer<any>[];
|
|
2836
2809
|
renderCustomMessages?: ReactCustomMessageRenderer[];
|
|
@@ -2891,15 +2864,6 @@ interface CopilotKitProviderProps {
|
|
|
2891
2864
|
* @default true
|
|
2892
2865
|
*/
|
|
2893
2866
|
showIntelligenceIndicator?: boolean;
|
|
2894
|
-
/**
|
|
2895
|
-
* Error handler called when CopilotKit encounters an error.
|
|
2896
|
-
* Fires for all error types (runtime connection failures, agent errors, tool errors).
|
|
2897
|
-
*/
|
|
2898
|
-
onError?: (event: {
|
|
2899
|
-
error: Error;
|
|
2900
|
-
code: CopilotKitCoreErrorCode$1;
|
|
2901
|
-
context: Record<string, any>;
|
|
2902
|
-
}) => void | Promise<void>;
|
|
2903
2867
|
/**
|
|
2904
2868
|
* Configuration for the A2UI (Agent-to-UI) renderer.
|
|
2905
2869
|
* The built-in A2UI renderer is activated automatically when the runtime reports
|
|
@@ -2913,7 +2877,7 @@ interface CopilotKitProviderProps {
|
|
|
2913
2877
|
* </CopilotKit>
|
|
2914
2878
|
* ```
|
|
2915
2879
|
*/
|
|
2916
|
-
a2ui?: {
|
|
2880
|
+
a2ui?: ɵA2UIBaseOptions$1 & {
|
|
2917
2881
|
/**
|
|
2918
2882
|
* Override the default A2UI viewer theme.
|
|
2919
2883
|
* When omitted, the built-in `viewerTheme` from `@copilotkit/a2ui-renderer` is used.
|
|
@@ -2929,28 +2893,19 @@ interface CopilotKitProviderProps {
|
|
|
2929
2893
|
* When omitted, a default animated skeleton is shown.
|
|
2930
2894
|
*/
|
|
2931
2895
|
loadingComponent?: React$1.ComponentType;
|
|
2932
|
-
/**
|
|
2933
|
-
* When true (the default), the full component schemas from the catalog are
|
|
2934
|
-
* sent as agent context so the agent knows what components and props are
|
|
2935
|
-
* available. The A2UI middleware can overwrite this with a server-side
|
|
2936
|
-
* schema if configured.
|
|
2937
|
-
*
|
|
2938
|
-
* When false, the agent context still describes the catalog, but only by its
|
|
2939
|
-
* catalog ID and the names of its custom components, without their JSON
|
|
2940
|
-
* schemas. The component schema entry and the A2UI generation and design
|
|
2941
|
-
* guidelines are not sent. With the CopilotKit LangGraph middleware's
|
|
2942
|
-
* injected A2UI tool, the A2UI subagent then gets the component names only;
|
|
2943
|
-
* a host can still give it a composition guide through the middleware's
|
|
2944
|
-
* guidelines (`a2uiParams.guidelines.compositionGuide` in TypeScript,
|
|
2945
|
-
* `a2ui_params["guidelines"]["composition_guide"]` in Python).
|
|
2946
|
-
*/
|
|
2947
|
-
includeSchema?: boolean;
|
|
2948
2896
|
/**
|
|
2949
2897
|
* Options for the A2UI error-recovery status UI (OSS-162): how long before
|
|
2950
2898
|
* the transient "Retrying…" hint appears, after how many attempts, and how
|
|
2951
2899
|
* much retry/debug detail to surface. When omitted, sane defaults apply.
|
|
2952
2900
|
*/
|
|
2953
2901
|
recovery?: A2UIRecoveryRendererOptions;
|
|
2902
|
+
/**
|
|
2903
|
+
* Intercept A2UI user actions before they reach the agent: return `null`
|
|
2904
|
+
* to handle an action client-side (e.g. a `navigate` event), return an
|
|
2905
|
+
* action to forward that one instead, or return nothing to forward it
|
|
2906
|
+
* unchanged.
|
|
2907
|
+
*/
|
|
2908
|
+
onAction?: A2UIActionInterceptor;
|
|
2954
2909
|
};
|
|
2955
2910
|
/**
|
|
2956
2911
|
* Experimental. Native generative UI: `generativeUI={{ ui }}`, where `ui`
|
|
@@ -2960,77 +2915,7 @@ interface CopilotKitProviderProps {
|
|
|
2960
2915
|
* bound by the library, and the model does not see them.
|
|
2961
2916
|
*/
|
|
2962
2917
|
generativeUI?: GenerativeUIConfig;
|
|
2963
|
-
/**
|
|
2964
|
-
* Configuration for the built-in MCP Apps renderer.
|
|
2965
|
-
*
|
|
2966
|
-
* @example
|
|
2967
|
-
* ```tsx
|
|
2968
|
-
* <CopilotKit runtimeUrl="/api/copilotkit" mcpApps={{ allowSameOriginFallback: true }}>
|
|
2969
|
-
* {children}
|
|
2970
|
-
* </CopilotKit>
|
|
2971
|
-
* ```
|
|
2972
|
-
*/
|
|
2973
|
-
mcpApps?: {
|
|
2974
|
-
/**
|
|
2975
|
-
* Restore `allow-same-origin` on the MCP App sandbox. Default `false`.
|
|
2976
|
-
*
|
|
2977
|
-
* **Unsafe.** The widget then runs with your page's origin: it can read
|
|
2978
|
-
* your cookies, storage and DOM, and call your APIs as the signed-in user.
|
|
2979
|
-
* Only set it for widgets you wrote and trust that need `localStorage`,
|
|
2980
|
-
* `IndexedDB` or cookies. By default widgets get an opaque origin.
|
|
2981
|
-
*/
|
|
2982
|
-
allowSameOriginFallback?: boolean;
|
|
2983
|
-
};
|
|
2984
|
-
/**
|
|
2985
|
-
* Default throttle interval (in milliseconds) for `useAgent` re-renders
|
|
2986
|
-
* triggered by `OnMessagesChanged` notifications. This value is used as
|
|
2987
|
-
* a fallback when neither the `useAgent()` hook nor `<CopilotChat>` /
|
|
2988
|
-
* `<CopilotSidebar>` / `<CopilotPopup>` specify an explicit `throttleMs`.
|
|
2989
|
-
*
|
|
2990
|
-
* @default undefined (components/hooks without an explicit throttleMs will be unthrottled)
|
|
2991
|
-
*/
|
|
2992
|
-
defaultThrottleMs?: number;
|
|
2993
|
-
/**
|
|
2994
|
-
* Enable debug logging for the client-side event pipeline.
|
|
2995
|
-
*/
|
|
2996
|
-
debug?: DebugConfig;
|
|
2997
|
-
/**
|
|
2998
|
-
* Turns on interaction capture (`@copilotkit/learning`). `learning` (short
|
|
2999
|
-
* for `learning={true}`) records with the default options; pass an object
|
|
3000
|
-
* for options. `false` or omitting the prop turns capture off and cancels
|
|
3001
|
-
* startup. Without a sink, Core authenticates with the runtime and sends
|
|
3002
|
-
* browser events to Intelligence; a custom sink keeps the standalone
|
|
3003
|
-
* collector behavior. Updated settings apply to the next Trajectory.
|
|
3004
|
-
*
|
|
3005
|
-
* Capture starts after mount. Set `trajectoryId` to use your own ID;
|
|
3006
|
-
* otherwise the provider generates one. The generated ID stays the same
|
|
3007
|
-
* across rerenders, reconnects and option changes; turning capture off,
|
|
3008
|
-
* setting `autoStart: false` or supplying a `trajectoryId` ends it, and the
|
|
3009
|
-
* next generated Trajectory gets a new ID. Read the active ID from
|
|
3010
|
-
* `copilotkit.trajectoryId`.
|
|
3011
|
-
*
|
|
3012
|
-
* Set `autoStart: false` to start capture yourself with `startTrajectory()`.
|
|
3013
|
-
* Capture stops on unmount, including manually started Trajectories.
|
|
3014
|
-
*
|
|
3015
|
-
* @example
|
|
3016
|
-
* <CopilotKitProvider runtimeUrl="/api/copilotkit" learning>
|
|
3017
|
-
*/
|
|
3018
|
-
learning?: boolean | LearningProp;
|
|
3019
2918
|
}
|
|
3020
|
-
type LearningProp = LearningConfig$1 & {
|
|
3021
|
-
/**
|
|
3022
|
-
* Starts a Trajectory after mount. Defaults to `true`; set `false` to call
|
|
3023
|
-
* `startTrajectory()` yourself.
|
|
3024
|
-
*/
|
|
3025
|
-
autoStart?: boolean;
|
|
3026
|
-
trajectoryId?: string;
|
|
3027
|
-
/**
|
|
3028
|
-
* Used only by explicit custom sinks. Authenticated capture warns and ignores
|
|
3029
|
-
* this option; assign Learning Spaces on the server with
|
|
3030
|
-
* `getTrajectoryLearningContainerIds` on `CopilotKitIntelligence`.
|
|
3031
|
-
*/
|
|
3032
|
-
learningContainerIds?: string[];
|
|
3033
|
-
};
|
|
3034
2919
|
/** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
|
|
3035
2920
|
declare const CopilotKitProvider: React$1.FC<CopilotKitProviderProps>;
|
|
3036
2921
|
//#endregion
|
|
@@ -3047,7 +2932,15 @@ interface CopilotKitCoreReactConfig extends CopilotKitCoreConfig$1 {
|
|
|
3047
2932
|
interface CopilotKitCoreReactSubscriber extends CopilotKitCoreSubscriber$1 {
|
|
3048
2933
|
onRenderToolCallsChanged?: (event: {
|
|
3049
2934
|
copilotkit: CopilotKitCore$1;
|
|
3050
|
-
renderToolCalls: ReactToolCallRenderer<any>[];
|
|
2935
|
+
renderToolCalls: readonly ReactToolCallRenderer<any>[];
|
|
2936
|
+
}) => void | Promise<void>;
|
|
2937
|
+
onRenderActivityMessagesChanged?: (event: {
|
|
2938
|
+
copilotkit: CopilotKitCore$1;
|
|
2939
|
+
renderActivityMessages: readonly ReactActivityMessageRenderer<any>[];
|
|
2940
|
+
}) => void | Promise<void>;
|
|
2941
|
+
onRenderCustomMessagesChanged?: (event: {
|
|
2942
|
+
copilotkit: CopilotKitCore$1;
|
|
2943
|
+
renderCustomMessages: readonly ReactCustomMessageRenderer[];
|
|
3051
2944
|
}) => void | Promise<void>;
|
|
3052
2945
|
onInterruptElementChanged?: (event: {
|
|
3053
2946
|
copilotkit: CopilotKitCore$1;
|
|
@@ -3055,72 +2948,22 @@ interface CopilotKitCoreReactSubscriber extends CopilotKitCoreSubscriber$1 {
|
|
|
3055
2948
|
}) => void | Promise<void>;
|
|
3056
2949
|
}
|
|
3057
2950
|
declare class CopilotKitCoreReact extends CopilotKitCore$1 {
|
|
3058
|
-
private
|
|
3059
|
-
private _hookRenderToolCalls;
|
|
3060
|
-
private _cachedMergedRenderToolCalls;
|
|
3061
|
-
private _renderCustomMessages;
|
|
3062
|
-
private _renderActivityMessages;
|
|
3063
|
-
private _interruptElement;
|
|
2951
|
+
private readonly _renderers;
|
|
3064
2952
|
constructor(config: CopilotKitCoreReactConfig);
|
|
3065
|
-
get renderCustomMessages():
|
|
3066
|
-
get renderActivityMessages():
|
|
3067
|
-
|
|
2953
|
+
get renderCustomMessages(): readonly ReactCustomMessageRenderer[];
|
|
2954
|
+
get renderActivityMessages(): readonly ReactActivityMessageRenderer<any>[];
|
|
2955
|
+
/** Prop and hook renderers merged; a hook renderer wins over a prop one. */
|
|
2956
|
+
get renderToolCalls(): readonly ReactToolCallRenderer<any>[];
|
|
3068
2957
|
setRenderActivityMessages(renderers: ReactActivityMessageRenderer<any>[]): void;
|
|
3069
2958
|
setRenderCustomMessages(renderers: ReactCustomMessageRenderer[]): void;
|
|
3070
2959
|
setRenderToolCalls(renderToolCalls: ReactToolCallRenderer<any>[]): void;
|
|
3071
2960
|
addHookRenderToolCall(entry: ReactToolCallRenderer<any>): void;
|
|
3072
2961
|
removeHookRenderToolCall(name: string, agentId?: string): void;
|
|
3073
|
-
private
|
|
2962
|
+
private notifyRenderersChanged;
|
|
3074
2963
|
get interruptElement(): React$1.ReactElement | null;
|
|
3075
2964
|
setInterruptElement(element: React$1.ReactElement | null): void;
|
|
3076
2965
|
subscribe(subscriber: CopilotKitCoreReactSubscriber): CopilotKitCoreSubscription$1;
|
|
3077
2966
|
}
|
|
3078
2967
|
//#endregion
|
|
3079
|
-
//#region src/a2ui/A2UIMessageRenderer.d.ts
|
|
3080
|
-
/**
|
|
3081
|
-
* User action with dataContextPath, as dispatched by A2UI components.
|
|
3082
|
-
*/
|
|
3083
|
-
type A2UIUserAction = {
|
|
3084
|
-
name: string;
|
|
3085
|
-
sourceComponentId: string;
|
|
3086
|
-
surfaceId: string;
|
|
3087
|
-
timestamp: string;
|
|
3088
|
-
context?: Record<string, unknown>;
|
|
3089
|
-
dataContextPath?: string;
|
|
3090
|
-
};
|
|
3091
|
-
/**
|
|
3092
|
-
* Intercept an A2UI user action before it reaches the agent.
|
|
3093
|
-
*
|
|
3094
|
-
* Called with the dispatched action and a `forward` helper that runs the agent
|
|
3095
|
-
* with the (optionally modified) action. The return value drives the default
|
|
3096
|
-
* forwarding:
|
|
3097
|
-
* - return `null` → the app handled it client-side (e.g. a `navigate` event);
|
|
3098
|
-
* the action is NOT forwarded to the agent.
|
|
3099
|
-
* - return an `A2UIUserAction` → that (possibly modified) action is forwarded.
|
|
3100
|
-
* - return `undefined` / `void` → the original action is forwarded unchanged.
|
|
3101
|
-
*
|
|
3102
|
-
* `forward` is provided for advanced cases where you want to do async work and
|
|
3103
|
-
* forward manually; if you call it yourself, return `null` to suppress the
|
|
3104
|
-
* default forward and avoid running the agent twice.
|
|
3105
|
-
*/
|
|
3106
|
-
type A2UIActionInterceptor = (action: A2UIUserAction, forward: (action?: A2UIUserAction) => Promise<void>) => void | A2UIUserAction | null | Promise<void | A2UIUserAction | null>;
|
|
3107
|
-
type A2UIMessageRendererOptions = {
|
|
3108
|
-
theme: Theme; /** Optional component catalog to pass to A2UIProvider */
|
|
3109
|
-
catalog?: any; /** Optional custom loading component shown while the A2UI surface is building. */
|
|
3110
|
-
loadingComponent?: React.ComponentType;
|
|
3111
|
-
/**
|
|
3112
|
-
* Pre-paint recovery/loading UX options (OSS-162): timing before the
|
|
3113
|
-
* "Retrying…" sub-label appears + how much retry/debug detail to surface.
|
|
3114
|
-
*/
|
|
3115
|
-
recovery?: A2UIRecoveryRendererOptions;
|
|
3116
|
-
/**
|
|
3117
|
-
* Intercept actions before they reach the agent. Lets an app handle an action
|
|
3118
|
-
* client-side (e.g. `navigate`) instead of forwarding every action. See
|
|
3119
|
-
* {@link A2UIActionInterceptor}.
|
|
3120
|
-
*/
|
|
3121
|
-
onAction?: A2UIActionInterceptor;
|
|
3122
|
-
};
|
|
3123
|
-
declare function createA2UIMessageRenderer(options: A2UIMessageRendererOptions): ReactActivityMessageRenderer<any>;
|
|
3124
|
-
//#endregion
|
|
3125
|
-
export { type A2UIActionInterceptor, type A2UIMarkdownOperation, type A2UIMessageRendererOptions, type A2UIRecoveryRendererOptions, type A2UITheme, type A2UIUserAction, A2UI_FENCE_LANGUAGE, ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIError, type AGUIEvent, type AGUIEventByType, type AGUIEventOf, AGUI_METADATA_KEY, AbstractAgent, type ActionConfig, type ActionCreator, type ActionFromCreator, type ActionFromCreators, type ActionGroupConfig, type ActionGroupResult, type ActivityDeltaEvent, type ActivityDeltaEventProps, ActivityDeltaEventSchema, type ActivityMessage, type ActivityMessageRenderProps, type ActivityMessageRendererDef, ActivityMessageSchema, type ActivitySnapshotEvent, type ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AddOperation, AddOperationSchema, type AgentCapabilities, AgentCapabilitiesSchema, type AgentConfig, type AgentContextInput, type AgentDebugConfig, AgentRegistry, type AgentStateMutation, type AgentSubscriber, type AgentSubscriberParams, AgentThreadLockedError, type AnyAction, type AssistantMessage, AssistantMessageSchema, type Attachment, type AttachmentModality, type AttachmentsConfig, type Attributable, AttributableSchema, type AudioInputContent, AudioInputContentSchema, type AudioInputPart, AudioInputPartSchema, type AudioPart, AudioPartSchema, AudioRecorderError, type AudioRecorderState, type AutoScrollMode, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, type BaseEvent, type BaseEventFields, type BaseEventProps, BaseEventSchema, type BaseMessage, BaseMessageSchema, type ChildIdsOf, type ChildWalkOptions, CompatibilityBoundary, type ContentPart, ContentPartSchema, type Context, ContextSchema, ContextStore, CopilotChat, CopilotChatAssistantMessage, type CopilotChatAssistantMessageProps, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, type CopilotChatConfigurationProviderProps, type CopilotChatConfigurationValue, CopilotChatDefaultLabels, type CopilotChatFeedbackMessage, CopilotChatInput, type CopilotChatInputProps, type CopilotChatLabels, CopilotChatMessageView, type CopilotChatMessageViewProps, type CopilotChatProps, CopilotChatReasoningMessage, type CopilotChatReasoningMessageProps, CopilotChatSuggestionPill, type CopilotChatSuggestionPillProps, CopilotChatSuggestionView, type CopilotChatSuggestionViewProps, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, type CopilotChatToggleButtonProps, type CopilotChatToolCallDisplay, CopilotChatToolCallGroup, type CopilotChatToolCallGroupAppearance, type CopilotChatToolCallGroupProps, CopilotChatToolCallsView, type CopilotChatToolCallsViewProps, CopilotChatUserMessage, type CopilotChatUserMessageProps, CopilotChatView, type CopilotChatViewProps, CopilotChatWorkSummary, type CopilotChatWorkSummaryProps, type CopilotIconData, type CopilotIconDefinition, type CopilotIconName, type CopilotIconNode, type CopilotKitContextValue, CopilotKitCore, type CopilotKitCoreAddAgentParams, type CopilotKitCoreCatalogComponent, type CopilotKitCoreConfig, type CopilotKitCoreConnectAgentParams, type CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, type CopilotKitCoreFriendsAccess, type CopilotKitCoreGetSuggestionsResult, type CopilotKitCoreGetToolParams, CopilotKitCoreReact, CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber, type CopilotKitCoreRegisterProxiedAgentParams, type CopilotKitCoreRegisterProxiedAgentResult, type CopilotKitCoreRunAgentParams, type CopilotKitCoreRunToolParams, type CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus, type CopilotKitCoreStopAgentParams, type CopilotKitCoreSubscriber, type CopilotKitCoreSubscription, CopilotKitHeaderResolutionError, type CopilotKitHeadersSource, CopilotKitInspector, CopilotKitInspectorProps, type CopilotKitMessageFilter, CopilotKitProvider, type CopilotKitProviderProps, CopilotKitStyles, CopilotModalHeader, type CopilotModalHeaderProps, CopilotPopup, type CopilotPopupProps, CopilotPopupView, type CopilotPopupViewProps, type CopilotRuntimeTransport, CopilotSidebar, type CopilotSidebarProps, CopilotSidebarView, type CopilotSidebarViewProps, CopilotThreadsDrawer, type CopilotThreadsDrawerProps, type CopilotThreadsDrawerRowRenderer, type CopyOperation, CopyOperationSchema, type CustomEvent, type CustomEventProps, CustomEventSchema, type CustomMessageRenderProps, type CustomMessageRendererDef, type CustomMessageRendererPosition, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, type DataSource, DataSourceSchema, DebugLogger, type DebugLoggerInput, DefaultMarkdownRendererProps, type DeveloperMessage, DeveloperMessageSchema, type DispatchingEffect, type DispatchingEffectOptions, type DocumentInputContent, DocumentInputContentSchema, type DocumentInputPart, DocumentInputPartSchema, type DocumentPart, DocumentPartSchema, type DynamicSuggestionsConfig, type Effect, type EmptyActionConfig, type Event, type EventPayloadOf, EventSchema, EventSchemas, EventType, EventTypeSchema, type ExecutionCapabilities, ExecutionCapabilitiesSchema, type FileSource, FileSourceSchema, FilterToolCallsMiddleware, type FrontendTool, type FrontendToolHandlerContext, type FrontendToolReconnectBehavior, type FunctionCall, FunctionCallSchema, FunctionMiddleware, GENERATE_SANDBOXED_UI_TOOL_NAME, type GenerateSandboxedUiArgs, GenerateSandboxedUiArgsSchema, HttpAgent, type HttpAgentConfig, type HttpAgentFetchFn, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type HumanInTheLoopRenderProps, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTELLIGENCE_TURN_HEAD, INTERRUPT_EVENT_NAME, type IdentityCapabilities, IdentityCapabilitiesSchema, type ImageInputContent, ImageInputContentSchema, type ImageInputPart, ImageInputPartSchema, type ImagePart, ImagePartSchema, type InputContent, type InputContentDataSource, InputContentDataSourceSchema, type InputContentPart, InputContentSchema, type InputContentSource, InputContentSourceSchema, type InputContentUrlSource, InputContentUrlSourceSchema, type InspectorActiveThreadPayload, type InspectorAnchor, type InspectorMetadataV1, type InspectorStopViewingPayload, type InspectorViewThreadPayload, type InspectorViewThreadResultPayload, IntelligenceAgent, type IntelligenceAgentConfig, IntelligenceIndicator, type IntelligenceIndicatorProps, type IntelligenceIndicatorStatus, IntelligenceIndicatorView, type IntelligenceIndicatorViewProps, type IntelligenceRuntimeInfo, type Interrupt, type InterruptCancelFn, type InterruptEvent, type InterruptHandlerProps, type InterruptRenderProps, type InterruptResolveFn, InterruptSchema, type JsonPatch, type JsonPatchOperation, JsonPatchOperationSchema, JsonPatchSchema, type JsonPointer, JsonPointerSchema, type JsonSerializable, type JsonValue, type LearnFromUserActionInCurrentThreadInput, type LearnFromUserActionInput, type LearnFromUserActionResult, type LearningConfig, type LegacyLearningConfig, type MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, MEMORY_ERROR_REGISTRY, MarkdownRenderer, MarkdownRendererProps, MarkdownRendererProvider, type MarkdownSegment, type Memory, type MemoryChanges, MemoryError, type MemoryErrorCategory, type MemoryErrorCode, type MemoryErrorRegistryEntry, type MemoryKind, type MemoryRealtimeStatus, type MemoryScope, type Message, type MessageGroup, type MessageGroupWrapperProps, type MessageRow, MessageSchema, type MessagesSnapshotEvent, type MessagesSnapshotEventProps, MessagesSnapshotEventSchema, type Metadata, MetadataSchema, Middleware, type MiddlewareFunction, type MoveOperation, MoveOperationSchema, type MultiAgentCapabilities, MultiAgentCapabilitiesSchema, type MultimodalCapabilities, MultimodalCapabilitiesSchema, type MultimodalInputCapabilities, MultimodalInputCapabilitiesSchema, type MultimodalOutputCapabilities, MultimodalOutputCapabilitiesSchema, type NewMemory, type NonDispatchingEffect, type NonDispatchingEffectOptions, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OpenGenerativeUIActivityRenderer, OpenGenerativeUIActivityType, type OpenGenerativeUIContent, OpenGenerativeUIContentSchema, OpenGenerativeUIToolRenderer, type OpenThreadRegistration, OptionalMetadataSchema, type OutputCapabilities, OutputCapabilitiesSchema, PROTOCOL_VERSION, type PartSource, PartSourceSchema, type PropsActionConfig, ProxiedCopilotRuntimeAgent, type ProxiedCopilotRuntimeAgentConfig, type RawEvent, type RawEventProps, RawEventSchema, ReactActivityMessageRenderer, ReactCustomMessageRenderer, ReactCustomMessageRendererPosition, ReactFrontendTool, ReactHumanInTheLoop, ReactToolCallRenderer, type ReasoningCapabilities, ReasoningCapabilitiesSchema, type ReasoningEncryptedValueEvent, type ReasoningEncryptedValueEventProps, ReasoningEncryptedValueEventSchema, type ReasoningEncryptedValueSubtype, ReasoningEncryptedValueSubtypeSchema, type ReasoningEndEvent, type ReasoningEndEventProps, ReasoningEndEventSchema, type ReasoningMessage, type ReasoningMessageChunkEvent, type ReasoningMessageChunkEventProps, ReasoningMessageChunkEventSchema, type ReasoningMessageContentEvent, type ReasoningMessageContentEventProps, ReasoningMessageContentEventSchema, type ReasoningMessageEndEvent, type ReasoningMessageEndEventProps, ReasoningMessageEndEventSchema, ReasoningMessageSchema, type ReasoningMessageStartEvent, type ReasoningMessageStartEventProps, ReasoningMessageStartEventSchema, type ReasoningStartEvent, type ReasoningStartEventProps, ReasoningStartEventSchema, type Reducer, type RemoveOperation, RemoveOperationSchema, type ReplaceOperation, ReplaceOperationSchema, type ResolvedAgentDebugConfig, type ResumeEntry, ResumeEntrySchema, type ResumeStatus, type Role, RoleSchema, type RunAgentInput, RunAgentInputSchema, type RunAgentParameters, type RunAgentResult, type RunCompletionAware, type RunErrorEvent, type RunErrorEventProps, RunErrorEventSchema, type RunFinishedCancelledOutcome, RunFinishedCancelledOutcomeSchema, type RunFinishedEvent, type RunFinishedEventProps, RunFinishedEventSchema, type RunFinishedInterruptOutcome, RunFinishedInterruptOutcomeSchema, type RunFinishedOutcome, RunFinishedOutcomeSchema, type RunFinishedSuccessOutcome, RunFinishedSuccessOutcomeSchema, RunHandler, type RunStartedEvent, type RunStartedEventProps, RunStartedEventSchema, type RuntimeLicenseStatus, type RuntimeMode, SandboxFunction, SandboxFunctionsContext, type ScopedContext, type ScopedProperties, type Selector, type StartResult, type State, type StateCapabilities, StateCapabilitiesSchema, type StateDeltaEvent, type StateDeltaEventProps, StateDeltaEventSchema, StateManager, StateSchema, type StateSnapshotEvent, type StateSnapshotEventProps, StateSnapshotEventSchema, type StaticSuggestionsConfig, type StepFinishedEvent, type StepFinishedEventProps, StepFinishedEventSchema, type StepStartedEvent, type StepStartedEventProps, StepStartedEventSchema, type Store, type StoreLifecycleAction, StreamingMarkdownDefaultRenderer, type SubagentErrorEvent, type SubagentErrorEventProps, SubagentErrorEventSchema, type SubagentFinishedEvent, type SubagentFinishedEventProps, SubagentFinishedEventSchema, type SubagentFinishedOutcome, SubagentFinishedOutcomeSchema, type SubagentFinishedSuccessOutcome, SubagentFinishedSuccessOutcomeSchema, type SubagentFinishedSuspendedOutcome, SubagentFinishedSuspendedOutcomeSchema, type SubagentInfo, SubagentInfoSchema, type SubagentRunId, SubagentRunIdSchema, type SubagentStartedEvent, type SubagentStartedEventProps, SubagentStartedEventSchema, type SubscribeToAgentOptions, type SubscribeToAgentSubscriber, type Suggestion, type SuggestionAvailability, SuggestionEngine, type SuggestionsConfig, type SurfaceSegment, type SystemMessage, SystemMessageSchema, type TestOperation, TestOperationSchema, type TextInputContent, TextInputContentSchema, type TextMessageChunkEvent, type TextMessageChunkEventProps, TextMessageChunkEventSchema, type TextMessageContentEvent, type TextMessageContentEventProps, TextMessageContentEventSchema, type TextMessageEndEvent, type TextMessageEndEventProps, TextMessageEndEventSchema, type TextMessageRole, TextMessageRoleSchema, type TextMessageStartEvent, type TextMessageStartEventProps, TextMessageStartEventSchema, type TextPart, TextPartSchema, type Thread, type ThreadEndpointRuntimeInfo, type ThreadRunActivityNotification, type TokenUsage, TokenUsageSchema, type Tool, type ToolCall, type ToolCallArgsEvent, type ToolCallArgsEventProps, ToolCallArgsEventSchema, type ToolCallChunkEvent, type ToolCallChunkEventProps, ToolCallChunkEventSchema, type ToolCallEndEvent, type ToolCallEndEventProps, ToolCallEndEventSchema, type ToolCallEntry, type ToolCallRenderProps, type ToolCallRendererDef, type ToolCallResultEvent, type ToolCallResultEventProps, ToolCallResultEventSchema, ToolCallSchema, type ToolCallStartEvent, type ToolCallStartEventProps, ToolCallStartEventSchema, ToolCallStatus, type ToolMessage, ToolMessageSchema, ToolSchema, type ToolsCapabilities, ToolsCapabilitiesSchema, type ToolsMenuItem, type TrajectoryStartOptions, TranscriptionError, TranscriptionErrorCode, type TranscriptionErrorInfo, type TranscriptionResult, type TransportCapabilities, TransportCapabilitiesSchema, type UnrecognizedEvent, type UrlSource, UrlSourceSchema, UseAgentUpdate, type UseAttachmentsProps, type UseAttachmentsReturn, type UseInterruptConfig, type UseLearnFromUserActionInCurrentThreadRecorder, type UseLearnFromUserActionRecorder, type UseMemoriesResult, type UseThreadsInput, type UseThreadsResult, type UserMessage, UserMessageSchema, type VideoInputContent, VideoInputContentSchema, type VideoInputPart, VideoInputPartSchema, type VideoPart, VideoPartSchema, type WebMCPModelContext, WebMCPRegistry, type WebMCPToolAnnotations, type WebMCPToolConfig, 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, type ɵActivityRendererQuery, type ɵAssistantToolbarInput, type ɵAutoScrollMode, type ɵBranchNavInput, ɵCOPILOTKIT_FEATURES, ɵCOPY_FEEDBACK_RESET_MS, type ɵClassValue, type ɵComposerInput, type ɵComposerKeyEvent, type ɵComposerMode, type ɵCopilotKitFeature, ɵCopyFeedback, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, type ɵFeedbackCommentControllerOptions, type ɵFeedbackCommentState, type ɵFeedbackCommentVia, type ɵGenerativeUIDebugFunction, type ɵGenerativeUIDebugPromptSection, type ɵGenerativeUIDebugRun, type ɵGenerativeUIDebugSnapshot, type ɵGenerativeUIDebugSource, type ɵGenerativeUIDebugSurface, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, type ɵHoverMenuState, ɵINLINE_FEATURE_WARNING_STYLE, type ɵInspectorKiteArtwork, type ɵInspectorKiteGradient, type ɵInspectorKitePath, type ɵInspectorKiteStop, type ɵInterruptDecision, type ɵInterruptEvent, ɵInterruptState, type ɵInterruptToolResult, ɵKEYBOARD_OPEN_THRESHOLD_PX, type ɵKeyboardState, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, type ɵLicenseBannerDetails, type ɵLicenseBannerSeverity, type ɵLicenseBannerSpec, type ɵLicenseBannerType, type ɵLicenseStateInput, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, type ɵMcpFollowUpHost, type ɵMemoryEnvironment, type ɵMemoryMetadataEvent, type ɵMemoryRuntimeContext, type ɵMemoryState, type ɵMemoryStore, type ɵMessageFeedback, type ɵMessageFeedbackControls, type ɵMessageFeedbackRating, type ɵMessageFeedbackScope, ɵOpenGenerativeUIController, type ɵOpenGenerativeUIControllerOptions, type ɵOpenGenerativeUIPhase, type ɵOpenGenerativeUIState, type ɵPendingInterrupt, type ɵPhoenixChannelLike, type ɵPhoenixChannelOptions, type ɵPhoenixChannelSession, type ɵPhoenixJoinOutcome, type ɵPhoenixPushLike, type ɵPhoenixSocketLike, type ɵPhoenixSocketOptions, type ɵPhoenixSocketSession, type ɵPhoenixSocketSignal, type ɵPinMessageToTopOptions, ɵRUNTIME_PROBE_TIMEOUT_MS, type ɵReasoningDuration, type ɵSandboxFunctionHandle, type ɵSandboxLocalApi, ɵTHREAD_REQUEST_TIMEOUT_MS, type ɵThread, type ɵThreadEnvironment, type ɵThreadMetadataEvent, type ɵThreadRuntimeContext, type ɵThreadSelectors, type ɵThreadStore, type ɵToolCallDisplayContextValue, type ɵToolCallLayout, type ɵToolCallRendererNames, type ɵToolCallRendererNamesOptions, type ɵToolCallRowStatus, type ɵToolCallSegment, type ɵTranscriptionCore, type ɵTranscriptionErrorLabelKey, type ɵTurnOpenState, type ɵTurnWork, type ɵUserMessageMediaPart, type ɵWebsandboxConstructor, type ɵWebsandboxInstance, type ɵWebsandboxLoader, type ɵWorkSummaryInput, type ɵWorkTime, ɵclearAgentInterruptState, ɵcn, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateMemoryStore, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵdeduplicateMessages, ɵextractCompleteStyles, ɵflattenUserMessageContent, ɵformatCountLabel, ɵformatLabel, ɵformatReasoningDuration, ɵformatReasoningDurationLabel, ɵformatToolNames, ɵformatWorkDuration, ɵgetAgentInterruptState, ɵgetArgumentPreview, ɵgetBranchNavState, ɵgetInlineFeatureWarningSpec, ɵgetLatestTurnKey, ɵgetLicenseBannerSpec, ɵgetMessageFeedback, ɵgetMessageFeedbackControls, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵhasAssistantMessageText, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisCopilotKitFeature, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisRetryableMemoryStatus, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵnormalizeAutoScroll, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵreadKeyboardState, ɵrecordWorkTime, ɵreserveLicenseBannerOffset, ɵresetMessageFeedbackCache, ɵresolveActivityRenderer, ɵresolveComposerKey, ɵresolveCustomMessageRenderers, ɵresolveLicenseState, ɵresolveThreadsLicense, ɵresolveToolCallRenderer, ɵrunMcpFollowUp, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵsetMessageFeedback, ɵshallowEqualRecord, ɵshouldShowAssistantToolbar, ɵstringifyToolCallPayload, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵthreadAdapterEvents, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
|
|
2968
|
+
export { type A2UIActionInterceptor, type A2UIMarkdownOperation, type A2UIMessageRendererOptions, type A2UIRecoveryRendererOptions, type A2UITheme, type A2UIUserAction, A2UI_FENCE_LANGUAGE, ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, AGUIError, type AGUIEvent, type AGUIEventByType, type AGUIEventOf, AGUI_METADATA_KEY, AbstractAgent, type ActionConfig, type ActionCreator, type ActionFromCreator, type ActionFromCreators, type ActionGroupConfig, type ActionGroupResult, type ActivityDeltaEvent, type ActivityDeltaEventProps, ActivityDeltaEventSchema, type ActivityMessage, type ActivityMessageRenderProps, type ActivityMessageRendererDef, ActivityMessageSchema, type ActivitySnapshotEvent, type ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AddOperation, AddOperationSchema, type AgentCapabilities, AgentCapabilitiesSchema, type AgentConfig, type AgentContextInput, type AgentDebugConfig, AgentRegistry, type AgentStateMutation, type AgentSubscriber, type AgentSubscriberParams, AgentThreadLockedError, type AnyAction, type AssistantMessage, AssistantMessageSchema, type Attachment, type AttachmentModality, type AttachmentsConfig, type Attributable, AttributableSchema, type AudioInputContent, AudioInputContentSchema, type AudioInputPart, AudioInputPartSchema, type AudioPart, AudioPartSchema, AudioRecorderError, type AudioRecorderState, type AutoScrollMode, BackwardCompatibility_0_0_39, BackwardCompatibility_0_0_45, BackwardCompatibility_0_0_57, type BaseEvent, type BaseEventFields, type BaseEventProps, BaseEventSchema, type BaseMessage, BaseMessageSchema, type ChildIdsOf, type ChildWalkOptions, CompatibilityBoundary, type ContentPart, ContentPartSchema, type Context, ContextSchema, ContextStore, CopilotChat, CopilotChatAssistantMessage, type CopilotChatAssistantMessageProps, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, type CopilotChatConfigurationProviderProps, type CopilotChatConfigurationValue, CopilotChatDefaultLabels, type CopilotChatFeedbackMessage, CopilotChatInput, type CopilotChatInputProps, type CopilotChatLabels, CopilotChatMessageView, type CopilotChatMessageViewProps, type CopilotChatProps, CopilotChatReasoningMessage, type CopilotChatReasoningMessageProps, CopilotChatSuggestionPill, type CopilotChatSuggestionPillProps, CopilotChatSuggestionView, type CopilotChatSuggestionViewProps, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, type CopilotChatToggleButtonProps, type CopilotChatToolCallDisplay, CopilotChatToolCallGroup, type CopilotChatToolCallGroupAppearance, type CopilotChatToolCallGroupProps, CopilotChatToolCallsView, type CopilotChatToolCallsViewProps, CopilotChatUserMessage, type CopilotChatUserMessageProps, CopilotChatView, type CopilotChatViewProps, CopilotChatWorkSummary, type CopilotChatWorkSummaryProps, type CopilotIconData, type CopilotIconDefinition, type CopilotIconName, type CopilotIconNode, type CopilotKitContextValue, CopilotKitCore, type CopilotKitCoreAddAgentParams, type CopilotKitCoreCatalogComponent, type CopilotKitCoreConfig, type CopilotKitCoreConnectAgentParams, type CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, type CopilotKitCoreErrorEvent, type CopilotKitCoreErrorHandler, type CopilotKitCoreFriendsAccess, type CopilotKitCoreGetSuggestionsResult, type CopilotKitCoreGetToolParams, CopilotKitCoreReact, CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber, type CopilotKitCoreRegisterProxiedAgentParams, type CopilotKitCoreRegisterProxiedAgentResult, type CopilotKitCoreRunAgentParams, type CopilotKitCoreRunToolParams, type CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus, type CopilotKitCoreStopAgentParams, type CopilotKitCoreSubscriber, type CopilotKitCoreSubscription, CopilotKitHeaderResolutionError, type CopilotKitHeadersSource, CopilotKitInspector, CopilotKitInspectorProps, type CopilotKitMessageFilter, CopilotKitProvider, type CopilotKitProviderProps, CopilotKitStyles, CopilotModalHeader, type CopilotModalHeaderProps, CopilotPopup, type CopilotPopupProps, CopilotPopupView, type CopilotPopupViewProps, type CopilotRuntimeTransport, CopilotSidebar, type CopilotSidebarProps, CopilotSidebarView, type CopilotSidebarViewProps, CopilotThreadsDrawer, type CopilotThreadsDrawerProps, type CopilotThreadsDrawerRowRenderer, type CopyOperation, CopyOperationSchema, type CustomEvent, type CustomEventProps, CustomEventSchema, type CustomMessageRenderProps, type CustomMessageRendererDef, type CustomMessageRendererPosition, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, type DataSource, DataSourceSchema, DebugLogger, type DebugLoggerInput, DefaultMarkdownRendererProps, type DeveloperMessage, DeveloperMessageSchema, type DispatchingEffect, type DispatchingEffectOptions, type DocumentInputContent, DocumentInputContentSchema, type DocumentInputPart, DocumentInputPartSchema, type DocumentPart, DocumentPartSchema, type DynamicSuggestionsConfig, type Effect, type EmptyActionConfig, type Event, type EventPayloadOf, EventSchema, EventSchemas, EventType, EventTypeSchema, type ExecutionCapabilities, ExecutionCapabilitiesSchema, type FileSource, FileSourceSchema, FilterToolCallsMiddleware, type FrontendTool, type FrontendToolHandlerContext, type FrontendToolReconnectBehavior, type FunctionCall, FunctionCallSchema, FunctionMiddleware, GENERATE_SANDBOXED_UI_TOOL_NAME, type GenerateSandboxedUiArgs, GenerateSandboxedUiArgsSchema, HttpAgent, type HttpAgentConfig, type HttpAgentFetchFn, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type HumanInTheLoopRenderProps, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, INTELLIGENCE_TURN_HEAD, INTERRUPT_EVENT_NAME, type IdentityCapabilities, IdentityCapabilitiesSchema, type ImageInputContent, ImageInputContentSchema, type ImageInputPart, ImageInputPartSchema, type ImagePart, ImagePartSchema, type InputContent, type InputContentDataSource, InputContentDataSourceSchema, type InputContentPart, InputContentSchema, type InputContentSource, InputContentSourceSchema, type InputContentUrlSource, InputContentUrlSourceSchema, type InspectorActiveThreadPayload, type InspectorAnchor, type InspectorMetadataV1, type InspectorStopViewingPayload, type InspectorViewThreadPayload, type InspectorViewThreadResultPayload, IntelligenceAgent, type IntelligenceAgentConfig, IntelligenceIndicator, type IntelligenceIndicatorProps, type IntelligenceIndicatorStatus, IntelligenceIndicatorView, type IntelligenceIndicatorViewProps, type IntelligenceRuntimeInfo, type Interrupt, type InterruptCancelFn, type InterruptEvent, type InterruptHandlerProps, type InterruptRenderProps, type InterruptResolveFn, InterruptSchema, type JsonPatch, type JsonPatchOperation, JsonPatchOperationSchema, JsonPatchSchema, type JsonPointer, JsonPointerSchema, type JsonSerializable, type JsonValue, type LearnFromUserActionInCurrentThreadInput, type LearnFromUserActionInput, type LearnFromUserActionResult, type LearningConfig, type LegacyLearningConfig, type MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, MEMORY_ERROR_REGISTRY, MarkdownRenderer, MarkdownRendererProps, MarkdownRendererProvider, type MarkdownSegment, type Memory, type MemoryChanges, MemoryError, type MemoryErrorCategory, type MemoryErrorCode, type MemoryErrorRegistryEntry, type MemoryKind, type MemoryRealtimeStatus, type MemoryScope, type Message, type MessageGroup, type MessageGroupWrapperProps, type MessageRow, MessageSchema, type MessagesSnapshotEvent, type MessagesSnapshotEventProps, MessagesSnapshotEventSchema, type Metadata, MetadataSchema, Middleware, type MiddlewareFunction, type MoveOperation, MoveOperationSchema, type MultiAgentCapabilities, MultiAgentCapabilitiesSchema, type MultimodalCapabilities, MultimodalCapabilitiesSchema, type MultimodalInputCapabilities, MultimodalInputCapabilitiesSchema, type MultimodalOutputCapabilities, MultimodalOutputCapabilitiesSchema, type NewMemory, type NonDispatchingEffect, type NonDispatchingEffectOptions, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OpenGenerativeUIActivityRenderer, OpenGenerativeUIActivityType, type OpenGenerativeUIContent, OpenGenerativeUIContentSchema, OpenGenerativeUIToolRenderer, type OpenThreadRegistration, OptionalMetadataSchema, type OutputCapabilities, OutputCapabilitiesSchema, PROTOCOL_VERSION, type PartSource, PartSourceSchema, type PropsActionConfig, ProxiedCopilotRuntimeAgent, type ProxiedCopilotRuntimeAgentConfig, type RawEvent, type RawEventProps, RawEventSchema, ReactActivityMessageRenderer, ReactCustomMessageRenderer, ReactCustomMessageRendererPosition, ReactFrontendTool, ReactHumanInTheLoop, ReactToolCallRenderer, type ReasoningCapabilities, ReasoningCapabilitiesSchema, type ReasoningEncryptedValueEvent, type ReasoningEncryptedValueEventProps, ReasoningEncryptedValueEventSchema, type ReasoningEncryptedValueSubtype, ReasoningEncryptedValueSubtypeSchema, type ReasoningEndEvent, type ReasoningEndEventProps, ReasoningEndEventSchema, type ReasoningMessage, type ReasoningMessageChunkEvent, type ReasoningMessageChunkEventProps, ReasoningMessageChunkEventSchema, type ReasoningMessageContentEvent, type ReasoningMessageContentEventProps, ReasoningMessageContentEventSchema, type ReasoningMessageEndEvent, type ReasoningMessageEndEventProps, ReasoningMessageEndEventSchema, ReasoningMessageSchema, type ReasoningMessageStartEvent, type ReasoningMessageStartEventProps, ReasoningMessageStartEventSchema, type ReasoningStartEvent, type ReasoningStartEventProps, ReasoningStartEventSchema, type Reducer, type RemoveOperation, RemoveOperationSchema, type ReplaceOperation, ReplaceOperationSchema, type ResolvedAgentDebugConfig, type ResumeEntry, ResumeEntrySchema, type ResumeStatus, type Role, RoleSchema, type RunAgentInput, RunAgentInputSchema, type RunAgentParameters, type RunAgentResult, type RunCompletionAware, type RunErrorEvent, type RunErrorEventProps, RunErrorEventSchema, type RunFinishedCancelledOutcome, RunFinishedCancelledOutcomeSchema, type RunFinishedEvent, type RunFinishedEventProps, RunFinishedEventSchema, type RunFinishedInterruptOutcome, RunFinishedInterruptOutcomeSchema, type RunFinishedOutcome, RunFinishedOutcomeSchema, type RunFinishedSuccessOutcome, RunFinishedSuccessOutcomeSchema, RunHandler, type RunStartedEvent, type RunStartedEventProps, RunStartedEventSchema, type RuntimeLicenseStatus, type RuntimeMode, SandboxFunction, SandboxFunctionsContext, type ScopedContext, type ScopedProperties, type Selector, type StartResult, type State, type StateCapabilities, StateCapabilitiesSchema, type StateDeltaEvent, type StateDeltaEventProps, StateDeltaEventSchema, StateManager, StateSchema, type StateSnapshotEvent, type StateSnapshotEventProps, StateSnapshotEventSchema, type StaticSuggestionsConfig, type StepFinishedEvent, type StepFinishedEventProps, StepFinishedEventSchema, type StepStartedEvent, type StepStartedEventProps, StepStartedEventSchema, type Store, type StoreLifecycleAction, StreamingMarkdownDefaultRenderer, type SubagentErrorEvent, type SubagentErrorEventProps, SubagentErrorEventSchema, type SubagentFinishedEvent, type SubagentFinishedEventProps, SubagentFinishedEventSchema, type SubagentFinishedOutcome, SubagentFinishedOutcomeSchema, type SubagentFinishedSuccessOutcome, SubagentFinishedSuccessOutcomeSchema, type SubagentFinishedSuspendedOutcome, SubagentFinishedSuspendedOutcomeSchema, type SubagentInfo, SubagentInfoSchema, type SubagentRunId, SubagentRunIdSchema, type SubagentStartedEvent, type SubagentStartedEventProps, SubagentStartedEventSchema, type SubscribeToAgentOptions, type SubscribeToAgentSubscriber, type Suggestion, type SuggestionAvailability, SuggestionEngine, type SuggestionsConfig, type SurfaceSegment, type SystemMessage, SystemMessageSchema, type TestOperation, TestOperationSchema, type TextInputContent, TextInputContentSchema, type TextMessageChunkEvent, type TextMessageChunkEventProps, TextMessageChunkEventSchema, type TextMessageContentEvent, type TextMessageContentEventProps, TextMessageContentEventSchema, type TextMessageEndEvent, type TextMessageEndEventProps, TextMessageEndEventSchema, type TextMessageRole, TextMessageRoleSchema, type TextMessageStartEvent, type TextMessageStartEventProps, TextMessageStartEventSchema, type TextPart, TextPartSchema, type Thread, type ThreadEndpointRuntimeInfo, type ThreadRunActivityNotification, type TokenUsage, TokenUsageSchema, type Tool, type ToolCall, type ToolCallArgsEvent, type ToolCallArgsEventProps, ToolCallArgsEventSchema, type ToolCallChunkEvent, type ToolCallChunkEventProps, ToolCallChunkEventSchema, type ToolCallEndEvent, type ToolCallEndEventProps, ToolCallEndEventSchema, type ToolCallEntry, type ToolCallRenderProps, type ToolCallRendererDef, type ToolCallResultEvent, type ToolCallResultEventProps, ToolCallResultEventSchema, ToolCallSchema, type ToolCallStartEvent, type ToolCallStartEventProps, ToolCallStartEventSchema, ToolCallStatus, type ToolMessage, ToolMessageSchema, ToolSchema, type ToolsCapabilities, ToolsCapabilitiesSchema, type ToolsMenuItem, type TrajectoryStartOptions, TranscriptionError, TranscriptionErrorCode, type TranscriptionErrorInfo, type TranscriptionResult, type TransportCapabilities, TransportCapabilitiesSchema, type UnrecognizedEvent, type UrlSource, UrlSourceSchema, UseAgentUpdate, type UseAttachmentsProps, type UseAttachmentsReturn, type UseInterruptConfig, type UseLearnFromUserActionInCurrentThreadRecorder, type UseLearnFromUserActionRecorder, type UseMemoriesResult, type UseThreadsInput, type UseThreadsResult, type UserMessage, UserMessageSchema, type VideoInputContent, VideoInputContentSchema, type VideoInputPart, VideoInputPartSchema, type VideoPart, VideoPartSchema, type WebMCPModelContext, WebMCPRegistry, type WebMCPToolAnnotations, type WebMCPToolConfig, 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, type ɵA2UIActionAgent, type ɵA2UIActionCore, type ɵA2UIActionInterceptor, ɵA2UIActivityController, type ɵA2UIActivityControllerOptions, type ɵA2UIActivitySnapshot, type ɵA2UIActivityView, type ɵA2UIBaseOptions, type ɵA2UIClientEvent, type ɵA2UIDebugExposure, type ɵA2UIDiagnosedSurface, type ɵA2UILifecycle, type ɵA2UILifecycleStatus, type ɵA2UIOperation, type ɵA2UIProcessorAction, type ɵA2UIProgressPhase, type ɵA2UIRecoveryOptions, type ɵA2UIScheduler, type ɵA2UISkeletonBar, type ɵA2UISkeletonPart, type ɵA2UISurfaceContent, type ɵA2UIUserAction, ɵ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, type ɵActivityRendererFailureReason, type ɵActivityRendererLookup, type ɵActivityRendererQuery, type ɵAgentBindingInput, type ɵAgentContextInput, type ɵAgentResolveInput, ɵAgentResolver, type ɵAgentUpdateFlag, type ɵAssistantToolbarInput, ɵAttachmentQueue, ɵAudioRecorder, ɵAudioRecorderError, type ɵAudioRecorderState, type ɵAutoScrollMode, type ɵBranchNavInput, ɵCOMPOSER_DEFAULT_MAX_ROWS, ɵCOPILOTKIT_FEATURES, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER, ɵCOPILOT_CLOUD_RUNTIME_URL, ɵCOPY_FEEDBACK_RESET_MS, type ɵChatConfigurationOptions, type ɵChatConfigurationSnapshot, ɵChatConfigurationStore, type ɵChatNotice, type ɵChatRunScope, ɵChatSubmitter, type ɵChatSubmitterOptions, type ɵChatSubmitterSnapshot, type ɵChatViewStateInput, type ɵClassValue, type ɵClipboardItem, type ɵCommandMenuItem, ɵComposerAutosize, type ɵComposerAutosizeOptions, type ɵComposerElements, type ɵComposerInput, type ɵComposerKeyEvent, type ɵComposerLayout, type ɵComposerMode, type ɵConnectionWaitResult, type ɵCopilotKitCoreConfigPatch, type ɵCopilotKitFeature, type ɵCopilotKitLearningOptions, type ɵCopilotKitProviderBaseOptions, ɵCopyFeedback, type ɵCustomMessageRunSource, type ɵDialogFocusOptions, ɵDockedSidebar, type ɵDockedSidebarPlacement, ɵDockedSidebarRegistry, type ɵDockedSidebarState, type ɵDockedSidebarTransition, type ɵDrawerThread, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS, ɵFeedbackCommentController, type ɵFeedbackCommentControllerOptions, type ɵFeedbackCommentState, type ɵFeedbackCommentVia, ɵGENERATE_SANDBOXED_UI_ARGS_SCHEMA, type ɵGenerativeUIDebugFunction, type ɵGenerativeUIDebugPromptSection, type ɵGenerativeUIDebugRun, type ɵGenerativeUIDebugSnapshot, type ɵGenerativeUIDebugSource, type ɵGenerativeUIDebugSurface, ɵHITL_ABORTED_MESSAGE, ɵHOVER_MENU_CLOSE_DELAY_MS, ɵHoverMenuController, type ɵHoverMenuState, ɵHumanInTheLoopRegistry, ɵINLINE_FEATURE_WARNING_STYLE, type ɵInspectorKiteArtwork, type ɵInspectorKiteGradient, type ɵInspectorKitePath, type ɵInspectorKiteStop, ɵInspectorThreadOverride, type ɵInspectorThreadOverrideInput, type ɵInspectorThreadOverrideSnapshot, ɵInterruptController, type ɵInterruptControllerOptions, type ɵInterruptDecision, type ɵInterruptEvent, ɵInterruptExpiredError, type ɵInterruptRunner, type ɵInterruptSnapshot, ɵInterruptState, type ɵInterruptToolResult, type ɵJsonSerializable, ɵKEYBOARD_OPEN_THRESHOLD_PX, type ɵKeyboardState, ɵLICENSE_BANNER_OFFSET, ɵLICENSE_BANNER_STYLE, type ɵLastUserMessageState, type ɵLearnFromUserActionFields, ɵLearningAutoStarter, type ɵLicenseBannerDetails, type ɵLicenseBannerSeverity, type ɵLicenseBannerSpec, type ɵLicenseBannerType, type ɵLicenseStateInput, ɵMAX_SOCKET_RETRIES, ɵMESSAGE_FEEDBACK_EVENT_NAME, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH, ɵMOBILE_MAX_WIDTH_QUERY, type ɵMcpFollowUpHost, type ɵMemoryEnvironment, type ɵMemoryMetadataEvent, type ɵMemoryRuntimeContext, type ɵMemoryState, type ɵMemoryStore, type ɵMessageFeedback, type ɵMessageFeedbackControls, type ɵMessageFeedbackRating, type ɵMessageFeedbackScope, type ɵMessageViewInput, ɵMessageViewModel, ɵOPEN_GENERATIVE_UI_CONTENT_SCHEMA, ɵOPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION, ɵOPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION, ɵOpenGenerativeUIController, type ɵOpenGenerativeUIControllerOptions, type ɵOpenGenerativeUIPhase, type ɵOpenGenerativeUISandboxFunction, type ɵOpenGenerativeUISchema, type ɵOpenGenerativeUIState, type ɵOpenThreadRegistry, ɵPLACEHOLDER_CYCLE_MS, ɵPOPUP_ANIMATION_MS, type ɵPendingInterrupt, type ɵPhoenixChannelLike, type ɵPhoenixChannelOptions, type ɵPhoenixChannelSession, type ɵPhoenixJoinOutcome, type ɵPhoenixPushLike, type ɵPhoenixSocketLike, type ɵPhoenixSocketOptions, type ɵPhoenixSocketSession, type ɵPhoenixSocketSignal, type ɵPinMessageToTopOptions, ɵPlaceholderCycler, type ɵPlaceholderCyclerSnapshot, type ɵPopupDismissOptions, type ɵProviderConfigDiagnostic, type ɵProviderConfigDiagnosticCode, type ɵProviderConfigInput, ɵRENDER_A2UI_TOOL_NAME, ɵRUNTIME_PROBE_TIMEOUT_MS, type ɵReasoningDuration, type ɵRecordAnnotationArgs, type ɵRecordAnnotationResult, type ɵRendererKind, ɵRendererRegistry, type ɵRendererRegistryInit, type ɵReportProviderConfigDiagnosticsOptions, type ɵResolvedProviderConfig, type ɵRunnableCommand, type ɵRuntimeInfo, ɵRuntimeInfoStore, ɵSCROLL_BOTTOM_THRESHOLD_PX, ɵSTABLE_ARRAY_WARNINGS, type ɵSandboxFunctionHandle, type ɵSandboxLocalApi, type ɵSidebarPosition, type ɵSlashKeyResult, type ɵSlashMenuState, type ɵStaticSuggestionInput, type ɵSuggestionsBinding, type ɵSuggestionsBindingOptions, type ɵSuggestionsConfigInput, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵTOOL_CALL_STATUS_ICONS, ɵTOOL_CALL_STATUS_LABEL_KEYS, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS, type ɵTextareaMetrics, type ɵThread, type ɵThreadBaselineResetOptions, type ɵThreadEnvironment, type ɵThreadMetadataEvent, type ɵThreadRuntimeContext, ɵThreadSelection, type ɵThreadSelectionInput, type ɵThreadSelectors, type ɵThreadStore, type ɵThreadSummary, ɵThreadSwitchCoordinator, ɵThreadsController, type ɵThreadsCore, type ɵThreadsDrawerCallbacks, type ɵThreadsDrawerConfig, type ɵThreadsDrawerThreads, type ɵThreadsInput, type ɵThreadsSnapshot, type ɵToolCallCardStatus, type ɵToolCallDisplayContextValue, type ɵToolCallGroupAppearance, type ɵToolCallLayout, type ɵToolCallRendererNames, type ɵToolCallRendererNamesOptions, type ɵToolCallRowStatus, type ɵToolCallSegment, type ɵToolRendererShape, type ɵTranscriptionCore, type ɵTranscriptionErrorLabelKey, type ɵTurnOpenState, type ɵTurnWork, type ɵUserMessageMediaPart, type ɵWebsandboxConstructor, type ɵWebsandboxInstance, type ɵWebsandboxLoader, type ɵWorkSummaryInput, type ɵWorkTime, ɵagentUpdateHandlers, ɵappendTranscript, ɵbindDialogFocus, ɵbindPopupDismiss, ɵbindSuggestionsConfig, ɵbuildHumanInTheLoopTool, ɵbuildLearnFromUserActionPayload, ɵbuildOpenGenerativeUIContexts, ɵbuildToolCallRenderProps, ɵbuildUserMessage, ɵbuildUserMessageContent, ɵcanPreviewDocument, ɵclampSlashIndex, ɵclearAgentInterruptState, ɵclearAgentThreadCursors, ɵcn, ɵcomponentToolDescription, ɵcomposerButtonState, ɵcopilotIconSvgAttributes, ɵcopilotIcons, ɵcountFailedToolCalls, ɵcreateChatSubmitter, ɵcreateComposerAutosize, ɵcreateDockedSidebar, ɵcreateLastUserMessageTracker, ɵcreateMemoryStore, ɵcreateMessageViewModel, ɵcreateObjectUrlFromSource, ɵcreateOpenGenerativeUITool, ɵcreateThreadSelectors, ɵcreateThreadStore, ɵcreateThreadsDrawerActions, ɵcreateWaveformRenderer, ɵdecodeTextSource, ɵdeduplicateMessages, ɵdescribeActivityRendererFailure, ɵdescribeUnrenderedToolCalls, ɵdiagnoseMissingSurface, ɵdiagnoseUnpaintedSurface, ɵdiagnoseUnresolvedRoot, ɵdimensionToCss, ɵdockedSidebarRegistryFor, ɵduplicateMessagesWarning, ɵextractCompleteStyles, ɵfilterCommands, ɵfindActivityRenderer, ɵfindChatInput, ɵfindToolMessage, ɵfitTextareaHeight, ɵflattenCommandItems, ɵ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, ɵgetThreadsDrawerElementProps, ɵgetToolCallBadge, ɵgetToolCallGroupState, ɵgetToolCallLayouts, ɵgetToolCallPreview, ɵgetToolCallRendererNames, ɵgetToolCallRowStatus, ɵgetToolCallStatus, ɵgetToolResults, ɵgetTurnWork, ɵgetUserMessageMediaFilename, ɵgetUserMessageMediaParts, ɵgetWorkOpenState, ɵgetWorkSummaryText, ɵgroupA2UIOperationsBySurface, ɵhasAssistantMessageText, ɵhitlRenderProps, ɵinitialKeyboardState, ɵinspectorKiteFill, ɵinspectorKiteIcon, ɵinspectorShortcuts, ɵisCopilotKitFeature, ɵisHttpAgent, ɵisLearningFeedbackEnabled, ɵisMobileViewport, ɵisOpenGenerativeUIActive, ɵisRetryableMemoryStatus, ɵisScrolledToBottom, ɵisTurnWorkOpen, ɵisTurnWorking, ɵjoinPhoenixChannel$, ɵloadWebsandbox, ɵmapMemoryMetadataEvent, ɵmatchActivityRenderer, ɵmeasureTextarea, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵmessagesFingerprint, ɵmorphViewTransition, ɵnextSlashIndex, ɵnormalizeAutoScroll, ɵnormalizeToolCallStatus, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵparseSlashQuery, ɵparseToolCallArguments, ɵphoenixChannel$, ɵphoenixSocket$, ɵpinMessageToTop, ɵpluralize, ɵprocessPartialHtml, ɵprojectThread, ɵpublicKeyHeaderDefaults, ɵreadA2UILifecycle, ɵreadKeyboardState, ɵrecordAnnotation, ɵrecordWorkTime, ɵreportProviderConfigDiagnostics, ɵreserveLicenseBannerOffset, ɵresetAgentThreadBaseline, ɵresetMessageFeedbackCache, ɵ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, ɵsnapshotAgentState, ɵstopAgentWithFallback, ɵstringifyToolCallAttr, ɵstringifyToolCallPayload, ɵsubscribeToAgentSuggestions, ɵsubscribeToAgentUpdates, ɵsubscribeToLearningFeedbackEnabled, ɵsubscribeToMessageFeedback, ɵsurfaceHasRenderableContent, ɵthreadAdapterEvents, ɵtoA2UIClientEvent, ɵtoDrawerThread, ɵtoLearningConfig, ɵtoolCallAppearance, ɵtoolRendererShapeChanged, ɵtranscribeAudio, ɵtranscriptionErrorMessageKey, ɵtranscriptionErrorNotice, ɵvalidateAgentBinding, ɵwaitForActiveRun, ɵwatchKeyboardState, ɵwatchMobileViewport, ɵwithHeaderDefaults };
|
|
3126
2969
|
//# sourceMappingURL=index.d.mts.map
|