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