@copilotkit/react-core 1.79.2-canary.1792172552 → 1.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{copilotkit-DcENKLnJ.mjs → copilotkit-BNLtgOyD.mjs} +1783 -238
  2. package/dist/copilotkit-BNLtgOyD.mjs.map +1 -0
  3. package/dist/{copilotkit-kcYN96tM.d.mts → copilotkit-CWOSXhRO.d.mts} +278 -41
  4. package/dist/copilotkit-CWOSXhRO.d.mts.map +1 -0
  5. package/dist/{copilotkit-ConxFSB2.cjs → copilotkit-DKICi3nC.cjs} +1764 -206
  6. package/dist/copilotkit-DKICi3nC.cjs.map +1 -0
  7. package/dist/{copilotkit-BA0vyDds.d.cts → copilotkit-Dfw9HzO9.d.cts} +278 -41
  8. package/dist/copilotkit-Dfw9HzO9.d.cts.map +1 -0
  9. package/dist/index.cjs +15 -3
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +1 -1
  12. package/dist/index.d.cts.map +1 -1
  13. package/dist/index.d.mts +1 -1
  14. package/dist/index.d.mts.map +1 -1
  15. package/dist/index.mjs +15 -3
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/index.umd.js +48 -11
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/context.d.cts +7 -0
  20. package/dist/v2/context.d.cts.map +1 -1
  21. package/dist/v2/context.d.mts +7 -0
  22. package/dist/v2/context.d.mts.map +1 -1
  23. package/dist/v2/headless.cjs +23 -6
  24. package/dist/v2/headless.cjs.map +1 -1
  25. package/dist/v2/headless.d.cts +20 -2
  26. package/dist/v2/headless.d.cts.map +1 -1
  27. package/dist/v2/headless.d.mts +20 -2
  28. package/dist/v2/headless.d.mts.map +1 -1
  29. package/dist/v2/headless.mjs +23 -6
  30. package/dist/v2/headless.mjs.map +1 -1
  31. package/dist/v2/index.cjs +3 -7
  32. package/dist/v2/index.css +1 -1
  33. package/dist/v2/index.d.cts +2 -2
  34. package/dist/v2/index.d.mts +2 -2
  35. package/dist/v2/index.mjs +2 -2
  36. package/dist/v2/index.umd.js +1756 -215
  37. package/dist/v2/index.umd.js.map +1 -1
  38. package/package.json +14 -11
  39. package/dist/copilotkit-BA0vyDds.d.cts.map +0 -1
  40. package/dist/copilotkit-ConxFSB2.cjs.map +0 -1
  41. package/dist/copilotkit-DcENKLnJ.mjs.map +0 -1
  42. package/dist/copilotkit-kcYN96tM.d.mts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as react from "react";
2
2
  import React$1, { ComponentType, ReactNode } from "react";
3
- import { ActionConfig, ActionCreator, ActionFromCreator, ActionFromCreators, ActionGroupConfig, ActionGroupResult, AgentRegistry, AgentThreadLockedError, AnyAction, ContextStore, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreAddAgentParams, CopilotKitCoreCatalogComponent, CopilotKitCoreConfig, CopilotKitCoreConfig as CopilotKitCoreConfig$1, CopilotKitCoreConnectAgentParams, CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, CopilotKitCoreErrorCode as CopilotKitCoreErrorCode$1, CopilotKitCoreFriendsAccess, CopilotKitCoreGetSuggestionsResult, CopilotKitCoreGetToolParams, CopilotKitCoreRegisterProxiedAgentParams, CopilotKitCoreRegisterProxiedAgentResult, CopilotKitCoreRunAgentParams, CopilotKitCoreRunToolParams, CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitCoreStopAgentParams, CopilotKitCoreSubscriber, CopilotKitCoreSubscriber as CopilotKitCoreSubscriber$1, CopilotKitCoreSubscription, CopilotKitCoreSubscription as CopilotKitCoreSubscription$1, CopilotKitHeaderResolutionError, CopilotKitHeadersSource, CopilotKitHeadersSource as CopilotKitHeadersSource$1, CopilotKitMessageFilter, CopilotKitMessageFilter as CopilotKitMessageFilter$1, CopilotRuntimeTransport, DispatchingEffect, DispatchingEffectOptions, DynamicSuggestionsConfig, DynamicSuggestionsConfig as DynamicSuggestionsConfig$1, Effect, EmptyActionConfig, FrontendTool, FrontendTool as FrontendTool$1, FrontendToolHandlerContext, FrontendToolReconnectBehavior, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, InspectorActiveThreadPayload, InspectorMetadataV1, InspectorStopViewingPayload, InspectorViewThreadPayload, InspectorViewThreadResultPayload, IntelligenceAgent, IntelligenceAgentConfig, IntelligenceReplayFailedError, IntelligenceRuntimeInfo, JsonValue, LearningConfig, LearningConfig as LearningConfig$1, LegacyLearningConfig, MEMORY_ERROR_REGISTRY, 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, OpenThreadRegistration, PropsActionConfig, ProxiedCopilotRuntimeAgent as ProxiedCopilotRuntimeAgent$1, ProxiedCopilotRuntimeAgentConfig, Reducer, RunCompletionAware, RunErrorPhase, RunHandler, RuntimeLicenseStatus, RuntimeMode, ScopedContext, Selector, StartResult, StateManager, StaticSuggestionsConfig, StaticSuggestionsConfig as StaticSuggestionsConfig$1, Store, StoreLifecycleAction, SubscribeToAgentOptions, SubscribeToAgentSubscriber, Suggestion, Suggestion as Suggestion$1, SuggestionAvailability, SuggestionEngine, SuggestionsConfig, ThreadEndpointRuntimeInfo, ThreadRunActivityNotification, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, TrajectoryStartOptions, WebMCPModelContext, WebMCPRegistry, WebMCPToolAnnotations, WebMCPToolConfig, WebMCPToolConfig as WebMCPToolConfig$1, completePartialMarkdown, createActionGroup, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, emitInspectorActiveThread as emitInspectorActiveThread$1, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult as emitInspectorViewThreadResult$1, empty, ensureObjectArgs, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled as isInspectorThreadBridgeEnabled$1, isRunCompletionAware as isRunCompletionAware$1, ofType, on, onInspectorActiveThread, onInspectorStopViewing as onInspectorStopViewing$1, onInspectorViewThread as onInspectorViewThread$1, onInspectorViewThreadResult, parseToolArguments, props, select, ɵCOPILOTKIT_FEATURES, ɵCopilotKitFeature, ɵInterruptDecision, ɵInterruptEvent, ɵInterruptState as ɵInterruptState$1, ɵInterruptToolResult, ɵMAX_SOCKET_RETRIES, ɵMemoryEnvironment, ɵMemoryMetadataEvent, ɵMemoryRuntimeContext, ɵMemoryState, ɵMemoryStore, ɵPendingInterrupt, ɵPhoenixChannelLike, ɵPhoenixChannelOptions, ɵPhoenixChannelSession, ɵPhoenixJoinOutcome, ɵPhoenixPushLike, ɵPhoenixSocketLike, ɵPhoenixSocketOptions, ɵPhoenixSocketSession, ɵPhoenixSocketSignal, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵThread, ɵThreadEnvironment, ɵThreadMetadataEvent, ɵThreadRuntimeContext, ɵThreadSelectors, ɵThreadStore, ɵcreateMemoryStore, ɵcreateThreadSelectors, ɵcreateThreadStore as ɵcreateThreadStore$1, ɵisCopilotKitFeature, ɵisHttpAgent as ɵisHttpAgent$1, ɵisRetryableMemoryStatus, ɵjoinPhoenixChannel$, ɵmapMemoryMetadataEvent, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵphoenixChannel$, ɵphoenixSocket$, ɵselectFetchMoreError as ɵselectFetchMoreError$1, ɵselectHasNextPage as ɵselectHasNextPage$1, ɵselectIsFetchingNextPage as ɵselectIsFetchingNextPage$1, ɵselectIsMutating as ɵselectIsMutating$1, ɵselectMemories as ɵselectMemories$1, ɵselectMemoriesAvailable as ɵselectMemoriesAvailable$1, ɵselectMemoriesError as ɵselectMemoriesError$1, ɵselectMemoriesIsLoading as ɵselectMemoriesIsLoading$1, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus as ɵselectMemoriesRealtimeStatus$1, ɵselectThreads as ɵselectThreads$1, ɵselectThreadsError as ɵselectThreadsError$1, ɵselectThreadsIsLoading as ɵselectThreadsIsLoading$1, ɵthreadAdapterEvents, ɵwithHeaderDefaults as ɵwithHeaderDefaults$1 } from "@copilotkit/core";
3
+ import { ActionConfig, ActionCreator, ActionFromCreator, ActionFromCreators, ActionGroupConfig, ActionGroupResult, AgentRegistry, AgentThreadLockedError, AnyAction, ContextStore, CopilotKitCore, CopilotKitCore as CopilotKitCore$1, CopilotKitCoreAddAgentParams, CopilotKitCoreCatalogComponent, CopilotKitCoreConfig, CopilotKitCoreConfig as CopilotKitCoreConfig$1, CopilotKitCoreConnectAgentParams, CopilotKitCoreContinuationHandoff, CopilotKitCoreErrorCode, CopilotKitCoreErrorCode as CopilotKitCoreErrorCode$1, CopilotKitCoreFriendsAccess, CopilotKitCoreGetSuggestionsResult, CopilotKitCoreGetToolParams, CopilotKitCoreRegisterProxiedAgentParams, CopilotKitCoreRegisterProxiedAgentResult, CopilotKitCoreRunAgentParams, CopilotKitCoreRunToolParams, CopilotKitCoreRunToolResult, CopilotKitCoreRuntimeConnectionStatus as CopilotKitCoreRuntimeConnectionStatus$1, CopilotKitCoreStopAgentParams, CopilotKitCoreSubscriber, CopilotKitCoreSubscriber as CopilotKitCoreSubscriber$1, CopilotKitCoreSubscription, CopilotKitCoreSubscription as CopilotKitCoreSubscription$1, CopilotKitHeaderResolutionError, CopilotKitHeadersSource, CopilotKitHeadersSource as CopilotKitHeadersSource$1, CopilotKitMessageFilter, CopilotKitMessageFilter as CopilotKitMessageFilter$1, CopilotRuntimeTransport, DispatchingEffect, DispatchingEffectOptions, DynamicSuggestionsConfig, DynamicSuggestionsConfig as DynamicSuggestionsConfig$1, Effect, EmptyActionConfig, FrontendTool, FrontendTool as FrontendTool$1, FrontendToolHandlerContext, FrontendToolReconnectBehavior, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID, InspectorActiveThreadPayload, InspectorMetadataV1, InspectorStopViewingPayload, InspectorViewThreadPayload, InspectorViewThreadResultPayload, IntelligenceAgent, IntelligenceAgentConfig, IntelligenceRuntimeInfo, JsonValue, LearningConfig, LearningConfig as LearningConfig$1, LegacyLearningConfig, MEMORY_ERROR_REGISTRY, 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, OpenThreadRegistration, PropsActionConfig, ProxiedCopilotRuntimeAgent as ProxiedCopilotRuntimeAgent$1, ProxiedCopilotRuntimeAgentConfig, Reducer, RunCompletionAware, RunHandler, RuntimeLicenseStatus, RuntimeMode, ScopedContext, Selector, StartResult, StateManager, StaticSuggestionsConfig, StaticSuggestionsConfig as StaticSuggestionsConfig$1, Store, StoreLifecycleAction, SubscribeToAgentOptions, SubscribeToAgentSubscriber, Suggestion, Suggestion as Suggestion$1, SuggestionAvailability, SuggestionEngine, SuggestionsConfig, ThreadEndpointRuntimeInfo, ThreadRunActivityNotification, ToolCallStatus, ToolCallStatus as ToolCallStatus$1, TrajectoryStartOptions, WebMCPModelContext, WebMCPRegistry, WebMCPToolAnnotations, WebMCPToolConfig, WebMCPToolConfig as WebMCPToolConfig$1, completePartialMarkdown, createActionGroup, createEffect, createInspectorThreadRequestId, createReducer, createSelector, createStore, emitInspectorActiveThread as emitInspectorActiveThread$1, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult as emitInspectorViewThreadResult$1, empty, ensureObjectArgs, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled as isInspectorThreadBridgeEnabled$1, isRunCompletionAware as isRunCompletionAware$1, ofType, on, onInspectorActiveThread, onInspectorStopViewing as onInspectorStopViewing$1, onInspectorViewThread as onInspectorViewThread$1, onInspectorViewThreadResult, parseToolArguments, props, select, ɵCOPILOTKIT_FEATURES, ɵCopilotKitFeature, ɵInterruptDecision, ɵInterruptEvent, ɵInterruptState as ɵInterruptState$1, ɵInterruptToolResult, ɵMAX_SOCKET_RETRIES, ɵMemoryEnvironment, ɵMemoryMetadataEvent, ɵMemoryRuntimeContext, ɵMemoryState, ɵMemoryStore, ɵPendingInterrupt, ɵPhoenixChannelLike, ɵPhoenixChannelOptions, ɵPhoenixChannelSession, ɵPhoenixJoinOutcome, ɵPhoenixPushLike, ɵPhoenixSocketLike, ɵPhoenixSocketOptions, ɵPhoenixSocketSession, ɵPhoenixSocketSignal, ɵRUNTIME_PROBE_TIMEOUT_MS, ɵTHREAD_REQUEST_TIMEOUT_MS, ɵThread, ɵThreadEnvironment, ɵThreadMetadataEvent, ɵThreadRuntimeContext, ɵThreadSelectors, ɵThreadStore, ɵcreateMemoryStore, ɵcreateThreadSelectors, ɵcreateThreadStore as ɵcreateThreadStore$1, ɵisCopilotKitFeature, ɵisHttpAgent as ɵisHttpAgent$1, ɵisRetryableMemoryStatus, ɵjoinPhoenixChannel$, ɵmapMemoryMetadataEvent, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵphoenixChannel$, ɵphoenixSocket$, ɵselectFetchMoreError as ɵselectFetchMoreError$1, ɵselectHasNextPage as ɵselectHasNextPage$1, ɵselectIsFetchingNextPage as ɵselectIsFetchingNextPage$1, ɵselectIsMutating as ɵselectIsMutating$1, ɵselectMemories as ɵselectMemories$1, ɵselectMemoriesAvailable as ɵselectMemoriesAvailable$1, ɵselectMemoriesError as ɵselectMemoriesError$1, ɵselectMemoriesIsLoading as ɵselectMemoriesIsLoading$1, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus as ɵselectMemoriesRealtimeStatus$1, ɵselectThreads as ɵselectThreads$1, ɵselectThreadsError as ɵselectThreadsError$1, ɵselectThreadsIsLoading as ɵselectThreadsIsLoading$1, ɵthreadAdapterEvents, ɵwithHeaderDefaults as ɵwithHeaderDefaults$1 } from "@copilotkit/core";
4
4
  import { ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError as AGUIConnectNotImplementedError$1, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, AGUI_METADATA_KEY, AbstractAgent, AbstractAgent as AbstractAgent$1, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityMessage as ActivityMessage$1, ActivitySnapshotEvent, ActivitySnapshotEventProps, AddOperation, AgentCapabilities as AgentCapabilities$1, AgentConfig, AgentDebugConfig, AgentStateMutation, AgentSubscriber, AgentSubscriberParams, AssistantMessage as AssistantMessage$1, 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 as InputContentSource$1, InputContentUrlSource, Interrupt, JsonPatch, JsonPatchOperation, JsonPointer, Message as Message$3, MessagesSnapshotEvent, MessagesSnapshotEventProps, Metadata, Middleware, MiddlewareFunction, MoveOperation, MultiAgentCapabilities, MultimodalCapabilities, MultimodalInputCapabilities, MultimodalOutputCapabilities, OutputCapabilities, PROTOCOL_VERSION, PartSource, RawEvent, RawEventProps, ReasoningCapabilities, ReasoningEncryptedValueEvent, ReasoningEncryptedValueEventProps, ReasoningEncryptedValueSubtype, ReasoningEndEvent, ReasoningEndEventProps, ReasoningMessage as ReasoningMessage$1, ReasoningMessageChunkEvent, ReasoningMessageChunkEventProps, ReasoningMessageContentEvent, ReasoningMessageContentEventProps, ReasoningMessageEndEvent, ReasoningMessageEndEventProps, ReasoningMessageStartEvent, ReasoningMessageStartEventProps, ReasoningStartEvent, ReasoningStartEventProps, RemoveOperation, ReplaceOperation, ResolvedAgentDebugConfig, ResumeEntry, ResumeStatus, Role as Role$1, RunAgentInput, RunAgentParameters, RunAgentResult, RunAgentResult as RunAgentResult$1, 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 as ToolCall$1, ToolCallArgsEvent, ToolCallArgsEventProps, ToolCallChunkEvent, ToolCallChunkEventProps, ToolCallEndEvent, ToolCallEndEventProps, ToolCallResultEvent, ToolCallResultEventProps, ToolCallStartEvent, ToolCallStartEventProps, ToolMessage as ToolMessage$1, ToolsCapabilities, TransportCapabilities, UnrecognizedEvent, UrlSource, UserMessage as UserMessage$1, VideoInputContent, VideoInputPart, VideoPart, aggregateTokenUsage, authoritativeActivityTypes, buildResumeArray, compactEvents, contentHasMedia, contentToText as contentToText$1, convertToLegacyEvents, createDebugLogger, defaultApplyEvents, enforceEvents, enforceOutgoingInput, getRunOutcome, isInterruptExpired, isRecognizedEvent, mergeMetadata, omitOptionalNulls, parseProtoStream, parseSSEStream, randomUUID as randomUUID$2, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, verifyEvents, withAuthoritativeActivityTypes } from "@ag-ui/client";
