@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.
- package/dist/{copilotkit-DcENKLnJ.mjs → copilotkit-BNLtgOyD.mjs} +1783 -238
- package/dist/copilotkit-BNLtgOyD.mjs.map +1 -0
- package/dist/{copilotkit-kcYN96tM.d.mts → copilotkit-CWOSXhRO.d.mts} +278 -41
- package/dist/copilotkit-CWOSXhRO.d.mts.map +1 -0
- package/dist/{copilotkit-ConxFSB2.cjs → copilotkit-DKICi3nC.cjs} +1764 -206
- package/dist/copilotkit-DKICi3nC.cjs.map +1 -0
- package/dist/{copilotkit-BA0vyDds.d.cts → copilotkit-Dfw9HzO9.d.cts} +278 -41
- package/dist/copilotkit-Dfw9HzO9.d.cts.map +1 -0
- package/dist/index.cjs +15 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +15 -3
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +48 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/context.d.cts +7 -0
- package/dist/v2/context.d.cts.map +1 -1
- package/dist/v2/context.d.mts +7 -0
- package/dist/v2/context.d.mts.map +1 -1
- package/dist/v2/headless.cjs +23 -6
- package/dist/v2/headless.cjs.map +1 -1
- package/dist/v2/headless.d.cts +20 -2
- package/dist/v2/headless.d.cts.map +1 -1
- package/dist/v2/headless.d.mts +20 -2
- package/dist/v2/headless.d.mts.map +1 -1
- package/dist/v2/headless.mjs +23 -6
- package/dist/v2/headless.mjs.map +1 -1
- package/dist/v2/index.cjs +3 -7
- package/dist/v2/index.css +1 -1
- package/dist/v2/index.d.cts +2 -2
- package/dist/v2/index.d.mts +2 -2
- package/dist/v2/index.mjs +2 -2
- package/dist/v2/index.umd.js +1756 -215
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +14 -11
- package/dist/copilotkit-BA0vyDds.d.cts.map +0 -1
- package/dist/copilotkit-ConxFSB2.cjs.map +0 -1
- package/dist/copilotkit-DcENKLnJ.mjs.map +0 -1
- package/dist/copilotkit-kcYN96tM.d.mts.map +0 -1
|
@@ -3,7 +3,7 @@ import { Agent, ExtensionsInput, ForwardedParametersInput, LangGraphInterruptEve
|
|
|
3
3
|
import * as react from "react";
|
|
4
4
|
import React$1, { ComponentType, ReactNode } from "react";
|
|
5
5
|
import { Action, Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1, CopilotCloudConfig, CopilotErrorHandler, CopilotKitError, DebugConfig, FunctionCallHandler, InferSchemaOutput, InputContentSource, LicenseContextValue, MappedParameterTypes, Parameter, StandardSchemaV1 } from "@copilotkit/shared";
|
|
6
|
-
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, 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,
|
|
6
|
+
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, 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, 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, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, ensureObjectArgs, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isRunCompletionAware, ofType, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseToolArguments, props, select, ɵCOPILOTKIT_FEATURES, ɵCopilotKitFeature, ɵInterruptDecision, ɵInterruptEvent, ɵInterruptState, ɵ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, ɵisCopilotKitFeature, ɵisHttpAgent, ɵisRetryableMemoryStatus, ɵjoinPhoenixChannel$, ɵmapMemoryMetadataEvent, ɵmemoryAdapterEvents, ɵmemoryDomainEvents, ɵmemoryReducer, ɵmemoryRestEvents, ɵobservePhoenixEvent$, ɵobservePhoenixJoinOutcome$, ɵobservePhoenixSocketHealth$, ɵobservePhoenixSocketSignals$, ɵphoenixChannel$, ɵphoenixSocket$, ɵselectFetchMoreError, ɵselectHasNextPage, ɵselectIsFetchingNextPage, ɵselectIsMutating, ɵselectMemories, ɵselectMemoriesAvailable, ɵselectMemoriesError, ɵselectMemoriesIsLoading, ɵselectMemoriesIsMutating, ɵselectMemoriesRealtimeStatus, ɵselectThreads, ɵselectThreadsError, ɵselectThreadsIsLoading, ɵthreadAdapterEvents, ɵwithHeaderDefaults } from "@copilotkit/core";
|
|
7
7
|
import { ACTIVITY_HISTORY_METADATA, AGUIConnectNotImplementedError, 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, 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, convertToLegacyEvents, createDebugLogger, defaultApplyEvents, enforceEvents, enforceOutgoingInput, getRunOutcome, isInterruptExpired, isRecognizedEvent, mergeMetadata, omitOptionalNulls, parseProtoStream, parseSSEStream, randomUUID, resolveAgentDebugConfig, resolveDebugLogger, runHttpRequest, structuredClone_, tokenUsageFromAiSdkUsage, tokenUsageFromLangChainMetadata, transformChunks, transformHttpEventStream, verifyEvents, withAuthoritativeActivityTypes } from "@ag-ui/client";
|
|
8
8
|
import { ActivityDeltaEventSchema, ActivityMessageSchema, ActivitySnapshotEventSchema, AddOperationSchema, AgentCapabilitiesSchema, AssistantMessageSchema, AttributableSchema, AudioInputContentSchema, AudioInputPartSchema, AudioPartSchema, BaseEventSchema, BaseMessageSchema, ContentPartSchema, ContextSchema, CopyOperationSchema, CustomEventSchema, DataSourceSchema, DeveloperMessageSchema, DocumentInputContentSchema, DocumentInputPartSchema, DocumentPartSchema, EventSchema, EventSchemas, EventTypeSchema, ExecutionCapabilitiesSchema, FileSourceSchema, FunctionCallSchema, HumanInTheLoopCapabilitiesSchema, IdentityCapabilitiesSchema, ImageInputContentSchema, ImageInputPartSchema, ImagePartSchema, InputContentDataSourceSchema, InputContentSchema, InputContentSourceSchema, InputContentUrlSourceSchema, InterruptSchema, JsonPatchOperationSchema, JsonPatchSchema, JsonPointerSchema, MessageSchema, MessagesSnapshotEventSchema, MetadataSchema, MoveOperationSchema, MultiAgentCapabilitiesSchema, MultimodalCapabilitiesSchema, MultimodalInputCapabilitiesSchema, MultimodalOutputCapabilitiesSchema, OptionalMetadataSchema, OutputCapabilitiesSchema, PartSourceSchema, RawEventSchema, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEventSchema, ReasoningMessageChunkEventSchema, ReasoningMessageContentEventSchema, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEventSchema, ReasoningStartEventSchema, RemoveOperationSchema, ReplaceOperationSchema, ResumeEntrySchema, RoleSchema, RunAgentInputSchema, RunErrorEventSchema, RunFinishedCancelledOutcomeSchema, RunFinishedEventSchema, RunFinishedInterruptOutcomeSchema, RunFinishedOutcomeSchema, RunFinishedSuccessOutcomeSchema, RunStartedEventSchema, StateCapabilitiesSchema, StateDeltaEventSchema, StateSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, SubagentErrorEventSchema, SubagentFinishedEventSchema, SubagentFinishedOutcomeSchema, SubagentFinishedSuccessOutcomeSchema, SubagentFinishedSuspendedOutcomeSchema, SubagentInfoSchema, SubagentRunIdSchema, SubagentStartedEventSchema, SystemMessageSchema, TestOperationSchema, TextInputContentSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageRoleSchema, TextMessageStartEventSchema, TextPartSchema, TokenUsageSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEventSchema, ToolMessageSchema, ToolSchema, ToolsCapabilitiesSchema, TransportCapabilitiesSchema, UrlSourceSchema, UserMessageSchema, VideoInputContentSchema, VideoInputPartSchema, VideoPartSchema } from "@ag-ui/core/schemas";
|
|
9
9
|
import { ActivityMessage, AgentCapabilities, AssistantMessage, Message as Message$2, ReasoningMessage, ToolCall, ToolMessage, UserMessage } from "@ag-ui/core";
|
|
@@ -554,6 +554,8 @@ declare const CopilotChatDefaultLabels: {
|
|
|
554
554
|
chatInputToolbarFinishTranscribeButtonLabel: string;
|
|
555
555
|
chatInputToolbarAddButtonLabel: string;
|
|
556
556
|
chatInputToolbarToolsButtonLabel: string;
|
|
557
|
+
chatInputToolbarSendButtonLabel: string;
|
|
558
|
+
chatInputToolbarStopButtonLabel: string;
|
|
557
559
|
assistantMessageToolbarCopyCodeLabel: string;
|
|
558
560
|
assistantMessageToolbarCopyCodeCopiedLabel: string;
|
|
559
561
|
assistantMessageToolbarCopyMessageLabel: string;
|
|
@@ -566,13 +568,18 @@ declare const CopilotChatDefaultLabels: {
|
|
|
566
568
|
assistantMessageToolbarInspectorHideDescription: string;
|
|
567
569
|
assistantMessageToolbarThumbsUpLabel: string;
|
|
568
570
|
assistantMessageToolbarThumbsDownLabel: string;
|
|
571
|
+
assistantMessageFeedbackCommentPlaceholder: string;
|
|
572
|
+
assistantMessageFeedbackCommentSubmitLabel: string;
|
|
569
573
|
assistantMessageToolbarReadAloudLabel: string;
|
|
570
574
|
assistantMessageToolbarRegenerateLabel: string;
|
|
571
575
|
userMessageToolbarCopyMessageLabel: string;
|
|
572
576
|
userMessageToolbarEditMessageLabel: string;
|
|
577
|
+
userMessageToolbarPreviousBranchLabel: string;
|
|
578
|
+
userMessageToolbarNextBranchLabel: string;
|
|
573
579
|
chatDisclaimerText: string;
|
|
574
580
|
chatToggleOpenLabel: string;
|
|
575
581
|
chatToggleCloseLabel: string;
|
|
582
|
+
chatScrollToBottomLabel: string;
|
|
576
583
|
modalHeaderTitle: string;
|
|
577
584
|
welcomeMessageText: string;
|
|
578
585
|
};
|
|
@@ -732,6 +739,11 @@ type CopilotChatInputChildrenArgs = CopilotChatInputBaseProps extends {
|
|
|
732
739
|
type CopilotChatInputProps = Omit<CopilotChatInputBaseProps, "children"> & {
|
|
733
740
|
children?: (props: CopilotChatInputChildrenArgs) => React$1.ReactNode;
|
|
734
741
|
};
|
|
742
|
+
/**
|
|
743
|
+
* The chat composer: a text area with the add-menu, voice and send/stop
|
|
744
|
+
* buttons, and a slash-command menu that lists `toolsMenu` items once the text
|
|
745
|
+
* starts with "/".
|
|
746
|
+
*/
|
|
735
747
|
declare function CopilotChatInput({
|
|
736
748
|
mode,
|
|
737
749
|
onSubmitMessage,
|
|
@@ -764,7 +776,17 @@ declare function CopilotChatInput({
|
|
|
764
776
|
...props
|
|
765
777
|
}: CopilotChatInputProps): react_jsx_runtime0.JSX.Element;
|
|
766
778
|
declare namespace CopilotChatInput {
|
|
779
|
+
/**
|
|
780
|
+
* The icon-only send button. Its accessible name is
|
|
781
|
+
* `labels.chatInputToolbarSendButtonLabel` unless an `aria-label` is passed;
|
|
782
|
+
* the input passes `labels.chatInputToolbarStopButtonLabel` while the button
|
|
783
|
+
* stops a run.
|
|
784
|
+
*/
|
|
767
785
|
const SendButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
786
|
+
/**
|
|
787
|
+
* An icon-only toolbar button. `labels[labelKey]` is both its accessible
|
|
788
|
+
* name and its tooltip text.
|
|
789
|
+
*/
|
|
768
790
|
const ToolbarButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
769
791
|
icon: React$1.ReactNode;
|
|
770
792
|
labelKey: keyof CopilotChatLabels;
|
|
@@ -773,6 +795,10 @@ declare namespace CopilotChatInput {
|
|
|
773
795
|
const StartTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
774
796
|
const CancelTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
775
797
|
const FinishTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
798
|
+
/**
|
|
799
|
+
* The "+" button that opens the attachment and tools menu. Its accessible
|
|
800
|
+
* name and tooltip come from `labels.chatInputToolbarAddButtonLabel`.
|
|
801
|
+
*/
|
|
776
802
|
const AddMenuButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
777
803
|
toolsMenu?: (ToolsMenuItem | "-")[];
|
|
778
804
|
onAddFile?: () => void;
|
|
@@ -783,14 +809,86 @@ declare namespace CopilotChatInput {
|
|
|
783
809
|
const Disclaimer: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
784
810
|
}
|
|
785
811
|
//#endregion
|
|
812
|
+
//#region src/v2/components/chat/tool-call-layout.d.ts
|
|
813
|
+
/**
|
|
814
|
+
* How the chat shows tool calls.
|
|
815
|
+
*
|
|
816
|
+
* - `"grouped"` (default): calls made in a row share one card, collapsed to a
|
|
817
|
+
* summary ("Used 3 tools") that opens to a row per call.
|
|
818
|
+
* - `"line"`: the same grouping as a quiet line of text, like the reasoning
|
|
819
|
+
* message's "Thought for 4 seconds".
|
|
820
|
+
* - `"stacked"`: the latest call on top of a stack of the earlier ones; click
|
|
821
|
+
* to fan the stack out into its cards.
|
|
822
|
+
* - `"turn"`: the agent works in the open (narration, then a row per call),
|
|
823
|
+
* and when the reply is done everything before it folds into "Worked for 9s".
|
|
824
|
+
* - `"separate"`: every call gets its own card, as before grouping existed.
|
|
825
|
+
*
|
|
826
|
+
* Only calls drawn by a renderer that opts into grouping (`group: true`) are
|
|
827
|
+
* grouped; CopilotKit's built-in card from `useDefaultRenderTool()` does. Any
|
|
828
|
+
* other call always shows on its own and splits the group around it.
|
|
829
|
+
*/
|
|
830
|
+
type CopilotChatToolCallDisplay = "grouped" | "line" | "stacked" | "turn" | "separate";
|
|
831
|
+
/** One tool call and, once it has finished, the message carrying its result. */
|
|
832
|
+
interface ToolCallEntry {
|
|
833
|
+
toolCall: ToolCall;
|
|
834
|
+
toolMessage?: ToolMessage;
|
|
835
|
+
}
|
|
836
|
+
//#endregion
|
|
837
|
+
//#region src/v2/components/chat/CopilotChatToolCallGroup.d.ts
|
|
838
|
+
type CopilotChatToolCallGroupAppearance = "card" | "line" | "stack";
|
|
839
|
+
interface CopilotChatToolCallGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
840
|
+
/** The calls in the group, in order. */
|
|
841
|
+
calls: ToolCallEntry[];
|
|
842
|
+
/** Renders one call through the registered renderers. */
|
|
843
|
+
renderCall: (call: ToolCallEntry) => React$1.ReactNode;
|
|
844
|
+
/**
|
|
845
|
+
* - `"card"` (default): one card with a summary header and a row per call.
|
|
846
|
+
* - `"line"`: a quiet line of text that opens to a list of rows.
|
|
847
|
+
* - `"stack"`: the latest call on a stack of the earlier ones.
|
|
848
|
+
*/
|
|
849
|
+
appearance?: CopilotChatToolCallGroupAppearance;
|
|
850
|
+
/** The agent is running and nothing follows the group, so more calls may join it. */
|
|
851
|
+
isActive?: boolean;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Tool calls made in a row, collapsed into one summary. While a call runs the
|
|
855
|
+
* summary names it ("Running read_file src/app.ts"); once they're all done it
|
|
856
|
+
* reads "Used 3 tools" and opens to the calls.
|
|
857
|
+
*
|
|
858
|
+
* Each call is drawn by its registered renderer. CopilotKit's built-in card
|
|
859
|
+
* (`useDefaultRenderTool`) draws a compact row inside the card and line
|
|
860
|
+
* appearances; a custom wildcard renderer draws whatever it draws.
|
|
861
|
+
*/
|
|
862
|
+
declare function CopilotChatToolCallGroup({
|
|
863
|
+
calls,
|
|
864
|
+
renderCall,
|
|
865
|
+
appearance,
|
|
866
|
+
isActive,
|
|
867
|
+
className,
|
|
868
|
+
...props
|
|
869
|
+
}: CopilotChatToolCallGroupProps): react_jsx_runtime0.JSX.Element | null;
|
|
870
|
+
//#endregion
|
|
786
871
|
//#region src/v2/components/chat/CopilotChatToolCallsView.d.ts
|
|
787
872
|
type CopilotChatToolCallsViewProps = {
|
|
788
873
|
message: AssistantMessage;
|
|
789
874
|
messages?: Message$2[];
|
|
875
|
+
/**
|
|
876
|
+
* How to show the calls (see `CopilotChatToolCallDisplay`). Inside a message
|
|
877
|
+
* view it follows the view's `toolCallDisplay`; on its own it defaults to
|
|
878
|
+
* `"grouped"`.
|
|
879
|
+
*/
|
|
880
|
+
display?: CopilotChatToolCallDisplay;
|
|
881
|
+
/**
|
|
882
|
+
* Draws a group of calls made in a row: a component, a class name for the
|
|
883
|
+
* default group, or props for it (e.g. `{ appearance: "line" }`).
|
|
884
|
+
*/
|
|
885
|
+
group?: SlotValue<typeof CopilotChatToolCallGroup>;
|
|
790
886
|
};
|
|
791
887
|
declare function CopilotChatToolCallsView({
|
|
792
888
|
message,
|
|
793
|
-
messages
|
|
889
|
+
messages,
|
|
890
|
+
display: displayProp,
|
|
891
|
+
group
|
|
794
892
|
}: CopilotChatToolCallsViewProps): react_jsx_runtime0.JSX.Element | null;
|
|
795
893
|
//#endregion
|
|
796
894
|
//#region src/v2/components/chat/CopilotChatAssistantMessage.d.ts
|
|
@@ -824,6 +922,12 @@ type CopilotChatAssistantMessageProps = WithSlots<{
|
|
|
824
922
|
isLatest?: boolean;
|
|
825
923
|
additionalToolbarItems?: React.ReactNode;
|
|
826
924
|
toolbarVisible?: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* The comment field of a reply rating, inside the popover next to the
|
|
927
|
+
* chosen thumb. Shown only while Automatic Learning records ratings; it
|
|
928
|
+
* renders after `children`, so a `children` layout does not place it.
|
|
929
|
+
*/
|
|
930
|
+
feedbackComment?: SlotValue<typeof CopilotChatAssistantMessage.FeedbackComment>;
|
|
827
931
|
} & React.HTMLAttributes<HTMLDivElement>>;
|
|
828
932
|
declare function CopilotChatAssistantMessage({
|
|
829
933
|
message,
|
|
@@ -844,6 +948,7 @@ declare function CopilotChatAssistantMessage({
|
|
|
844
948
|
thumbsDownButton,
|
|
845
949
|
readAloudButton,
|
|
846
950
|
regenerateButton,
|
|
951
|
+
feedbackComment: feedbackCommentSlot,
|
|
847
952
|
toolCallsView,
|
|
848
953
|
children,
|
|
849
954
|
className,
|
|
@@ -864,6 +969,27 @@ declare namespace CopilotChatAssistantMessage {
|
|
|
864
969
|
const InspectorButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
865
970
|
const ThumbsUpButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
866
971
|
const ThumbsDownButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
972
|
+
/**
|
|
973
|
+
* The comment field of a rating, shown in a popover next to the chosen
|
|
974
|
+
* thumb. Enter saves; Send appears once the text differs from the saved
|
|
975
|
+
* comment. The popover marks itself `data-copilotkit-ignore`, so Learning
|
|
976
|
+
* records the saved comment but not the typing; outside it, mark the
|
|
977
|
+
* field yourself.
|
|
978
|
+
*/
|
|
979
|
+
const FeedbackComment: React.FC<{
|
|
980
|
+
value: string; /** The comment already saved. */
|
|
981
|
+
savedComment: string;
|
|
982
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
983
|
+
onChange: (value: string) => void;
|
|
984
|
+
onSubmit: () => void;
|
|
985
|
+
onEditingChange?: (editing: boolean) => void;
|
|
986
|
+
/**
|
|
987
|
+
* Focus left the form for `next`, or for no focusable element when null.
|
|
988
|
+
* Not called when the window loses focus.
|
|
989
|
+
*/
|
|
990
|
+
onLeave?: (next: Element | null) => void;
|
|
991
|
+
className?: string;
|
|
992
|
+
}>;
|
|
867
993
|
const ReadAloudButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
868
994
|
const RegenerateButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
869
995
|
}
|
|
@@ -922,6 +1048,13 @@ declare namespace CopilotChatUserMessage {
|
|
|
922
1048
|
copied?: boolean;
|
|
923
1049
|
}>;
|
|
924
1050
|
const EditButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Previous/next buttons and an "n/m" counter for switching between branches
|
|
1053
|
+
* of a user message. Renders only with more than one branch and an
|
|
1054
|
+
* `onSwitchToBranch` handler. The buttons are named by
|
|
1055
|
+
* `labels.userMessageToolbarPreviousBranchLabel` and
|
|
1056
|
+
* `labels.userMessageToolbarNextBranchLabel`.
|
|
1057
|
+
*/
|
|
925
1058
|
const BranchNavigation: React.FC<React.HTMLAttributes<HTMLDivElement> & {
|
|
926
1059
|
currentBranch?: number;
|
|
927
1060
|
numberOfBranches?: number;
|
|
@@ -1012,6 +1145,38 @@ declare const CopilotChatSuggestionView: React$1.ForwardRefExoticComponent<{
|
|
|
1012
1145
|
loadingIndexes?: ReadonlyArray<number>;
|
|
1013
1146
|
} & React$1.HTMLAttributes<HTMLDivElement>, "children"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1014
1147
|
//#endregion
|
|
1148
|
+
//#region src/v2/components/chat/CopilotChatWorkSummary.d.ts
|
|
1149
|
+
interface CopilotChatWorkSummaryProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1150
|
+
/** The agent is still working on this reply. */
|
|
1151
|
+
isWorking: boolean;
|
|
1152
|
+
/** Whether the work (narration and tool calls) is showing. */
|
|
1153
|
+
isOpen: boolean;
|
|
1154
|
+
/** The tool calls the reply made. */
|
|
1155
|
+
calls: ToolCallEntry[];
|
|
1156
|
+
/**
|
|
1157
|
+
* How long the agent has worked on the reply, in ms, summed over its runs
|
|
1158
|
+
* so time spent waiting between them doesn't count. Only known for replies
|
|
1159
|
+
* this client watched start; without it the summary shows the tool count.
|
|
1160
|
+
*/
|
|
1161
|
+
elapsedMs?: number;
|
|
1162
|
+
/** When the current run started (epoch ms), while the agent is working. */
|
|
1163
|
+
workingSince?: number;
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* The line at the top of a reply in the `"turn"` tool-call display. While the
|
|
1167
|
+
* agent works it reads "Working 4s"; once the reply is done it reads "Worked
|
|
1168
|
+
* for 9s · 7 tools" and toggles the work it folded away.
|
|
1169
|
+
*/
|
|
1170
|
+
declare function CopilotChatWorkSummary({
|
|
1171
|
+
isWorking,
|
|
1172
|
+
isOpen,
|
|
1173
|
+
calls,
|
|
1174
|
+
elapsedMs,
|
|
1175
|
+
workingSince,
|
|
1176
|
+
className,
|
|
1177
|
+
...props
|
|
1178
|
+
}: CopilotChatWorkSummaryProps): react_jsx_runtime0.JSX.Element;
|
|
1179
|
+
//#endregion
|
|
1015
1180
|
//#region src/v2/components/intelligence-indicator/IntelligenceIndicatorView.d.ts
|
|
1016
1181
|
/** Lifecycle state the brain hands the face. */
|
|
1017
1182
|
type IntelligenceIndicatorStatus = "in-progress" | "finished";
|
|
@@ -1211,7 +1376,8 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
|
|
|
1211
1376
|
userMessage: typeof CopilotChatUserMessage;
|
|
1212
1377
|
reasoningMessage: typeof CopilotChatReasoningMessage;
|
|
1213
1378
|
cursor: typeof CopilotChatMessageView.Cursor;
|
|
1214
|
-
intelligenceIndicator: typeof IntelligenceIndicatorView;
|
|
1379
|
+
intelligenceIndicator: typeof IntelligenceIndicatorView; /** The "Working… / Worked for 9s" line of the `"turn"` tool-call display. */
|
|
1380
|
+
workSummary: typeof CopilotChatWorkSummary;
|
|
1215
1381
|
}, {
|
|
1216
1382
|
isRunning?: boolean;
|
|
1217
1383
|
messages?: Message$2[];
|
|
@@ -1241,6 +1407,20 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
|
|
|
1241
1407
|
* Memoized on its input and this function — pass a stable function.
|
|
1242
1408
|
*/
|
|
1243
1409
|
groupMessages?: (messages: Message$2[]) => MessageRow[];
|
|
1410
|
+
/**
|
|
1411
|
+
* Whether reply thumbs record ratings for Automatic Learning once a
|
|
1412
|
+
* Trajectory has started. Defaults to `true`; set `false` to keep the
|
|
1413
|
+
* thumbs to your own `onThumbsUp` / `onThumbsDown` handlers and slots.
|
|
1414
|
+
*/
|
|
1415
|
+
messageFeedback?: boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* How tool calls show. Defaults to `"grouped"`: calls made in a row
|
|
1418
|
+
* share one card that opens to a row per call. `"line"` and `"stacked"`
|
|
1419
|
+
* group them too; `"turn"` folds a reply's whole working phase into
|
|
1420
|
+
* "Worked for 9s" once it's done; `"separate"` gives every call its own
|
|
1421
|
+
* card. Calls with a renderer of their own always show on their own.
|
|
1422
|
+
*/
|
|
1423
|
+
toolCallDisplay?: CopilotChatToolCallDisplay;
|
|
1244
1424
|
} & React$1.HTMLAttributes<HTMLDivElement>>, "children"> & {
|
|
1245
1425
|
children?: (props: {
|
|
1246
1426
|
isRunning: boolean;
|
|
@@ -1256,9 +1436,12 @@ declare function CopilotChatMessageView({
|
|
|
1256
1436
|
reasoningMessage,
|
|
1257
1437
|
cursor,
|
|
1258
1438
|
intelligenceIndicator,
|
|
1439
|
+
workSummary,
|
|
1259
1440
|
isRunning,
|
|
1260
1441
|
transformMessages,
|
|
1261
1442
|
groupMessages,
|
|
1443
|
+
messageFeedback,
|
|
1444
|
+
toolCallDisplay,
|
|
1262
1445
|
children,
|
|
1263
1446
|
className,
|
|
1264
1447
|
...props
|
|
@@ -1377,11 +1560,16 @@ declare function CopilotChatView({
|
|
|
1377
1560
|
declare namespace CopilotChatView {
|
|
1378
1561
|
const ScrollView: React$1.FC<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1379
1562
|
autoScroll?: AutoScrollMode | boolean;
|
|
1563
|
+
scrollThreadId?: string;
|
|
1380
1564
|
scrollToBottomButton?: SlotValue<React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>>;
|
|
1381
1565
|
feather?: SlotValue<React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>>;
|
|
1382
1566
|
inputContainerHeight?: number;
|
|
1383
1567
|
isResizing?: boolean;
|
|
1384
1568
|
}>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Scrolls the message list to the latest message. Shown while the user is
|
|
1571
|
+
* scrolled up; its accessible name is `labels.chatScrollToBottomLabel`.
|
|
1572
|
+
*/
|
|
1385
1573
|
const ScrollToBottomButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1386
1574
|
const Feather: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1387
1575
|
const WelcomeMessage: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1994,6 +2182,10 @@ interface CopilotChatAttachmentRendererProps {
|
|
|
1994
2182
|
declare const CopilotChatAttachmentRenderer: React$1.FC<CopilotChatAttachmentRendererProps>;
|
|
1995
2183
|
//#endregion
|
|
1996
2184
|
//#region src/v2/components/WildcardToolCallRender.d.ts
|
|
2185
|
+
/**
|
|
2186
|
+
* Catch-all (`"*"`) tool-call renderer that shows CopilotKit's default
|
|
2187
|
+
* tool-call card for any tool without a dedicated renderer.
|
|
2188
|
+
*/
|
|
1997
2189
|
declare const WildcardToolCallRender: ReactToolCallRenderer<any>;
|
|
1998
2190
|
//#endregion
|
|
1999
2191
|
//#region src/v2/components/CopilotKitInspectorContext.d.ts
|
|
@@ -2020,6 +2212,12 @@ interface MCPAppsActivityRendererProps {
|
|
|
2020
2212
|
content: MCPAppsActivityContent;
|
|
2021
2213
|
message: unknown;
|
|
2022
2214
|
agent: AbstractAgent | undefined;
|
|
2215
|
+
/**
|
|
2216
|
+
* Restore `allow-same-origin` on the sandbox. Unsafe: the widget runs with
|
|
2217
|
+
* the host page's origin. Set via `mcpApps.allowSameOriginFallback` on
|
|
2218
|
+
* `CopilotKitProvider`.
|
|
2219
|
+
*/
|
|
2220
|
+
allowSameOriginFallback?: boolean;
|
|
2023
2221
|
}
|
|
2024
2222
|
/**
|
|
2025
2223
|
* MCP Apps Extension Activity Renderer
|
|
@@ -2126,6 +2324,47 @@ declare const OpenGenerativeUIToolRenderer: React$1.FC<{
|
|
|
2126
2324
|
result: string;
|
|
2127
2325
|
}>;
|
|
2128
2326
|
//#endregion
|
|
2327
|
+
//#region src/v2/types/react-tool-call-renderer.d.ts
|
|
2328
|
+
interface ReactToolCallRenderer<T = unknown> {
|
|
2329
|
+
name: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* Schema describing the tool arguments. Optional — renderers registered for
|
|
2332
|
+
* tools without parameters (e.g. HITL confirm dialogs) have no schema.
|
|
2333
|
+
*/
|
|
2334
|
+
args?: StandardSchemaV1<any, T>;
|
|
2335
|
+
/**
|
|
2336
|
+
* Optional agent ID to constrain this tool renderer to a specific agent.
|
|
2337
|
+
* If specified, this renderer will only be used for the specified agent.
|
|
2338
|
+
*/
|
|
2339
|
+
agentId?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* Whether calls this renderer draws join the chat's tool-call groups (see
|
|
2342
|
+
* `toolCallDisplay` on `CopilotChatMessageView`). CopilotKit's built-in card
|
|
2343
|
+
* sets it; a renderer that leaves it unset always shows its calls on their
|
|
2344
|
+
* own, since the chat can't tell what it draws (it may even draw nothing).
|
|
2345
|
+
*/
|
|
2346
|
+
group?: boolean;
|
|
2347
|
+
render: React.ComponentType<{
|
|
2348
|
+
name: string;
|
|
2349
|
+
toolCallId: string;
|
|
2350
|
+
args: Partial<T>;
|
|
2351
|
+
status: ToolCallStatus.InProgress;
|
|
2352
|
+
result: undefined;
|
|
2353
|
+
} | {
|
|
2354
|
+
name: string;
|
|
2355
|
+
toolCallId: string;
|
|
2356
|
+
args: T;
|
|
2357
|
+
status: ToolCallStatus.Executing;
|
|
2358
|
+
result: undefined;
|
|
2359
|
+
} | {
|
|
2360
|
+
name: string;
|
|
2361
|
+
toolCallId: string;
|
|
2362
|
+
args: T;
|
|
2363
|
+
status: ToolCallStatus.Complete;
|
|
2364
|
+
result: string;
|
|
2365
|
+
}>;
|
|
2366
|
+
}
|
|
2367
|
+
//#endregion
|
|
2129
2368
|
//#region src/v2/hooks/use-render-tool-call.d.ts
|
|
2130
2369
|
interface UseRenderToolCallProps {
|
|
2131
2370
|
toolCall: ToolCall;
|
|
@@ -2165,40 +2404,6 @@ interface UseRenderCustomMessagesParams {
|
|
|
2165
2404
|
}
|
|
2166
2405
|
declare function useRenderCustomMessages(): ((params: UseRenderCustomMessagesParams) => react_jsx_runtime0.JSX.Element | null) | null;
|
|
2167
2406
|
//#endregion
|
|
2168
|
-
//#region src/v2/types/react-tool-call-renderer.d.ts
|
|
2169
|
-
interface ReactToolCallRenderer<T = unknown> {
|
|
2170
|
-
name: string;
|
|
2171
|
-
/**
|
|
2172
|
-
* Schema describing the tool arguments. Optional — renderers registered for
|
|
2173
|
-
* tools without parameters (e.g. HITL confirm dialogs) have no schema.
|
|
2174
|
-
*/
|
|
2175
|
-
args?: StandardSchemaV1<any, T>;
|
|
2176
|
-
/**
|
|
2177
|
-
* Optional agent ID to constrain this tool renderer to a specific agent.
|
|
2178
|
-
* If specified, this renderer will only be used for the specified agent.
|
|
2179
|
-
*/
|
|
2180
|
-
agentId?: string;
|
|
2181
|
-
render: React.ComponentType<{
|
|
2182
|
-
name: string;
|
|
2183
|
-
toolCallId: string;
|
|
2184
|
-
args: Partial<T>;
|
|
2185
|
-
status: ToolCallStatus.InProgress;
|
|
2186
|
-
result: undefined;
|
|
2187
|
-
} | {
|
|
2188
|
-
name: string;
|
|
2189
|
-
toolCallId: string;
|
|
2190
|
-
args: T;
|
|
2191
|
-
status: ToolCallStatus.Executing;
|
|
2192
|
-
result: undefined;
|
|
2193
|
-
} | {
|
|
2194
|
-
name: string;
|
|
2195
|
-
toolCallId: string;
|
|
2196
|
-
args: T;
|
|
2197
|
-
status: ToolCallStatus.Complete;
|
|
2198
|
-
result: string;
|
|
2199
|
-
}>;
|
|
2200
|
-
}
|
|
2201
|
-
//#endregion
|
|
2202
2407
|
//#region src/v2/types/react-activity-message-renderer.d.ts
|
|
2203
2408
|
interface ReactActivityMessageRenderer<TActivityContent> {
|
|
2204
2409
|
/**
|
|
@@ -2308,12 +2513,14 @@ declare function defineToolCallRenderer(def: {
|
|
|
2308
2513
|
name: "*";
|
|
2309
2514
|
render: (props: RenderProps<any>) => React$1.ReactElement | null;
|
|
2310
2515
|
agentId?: string;
|
|
2516
|
+
group?: boolean;
|
|
2311
2517
|
}): ReactToolCallRenderer<any>;
|
|
2312
2518
|
declare function defineToolCallRenderer<S extends StandardSchemaV1>(def: {
|
|
2313
2519
|
name: string;
|
|
2314
2520
|
args: S;
|
|
2315
2521
|
render: (props: RenderProps<InferSchemaOutput<S>>) => React$1.ReactElement | null;
|
|
2316
2522
|
agentId?: string;
|
|
2523
|
+
group?: boolean;
|
|
2317
2524
|
}): ReactToolCallRenderer<InferSchemaOutput<S>>;
|
|
2318
2525
|
//#endregion
|
|
2319
2526
|
//#region src/v2/types/interrupt.d.ts
|
|
@@ -2544,7 +2751,8 @@ type RenderToolProps<S extends StandardSchemaV1> = RenderToolInProgressProps<S>
|
|
|
2544
2751
|
declare function useRenderTool(config: {
|
|
2545
2752
|
name: "*";
|
|
2546
2753
|
render: (props: any) => React.ReactElement | null;
|
|
2547
|
-
agentId?: string;
|
|
2754
|
+
agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
|
|
2755
|
+
group?: boolean;
|
|
2548
2756
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2549
2757
|
/**
|
|
2550
2758
|
* Registers a name-scoped renderer for tool calls.
|
|
@@ -2577,7 +2785,8 @@ declare function useRenderTool<S extends StandardSchemaV1>(config: {
|
|
|
2577
2785
|
name: string;
|
|
2578
2786
|
parameters: S;
|
|
2579
2787
|
render: (props: RenderToolProps<S>) => React.ReactElement | null;
|
|
2580
|
-
agentId?: string;
|
|
2788
|
+
agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
|
|
2789
|
+
group?: boolean;
|
|
2581
2790
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2582
2791
|
//#endregion
|
|
2583
2792
|
//#region src/v2/hooks/use-default-render-tool.d.ts
|
|
@@ -2626,6 +2835,12 @@ type DefaultRenderProps = {
|
|
|
2626
2835
|
*/
|
|
2627
2836
|
declare function useDefaultRenderTool(config?: {
|
|
2628
2837
|
render?: (props: DefaultRenderProps) => React$1.ReactElement | null;
|
|
2838
|
+
/**
|
|
2839
|
+
* Let the chat group calls your `render` draws, like it groups the
|
|
2840
|
+
* built-in card's (see `toolCallDisplay` on `CopilotChatMessageView`).
|
|
2841
|
+
* Off by default for a custom `render`, since it may draw nothing.
|
|
2842
|
+
*/
|
|
2843
|
+
group?: boolean;
|
|
2629
2844
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2630
2845
|
//#endregion
|
|
2631
2846
|
//#region src/v2/hooks/use-human-in-the-loop.d.ts
|
|
@@ -3549,6 +3764,27 @@ interface CopilotKitProviderProps {
|
|
|
3549
3764
|
*/
|
|
3550
3765
|
recovery?: A2UIRecoveryRendererOptions;
|
|
3551
3766
|
};
|
|
3767
|
+
/**
|
|
3768
|
+
* Configuration for the built-in MCP Apps renderer.
|
|
3769
|
+
*
|
|
3770
|
+
* @example
|
|
3771
|
+
* ```tsx
|
|
3772
|
+
* <CopilotKit runtimeUrl="/api/copilotkit" mcpApps={{ allowSameOriginFallback: true }}>
|
|
3773
|
+
* {children}
|
|
3774
|
+
* </CopilotKit>
|
|
3775
|
+
* ```
|
|
3776
|
+
*/
|
|
3777
|
+
mcpApps?: {
|
|
3778
|
+
/**
|
|
3779
|
+
* Restore `allow-same-origin` on the MCP App sandbox. Default `false`.
|
|
3780
|
+
*
|
|
3781
|
+
* **Unsafe.** The widget then runs with your page's origin: it can read
|
|
3782
|
+
* your cookies, storage and DOM, and call your APIs as the signed-in user.
|
|
3783
|
+
* Only set it for widgets you wrote and trust that need `localStorage`,
|
|
3784
|
+
* `IndexedDB` or cookies. By default widgets get an opaque origin.
|
|
3785
|
+
*/
|
|
3786
|
+
allowSameOriginFallback?: boolean;
|
|
3787
|
+
};
|
|
3552
3788
|
/**
|
|
3553
3789
|
* Default throttle interval (in milliseconds) for `useAgent` re-renders
|
|
3554
3790
|
* triggered by `OnMessagesChanged` notifications. This value is used as
|
|
@@ -3599,6 +3835,7 @@ type LearningProp = LearningConfig & {
|
|
|
3599
3835
|
*/
|
|
3600
3836
|
learningContainerIds?: string[];
|
|
3601
3837
|
};
|
|
3838
|
+
/** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
|
|
3602
3839
|
declare const CopilotKitProvider: React$1.FC<CopilotKitProviderProps>;
|
|
3603
3840
|
//#endregion
|
|
3604
3841
|
//#region src/v2/providers/SandboxFunctionsContext.d.ts
|
|
@@ -3854,5 +4091,5 @@ declare function CopilotKit({
|
|
|
3854
4091
|
}: CopilotKitProps): react_jsx_runtime0.JSX.Element;
|
|
3855
4092
|
declare const defaultCopilotContextCategories: string[];
|
|
3856
4093
|
//#endregion
|
|
3857
|
-
export { useRenderTool as $, LegacyLearningConfig as $a, TextMessageContentEventProps as $c, ɵselectHasNextPage 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 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 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 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 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 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 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 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 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 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, CopilotKitCoreReact 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 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, InspectorAnchor as c, FrontendToolReconnectBehavior as ca, StateSnapshotEventSchema as cc, ɵInterruptState as cd, ɵselectThreads 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, CopilotKitProvider 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 as ef, ContentPartSchema as ei, TextMessageContentEventSchema as el, CopilotPopupView as en, MEMORY_ERROR_REGISTRY as eo, AGUIConnectNotImplementedError as er, ReasoningMessageContentEvent as es, useComponent as et, WebMCPRegistry as eu, CopilotKitProviderProps as f, HttpAgent as fa, StepFinishedEventSchema as fc, ɵMemoryMetadataEvent as fd, ɵwithHeaderDefaults 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, useLicenseContext 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, useCopilotKit 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 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, SandboxFunctionsContext as l, FunctionCall as la, StaticSuggestionsConfig$1 as lc, ɵInterruptToolResult as ld, ɵselectThreadsError as lf, CopilotKitCoreContinuationHandoff as li, TextPart as ll, DefaultOpenIcon as ln, MessagesSnapshotEventProps as lo, ActionFromCreator as lr, ReasoningMessageStartEventSchema as ls, InterruptHandlerProps as lt, contentToText 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 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, A2UIRecoveryRendererOptions 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 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 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 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, useSandboxFunctions as u, FunctionCallSchema as ua, StepFinishedEvent as uc, ɵMAX_SOCKET_RETRIES as ud, ɵselectThreadsIsLoading 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, CopilotKitCoreReactConfig 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 as xs, useRenderToolCall as xt, emitInspectorViewThread as xu, CopilotKitCoreReactSubscriber as y, IdentityCapabilitiesSchema as ya, SubagentErrorEventProps as yc, ɵPhoenixChannelSession as yd, LangGraphInterruptAction as yf, CopilotKitCoreRuntimeConnectionStatus as yi, ToolCallArgsEventSchema as yl, MessageRow as yn, MultimodalCapabilities as yo, ActivitySnapshotEventProps as yr, ResumeEntrySchema as ys, ReactCustomMessageRenderer as yt, emitInspectorActiveThread 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 as zu };
|
|
3858
|
-
//# sourceMappingURL=copilotkit-
|
|
4094
|
+
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 as Ds, OpenGenerativeUIContentSchema as Dt, emitInspectorViewThreadResult as Du, useLearningContainersInCurrentThread as E, IdentityCapabilitiesSchema as Ea, SubagentFinishedEvent as Ec, ɵPhoenixPushLike as Ed, LangGraphInterruptActionSetterArgs as Ef, CopilotKitCoreRuntimeConnectionStatus 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 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 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 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 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 as Vd, TreeNode as Vf, DebugLogger as Vi, ToolSchema as Vl, CopilotChatFeedbackMessage as Vn, ProxiedCopilotRuntimeAgent 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 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 as Zu, CopilotKitCoreReact as _, FunctionCallSchema as _a, StepFinishedEventSchema as _c, ɵMemoryMetadataEvent as _d, ɵwithHeaderDefaults 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 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, InspectorAnchor as c, ExecutionCapabilities as ca, StateDeltaEventSchema as cc, withAuthoritativeActivityTypes as cd, ɵselectMemoriesAvailable 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, CopilotKitProvider 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, CopilotKitProviderProps as f, FilterToolCallsMiddleware as fa, StateSnapshotEventProps as fc, ɵInterruptEvent as fd, ɵselectMemoriesRealtimeStatus 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, useLicenseContext 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, useCopilotKit as h, FrontendToolReconnectBehavior as ha, StepFinishedEvent as hc, ɵMAX_SOCKET_RETRIES as hd, ɵselectThreadsIsLoading 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 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, SandboxFunctionsContext as l, ExecutionCapabilitiesSchema as la, StateManager as lc, ɵCOPILOTKIT_FEATURES as ld, ɵselectMemoriesError 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 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 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 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, A2UIRecoveryRendererOptions as p, FrontendTool$1 as pa, StateSnapshotEventSchema as pc, ɵInterruptState as pd, ɵselectThreads 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 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 as sf, ContentPartSchema as si, TextMessageEndEventProps as sl, CopilotChatToggleButtonProps as sn, MemoryError as so, AGUIConnectNotImplementedError 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, useSandboxFunctions as u, FileSource as ua, StateSchema as uc, ɵCopilotKitFeature as ud, ɵselectMemoriesIsLoading 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, CopilotKitCoreReactConfig 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 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, CopilotKitCoreReactSubscriber 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 };
|
|
4095
|
+
//# sourceMappingURL=copilotkit-Dfw9HzO9.d.cts.map
|