5
5
  import { ActivityDeltaEventSchema, ActivityMessageSchema, ActivitySnapshotEventSchema, AddOperationSchema, AgentCapabilitiesSchema, AssistantMessageSchema, AttributableSchema, AudioInputContentSchema, AudioInputPartSchema, AudioPartSchema, BaseEventSchema, BaseMessageSchema, ContentPartSchema, ContextSchema, CopyOperationSchema, CustomEventSchema, DataSourceSchema, DeveloperMessageSchema, DocumentInputContentSchema, DocumentInputPartSchema, DocumentPartSchema, EventSchema, EventSchemas, EventTypeSchema, ExecutionCapabilitiesSchema, FileSourceSchema, FunctionCallSchema, HumanInTheLoopCapabilitiesSchema, IdentityCapabilitiesSchema, ImageInputContentSchema, ImageInputPartSchema, ImagePartSchema, InputContentDataSourceSchema, InputContentSchema, InputContentSourceSchema, InputContentUrlSourceSchema, InterruptSchema, JsonPatchOperationSchema, JsonPatchSchema, JsonPointerSchema, MessageSchema, MessagesSnapshotEventSchema, MetadataSchema, MoveOperationSchema, MultiAgentCapabilitiesSchema, MultimodalCapabilitiesSchema, MultimodalInputCapabilitiesSchema, MultimodalOutputCapabilitiesSchema, OptionalMetadataSchema, OutputCapabilitiesSchema, PartSourceSchema, RawEventSchema, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEventSchema, ReasoningMessageChunkEventSchema, ReasoningMessageContentEventSchema, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEventSchema, ReasoningStartEventSchema, RemoveOperationSchema, ReplaceOperationSchema, ResumeEntrySchema, RoleSchema, RunAgentInputSchema, RunErrorEventSchema, RunFinishedCancelledOutcomeSchema, RunFinishedEventSchema, RunFinishedInterruptOutcomeSchema, RunFinishedOutcomeSchema, RunFinishedSuccessOutcomeSchema, RunStartedEventSchema, StateCapabilitiesSchema, StateDeltaEventSchema, StateSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, SubagentErrorEventSchema, SubagentFinishedEventSchema, SubagentFinishedOutcomeSchema, SubagentFinishedSuccessOutcomeSchema, SubagentFinishedSuspendedOutcomeSchema, SubagentInfoSchema, SubagentRunIdSchema, SubagentStartedEventSchema, SystemMessageSchema, TestOperationSchema, TextInputContentSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageRoleSchema, TextMessageStartEventSchema, TextPartSchema, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TransportCapabilitiesSchema, UrlSourceSchema, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema } from "@ag-ui/core/schemas";
6
6
  import { Action, Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1, CopilotCloudConfig, CopilotErrorHandler, CopilotKitError, DebugConfig, FunctionCallHandler, InferSchemaOutput, InputContentSource, MappedParameterTypes, Parameter, StandardSchemaV1 } from "@copilotkit/shared";
@@ -555,6 +555,8 @@ declare const CopilotChatDefaultLabels: {
555
555
  chatInputToolbarFinishTranscribeButtonLabel: string;
556
556
  chatInputToolbarAddButtonLabel: string;
557
557
  chatInputToolbarToolsButtonLabel: string;
558
+ chatInputToolbarSendButtonLabel: string;
559
+ chatInputToolbarStopButtonLabel: string;
558
560
  assistantMessageToolbarCopyCodeLabel: string;
559
561
  assistantMessageToolbarCopyCodeCopiedLabel: string;
560
562
  assistantMessageToolbarCopyMessageLabel: string;
@@ -567,13 +569,18 @@ declare const CopilotChatDefaultLabels: {
567
569
  assistantMessageToolbarInspectorHideDescription: string;
568
570
  assistantMessageToolbarThumbsUpLabel: string;
569
571
  assistantMessageToolbarThumbsDownLabel: string;
572
+ assistantMessageFeedbackCommentPlaceholder: string;
573
+ assistantMessageFeedbackCommentSubmitLabel: string;
570
574
  assistantMessageToolbarReadAloudLabel: string;
571
575
  assistantMessageToolbarRegenerateLabel: string;
572
576
  userMessageToolbarCopyMessageLabel: string;
573
577
  userMessageToolbarEditMessageLabel: string;
578
+ userMessageToolbarPreviousBranchLabel: string;
579
+ userMessageToolbarNextBranchLabel: string;
574
580
  chatDisclaimerText: string;
575
581
  chatToggleOpenLabel: string;
576
582
  chatToggleCloseLabel: string;
583
+ chatScrollToBottomLabel: string;
577
584
  modalHeaderTitle: string;
578
585
  welcomeMessageText: string;
579
586
  };
@@ -733,6 +740,11 @@ type CopilotChatInputChildrenArgs = CopilotChatInputBaseProps extends {
733
740
  type CopilotChatInputProps = Omit<CopilotChatInputBaseProps, "children"> & {
734
741
  children?: (props: CopilotChatInputChildrenArgs) => React$1.ReactNode;
735
742
  };
743
+ /**
744
+ * The chat composer: a text area with the add-menu, voice and send/stop
745
+ * buttons, and a slash-command menu that lists `toolsMenu` items once the text
746
+ * starts with "/".
747
+ */
736
748
  declare function CopilotChatInput({
737
749
  mode,
738
750
  onSubmitMessage,
@@ -765,7 +777,17 @@ declare function CopilotChatInput({
765
777
  ...props
766
778
  }: CopilotChatInputProps): react_jsx_runtime0.JSX.Element;
767
779
  declare namespace CopilotChatInput {
780
+ /**
781
+ * The icon-only send button. Its accessible name is
782
+ * `labels.chatInputToolbarSendButtonLabel` unless an `aria-label` is passed;
783
+ * the input passes `labels.chatInputToolbarStopButtonLabel` while the button
784
+ * stops a run.
785
+ */
768
786
  const SendButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
787
+ /**
788
+ * An icon-only toolbar button. `labels[labelKey]` is both its accessible
789
+ * name and its tooltip text.
790
+ */
769
791
  const ToolbarButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
770
792
  icon: React$1.ReactNode;
771
793
  labelKey: keyof CopilotChatLabels;
@@ -774,6 +796,10 @@ declare namespace CopilotChatInput {
774
796
  const StartTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
775
797
  const CancelTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
776
798
  const FinishTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
799
+ /**
800
+ * The "+" button that opens the attachment and tools menu. Its accessible
801
+ * name and tooltip come from `labels.chatInputToolbarAddButtonLabel`.
802
+ */
777
803
  const AddMenuButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
778
804
  toolsMenu?: (ToolsMenuItem | "-")[];
779
805
  onAddFile?: () => void;
@@ -784,14 +810,86 @@ declare namespace CopilotChatInput {
784
810
  const Disclaimer: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
785
811
  }
786
812
  //#endregion
813
+ //#region src/v2/components/chat/tool-call-layout.d.ts
814
+ /**
815
+ * How the chat shows tool calls.
816
+ *
817
+ * - `"grouped"` (default): calls made in a row share one card, collapsed to a
818
+ * summary ("Used 3 tools") that opens to a row per call.
819
+ * - `"line"`: the same grouping as a quiet line of text, like the reasoning
820
+ * message's "Thought for 4 seconds".
821
+ * - `"stacked"`: the latest call on top of a stack of the earlier ones; click
822
+ * to fan the stack out into its cards.
823
+ * - `"turn"`: the agent works in the open (narration, then a row per call),
824
+ * and when the reply is done everything before it folds into "Worked for 9s".
825
+ * - `"separate"`: every call gets its own card, as before grouping existed.
826
+ *
827
+ * Only calls drawn by a renderer that opts into grouping (`group: true`) are
828
+ * grouped; CopilotKit's built-in card from `useDefaultRenderTool()` does. Any
829
+ * other call always shows on its own and splits the group around it.
830
+ */
831
+ type CopilotChatToolCallDisplay = "grouped" | "line" | "stacked" | "turn" | "separate";
832
+ /** One tool call and, once it has finished, the message carrying its result. */
833
+ interface ToolCallEntry {
834
+ toolCall: ToolCall;
835
+ toolMessage?: ToolMessage;
836
+ }
837
+ //#endregion
838
+ //#region src/v2/components/chat/CopilotChatToolCallGroup.d.ts
839
+ type CopilotChatToolCallGroupAppearance = "card" | "line" | "stack";
840
+ interface CopilotChatToolCallGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
841
+ /** The calls in the group, in order. */
842
+ calls: ToolCallEntry[];
843
+ /** Renders one call through the registered renderers. */
844
+ renderCall: (call: ToolCallEntry) => React$1.ReactNode;
845
+ /**
846
+ * - `"card"` (default): one card with a summary header and a row per call.
847
+ * - `"line"`: a quiet line of text that opens to a list of rows.
848
+ * - `"stack"`: the latest call on a stack of the earlier ones.
849
+ */
850
+ appearance?: CopilotChatToolCallGroupAppearance;
851
+ /** The agent is running and nothing follows the group, so more calls may join it. */
852
+ isActive?: boolean;
853
+ }
854
+ /**
855
+ * Tool calls made in a row, collapsed into one summary. While a call runs the
856
+ * summary names it ("Running read_file src/app.ts"); once they're all done it
857
+ * reads "Used 3 tools" and opens to the calls.
858
+ *
859
+ * Each call is drawn by its registered renderer. CopilotKit's built-in card
860
+ * (`useDefaultRenderTool`) draws a compact row inside the card and line
861
+ * appearances; a custom wildcard renderer draws whatever it draws.
862
+ */
863
+ declare function CopilotChatToolCallGroup({
864
+ calls,
865
+ renderCall,
866
+ appearance,
867
+ isActive,
868
+ className,
869
+ ...props
870
+ }: CopilotChatToolCallGroupProps): react_jsx_runtime0.JSX.Element | null;
871
+ //#endregion
787
872
  //#region src/v2/components/chat/CopilotChatToolCallsView.d.ts
788
873
  type CopilotChatToolCallsViewProps = {
789
874
  message: AssistantMessage;
790
875
  messages?: Message$1[];
876
+ /**
877
+ * How to show the calls (see `CopilotChatToolCallDisplay`). Inside a message
878
+ * view it follows the view's `toolCallDisplay`; on its own it defaults to
879
+ * `"grouped"`.
880
+ */
881
+ display?: CopilotChatToolCallDisplay;
882
+ /**
883
+ * Draws a group of calls made in a row: a component, a class name for the
884
+ * default group, or props for it (e.g. `{ appearance: "line" }`).
885
+ */
886
+ group?: SlotValue<typeof CopilotChatToolCallGroup>;
791
887
  };
792
888
  declare function CopilotChatToolCallsView({
793
889
  message,
794
- messages
890
+ messages,
891
+ display: displayProp,
892
+ group
795
893
  }: CopilotChatToolCallsViewProps): react_jsx_runtime0.JSX.Element | null;
796
894
  //#endregion
797
895
  //#region src/v2/components/chat/CopilotChatAssistantMessage.d.ts
@@ -825,6 +923,12 @@ type CopilotChatAssistantMessageProps = WithSlots<{
825
923
  isLatest?: boolean;
826
924
  additionalToolbarItems?: React.ReactNode;
827
925
  toolbarVisible?: boolean;
926
+ /**
927
+ * The comment field of a reply rating, inside the popover next to the
928
+ * chosen thumb. Shown only while Automatic Learning records ratings; it
929
+ * renders after `children`, so a `children` layout does not place it.
930
+ */
931
+ feedbackComment?: SlotValue<typeof CopilotChatAssistantMessage.FeedbackComment>;
828
932
  } & React.HTMLAttributes<HTMLDivElement>>;
829
933
  declare function CopilotChatAssistantMessage({
830
934
  message,
@@ -845,6 +949,7 @@ declare function CopilotChatAssistantMessage({
845
949
  thumbsDownButton,
846
950
  readAloudButton,
847
951
  regenerateButton,
952
+ feedbackComment: feedbackCommentSlot,
848
953
  toolCallsView,
849
954
  children,
850
955
  className,
@@ -865,6 +970,27 @@ declare namespace CopilotChatAssistantMessage {
865
970
  const InspectorButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
866
971
  const ThumbsUpButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
867
972
  const ThumbsDownButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
973
+ /**
974
+ * The comment field of a rating, shown in a popover next to the chosen
975
+ * thumb. Enter saves; Send appears once the text differs from the saved
976
+ * comment. The popover marks itself `data-copilotkit-ignore`, so Learning
977
+ * records the saved comment but not the typing; outside it, mark the
978
+ * field yourself.
979
+ */
980
+ const FeedbackComment: React.FC<{
981
+ value: string; /** The comment already saved. */
982
+ savedComment: string;
983
+ inputRef?: React.Ref<HTMLInputElement>;
984
+ onChange: (value: string) => void;
985
+ onSubmit: () => void;
986
+ onEditingChange?: (editing: boolean) => void;
987
+ /**
988
+ * Focus left the form for `next`, or for no focusable element when null.
989
+ * Not called when the window loses focus.
990
+ */
991
+ onLeave?: (next: Element | null) => void;
992
+ className?: string;
993
+ }>;
868
994
  const ReadAloudButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
869
995
  const RegenerateButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
870
996
  }
@@ -923,6 +1049,13 @@ declare namespace CopilotChatUserMessage {
923
1049
  copied?: boolean;
924
1050
  }>;
925
1051
  const EditButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
1052
+ /**
1053
+ * Previous/next buttons and an "n/m" counter for switching between branches
1054
+ * of a user message. Renders only with more than one branch and an
1055
+ * `onSwitchToBranch` handler. The buttons are named by
1056
+ * `labels.userMessageToolbarPreviousBranchLabel` and
1057
+ * `labels.userMessageToolbarNextBranchLabel`.
1058
+ */
926
1059
  const BranchNavigation: React.FC<React.HTMLAttributes<HTMLDivElement> & {
927
1060
  currentBranch?: number;
928
1061
  numberOfBranches?: number;
@@ -1013,6 +1146,38 @@ declare const CopilotChatSuggestionView: React$1.ForwardRefExoticComponent<{
1013
1146
  loadingIndexes?: ReadonlyArray<number>;
1014
1147
  } & React$1.HTMLAttributes<HTMLDivElement>, "children"> & React$1.RefAttributes<HTMLDivElement>>;
1015
1148
  //#endregion
1149
+ //#region src/v2/components/chat/CopilotChatWorkSummary.d.ts
1150
+ interface CopilotChatWorkSummaryProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
1151
+ /** The agent is still working on this reply. */
1152
+ isWorking: boolean;
1153
+ /** Whether the work (narration and tool calls) is showing. */
1154
+ isOpen: boolean;
1155
+ /** The tool calls the reply made. */
1156
+ calls: ToolCallEntry[];
1157
+ /**
1158
+ * How long the agent has worked on the reply, in ms, summed over its runs
1159
+ * so time spent waiting between them doesn't count. Only known for replies
1160
+ * this client watched start; without it the summary shows the tool count.
1161
+ */
1162
+ elapsedMs?: number;
1163
+ /** When the current run started (epoch ms), while the agent is working. */
1164
+ workingSince?: number;
1165
+ }
1166
+ /**
1167
+ * The line at the top of a reply in the `"turn"` tool-call display. While the
1168
+ * agent works it reads "Working 4s"; once the reply is done it reads "Worked
1169
+ * for 9s · 7 tools" and toggles the work it folded away.
1170
+ */
1171
+ declare function CopilotChatWorkSummary({
1172
+ isWorking,
1173
+ isOpen,
1174
+ calls,
1175
+ elapsedMs,
1176
+ workingSince,
1177
+ className,
1178
+ ...props
1179
+ }: CopilotChatWorkSummaryProps): react_jsx_runtime0.JSX.Element;
1180
+ //#endregion
1016
1181
  //#region src/v2/components/intelligence-indicator/IntelligenceIndicatorView.d.ts
1017
1182
  /** Lifecycle state the brain hands the face. */
1018
1183
  type IntelligenceIndicatorStatus = "in-progress" | "finished";
@@ -1212,7 +1377,8 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
1212
1377
  userMessage: typeof CopilotChatUserMessage;
1213
1378
  reasoningMessage: typeof CopilotChatReasoningMessage;
1214
1379
  cursor: typeof CopilotChatMessageView.Cursor;
1215
- intelligenceIndicator: typeof IntelligenceIndicatorView;
1380
+ intelligenceIndicator: typeof IntelligenceIndicatorView; /** The "Working… / Worked for 9s" line of the `"turn"` tool-call display. */
1381
+ workSummary: typeof CopilotChatWorkSummary;
1216
1382
  }, {
1217
1383
  isRunning?: boolean;
1218
1384
  messages?: Message$1[];
@@ -1242,6 +1408,20 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
1242
1408
  * Memoized on its input and this function — pass a stable function.
1243
1409
  */
1244
1410
  groupMessages?: (messages: Message$1[]) => MessageRow[];
1411
+ /**
1412
+ * Whether reply thumbs record ratings for Automatic Learning once a
1413
+ * Trajectory has started. Defaults to `true`; set `false` to keep the
1414
+ * thumbs to your own `onThumbsUp` / `onThumbsDown` handlers and slots.
1415
+ */
1416
+ messageFeedback?: boolean;
1417
+ /**
1418
+ * How tool calls show. Defaults to `"grouped"`: calls made in a row
1419
+ * share one card that opens to a row per call. `"line"` and `"stacked"`
1420
+ * group them too; `"turn"` folds a reply's whole working phase into
1421
+ * "Worked for 9s" once it's done; `"separate"` gives every call its own
1422
+ * card. Calls with a renderer of their own always show on their own.
1423
+ */
1424
+ toolCallDisplay?: CopilotChatToolCallDisplay;
1245
1425
  } & React$1.HTMLAttributes<HTMLDivElement>>, "children"> & {
1246
1426
  children?: (props: {
1247
1427
  isRunning: boolean;
@@ -1257,9 +1437,12 @@ declare function CopilotChatMessageView({
1257
1437
  reasoningMessage,
1258
1438
  cursor,
1259
1439
  intelligenceIndicator,
1440
+ workSummary,
1260
1441
  isRunning,
1261
1442
  transformMessages,
1262
1443
  groupMessages,
1444
+ messageFeedback,
1445
+ toolCallDisplay,
1263
1446
  children,
1264
1447
  className,
1265
1448
  ...props
@@ -1378,11 +1561,16 @@ declare function CopilotChatView({
1378
1561
  declare namespace CopilotChatView {
1379
1562
  const ScrollView: React$1.FC<React$1.HTMLAttributes<HTMLDivElement> & {
1380
1563
  autoScroll?: AutoScrollMode | boolean;
1564
+ scrollThreadId?: string;
1381
1565
  scrollToBottomButton?: SlotValue<React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>>;
1382
1566
  feather?: SlotValue<React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>>;
1383
1567
  inputContainerHeight?: number;
1384
1568
  isResizing?: boolean;
1385
1569
  }>;
1570
+ /**
1571
+ * Scrolls the message list to the latest message. Shown while the user is
1572
+ * scrolled up; its accessible name is `labels.chatScrollToBottomLabel`.
1573
+ */
1386
1574
  const ScrollToBottomButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
1387
1575
  const Feather: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
1388
1576
  const WelcomeMessage: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
@@ -1995,6 +2183,10 @@ interface CopilotChatAttachmentRendererProps {
1995
2183
  declare const CopilotChatAttachmentRenderer: React$1.FC<CopilotChatAttachmentRendererProps>;
1996
2184
  //#endregion
1997
2185
  //#region src/v2/components/WildcardToolCallRender.d.ts
2186
+ /**
2187
+ * Catch-all (`"*"`) tool-call renderer that shows CopilotKit's default
2188
+ * tool-call card for any tool without a dedicated renderer.
2189
+ */
1998
2190
  declare const WildcardToolCallRender: ReactToolCallRenderer<any>;
1999
2191
  //#endregion
2000
2192
  //#region src/v2/components/CopilotKitInspectorContext.d.ts
@@ -2021,6 +2213,12 @@ interface MCPAppsActivityRendererProps {
2021
2213
  content: MCPAppsActivityContent;
2022
2214
  message: unknown;
2023
2215
  agent: AbstractAgent | undefined;
2216
+ /**
2217
+ * Restore `allow-same-origin` on the sandbox. Unsafe: the widget runs with
2218
+ * the host page's origin. Set via `mcpApps.allowSameOriginFallback` on
2219
+ * `CopilotKitProvider`.
2220
+ */
2221
+ allowSameOriginFallback?: boolean;
2024
2222
  }
2025
2223
  /**
2026
2224
  * MCP Apps Extension Activity Renderer
@@ -2127,6 +2325,47 @@ declare const OpenGenerativeUIToolRenderer: React$1.FC<{
2127
2325
  result: string;
2128
2326
  }>;
2129
2327
  //#endregion
2328
+ //#region src/v2/types/react-tool-call-renderer.d.ts
2329
+ interface ReactToolCallRenderer<T = unknown> {
2330
+ name: string;
2331
+ /**
2332
+ * Schema describing the tool arguments. Optional — renderers registered for
2333
+ * tools without parameters (e.g. HITL confirm dialogs) have no schema.
2334
+ */
2335
+ args?: StandardSchemaV1<any, T>;
2336
+ /**
2337
+ * Optional agent ID to constrain this tool renderer to a specific agent.
2338
+ * If specified, this renderer will only be used for the specified agent.
2339
+ */
2340
+ agentId?: string;
2341
+ /**
2342
+ * Whether calls this renderer draws join the chat's tool-call groups (see
2343
+ * `toolCallDisplay` on `CopilotChatMessageView`). CopilotKit's built-in card
2344
+ * sets it; a renderer that leaves it unset always shows its calls on their
2345
+ * own, since the chat can't tell what it draws (it may even draw nothing).
2346
+ */
2347
+ group?: boolean;
2348
+ render: React.ComponentType<{
2349
+ name: string;
2350
+ toolCallId: string;
2351
+ args: Partial<T>;
2352
+ status: ToolCallStatus.InProgress;
2353
+ result: undefined;
2354
+ } | {
2355
+ name: string;
2356
+ toolCallId: string;
2357
+ args: T;
2358
+ status: ToolCallStatus.Executing;
2359
+ result: undefined;
2360
+ } | {
2361
+ name: string;
2362
+ toolCallId: string;
2363
+ args: T;
2364
+ status: ToolCallStatus.Complete;
2365
+ result: string;
2366
+ }>;
2367
+ }
2368
+ //#endregion
2130
2369
  //#region src/v2/hooks/use-render-tool-call.d.ts
2131
2370
  interface UseRenderToolCallProps {
2132
2371
  toolCall: ToolCall;
@@ -2166,40 +2405,6 @@ interface UseRenderCustomMessagesParams {
2166
2405
  }
2167
2406
  declare function useRenderCustomMessages(): ((params: UseRenderCustomMessagesParams) => react_jsx_runtime0.JSX.Element | null) | null;
2168
2407
  //#endregion
2169
- //#region src/v2/types/react-tool-call-renderer.d.ts
2170
- interface ReactToolCallRenderer<T = unknown> {
2171
- name: string;
2172
- /**
2173
- * Schema describing the tool arguments. Optional — renderers registered for
2174
- * tools without parameters (e.g. HITL confirm dialogs) have no schema.
2175
- */
2176
- args?: StandardSchemaV1<any, T>;
2177
- /**
2178
- * Optional agent ID to constrain this tool renderer to a specific agent.
2179
- * If specified, this renderer will only be used for the specified agent.
2180
- */
2181
- agentId?: string;
2182
- render: React.ComponentType<{
2183
- name: string;
2184
- toolCallId: string;
2185
- args: Partial<T>;
2186
- status: ToolCallStatus.InProgress;
2187
- result: undefined;
2188
- } | {
2189
- name: string;
2190
- toolCallId: string;
2191
- args: T;
2192
- status: ToolCallStatus.Executing;
2193
- result: undefined;
2194
- } | {
2195
- name: string;
2196
- toolCallId: string;
2197
- args: T;
2198
- status: ToolCallStatus.Complete;
2199
- result: string;
2200
- }>;
2201
- }
2202
- //#endregion
2203
2408
  //#region src/v2/types/react-activity-message-renderer.d.ts
2204
2409
  interface ReactActivityMessageRenderer<TActivityContent> {
2205
2410
  /**
@@ -2309,12 +2514,14 @@ declare function defineToolCallRenderer(def: {
2309
2514
  name: "*";
2310
2515
  render: (props: RenderProps<any>) => React$1.ReactElement | null;
2311
2516
  agentId?: string;
2517
+ group?: boolean;
2312
2518
  }): ReactToolCallRenderer<any>;
2313
2519
  declare function defineToolCallRenderer<S extends StandardSchemaV1>(def: {
2314
2520
  name: string;
2315
2521
  args: S;
2316
2522
  render: (props: RenderProps<InferSchemaOutput<S>>) => React$1.ReactElement | null;
2317
2523
  agentId?: string;
2524
+ group?: boolean;
2318
2525
  }): ReactToolCallRenderer<InferSchemaOutput<S>>;
2319
2526
  //#endregion
2320
2527
  //#region src/v2/types/interrupt.d.ts
@@ -2545,7 +2752,8 @@ type RenderToolProps<S extends StandardSchemaV1> = RenderToolInProgressProps<S>
2545
2752
  declare function useRenderTool(config: {
2546
2753
  name: "*";
2547
2754
  render: (props: any) => React.ReactElement | null;
2548
- agentId?: string;
2755
+ agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
2756
+ group?: boolean;
2549
2757
  }, deps?: ReadonlyArray<unknown>): void;
2550
2758
  /**
2551
2759
  * Registers a name-scoped renderer for tool calls.
@@ -2578,7 +2786,8 @@ declare function useRenderTool<S extends StandardSchemaV1>(config: {
2578
2786
  name: string;
2579
2787
  parameters: S;
2580
2788
  render: (props: RenderToolProps<S>) => React.ReactElement | null;
2581
- agentId?: string;
2789
+ agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
2790
+ group?: boolean;
2582
2791
  }, deps?: ReadonlyArray<unknown>): void;
2583
2792
  //#endregion
2584
2793
  //#region src/v2/hooks/use-default-render-tool.d.ts
@@ -2627,6 +2836,12 @@ type DefaultRenderProps = {
2627
2836
  */
2628
2837
  declare function useDefaultRenderTool(config?: {
2629
2838
  render?: (props: DefaultRenderProps) => React$1.ReactElement | null;
2839
+ /**
2840
+ * Let the chat group calls your `render` draws, like it groups the
2841
+ * built-in card's (see `toolCallDisplay` on `CopilotChatMessageView`).
2842
+ * Off by default for a custom `render`, since it may draw nothing.
2843
+ */
2844
+ group?: boolean;
2630
2845
  }, deps?: ReadonlyArray<unknown>): void;
2631
2846
  //#endregion
2632
2847
  //#region src/v2/hooks/use-human-in-the-loop.d.ts
@@ -3480,6 +3695,27 @@ interface CopilotKitProviderProps {
3480
3695
  */
3481
3696
  recovery?: A2UIRecoveryRendererOptions;
3482
3697
  };
3698
+ /**
3699
+ * Configuration for the built-in MCP Apps renderer.
3700
+ *
3701
+ * @example
3702
+ * ```tsx
3703
+ * <CopilotKit runtimeUrl="/api/copilotkit" mcpApps={{ allowSameOriginFallback: true }}>
3704
+ * {children}
3705
+ * </CopilotKit>
3706
+ * ```
3707
+ */
3708
+ mcpApps?: {
3709
+ /**
3710
+ * Restore `allow-same-origin` on the MCP App sandbox. Default `false`.
3711
+ *
3712
+ * **Unsafe.** The widget then runs with your page's origin: it can read
3713
+ * your cookies, storage and DOM, and call your APIs as the signed-in user.
3714
+ * Only set it for widgets you wrote and trust that need `localStorage`,
3715
+ * `IndexedDB` or cookies. By default widgets get an opaque origin.
3716
+ */
3717
+ allowSameOriginFallback?: boolean;
3718
+ };
3483
3719
  /**
3484
3720
  * Default throttle interval (in milliseconds) for `useAgent` re-renders
3485
3721
  * triggered by `OnMessagesChanged` notifications. This value is used as
@@ -3530,6 +3766,7 @@ type LearningProp = LearningConfig & {
3530
3766
  */
3531
3767
  learningContainerIds?: string[];
3532
3768
  };
3769
+ /** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
3533
3770
  declare const CopilotKitProvider: React$1.FC<CopilotKitProviderProps>;
3534
3771
  //#endregion
3535
3772
  //#region src/v2/providers/SandboxFunctionsContext.d.ts
@@ -3837,5 +4074,5 @@ declare function CopilotKit({
3837
4074
  }: CopilotKitProps): react_jsx_runtime0.JSX.Element;
3838
4075
  declare const defaultCopilotContextCategories: string[];
3839
4076
  //#endregion
3840
- export { useRenderTool as $, LegacyLearningConfig as $a, TextMessageContentEventProps as $c, ɵselectHasNextPage$1 as $d, EventType as $i, WebMCPModelContext as $l, ACTIVITY_HISTORY_METADATA as $n, ReasoningMessageChunkEventSchema as $o, ContentPart as $r, StateCapabilities as $s, CopilotSidebarProps as $t, tokenUsageFromLangChainMetadata as $u, UseAttachmentsReturn as A, InputContentSchema as Aa, SubagentInfo as Ac, ɵThreadMetadataEvent as Ad, CrewsTaskStateItem as Af, CustomEventProps as Ai, ToolCallStartEvent as Al, CopilotChatSuggestionViewProps as An, OutputCapabilitiesSchema as Ao, AgentSubscriberParams as Ar, RunErrorEventSchema as As, MCPAppsActivityContentSchema as At, isInspectorThreadBridgeEnabled$1 as Au, useMemories as B, IntelligenceAgent as Ba, SuggestionAvailability as Bc, ɵjoinPhoenixChannel$ as Bd, ActionRenderPropsWait as Bf, DocumentInputContent as Bi, TransportCapabilities as Bl, CopilotChatToolCallsView as Bn, ReasoningCapabilities as Bo, AudioInputPartSchema as Br, RunFinishedOutcomeSchema as Bs, AttachmentsConfig$1 as Bt, onInspectorViewThread$1 as Bu, MemoryScope as C, ImageInputPartSchema as Ca, SubagentFinishedEventSchema as Cc, ɵPhoenixSocketOptions as Cd, LangGraphInterruptRenderHandlerProps as Cf, CopilotKitHeaderResolutionError as Ci, ToolCallEndEvent as Cl, IntelligenceIndicator as Cn, MultimodalOutputCapabilities as Co, AgentCapabilities$1 as Cr, RunAgentInput as Cs, GenerateSandboxedUiArgsSchema as Ct, empty as Cu, UseLearningContainersArgs as D, InputContentDataSource as Da, SubagentFinishedSuccessOutcomeSchema as Dc, ɵTHREAD_REQUEST_TIMEOUT_MS as Dd, CrewsResponse as Df, CopyOperation as Di, ToolCallResultEventProps as Dl, IntelligenceIndicatorView as Dn, OpenThreadRegistration as Do, AgentRegistry as Dr, RunCompletionAware as Ds, OpenGenerativeUIContentSchema as Dt, getRunOutcome as Du, useLearningContainersInCurrentThread as E, InputContent as Ea, SubagentFinishedSuccessOutcome as Ec, ɵRUNTIME_PROBE_TIMEOUT_MS as Ed, CrewsAgentState as Ef, CopilotRuntimeTransport as Ei, ToolCallResultEvent as El, IntelligenceIndicatorStatus as En, NonDispatchingEffectOptions as Eo, AgentDebugConfig as Er, RunAgentResult$1 as Es, OpenGenerativeUIContent as Et, ensureObjectArgs as Eu, LearnFromUserActionInput as F, InspectorActiveThreadPayload as Fa, SubagentStartedEventProps as Fc, ɵcreateThreadSelectors as Fd, Tree as Ff, DebugLoggerInput as Fi, ToolMessageSchema as Fl, CopilotChatUserMessage as Fn, ProxiedCopilotRuntimeAgent$1 as Fo, Attributable as Fr, RunFinishedEventProps as Fs, CopilotKitInspector as Ft, ofType as Fu, AgentContextInput as G, JsonPatch as Ga, TestOperation as Gc, ɵmemoryRestEvents as Gd, FrontendActionAvailability as Gf, DocumentPartSchema as Gi, UserMessage$1 as Gl, CopilotChatConfigurationProvider as Gn, ReasoningEncryptedValueSubtype as Go, BackwardCompatibility_0_0_57 as Gr, RunStartedEventProps as Gs, CopilotThreadsDrawerRowRenderer as Gt, props as Gu, useInterrupt as H, IntelligenceReplayFailedError as Ha, SuggestionsConfig as Hc, ɵmemoryAdapterEvents as Hd, CatchAllActionRenderPropsWait as Hf, DocumentInputPart as Hi, UnrecognizedEvent as Hl, CopilotChatInput as Hn, ReasoningEncryptedValueEvent as Ho, AudioPartSchema as Hr, RunFinishedSuccessOutcomeSchema as Hs, CopilotChatAttachmentQueue as Ht, parseProtoStream as Hu, LearnFromUserActionResult as I, InspectorMetadataV1 as Ia, SubagentStartedEventSchema as Ic, ɵcreateThreadStore$1 as Id, TreeNode as If, DeveloperMessage as Ii, ToolSchema as Il, CopilotChatUserMessageProps as In, ProxiedCopilotRuntimeAgentConfig as Io, AttributableSchema as Ir, RunFinishedEventSchema as Is, CopilotKitInspectorProps as It, omitOptionalNulls as Iu, useCapabilities as J, JsonPatchSchema as Ja, TextInputContentSchema as Jc, ɵobservePhoenixSocketHealth$ as Jd, EmptyActionConfig as Ji, VideoInputContentSchema as Jl, CopilotChatLabels as Jn, ReasoningEndEventProps as Jo, BaseEventProps as Jr, RuntimeMode as Js, UseThreadsResult as Jt, resolveDebugLogger as Ju, JsonSerializable as K, JsonPatchOperation as Ka, TestOperationSchema as Kc, ɵobservePhoenixEvent$ as Kd, RenderFunctionStatus as Kf, DynamicSuggestionsConfig$1 as Ki, UserMessageSchema as Kl, CopilotChatConfigurationProviderProps as Kn, ReasoningEncryptedValueSubtypeSchema as Ko, BaseEvent as Kr, RunStartedEventSchema as Ks, Thread as Kt, randomUUID$2 as Ku, UseLearnFromUserActionRecorder as L, InspectorStopViewingPayload as La, SubscribeToAgentOptions as Lc, ɵisCopilotKitFeature as Ld, ActionRenderProps as Lf, DeveloperMessageSchema as Li, ToolsCapabilities as Ll, CopilotChatAssistantMessage as Ln, RawEvent as Lo, AudioInputContent as Lr, RunFinishedInterruptOutcome as Ls, WildcardToolCallRender as Lt, on as Lu, LearnFromUserActionInCurrentThreadInput as M, InputContentSourceSchema as Ma, SubagentRunId as Mc, ɵThreadSelectors as Md, CopilotChatSuggestionConfiguration as Mf, DataSource as Mi, ToolCallStartEventSchema as Ml, CopilotChatSuggestionPillProps as Mn, PartSource as Mo, AnyAction as Mr, RunFinishedCancelledOutcome as Ms, MCPAppsActivityType as Mt, isRecognizedEvent as Mu, UseLearnFromUserActionInCurrentThreadRecorder as N, InputContentUrlSource as Na, SubagentRunIdSchema as Nc, ɵThreadStore as Nd, SystemMessageFunction as Nf, DataSourceSchema as Ni, ToolCallStatus$1 as Nl, CopilotChatReasoningMessage as Nn, PartSourceSchema as No, AssistantMessage$1 as Nr, RunFinishedCancelledOutcomeSchema as Ns, ɵMcpFollowUpHost as Nt, isRunCompletionAware$1 as Nu, useLearningContainers as O, InputContentDataSourceSchema as Oa, SubagentFinishedSuspendedOutcome as Oc, ɵThread as Od, CrewsResponseStatus as Of, CopyOperationSchema as Oi, ToolCallResultEventSchema as Ol, IntelligenceIndicatorViewProps as On, OptionalMetadataSchema as Oo, AgentStateMutation as Or, RunErrorEvent as Os, OpenGenerativeUIToolRenderer as Ot, getWebMCPModelContext as Ou, useLearnFromUserActionInCurrentThread as P, InputContentUrlSourceSchema as Pa, SubagentStartedEvent as Pc, ɵcreateMemoryStore as Pd, DocumentPointer as Pf, DebugLogger as Pi, ToolMessage$1 as Pl, CopilotChatReasoningMessageProps as Pn, PropsActionConfig as Po, AssistantMessageSchema as Pr, RunFinishedEvent as Ps, ɵrunMcpFollowUp as Pt, mergeMetadata as Pu, useDefaultRenderTool as Q, LearningConfig$1 as Qa, TextMessageContentEvent as Qc, ɵselectFetchMoreError$1 as Qd, EventSchemas as Qi, VideoPartSchema as Ql, CopilotChatAudioRecorder as Qn, ReasoningMessageChunkEventProps as Qo, CompatibilityBoundary as Qr, State as Qs, CopilotSidebar as Qt, tokenUsageFromAiSdkUsage as Qu, useLearnFromUserAction as R, InspectorViewThreadPayload as Ra, SubscribeToAgentSubscriber as Rc, ɵisHttpAgent$1 as Rd, ActionRenderPropsNoArgs as Rf, DispatchingEffect as Ri, ToolsCapabilitiesSchema as Rl, CopilotChatAssistantMessageProps as Rn, RawEventProps as Ro, AudioInputContentSchema as Rr, RunFinishedInterruptOutcomeSchema as Rs, Attachment$1 as Rt, onInspectorActiveThread as Ru, MemoryKind as S, ImageInputPart as Sa, SubagentFinishedEventProps as Sc, ɵPhoenixSocketLike as Sd, LangGraphInterruptRender as Sf, CopilotKitCoreSubscription$1 as Si, ToolCallChunkEventSchema as Sl, INTELLIGENCE_TURN_HEAD as Sn, MultimodalInputCapabilitiesSchema as So, AddOperationSchema as Sr, RoleSchema as Ss, GenerateSandboxedUiArgs as St, emitInspectorViewThreadResult$1 as Su, UseLearningContainersInCurrentThreadArgs as T, ImagePartSchema as Ta, SubagentFinishedOutcomeSchema as Tc, ɵPhoenixSocketSignal as Td, QueuedInterruptEvent as Tf, CopilotKitMessageFilter$1 as Ti, ToolCallEndEventSchema as Tl, getIntelligenceTurnAnchors as Tn, NonDispatchingEffect as To, AgentConfig as Tr, RunAgentParameters as Ts, OpenGenerativeUIActivityType as Tt, enforceOutgoingInput as Tu, useConfigureSuggestions as U, IntelligenceRuntimeInfo as Ua, SystemMessage as Uc, ɵmemoryDomainEvents as Ud, CatchAllFrontendAction as Uf, DocumentInputPartSchema as Ui, UrlSource as Ul, CopilotChatInputProps as Un, ReasoningEncryptedValueEventProps as Uo, BackwardCompatibility_0_0_39 as Ur, RunHandler as Us, CopilotThreadsDrawer as Ut, parseSSEStream as Uu, UseInterruptConfig as V, IntelligenceAgentConfig as Va, SuggestionEngine as Vc, ɵmapMemoryMetadataEvent as Vd, CatchAllActionRenderProps as Vf, DocumentInputContentSchema as Vi, TransportCapabilitiesSchema as Vl, CopilotChatToolCallsViewProps as Vn, ReasoningCapabilitiesSchema as Vo, AudioPart as Vr, RunFinishedSuccessOutcome as Vs, CopilotChatAttachmentRenderer as Vt, onInspectorViewThreadResult as Vu, useSuggestions as W, InterruptSchema as Wa, SystemMessageSchema as Wc, ɵmemoryReducer as Wd, FrontendAction as Wf, DocumentPart as Wi, UrlSourceSchema as Wl, ToolsMenuItem as Wn, ReasoningEncryptedValueEventSchema as Wo, BackwardCompatibility_0_0_45 as Wr, RunStartedEvent as Ws, CopilotThreadsDrawerProps as Wt, parseToolArguments as Wu, useAgent as X, JsonPointerSchema as Xa, TextMessageChunkEventProps as Xc, ɵphoenixChannel$ as Xd, EventPayloadOf as Xi, VideoInputPartSchema as Xl, AudioRecorderError as Xn, ReasoningMessage$1 as Xo, BaseMessage as Xr, Selector as Xs, CopilotPopup as Xt, select as Xu, UseAgentUpdate as Y, JsonPointer as Ya, TextMessageChunkEvent as Yc, ɵobservePhoenixSocketSignals$ as Yd, Event as Yi, VideoInputPart as Yl, useCopilotChatConfiguration as Yn, ReasoningEndEventSchema as Yo, BaseEventSchema as Yr, ScopedContext as Ys, useThreads as Yt, runHttpRequest as Yu, useHumanInTheLoop as Z, JsonValue as Za, TextMessageChunkEventSchema as Zc, ɵphoenixSocket$ as Zd, EventSchema as Zi, VideoPart as Zl, AudioRecorderState as Zn, ReasoningMessageChunkEvent as Zo, BaseMessageSchema as Zr, StartResult as Zs, CopilotPopupProps as Zt, structuredClone_ as Zu, useCopilotKit as _, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID as _a, StoreLifecycleAction as _c, ɵPhoenixChannelLike as _d, useCopilotContext as _f, CopilotKitCoreRunToolParams as _i, ToolCallArgsEvent as _l, MessageGroup as _n, MultiAgentCapabilities as _o, ActivityMessageSchema as _r, ReplaceOperationSchema as _s, ReactToolCallRenderer as _t, createStore as _u, A2UIMessageRendererOptions as a, FilterToolCallsMiddleware as aa, StateSchema as ac, ɵCopilotKitFeature as ad, ɵselectMemoriesIsLoading$1 as af, CopilotKitCoreAddAgentParams as ai, TextMessageRoleSchema as al, CopilotModalHeaderProps as an, MemoryRealtimeStatus$1 as ao, AGUI_METADATA_KEY as ar, ReasoningMessageEndEventSchema as as, INTERRUPT_EVENT_NAME as at, buildResumeArray as au, Memory$1 as b, ImageInputContent as ba, SubagentErrorEventSchema as bc, ɵPhoenixJoinOutcome as bd, LangGraphInterruptActionSetter as bf, CopilotKitCoreStopAgentParams as bi, ToolCallChunkEvent as bl, messageGroup as bn, MultimodalCapabilitiesSchema as bo, ActivitySnapshotEventSchema as br, ResumeStatus as bs, ReactCustomMessageRendererPosition as bt, emitInspectorStopViewing as bu, CopilotKitCoreReact as c, FrontendToolReconnectBehavior as ca, StateSnapshotEventSchema as cc, ɵInterruptState$1 as cd, ɵselectThreads$1 as cf, CopilotKitCoreConnectAgentParams as ci, TextMessageStartEventSchema as cl, DefaultCloseIcon as cn, MessagesSnapshotEvent as co, ActionCreator as cr, ReasoningMessageStartEventProps as cs, InterruptEvent as ct, contentHasMedia as cu, InspectorAnchor as d, FunctionMiddleware as da, StepFinishedEventProps as dc, ɵMemoryEnvironment as dd, ɵthreadAdapterEvents as df, CopilotKitCoreFriendsAccess as di, ThreadEndpointRuntimeInfo as dl, CopilotChatProps as dn, Metadata as do, ActionGroupConfig as dr, ReasoningStartEventProps as ds, InterruptResolveFn as dt, createActionGroup as du, EventTypeSchema as ea, StateCapabilitiesSchema as ec, transformChunks as ed, ɵselectIsFetchingNextPage$1 as ef, ContentPartSchema as ei, TextMessageContentEventSchema as el, CopilotPopupView as en, MEMORY_ERROR_REGISTRY as eo, AGUIConnectNotImplementedError$1 as er, ReasoningMessageContentEvent as es, useComponent as et, WebMCPRegistry as eu, SandboxFunctionsContext as f, HttpAgent as fa, StepFinishedEventSchema as fc, ɵMemoryMetadataEvent as fd, ɵwithHeaderDefaults$1 as ff, CopilotKitCoreGetSuggestionsResult as fi, ThreadRunActivityNotification as fl, CopilotChatView as fn, MetadataSchema as fo, ActionGroupResult as fr, ReasoningStartEventSchema as fs, ResumeEntry as ft, createDebugLogger as fu, CopilotKitProviderProps as g, HumanInTheLoopCapabilitiesSchema as ga, Store as gc, ɵPendingInterrupt as gd, CopilotContextParams as gf, CopilotKitCoreRunAgentParams as gi, ToolCall$1 as gl, CopilotChatMessageViewProps as gn, MoveOperationSchema as go, ActivityMessage$1 as gr, ReplaceOperation as gs, ReactActivityMessageRenderer as gt, createSelector as gu, CopilotKitProvider as h, HumanInTheLoopCapabilities as ha, StepStartedEventSchema as hc, ɵMemoryStore as hd, CopilotContext as hf, CopilotKitCoreRegisterProxiedAgentResult as hi, Tool as hl, CopilotChatMessageView as hn, MoveOperation as ho, ActivityDeltaEventSchema as hr, RemoveOperationSchema as hs, ReactFrontendTool as ht, createReducer as hu, A2UIActionInterceptor as i, FileSourceSchema as ia, StateManager as ic, ɵCOPILOTKIT_FEATURES as id, ɵselectMemoriesError$1 as if, CopilotKitCore$1 as ii, TextMessageRole as il, CopilotModalHeader as in, MemoryErrorRegistryEntry as io, AGUIEventOf as ir, ReasoningMessageEndEventProps as is, SandboxFunction as it, authoritativeActivityTypes as iu, useAttachments as j, InputContentSource$1 as ja, SubagentInfoSchema as jc, ɵThreadRuntimeContext as jd, CrewsToolStateItem as jf, CustomEventSchema as ji, ToolCallStartEventProps as jl, CopilotChatSuggestionPill as jn, PROTOCOL_VERSION as jo, AgentThreadLockedError as jr, RunErrorPhase as js, MCPAppsActivityRenderer as jt, isInterruptExpired as ju, UseAttachmentsProps as k, InputContentPart as ka, SubagentFinishedSuspendedOutcomeSchema as kc, ɵThreadEnvironment as kd, CrewsStateItem as kf, CustomEvent as ki, ToolCallSchema as kl, CopilotChatSuggestionView as kn, OutputCapabilities as ko, AgentSubscriber as kr, RunErrorEventProps as ks, MCPAppsActivityContent$1 as kt, isAbortError as ku, CopilotKitCoreReactConfig as l, FunctionCall as la, StaticSuggestionsConfig$1 as lc, ɵInterruptToolResult as ld, ɵselectThreadsError$1 as lf, CopilotKitCoreContinuationHandoff as li, TextPart as ll, DefaultOpenIcon as ln, MessagesSnapshotEventProps as lo, ActionFromCreator as lr, ReasoningMessageStartEventSchema as ls, InterruptHandlerProps as lt, contentToText$1 as lu, CopilotKitContextValue as m, HttpAgentFetchFn as ma, StepStartedEventProps as mc, ɵMemoryState as md, CopilotApiConfig as mf, CopilotKitCoreRegisterProxiedAgentParams as mi, TokenUsageSchema as ml, AutoScrollMode as mn, MiddlewareFunction as mo, ActivityDeltaEventProps as mr, RemoveOperation as ms, ReactHumanInTheLoop as mt, createInspectorThreadRequestId as mu, defaultCopilotContextCategories as n, ExecutionCapabilitiesSchema as na, StateDeltaEventProps as nc, verifyEvents as nd, ɵselectMemories$1 as nf, ContextSchema as ni, TextMessageEndEventProps as nl, CopilotSidebarView as nn, MemoryErrorCategory as no, AGUIEvent as nr, ReasoningMessageContentEventSchema as ns, useFrontendTool as nt, WebMCPToolConfig$1 as nu, A2UIUserAction as o, FrontendTool$1 as oa, StateSnapshotEvent as oc, ɵInterruptDecision as od, ɵselectMemoriesIsMutating as of, CopilotKitCoreCatalogComponent as oi, TextMessageStartEvent as ol, CopilotChatToggleButton as on, Message$3 as oo, AbstractAgent$1 as or, ReasoningMessageSchema as os, Interrupt as ot, compactEvents as ou, useSandboxFunctions as p, HttpAgentConfig as pa, StepStartedEvent as pc, ɵMemoryRuntimeContext as pd, CoagentInChatRenderFunction as pf, CopilotKitCoreGetToolParams as pi, TokenUsage as pl, CopilotChatViewProps as pn, Middleware as po, ActivityDeltaEvent as pr, Reducer as ps, defineToolCallRenderer as pt, createEffect as pu, useAgentContext as q, JsonPatchOperationSchema as qa, TextInputContent as qc, ɵobservePhoenixJoinOutcome$ as qd, Effect as qi, VideoInputContent as ql, CopilotChatConfigurationValue as qn, ReasoningEndEvent as qo, BaseEventFields as qr, RuntimeLicenseStatus as qs, UseThreadsInput as qt, resolveAgentDebugConfig as qu, CopilotKitProps as r, FileSource as ra, StateDeltaEventSchema as rc, withAuthoritativeActivityTypes as rd, ɵselectMemoriesAvailable$1 as rf, ContextStore as ri, TextMessageEndEventSchema as rl, CopilotSidebarViewProps as rn, MemoryErrorCode as ro, AGUIEventByType as rr, ReasoningMessageEndEvent as rs, useRenderActivityMessage as rt, aggregateTokenUsage as ru, createA2UIMessageRenderer as s, FrontendToolHandlerContext as sa, StateSnapshotEventProps as sc, ɵInterruptEvent as sd, ɵselectMemoriesRealtimeStatus$1 as sf, CopilotKitCoreConfig$1 as si, TextMessageStartEventProps as sl, CopilotChatToggleButtonProps as sn, MessageSchema as so, ActionConfig as sr, ReasoningMessageStartEvent as ss, InterruptCancelFn as st, completePartialMarkdown as su, CopilotKit as t, ExecutionCapabilities as ta, StateDeltaEvent as tc, transformHttpEventStream as td, ɵselectIsMutating$1 as tf, Context as ti, TextMessageEndEvent as tl, CopilotPopupViewProps as tn, MemoryError as to, AGUIError as tr, ReasoningMessageContentEventProps as ts, useFrontendTools as tt, WebMCPToolAnnotations as tu, CopilotKitCoreReactSubscriber as u, FunctionCallSchema as ua, StepFinishedEvent as uc, ɵMAX_SOCKET_RETRIES as ud, ɵselectThreadsIsLoading$1 as uf, CopilotKitCoreErrorCode$1 as ui, TextPartSchema as ul, CopilotChat as un, MessagesSnapshotEventSchema as uo, ActionFromCreators as ur, ReasoningStartEvent as us, InterruptRenderProps as ut, convertToLegacyEvents as uu, useLicenseContext as v, IdentityCapabilities as va, SubagentErrorEvent as vc, ɵPhoenixChannelOptions as vd, CoAgentStateRender as vf, CopilotKitCoreRunToolResult as vi, ToolCallArgsEventProps as vl, MessageGroupWrapperProps as vn, MultiAgentCapabilitiesSchema as vo, ActivitySnapshotEvent as vr, ResolvedAgentDebugConfig as vs, useRenderCustomMessages as vt, defaultApplyEvents as vu, NewMemory$1 as w, ImagePart as wa, SubagentFinishedOutcome as wc, ɵPhoenixSocketSession as wd, LangGraphInterruptRenderProps as wf, CopilotKitHeadersSource$1 as wi, ToolCallEndEventProps as wl, IntelligenceIndicatorProps as wn, MultimodalOutputCapabilitiesSchema as wo, AgentCapabilitiesSchema as wr, RunAgentInputSchema as ws, OpenGenerativeUIActivityRenderer as wt, enforceEvents as wu, MemoryChanges$1 as x, ImageInputContentSchema as xa, SubagentFinishedEvent as xc, ɵPhoenixPushLike as xd, LangGraphInterruptActionSetterArgs as xf, CopilotKitCoreSubscriber$1 as xi, ToolCallChunkEventProps as xl, messageRow as xn, MultimodalInputCapabilities as xo, AddOperation as xr, Role$1 as xs, useRenderToolCall as xt, emitInspectorViewThread as xu, A2UIRecoveryRendererOptions as y, IdentityCapabilitiesSchema as ya, SubagentErrorEventProps as yc, ɵPhoenixChannelSession as yd, LangGraphInterruptAction as yf, CopilotKitCoreRuntimeConnectionStatus$1 as yi, ToolCallArgsEventSchema as yl, MessageRow as yn, MultimodalCapabilities as yo, ActivitySnapshotEventProps as yr, ResumeEntrySchema as ys, ReactCustomMessageRenderer as yt, emitInspectorActiveThread$1 as yu, UseMemoriesResult as z, InspectorViewThreadResultPayload as za, Suggestion$1 as zc, ɵisRetryableMemoryStatus as zd, ActionRenderPropsNoArgsWait as zf, DispatchingEffectOptions as zi, TrajectoryStartOptions as zl, CopilotChatFeedbackMessage as zn, RawEventSchema as zo, AudioInputPart as zr, RunFinishedOutcome as zs, AttachmentModality as zt, onInspectorStopViewing$1 as zu };
3841
- //# sourceMappingURL=copilotkit-kcYN96tM.d.mts.map
4077
+ export { useRenderTool as $, JsonPatchOperationSchema as $a, TextInputContentSchema as $c, ɵobservePhoenixSocketHealth$ as $d, DynamicSuggestionsConfig$1 as $i, VideoInputContentSchema as $l, CopilotChatConfigurationProviderProps as $n, ReasoningEndEvent as $o, BaseEvent as $r, RuntimeMode as $s, CopilotSidebarProps as $t, resolveDebugLogger as $u, UseAttachmentsReturn as A, ImageInputPartSchema as Aa, SubagentFinishedOutcomeSchema as Ac, ɵPhoenixSocketSignal as Ad, QueuedInterruptEvent as Af, CopilotKitHeaderResolutionError as Ai, ToolCallEndEventSchema as Al, CopilotChatWorkSummaryProps as An, MultimodalOutputCapabilitiesSchema as Ao, AgentCapabilities$1 as Ar, RunAgentInputSchema as As, MCPAppsActivityContentSchema as At, enforceOutgoingInput as Au, useMemories as B, InputContentUrlSource as Ba, SubagentStartedEventProps as Bc, ɵcreateThreadSelectors as Bd, Tree as Bf, DataSourceSchema as Bi, ToolMessageSchema as Bl, CopilotChatAssistantMessageProps as Bn, PropsActionConfig as Bo, AssistantMessage$1 as Br, RunFinishedEventProps as Bs, AttachmentsConfig$1 as Bt, ofType as Bu, MemoryScope as C, HumanInTheLoopCapabilitiesSchema as Ca, SubagentErrorEvent as Cc, ɵPhoenixChannelOptions as Cd, CoAgentStateRender as Cf, CopilotKitCoreRunAgentParams as Ci, ToolCallArgsEventProps as Cl, IntelligenceIndicator as Cn, MultiAgentCapabilities as Co, ActivityMessage$1 as Cr, ReplaceOperationSchema as Cs, GenerateSandboxedUiArgsSchema as Ct, defaultApplyEvents as Cu, UseLearningContainersArgs as D, ImageInputContent as Da, SubagentFinishedEventProps as Dc, ɵPhoenixSocketLike as Dd, LangGraphInterruptRender as Df, CopilotKitCoreStopAgentParams as Di, ToolCallChunkEventSchema as Dl, IntelligenceIndicatorView as Dn, MultimodalInputCapabilities as Do, ActivitySnapshotEventSchema as Dr, Role$1 as Ds, OpenGenerativeUIContentSchema as Dt, emitInspectorViewThreadResult$1 as Du, useLearningContainersInCurrentThread as E, IdentityCapabilitiesSchema as Ea, SubagentFinishedEvent as Ec, ɵPhoenixPushLike as Ed, LangGraphInterruptActionSetterArgs as Ef, CopilotKitCoreRuntimeConnectionStatus$1 as Ei, ToolCallChunkEventProps as El, IntelligenceIndicatorStatus as En, MultimodalCapabilitiesSchema as Eo, ActivitySnapshotEventProps as Er, ResumeStatus as Es, OpenGenerativeUIContent as Et, emitInspectorViewThread as Eu, LearnFromUserActionInput as F, InputContentDataSourceSchema as Fa, SubagentInfo as Fc, ɵThreadMetadataEvent as Fd, CrewsTaskStateItem as Ff, CopyOperationSchema as Fi, ToolCallStartEvent as Fl, CopilotChatReasoningMessage as Fn, OutputCapabilities as Fo, AgentStateMutation as Fr, RunErrorEventProps as Fs, CopilotKitInspector as Ft, isInspectorThreadBridgeEnabled$1 as Fu, AgentContextInput as G, InspectorViewThreadPayload as Ga, SuggestionAvailability as Gc, ɵjoinPhoenixChannel$ as Gd, ActionRenderPropsWait as Gf, DispatchingEffect as Gi, TransportCapabilities as Gl, CopilotChatToolCallGroupAppearance as Gn, RawEventSchema as Go, AudioInputContentSchema as Gr, RunFinishedOutcomeSchema as Gs, CopilotThreadsDrawerRowRenderer as Gt, onInspectorViewThread$1 as Gu, useInterrupt as H, InspectorActiveThreadPayload as Ha, SubscribeToAgentOptions as Hc, ɵisCopilotKitFeature as Hd, ActionRenderProps as Hf, DebugLoggerInput as Hi, ToolsCapabilities as Hl, CopilotChatToolCallsView as Hn, ProxiedCopilotRuntimeAgentConfig as Ho, Attributable as Hr, RunFinishedInterruptOutcome as Hs, CopilotChatAttachmentQueue as Ht, on as Hu, LearnFromUserActionResult as I, InputContentPart as Ia, SubagentInfoSchema as Ic, ɵThreadRuntimeContext as Id, CrewsToolStateItem as If, CustomEvent as Ii, ToolCallStartEventProps as Il, CopilotChatReasoningMessageProps as In, OutputCapabilitiesSchema as Io, AgentSubscriber as Ir, RunErrorEventSchema as Is, CopilotKitInspectorProps as It, isInterruptExpired as Iu, useCapabilities as J, IntelligenceAgentConfig as Ja, SystemMessage as Jc, ɵmemoryDomainEvents as Jd, CatchAllFrontendAction as Jf, DocumentInputContentSchema as Ji, UrlSource as Jl, ToolCallEntry as Jn, ReasoningEncryptedValueEvent as Jo, AudioPart as Jr, RunHandler as Js, UseThreadsResult as Jt, parseSSEStream as Ju, JsonSerializable as K, InspectorViewThreadResultPayload as Ka, SuggestionEngine as Kc, ɵmapMemoryMetadataEvent as Kd, CatchAllActionRenderProps as Kf, DispatchingEffectOptions as Ki, TransportCapabilitiesSchema as Kl, CopilotChatToolCallGroupProps as Kn, ReasoningCapabilities as Ko, AudioInputPart as Kr, RunFinishedSuccessOutcome as Ks, Thread as Kt, onInspectorViewThreadResult as Ku, UseLearnFromUserActionRecorder as L, InputContentSchema as La, SubagentRunId as Lc, ɵThreadSelectors as Ld, CopilotChatSuggestionConfiguration as Lf, CustomEventProps as Li, ToolCallStartEventSchema as Ll, CopilotChatUserMessage as Ln, PROTOCOL_VERSION as Lo, AgentSubscriberParams as Lr, RunFinishedCancelledOutcome as Ls, WildcardToolCallRender as Lt, isRecognizedEvent as Lu, LearnFromUserActionInCurrentThreadInput as M, ImagePartSchema as Ma, SubagentFinishedSuccessOutcomeSchema as Mc, ɵTHREAD_REQUEST_TIMEOUT_MS as Md, CrewsResponse as Mf, CopilotKitMessageFilter$1 as Mi, ToolCallResultEventProps as Ml, CopilotChatSuggestionViewProps as Mn, NonDispatchingEffectOptions as Mo, AgentConfig as Mr, RunAgentResult$1 as Ms, MCPAppsActivityType as Mt, getRunOutcome as Mu, UseLearnFromUserActionInCurrentThreadRecorder as N, InputContent as Na, SubagentFinishedSuspendedOutcome as Nc, ɵThread as Nd, CrewsResponseStatus as Nf, CopilotRuntimeTransport as Ni, ToolCallResultEventSchema as Nl, CopilotChatSuggestionPill as Nn, OpenThreadRegistration as No, AgentDebugConfig as Nr, RunCompletionAware as Ns, ɵMcpFollowUpHost as Nt, getWebMCPModelContext as Nu, useLearningContainers as O, ImageInputContentSchema as Oa, SubagentFinishedEventSchema as Oc, ɵPhoenixSocketOptions as Od, LangGraphInterruptRenderHandlerProps as Of, CopilotKitCoreSubscriber$1 as Oi, ToolCallEndEvent as Ol, IntelligenceIndicatorViewProps as On, MultimodalInputCapabilitiesSchema as Oo, AddOperation as Or, RoleSchema as Os, OpenGenerativeUIToolRenderer as Ot, empty as Ou, useLearnFromUserActionInCurrentThread as P, InputContentDataSource as Pa, SubagentFinishedSuspendedOutcomeSchema as Pc, ɵThreadEnvironment as Pd, CrewsStateItem as Pf, CopyOperation as Pi, ToolCallSchema as Pl, CopilotChatSuggestionPillProps as Pn, OptionalMetadataSchema as Po, AgentRegistry as Pr, RunErrorEvent as Ps, ɵrunMcpFollowUp as Pt, isAbortError as Pu, useDefaultRenderTool as Q, JsonPatchOperation as Qa, TextInputContent as Qc, ɵobservePhoenixJoinOutcome$ as Qd, DocumentPartSchema as Qi, VideoInputContent as Ql, CopilotChatConfigurationProvider as Qn, ReasoningEncryptedValueSubtypeSchema as Qo, BackwardCompatibility_0_0_57 as Qr, RuntimeLicenseStatus as Qs, CopilotSidebar as Qt, resolveAgentDebugConfig as Qu, useLearnFromUserAction as R, InputContentSource$1 as Ra, SubagentRunIdSchema as Rc, ɵThreadStore as Rd, SystemMessageFunction as Rf, CustomEventSchema as Ri, ToolCallStatus$1 as Rl, CopilotChatUserMessageProps as Rn, PartSource as Ro, AgentThreadLockedError as Rr, RunFinishedCancelledOutcomeSchema as Rs, Attachment$1 as Rt, isRunCompletionAware$1 as Ru, MemoryKind as S, HumanInTheLoopCapabilities as Sa, StoreLifecycleAction as Sc, ɵPhoenixChannelLike as Sd, useCopilotContext as Sf, CopilotKitCoreRegisterProxiedAgentResult as Si, ToolCallArgsEvent as Sl, INTELLIGENCE_TURN_HEAD as Sn, MoveOperationSchema as So, ActivityDeltaEventSchema as Sr, ReplaceOperation as Ss, GenerateSandboxedUiArgs as St, createStore as Su, UseLearningContainersInCurrentThreadArgs as T, IdentityCapabilities as Ta, SubagentErrorEventSchema as Tc, ɵPhoenixJoinOutcome as Td, LangGraphInterruptActionSetter as Tf, CopilotKitCoreRunToolResult as Ti, ToolCallChunkEvent as Tl, getIntelligenceTurnAnchors as Tn, MultimodalCapabilities as To, ActivitySnapshotEvent as Tr, ResumeEntrySchema as Ts, OpenGenerativeUIActivityType as Tt, emitInspectorStopViewing as Tu, useConfigureSuggestions as U, InspectorMetadataV1 as Ua, SubscribeToAgentSubscriber as Uc, ɵisHttpAgent$1 as Ud, ActionRenderPropsNoArgs as Uf, DeveloperMessage as Ui, ToolsCapabilitiesSchema as Ul, CopilotChatToolCallsViewProps as Un, RawEvent as Uo, AttributableSchema as Ur, RunFinishedInterruptOutcomeSchema as Us, CopilotThreadsDrawer as Ut, onInspectorActiveThread as Uu, UseInterruptConfig as V, InputContentUrlSourceSchema as Va, SubagentStartedEventSchema as Vc, ɵcreateThreadStore$1 as Vd, TreeNode as Vf, DebugLogger as Vi, ToolSchema as Vl, CopilotChatFeedbackMessage as Vn, ProxiedCopilotRuntimeAgent$1 as Vo, AssistantMessageSchema as Vr, RunFinishedEventSchema as Vs, CopilotChatAttachmentRenderer as Vt, omitOptionalNulls as Vu, useSuggestions as W, InspectorStopViewingPayload as Wa, Suggestion$1 as Wc, ɵisRetryableMemoryStatus as Wd, ActionRenderPropsNoArgsWait as Wf, DeveloperMessageSchema as Wi, TrajectoryStartOptions as Wl, CopilotChatToolCallGroup as Wn, RawEventProps as Wo, AudioInputContent as Wr, RunFinishedOutcome as Ws, CopilotThreadsDrawerProps as Wt, onInspectorStopViewing$1 as Wu, useAgent as X, InterruptSchema as Xa, TestOperation as Xc, ɵmemoryRestEvents as Xd, FrontendActionAvailability as Xf, DocumentInputPartSchema as Xi, UserMessage$1 as Xl, CopilotChatInputProps as Xn, ReasoningEncryptedValueEventSchema as Xo, BackwardCompatibility_0_0_39 as Xr, RunStartedEventProps as Xs, CopilotPopup as Xt, props as Xu, UseAgentUpdate as Y, IntelligenceRuntimeInfo as Ya, SystemMessageSchema as Yc, ɵmemoryReducer as Yd, FrontendAction as Yf, DocumentInputPart as Yi, UrlSourceSchema as Yl, CopilotChatInput as Yn, ReasoningEncryptedValueEventProps as Yo, AudioPartSchema as Yr, RunStartedEvent as Ys, useThreads as Yt, parseToolArguments as Yu, useHumanInTheLoop as Z, JsonPatch as Za, TestOperationSchema as Zc, ɵobservePhoenixEvent$ as Zd, RenderFunctionStatus as Zf, DocumentPart as Zi, UserMessageSchema as Zl, ToolsMenuItem as Zn, ReasoningEncryptedValueSubtype as Zo, BackwardCompatibility_0_0_45 as Zr, RunStartedEventSchema as Zs, CopilotPopupProps as Zt, randomUUID$2 as Zu, useCopilotKit as _, FunctionCallSchema as _a, StepFinishedEventSchema as _c, ɵMemoryMetadataEvent as _d, ɵwithHeaderDefaults$1 as _f, CopilotKitCoreErrorCode$1 as _i, ThreadRunActivityNotification as _l, MessageGroup as _n, Metadata as _o, ActionFromCreators as _r, ReasoningStartEventProps as _s, useRenderCustomMessages as _t, createDebugLogger as _u, A2UIMessageRendererOptions as a, EventSchemas as aa, StateCapabilitiesSchema as ac, transformChunks as ad, ɵselectIsFetchingNextPage$1 as af, CompatibilityBoundary as ai, TextMessageContentEventSchema as al, CopilotModalHeaderProps as an, LegacyLearningConfig as ao, CopilotChatAudioRecorder as ar, ReasoningMessageChunkEventSchema as as, INTERRUPT_EVENT_NAME as at, WebMCPRegistry as au, Memory$1 as b, HttpAgentConfig as ba, StepStartedEventSchema as bc, ɵMemoryStore as bd, CopilotContext as bf, CopilotKitCoreGetToolParams as bi, Tool as bl, messageGroup as bn, MiddlewareFunction as bo, ActivityDeltaEvent as br, RemoveOperation as bs, useRenderToolCall as bt, createReducer as bu, CopilotKitCoreReact as c, ExecutionCapabilities as ca, StateDeltaEventSchema as cc, withAuthoritativeActivityTypes as cd, ɵselectMemoriesAvailable$1 as cf, Context as ci, TextMessageEndEventSchema as cl, DefaultCloseIcon as cn, MemoryErrorCategory as co, AGUIError as cr, ReasoningMessageContentEventSchema as cs, InterruptEvent as ct, aggregateTokenUsage as cu, InspectorAnchor as d, FileSourceSchema as da, StateSnapshotEvent as dc, ɵInterruptDecision as dd, ɵselectMemoriesIsMutating as df, CopilotKitCore$1 as di, TextMessageStartEvent as dl, CopilotChatProps as dn, MemoryRealtimeStatus$1 as do, AGUIEventOf as dr, ReasoningMessageEndEventSchema as ds, InterruptResolveFn as dt, compactEvents as du, Effect as ea, ScopedContext as ec, runHttpRequest as ed, ɵobservePhoenixSocketSignals$ as ef, BaseEventFields as ei, TextMessageChunkEvent as el, CopilotPopupView as en, JsonPatchSchema as eo, CopilotChatConfigurationValue as er, ReasoningEndEventProps as es, useComponent as et, VideoInputPart as eu, SandboxFunctionsContext as f, FilterToolCallsMiddleware as fa, StateSnapshotEventProps as fc, ɵInterruptEvent as fd, ɵselectMemoriesRealtimeStatus$1 as ff, CopilotKitCoreAddAgentParams as fi, TextMessageStartEventProps as fl, CopilotChatView as fn, Message$3 as fo, AGUI_METADATA_KEY as fr, ReasoningMessageSchema as fs, ResumeEntry as ft, completePartialMarkdown as fu, CopilotKitProviderProps as g, FunctionCall as ga, StepFinishedEventProps as gc, ɵMemoryEnvironment as gd, ɵthreadAdapterEvents as gf, CopilotKitCoreContinuationHandoff as gi, ThreadEndpointRuntimeInfo as gl, CopilotChatMessageViewProps as gn, MessagesSnapshotEventSchema as go, ActionFromCreator as gr, ReasoningStartEvent as gs, ReactActivityMessageRenderer as gt, createActionGroup as gu, CopilotKitProvider as h, FrontendToolReconnectBehavior as ha, StepFinishedEvent as hc, ɵMAX_SOCKET_RETRIES as hd, ɵselectThreadsIsLoading$1 as hf, CopilotKitCoreConnectAgentParams as hi, TextPartSchema as hl, CopilotChatMessageView as hn, MessagesSnapshotEventProps as ho, ActionCreator as hr, ReasoningMessageStartEventSchema as hs, ReactFrontendTool as ht, convertToLegacyEvents as hu, A2UIActionInterceptor as i, EventSchema as ia, StateCapabilities as ic, tokenUsageFromLangChainMetadata as id, ɵselectHasNextPage$1 as if, BaseMessageSchema as ii, TextMessageContentEventProps as il, CopilotModalHeader as in, LearningConfig$1 as io, AudioRecorderState as ir, ReasoningMessageChunkEventProps as is, SandboxFunction as it, WebMCPModelContext as iu, useAttachments as j, ImagePart as ja, SubagentFinishedSuccessOutcome as jc, ɵRUNTIME_PROBE_TIMEOUT_MS as jd, CrewsAgentState as jf, CopilotKitHeadersSource$1 as ji, ToolCallResultEvent as jl, CopilotChatSuggestionView as jn, NonDispatchingEffect as jo, AgentCapabilitiesSchema as jr, RunAgentParameters as js, MCPAppsActivityRenderer as jt, ensureObjectArgs as ju, UseAttachmentsProps as k, ImageInputPart as ka, SubagentFinishedOutcome as kc, ɵPhoenixSocketSession as kd, LangGraphInterruptRenderProps as kf, CopilotKitCoreSubscription$1 as ki, ToolCallEndEventProps as kl, CopilotChatWorkSummary as kn, MultimodalOutputCapabilities as ko, AddOperationSchema as kr, RunAgentInput as ks, MCPAppsActivityContent$1 as kt, enforceEvents as ku, CopilotKitCoreReactConfig as l, ExecutionCapabilitiesSchema as la, StateManager as lc, ɵCOPILOTKIT_FEATURES as ld, ɵselectMemoriesError$1 as lf, ContextSchema as li, TextMessageRole as ll, DefaultOpenIcon as ln, MemoryErrorCode as lo, AGUIEvent as lr, ReasoningMessageEndEvent as ls, InterruptHandlerProps as lt, authoritativeActivityTypes as lu, CopilotKitContextValue as m, FrontendToolHandlerContext as ma, StaticSuggestionsConfig$1 as mc, ɵInterruptToolResult as md, ɵselectThreadsError$1 as mf, CopilotKitCoreConfig$1 as mi, TextPart as ml, AutoScrollMode as mn, MessagesSnapshotEvent as mo, ActionConfig as mr, ReasoningMessageStartEventProps as ms, ReactHumanInTheLoop as mt, contentToText$1 as mu, defaultCopilotContextCategories as n, Event as na, StartResult as nc, structuredClone_ as nd, ɵphoenixSocket$ as nf, BaseEventSchema as ni, TextMessageChunkEventSchema as nl, CopilotSidebarView as nn, JsonPointerSchema as no, useCopilotChatConfiguration as nr, ReasoningMessage$1 as ns, useFrontendTool as nt, VideoPart as nu, A2UIUserAction as o, EventType as oa, StateDeltaEvent as oc, transformHttpEventStream as od, ɵselectIsMutating$1 as of, ContentPart as oi, TextMessageEndEvent as ol, CopilotChatToggleButton as on, MEMORY_ERROR_REGISTRY as oo, ACTIVITY_HISTORY_METADATA as or, ReasoningMessageContentEvent as os, Interrupt as ot, WebMCPToolAnnotations as ou, useSandboxFunctions as p, FrontendTool$1 as pa, StateSnapshotEventSchema as pc, ɵInterruptState$1 as pd, ɵselectThreads$1 as pf, CopilotKitCoreCatalogComponent as pi, TextMessageStartEventSchema as pl, CopilotChatViewProps as pn, MessageSchema as po, AbstractAgent$1 as pr, ReasoningMessageStartEvent as ps, defineToolCallRenderer as pt, contentHasMedia as pu, useAgentContext as q, IntelligenceAgent as qa, SuggestionsConfig as qc, ɵmemoryAdapterEvents as qd, CatchAllActionRenderPropsWait as qf, DocumentInputContent as qi, UnrecognizedEvent as ql, CopilotChatToolCallDisplay as qn, ReasoningCapabilitiesSchema as qo, AudioInputPartSchema as qr, RunFinishedSuccessOutcomeSchema as qs, UseThreadsInput as qt, parseProtoStream as qu, CopilotKitProps as r, EventPayloadOf as ra, State as rc, tokenUsageFromAiSdkUsage as rd, ɵselectFetchMoreError$1 as rf, BaseMessage as ri, TextMessageContentEvent as rl, CopilotSidebarViewProps as rn, JsonValue as ro, AudioRecorderError as rr, ReasoningMessageChunkEvent as rs, useRenderActivityMessage as rt, VideoPartSchema as ru, createA2UIMessageRenderer as s, EventTypeSchema as sa, StateDeltaEventProps as sc, verifyEvents as sd, ɵselectMemories$1 as sf, ContentPartSchema as si, TextMessageEndEventProps as sl, CopilotChatToggleButtonProps as sn, MemoryError as so, AGUIConnectNotImplementedError$1 as sr, ReasoningMessageContentEventProps as ss, InterruptCancelFn as st, WebMCPToolConfig$1 as su, CopilotKit as t, EmptyActionConfig as ta, Selector as tc, select as td, ɵphoenixChannel$ as tf, BaseEventProps as ti, TextMessageChunkEventProps as tl, CopilotPopupViewProps as tn, JsonPointer as to, CopilotChatLabels as tr, ReasoningEndEventSchema as ts, useFrontendTools as tt, VideoInputPartSchema as tu, CopilotKitCoreReactSubscriber as u, FileSource as ua, StateSchema as uc, ɵCopilotKitFeature as ud, ɵselectMemoriesIsLoading$1 as uf, ContextStore as ui, TextMessageRoleSchema as ul, CopilotChat as un, MemoryErrorRegistryEntry as uo, AGUIEventByType as ur, ReasoningMessageEndEventProps as us, InterruptRenderProps as ut, buildResumeArray as uu, useLicenseContext as v, FunctionMiddleware as va, StepStartedEvent as vc, ɵMemoryRuntimeContext as vd, CoagentInChatRenderFunction as vf, CopilotKitCoreFriendsAccess as vi, TokenUsage as vl, MessageGroupWrapperProps as vn, MetadataSchema as vo, ActionGroupConfig as vr, ReasoningStartEventSchema as vs, ReactCustomMessageRenderer as vt, createEffect as vu, NewMemory$1 as w, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID as wa, SubagentErrorEventProps as wc, ɵPhoenixChannelSession as wd, LangGraphInterruptAction as wf, CopilotKitCoreRunToolParams as wi, ToolCallArgsEventSchema as wl, IntelligenceIndicatorProps as wn, MultiAgentCapabilitiesSchema as wo, ActivityMessageSchema as wr, ResolvedAgentDebugConfig as ws, OpenGenerativeUIActivityRenderer as wt, emitInspectorActiveThread$1 as wu, MemoryChanges$1 as x, HttpAgentFetchFn as xa, Store as xc, ɵPendingInterrupt as xd, CopilotContextParams as xf, CopilotKitCoreRegisterProxiedAgentParams as xi, ToolCall$1 as xl, messageRow as xn, MoveOperation as xo, ActivityDeltaEventProps as xr, RemoveOperationSchema as xs, ReactToolCallRenderer as xt, createSelector as xu, A2UIRecoveryRendererOptions as y, HttpAgent as ya, StepStartedEventProps as yc, ɵMemoryState as yd, CopilotApiConfig as yf, CopilotKitCoreGetSuggestionsResult as yi, TokenUsageSchema as yl, MessageRow as yn, Middleware as yo, ActionGroupResult as yr, Reducer as ys, ReactCustomMessageRendererPosition as yt, createInspectorThreadRequestId as yu, UseMemoriesResult as z, InputContentSourceSchema as za, SubagentStartedEvent as zc, ɵcreateMemoryStore as zd, DocumentPointer as zf, DataSource as zi, ToolMessage$1 as zl, CopilotChatAssistantMessage as zn, PartSourceSchema as zo, AnyAction as zr, RunFinishedEvent as zs, AttachmentModality as zt, mergeMetadata as zu };
4078
+ //# sourceMappingURL=copilotkit-CWOSXhRO.d.mts.map