@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,9 +1,10 @@
|
|
|
1
|
+
import { F as ReactActivityMessageRenderer, P as GenerativeUIChatSurfaceProps, t as GenerativeUIConfig } from "./runtime-context-D3NcP9oE.cjs";
|
|
1
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
import { Agent, ExtensionsInput, ForwardedParametersInput, LangGraphInterruptEvent } from "@copilotkit/runtime-client-gql";
|
|
3
4
|
import * as react from "react";
|
|
4
5
|
import React$1, { ComponentType, ReactNode } from "react";
|
|
5
6
|
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,
|
|
7
|
+
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, 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, 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, emitInspectorStopViewing, emitInspectorViewThread, emitInspectorViewThreadResult, empty, ensureObjectArgs, extractCompleteArrayItems, extractFenceOperations, extractStringField, flattenInformationalCards, getMarkdownOperationSurfaceId, getWebMCPModelContext, isAbortError, isInspectorThreadBridgeEnabled, isRunCompletionAware, ofType, on, onInspectorActiveThread, onInspectorStopViewing, onInspectorViewThread, onInspectorViewThreadResult, parseToolArguments, prepareSurfaceOperations, props, segmentSurfaceProse, select, splitA2UIMarkdown, ɵCOPILOTKIT_FEATURES, ɵCopilotKitFeature, ɵGenerativeUIDebugFunction, ɵGenerativeUIDebugPromptSection, ɵGenerativeUIDebugRun, ɵGenerativeUIDebugSnapshot, ɵGenerativeUIDebugSource, ɵGenerativeUIDebugSurface, ɵ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
8
|
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
9
|
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
10
|
import { ActivityMessage, AgentCapabilities, AssistantMessage, Message as Message$2, ReasoningMessage, ToolCall, ToolMessage, UserMessage } from "@ag-ui/core";
|
|
@@ -554,6 +555,8 @@ declare const CopilotChatDefaultLabels: {
|
|
|
554
555
|
chatInputToolbarFinishTranscribeButtonLabel: string;
|
|
555
556
|
chatInputToolbarAddButtonLabel: string;
|
|
556
557
|
chatInputToolbarToolsButtonLabel: string;
|
|
558
|
+
chatInputToolbarSendButtonLabel: string;
|
|
559
|
+
chatInputToolbarStopButtonLabel: string;
|
|
557
560
|
assistantMessageToolbarCopyCodeLabel: string;
|
|
558
561
|
assistantMessageToolbarCopyCodeCopiedLabel: string;
|
|
559
562
|
assistantMessageToolbarCopyMessageLabel: string;
|
|
@@ -566,13 +569,18 @@ declare const CopilotChatDefaultLabels: {
|
|
|
566
569
|
assistantMessageToolbarInspectorHideDescription: string;
|
|
567
570
|
assistantMessageToolbarThumbsUpLabel: string;
|
|
568
571
|
assistantMessageToolbarThumbsDownLabel: string;
|
|
572
|
+
assistantMessageFeedbackCommentPlaceholder: string;
|
|
573
|
+
assistantMessageFeedbackCommentSubmitLabel: string;
|
|
569
574
|
assistantMessageToolbarReadAloudLabel: string;
|
|
570
575
|
assistantMessageToolbarRegenerateLabel: string;
|
|
571
576
|
userMessageToolbarCopyMessageLabel: string;
|
|
572
577
|
userMessageToolbarEditMessageLabel: string;
|
|
578
|
+
userMessageToolbarPreviousBranchLabel: string;
|
|
579
|
+
userMessageToolbarNextBranchLabel: string;
|
|
573
580
|
chatDisclaimerText: string;
|
|
574
581
|
chatToggleOpenLabel: string;
|
|
575
582
|
chatToggleCloseLabel: string;
|
|
583
|
+
chatScrollToBottomLabel: string;
|
|
576
584
|
modalHeaderTitle: string;
|
|
577
585
|
welcomeMessageText: string;
|
|
578
586
|
};
|
|
@@ -732,6 +740,11 @@ type CopilotChatInputChildrenArgs = CopilotChatInputBaseProps extends {
|
|
|
732
740
|
type CopilotChatInputProps = Omit<CopilotChatInputBaseProps, "children"> & {
|
|
733
741
|
children?: (props: CopilotChatInputChildrenArgs) => React$1.ReactNode;
|
|
734
742
|
};
|
|
743
|
+
/**
|
|
744
|
+
* The chat composer: a text area with the add-menu, voice and send/stop
|
|
745
|
+
* buttons, and a slash-command menu that lists `toolsMenu` items once the text
|
|
746
|
+
* starts with "/".
|
|
747
|
+
*/
|
|
735
748
|
declare function CopilotChatInput({
|
|
736
749
|
mode,
|
|
737
750
|
onSubmitMessage,
|
|
@@ -764,7 +777,17 @@ declare function CopilotChatInput({
|
|
|
764
777
|
...props
|
|
765
778
|
}: CopilotChatInputProps): react_jsx_runtime0.JSX.Element;
|
|
766
779
|
declare namespace CopilotChatInput {
|
|
780
|
+
/**
|
|
781
|
+
* The icon-only send button. Its accessible name is
|
|
782
|
+
* `labels.chatInputToolbarSendButtonLabel` unless an `aria-label` is passed;
|
|
783
|
+
* the input passes `labels.chatInputToolbarStopButtonLabel` while the button
|
|
784
|
+
* stops a run.
|
|
785
|
+
*/
|
|
767
786
|
const SendButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
787
|
+
/**
|
|
788
|
+
* An icon-only toolbar button. `labels[labelKey]` is both its accessible
|
|
789
|
+
* name and its tooltip text.
|
|
790
|
+
*/
|
|
768
791
|
const ToolbarButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
769
792
|
icon: React$1.ReactNode;
|
|
770
793
|
labelKey: keyof CopilotChatLabels;
|
|
@@ -773,6 +796,10 @@ declare namespace CopilotChatInput {
|
|
|
773
796
|
const StartTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
774
797
|
const CancelTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
775
798
|
const FinishTranscribeButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
799
|
+
/**
|
|
800
|
+
* The "+" button that opens the attachment and tools menu. Its accessible
|
|
801
|
+
* name and tooltip come from `labels.chatInputToolbarAddButtonLabel`.
|
|
802
|
+
*/
|
|
776
803
|
const AddMenuButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
777
804
|
toolsMenu?: (ToolsMenuItem | "-")[];
|
|
778
805
|
onAddFile?: () => void;
|
|
@@ -783,14 +810,86 @@ declare namespace CopilotChatInput {
|
|
|
783
810
|
const Disclaimer: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
784
811
|
}
|
|
785
812
|
//#endregion
|
|
813
|
+
//#region src/v2/components/chat/tool-call-layout.d.ts
|
|
814
|
+
/**
|
|
815
|
+
* How the chat shows tool calls.
|
|
816
|
+
*
|
|
817
|
+
* - `"grouped"` (default): calls made in a row share one card, collapsed to a
|
|
818
|
+
* summary ("Used 3 tools") that opens to a row per call.
|
|
819
|
+
* - `"line"`: the same grouping as a quiet line of text, like the reasoning
|
|
820
|
+
* message's "Thought for 4 seconds".
|
|
821
|
+
* - `"stacked"`: the latest call on top of a stack of the earlier ones; click
|
|
822
|
+
* to fan the stack out into its cards.
|
|
823
|
+
* - `"turn"`: the agent works in the open (narration, then a row per call),
|
|
824
|
+
* and when the reply is done everything before it folds into "Worked for 9s".
|
|
825
|
+
* - `"separate"`: every call gets its own card, as before grouping existed.
|
|
826
|
+
*
|
|
827
|
+
* Only calls drawn by a renderer that opts into grouping (`group: true`) are
|
|
828
|
+
* grouped; CopilotKit's built-in card from `useDefaultRenderTool()` does. Any
|
|
829
|
+
* other call always shows on its own and splits the group around it.
|
|
830
|
+
*/
|
|
831
|
+
type CopilotChatToolCallDisplay = "grouped" | "line" | "stacked" | "turn" | "separate";
|
|
832
|
+
/** One tool call and, once it has finished, the message carrying its result. */
|
|
833
|
+
interface ToolCallEntry {
|
|
834
|
+
toolCall: ToolCall;
|
|
835
|
+
toolMessage?: ToolMessage;
|
|
836
|
+
}
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region src/v2/components/chat/CopilotChatToolCallGroup.d.ts
|
|
839
|
+
type CopilotChatToolCallGroupAppearance = "card" | "line" | "stack";
|
|
840
|
+
interface CopilotChatToolCallGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
841
|
+
/** The calls in the group, in order. */
|
|
842
|
+
calls: ToolCallEntry[];
|
|
843
|
+
/** Renders one call through the registered renderers. */
|
|
844
|
+
renderCall: (call: ToolCallEntry) => React$1.ReactNode;
|
|
845
|
+
/**
|
|
846
|
+
* - `"card"` (default): one card with a summary header and a row per call.
|
|
847
|
+
* - `"line"`: a quiet line of text that opens to a list of rows.
|
|
848
|
+
* - `"stack"`: the latest call on a stack of the earlier ones.
|
|
849
|
+
*/
|
|
850
|
+
appearance?: CopilotChatToolCallGroupAppearance;
|
|
851
|
+
/** The agent is running and nothing follows the group, so more calls may join it. */
|
|
852
|
+
isActive?: boolean;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Tool calls made in a row, collapsed into one summary. While a call runs the
|
|
856
|
+
* summary names it ("Running read_file src/app.ts"); once they're all done it
|
|
857
|
+
* reads "Used 3 tools" and opens to the calls.
|
|
858
|
+
*
|
|
859
|
+
* Each call is drawn by its registered renderer. CopilotKit's built-in card
|
|
860
|
+
* (`useDefaultRenderTool`) draws a compact row inside the card and line
|
|
861
|
+
* appearances; a custom wildcard renderer draws whatever it draws.
|
|
862
|
+
*/
|
|
863
|
+
declare function CopilotChatToolCallGroup({
|
|
864
|
+
calls,
|
|
865
|
+
renderCall,
|
|
866
|
+
appearance,
|
|
867
|
+
isActive,
|
|
868
|
+
className,
|
|
869
|
+
...props
|
|
870
|
+
}: CopilotChatToolCallGroupProps): react_jsx_runtime0.JSX.Element | null;
|
|
871
|
+
//#endregion
|
|
786
872
|
//#region src/v2/components/chat/CopilotChatToolCallsView.d.ts
|
|
787
873
|
type CopilotChatToolCallsViewProps = {
|
|
788
874
|
message: AssistantMessage;
|
|
789
875
|
messages?: Message$2[];
|
|
876
|
+
/**
|
|
877
|
+
* How to show the calls (see `CopilotChatToolCallDisplay`). Inside a message
|
|
878
|
+
* view it follows the view's `toolCallDisplay`; on its own it defaults to
|
|
879
|
+
* `"grouped"`.
|
|
880
|
+
*/
|
|
881
|
+
display?: CopilotChatToolCallDisplay;
|
|
882
|
+
/**
|
|
883
|
+
* Draws a group of calls made in a row: a component, a class name for the
|
|
884
|
+
* default group, or props for it (e.g. `{ appearance: "line" }`).
|
|
885
|
+
*/
|
|
886
|
+
group?: SlotValue<typeof CopilotChatToolCallGroup>;
|
|
790
887
|
};
|
|
791
888
|
declare function CopilotChatToolCallsView({
|
|
792
889
|
message,
|
|
793
|
-
messages
|
|
890
|
+
messages,
|
|
891
|
+
display: displayProp,
|
|
892
|
+
group
|
|
794
893
|
}: CopilotChatToolCallsViewProps): react_jsx_runtime0.JSX.Element | null;
|
|
795
894
|
//#endregion
|
|
796
895
|
//#region src/v2/components/chat/CopilotChatAssistantMessage.d.ts
|
|
@@ -824,6 +923,12 @@ type CopilotChatAssistantMessageProps = WithSlots<{
|
|
|
824
923
|
isLatest?: boolean;
|
|
825
924
|
additionalToolbarItems?: React.ReactNode;
|
|
826
925
|
toolbarVisible?: boolean;
|
|
926
|
+
/**
|
|
927
|
+
* The comment field of a reply rating, inside the popover next to the
|
|
928
|
+
* chosen thumb. Shown only while Automatic Learning records ratings; it
|
|
929
|
+
* renders after `children`, so a `children` layout does not place it.
|
|
930
|
+
*/
|
|
931
|
+
feedbackComment?: SlotValue<typeof CopilotChatAssistantMessage.FeedbackComment>;
|
|
827
932
|
} & React.HTMLAttributes<HTMLDivElement>>;
|
|
828
933
|
declare function CopilotChatAssistantMessage({
|
|
829
934
|
message,
|
|
@@ -844,6 +949,7 @@ declare function CopilotChatAssistantMessage({
|
|
|
844
949
|
thumbsDownButton,
|
|
845
950
|
readAloudButton,
|
|
846
951
|
regenerateButton,
|
|
952
|
+
feedbackComment: feedbackCommentSlot,
|
|
847
953
|
toolCallsView,
|
|
848
954
|
children,
|
|
849
955
|
className,
|
|
@@ -851,7 +957,8 @@ declare function CopilotChatAssistantMessage({
|
|
|
851
957
|
}: CopilotChatAssistantMessageProps): react_jsx_runtime0.JSX.Element;
|
|
852
958
|
declare namespace CopilotChatAssistantMessage {
|
|
853
959
|
const MarkdownRenderer: React.FC<Omit<React.ComponentProps<typeof Streamdown>, "children"> & {
|
|
854
|
-
content: string;
|
|
960
|
+
content: string; /** Id of the rendered message. The markdown transport finds its fences by it. */
|
|
961
|
+
messageId?: string;
|
|
855
962
|
}>;
|
|
856
963
|
const Toolbar: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
857
964
|
const ToolbarButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -864,6 +971,27 @@ declare namespace CopilotChatAssistantMessage {
|
|
|
864
971
|
const InspectorButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
865
972
|
const ThumbsUpButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
866
973
|
const ThumbsDownButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
974
|
+
/**
|
|
975
|
+
* The comment field of a rating, shown in a popover next to the chosen
|
|
976
|
+
* thumb. Enter saves; Send appears once the text differs from the saved
|
|
977
|
+
* comment. The popover marks itself `data-copilotkit-ignore`, so Learning
|
|
978
|
+
* records the saved comment but not the typing; outside it, mark the
|
|
979
|
+
* field yourself.
|
|
980
|
+
*/
|
|
981
|
+
const FeedbackComment: React.FC<{
|
|
982
|
+
value: string; /** The comment already saved. */
|
|
983
|
+
savedComment: string;
|
|
984
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
985
|
+
onChange: (value: string) => void;
|
|
986
|
+
onSubmit: () => void;
|
|
987
|
+
onEditingChange?: (editing: boolean) => void;
|
|
988
|
+
/**
|
|
989
|
+
* Focus left the form for `next`, or for no focusable element when null.
|
|
990
|
+
* Not called when the window loses focus.
|
|
991
|
+
*/
|
|
992
|
+
onLeave?: (next: Element | null) => void;
|
|
993
|
+
className?: string;
|
|
994
|
+
}>;
|
|
867
995
|
const ReadAloudButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
868
996
|
const RegenerateButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
869
997
|
}
|
|
@@ -922,6 +1050,13 @@ declare namespace CopilotChatUserMessage {
|
|
|
922
1050
|
copied?: boolean;
|
|
923
1051
|
}>;
|
|
924
1052
|
const EditButton: React.FC<React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Previous/next buttons and an "n/m" counter for switching between branches
|
|
1055
|
+
* of a user message. Renders only with more than one branch and an
|
|
1056
|
+
* `onSwitchToBranch` handler. The buttons are named by
|
|
1057
|
+
* `labels.userMessageToolbarPreviousBranchLabel` and
|
|
1058
|
+
* `labels.userMessageToolbarNextBranchLabel`.
|
|
1059
|
+
*/
|
|
925
1060
|
const BranchNavigation: React.FC<React.HTMLAttributes<HTMLDivElement> & {
|
|
926
1061
|
currentBranch?: number;
|
|
927
1062
|
numberOfBranches?: number;
|
|
@@ -1012,6 +1147,38 @@ declare const CopilotChatSuggestionView: React$1.ForwardRefExoticComponent<{
|
|
|
1012
1147
|
loadingIndexes?: ReadonlyArray<number>;
|
|
1013
1148
|
} & React$1.HTMLAttributes<HTMLDivElement>, "children"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1014
1149
|
//#endregion
|
|
1150
|
+
//#region src/v2/components/chat/CopilotChatWorkSummary.d.ts
|
|
1151
|
+
interface CopilotChatWorkSummaryProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1152
|
+
/** The agent is still working on this reply. */
|
|
1153
|
+
isWorking: boolean;
|
|
1154
|
+
/** Whether the work (narration and tool calls) is showing. */
|
|
1155
|
+
isOpen: boolean;
|
|
1156
|
+
/** The tool calls the reply made. */
|
|
1157
|
+
calls: ToolCallEntry[];
|
|
1158
|
+
/**
|
|
1159
|
+
* How long the agent has worked on the reply, in ms, summed over its runs
|
|
1160
|
+
* so time spent waiting between them doesn't count. Only known for replies
|
|
1161
|
+
* this client watched start; without it the summary shows the tool count.
|
|
1162
|
+
*/
|
|
1163
|
+
elapsedMs?: number;
|
|
1164
|
+
/** When the current run started (epoch ms), while the agent is working. */
|
|
1165
|
+
workingSince?: number;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* The line at the top of a reply in the `"turn"` tool-call display. While the
|
|
1169
|
+
* agent works it reads "Working 4s"; once the reply is done it reads "Worked
|
|
1170
|
+
* for 9s · 7 tools" and toggles the work it folded away.
|
|
1171
|
+
*/
|
|
1172
|
+
declare function CopilotChatWorkSummary({
|
|
1173
|
+
isWorking,
|
|
1174
|
+
isOpen,
|
|
1175
|
+
calls,
|
|
1176
|
+
elapsedMs,
|
|
1177
|
+
workingSince,
|
|
1178
|
+
className,
|
|
1179
|
+
...props
|
|
1180
|
+
}: CopilotChatWorkSummaryProps): react_jsx_runtime0.JSX.Element;
|
|
1181
|
+
//#endregion
|
|
1015
1182
|
//#region src/v2/components/intelligence-indicator/IntelligenceIndicatorView.d.ts
|
|
1016
1183
|
/** Lifecycle state the brain hands the face. */
|
|
1017
1184
|
type IntelligenceIndicatorStatus = "in-progress" | "finished";
|
|
@@ -1211,7 +1378,8 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
|
|
|
1211
1378
|
userMessage: typeof CopilotChatUserMessage;
|
|
1212
1379
|
reasoningMessage: typeof CopilotChatReasoningMessage;
|
|
1213
1380
|
cursor: typeof CopilotChatMessageView.Cursor;
|
|
1214
|
-
intelligenceIndicator: typeof IntelligenceIndicatorView;
|
|
1381
|
+
intelligenceIndicator: typeof IntelligenceIndicatorView; /** The "Working… / Worked for 9s" line of the `"turn"` tool-call display. */
|
|
1382
|
+
workSummary: typeof CopilotChatWorkSummary;
|
|
1215
1383
|
}, {
|
|
1216
1384
|
isRunning?: boolean;
|
|
1217
1385
|
messages?: Message$2[];
|
|
@@ -1241,6 +1409,20 @@ type CopilotChatMessageViewProps = Omit<WithSlots<{
|
|
|
1241
1409
|
* Memoized on its input and this function — pass a stable function.
|
|
1242
1410
|
*/
|
|
1243
1411
|
groupMessages?: (messages: Message$2[]) => MessageRow[];
|
|
1412
|
+
/**
|
|
1413
|
+
* Whether reply thumbs record ratings for Automatic Learning once a
|
|
1414
|
+
* Trajectory has started. Defaults to `true`; set `false` to keep the
|
|
1415
|
+
* thumbs to your own `onThumbsUp` / `onThumbsDown` handlers and slots.
|
|
1416
|
+
*/
|
|
1417
|
+
messageFeedback?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* How tool calls show. Defaults to `"grouped"`: calls made in a row
|
|
1420
|
+
* share one card that opens to a row per call. `"line"` and `"stacked"`
|
|
1421
|
+
* group them too; `"turn"` folds a reply's whole working phase into
|
|
1422
|
+
* "Worked for 9s" once it's done; `"separate"` gives every call its own
|
|
1423
|
+
* card. Calls with a renderer of their own always show on their own.
|
|
1424
|
+
*/
|
|
1425
|
+
toolCallDisplay?: CopilotChatToolCallDisplay;
|
|
1244
1426
|
} & React$1.HTMLAttributes<HTMLDivElement>>, "children"> & {
|
|
1245
1427
|
children?: (props: {
|
|
1246
1428
|
isRunning: boolean;
|
|
@@ -1256,9 +1438,12 @@ declare function CopilotChatMessageView({
|
|
|
1256
1438
|
reasoningMessage,
|
|
1257
1439
|
cursor,
|
|
1258
1440
|
intelligenceIndicator,
|
|
1441
|
+
workSummary,
|
|
1259
1442
|
isRunning,
|
|
1260
1443
|
transformMessages,
|
|
1261
1444
|
groupMessages,
|
|
1445
|
+
messageFeedback,
|
|
1446
|
+
toolCallDisplay,
|
|
1262
1447
|
children,
|
|
1263
1448
|
className,
|
|
1264
1449
|
...props
|
|
@@ -1377,11 +1562,16 @@ declare function CopilotChatView({
|
|
|
1377
1562
|
declare namespace CopilotChatView {
|
|
1378
1563
|
const ScrollView: React$1.FC<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1379
1564
|
autoScroll?: AutoScrollMode | boolean;
|
|
1565
|
+
scrollThreadId?: string;
|
|
1380
1566
|
scrollToBottomButton?: SlotValue<React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>>;
|
|
1381
1567
|
feather?: SlotValue<React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>>;
|
|
1382
1568
|
inputContainerHeight?: number;
|
|
1383
1569
|
isResizing?: boolean;
|
|
1384
1570
|
}>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Scrolls the message list to the latest message. Shown while the user is
|
|
1573
|
+
* scrolled up; its accessible name is `labels.chatScrollToBottomLabel`.
|
|
1574
|
+
*/
|
|
1385
1575
|
const ScrollToBottomButton: React$1.FC<React$1.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
1386
1576
|
const Feather: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1387
1577
|
const WelcomeMessage: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1424,6 +1614,11 @@ type CopilotChatProps = Omit<CopilotChatViewProps, "messages" | "isRunning" | "s
|
|
|
1424
1614
|
* even when the provider specifies a non-zero `defaultThrottleMs`.
|
|
1425
1615
|
*/
|
|
1426
1616
|
throttleMs?: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Experimental. Wrapper for generative UI surfaces rendered in this chat.
|
|
1619
|
+
* Receives `{ surfaceId, isStreaming, error, children }`.
|
|
1620
|
+
*/
|
|
1621
|
+
generativeUISurface?: React$1.ComponentType<GenerativeUIChatSurfaceProps>;
|
|
1427
1622
|
};
|
|
1428
1623
|
declare function CopilotChat({
|
|
1429
1624
|
agentId,
|
|
@@ -1435,6 +1630,7 @@ declare function CopilotChat({
|
|
|
1435
1630
|
attachments: attachmentsConfig,
|
|
1436
1631
|
onError,
|
|
1437
1632
|
throttleMs,
|
|
1633
|
+
generativeUISurface,
|
|
1438
1634
|
...props
|
|
1439
1635
|
}: CopilotChatProps): react_jsx_runtime0.JSX.Element;
|
|
1440
1636
|
declare namespace CopilotChat {
|
|
@@ -1484,7 +1680,7 @@ declare function CopilotModalHeader({
|
|
|
1484
1680
|
children,
|
|
1485
1681
|
className,
|
|
1486
1682
|
...rest
|
|
1487
|
-
}: CopilotModalHeaderProps): string | number | bigint | boolean |
|
|
1683
|
+
}: 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;
|
|
1488
1684
|
declare namespace CopilotModalHeader {
|
|
1489
1685
|
var displayName: string;
|
|
1490
1686
|
}
|
|
@@ -1994,6 +2190,10 @@ interface CopilotChatAttachmentRendererProps {
|
|
|
1994
2190
|
declare const CopilotChatAttachmentRenderer: React$1.FC<CopilotChatAttachmentRendererProps>;
|
|
1995
2191
|
//#endregion
|
|
1996
2192
|
//#region src/v2/components/WildcardToolCallRender.d.ts
|
|
2193
|
+
/**
|
|
2194
|
+
* Catch-all (`"*"`) tool-call renderer that shows CopilotKit's default
|
|
2195
|
+
* tool-call card for any tool without a dedicated renderer.
|
|
2196
|
+
*/
|
|
1997
2197
|
declare const WildcardToolCallRender: ReactToolCallRenderer<any>;
|
|
1998
2198
|
//#endregion
|
|
1999
2199
|
//#region src/v2/components/CopilotKitInspectorContext.d.ts
|
|
@@ -2020,6 +2220,12 @@ interface MCPAppsActivityRendererProps {
|
|
|
2020
2220
|
content: MCPAppsActivityContent;
|
|
2021
2221
|
message: unknown;
|
|
2022
2222
|
agent: AbstractAgent | undefined;
|
|
2223
|
+
/**
|
|
2224
|
+
* Restore `allow-same-origin` on the sandbox. Unsafe: the widget runs with
|
|
2225
|
+
* the host page's origin. Set via `mcpApps.allowSameOriginFallback` on
|
|
2226
|
+
* `CopilotKitProvider`.
|
|
2227
|
+
*/
|
|
2228
|
+
allowSameOriginFallback?: boolean;
|
|
2023
2229
|
}
|
|
2024
2230
|
/**
|
|
2025
2231
|
* MCP Apps Extension Activity Renderer
|
|
@@ -2044,22 +2250,22 @@ declare const OpenGenerativeUIContentSchema: z.ZodObject<{
|
|
|
2044
2250
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2045
2251
|
jsExpressionsComplete: z.ZodOptional<z.ZodBoolean>;
|
|
2046
2252
|
}, "strip", z.ZodTypeAny, {
|
|
2253
|
+
html?: string[] | undefined;
|
|
2047
2254
|
initialHeight?: number | undefined;
|
|
2048
2255
|
generating?: boolean | undefined;
|
|
2049
2256
|
css?: string | undefined;
|
|
2050
2257
|
cssComplete?: boolean | undefined;
|
|
2051
|
-
html?: string[] | undefined;
|
|
2052
2258
|
htmlComplete?: boolean | undefined;
|
|
2053
2259
|
jsFunctions?: string | undefined;
|
|
2054
2260
|
jsFunctionsComplete?: boolean | undefined;
|
|
2055
2261
|
jsExpressions?: string[] | undefined;
|
|
2056
2262
|
jsExpressionsComplete?: boolean | undefined;
|
|
2057
2263
|
}, {
|
|
2264
|
+
html?: string[] | undefined;
|
|
2058
2265
|
initialHeight?: number | undefined;
|
|
2059
2266
|
generating?: boolean | undefined;
|
|
2060
2267
|
css?: string | undefined;
|
|
2061
2268
|
cssComplete?: boolean | undefined;
|
|
2062
|
-
html?: string[] | undefined;
|
|
2063
2269
|
htmlComplete?: boolean | undefined;
|
|
2064
2270
|
jsFunctions?: string | undefined;
|
|
2065
2271
|
jsFunctionsComplete?: boolean | undefined;
|
|
@@ -2079,16 +2285,16 @@ declare const GenerateSandboxedUiArgsSchema: z.ZodObject<{
|
|
|
2079
2285
|
jsFunctions: z.ZodOptional<z.ZodString>;
|
|
2080
2286
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2081
2287
|
}, "strip", z.ZodTypeAny, {
|
|
2288
|
+
html?: string | undefined;
|
|
2082
2289
|
initialHeight?: number | undefined;
|
|
2083
2290
|
css?: string | undefined;
|
|
2084
|
-
html?: string | undefined;
|
|
2085
2291
|
jsFunctions?: string | undefined;
|
|
2086
2292
|
jsExpressions?: string[] | undefined;
|
|
2087
2293
|
placeholderMessages?: string[] | undefined;
|
|
2088
2294
|
}, {
|
|
2295
|
+
html?: string | undefined;
|
|
2089
2296
|
initialHeight?: number | undefined;
|
|
2090
2297
|
css?: string | undefined;
|
|
2091
|
-
html?: string | undefined;
|
|
2092
2298
|
jsFunctions?: string | undefined;
|
|
2093
2299
|
jsExpressions?: string[] | undefined;
|
|
2094
2300
|
placeholderMessages?: string[] | undefined;
|
|
@@ -2126,6 +2332,47 @@ declare const OpenGenerativeUIToolRenderer: React$1.FC<{
|
|
|
2126
2332
|
result: string;
|
|
2127
2333
|
}>;
|
|
2128
2334
|
//#endregion
|
|
2335
|
+
//#region src/v2/types/react-tool-call-renderer.d.ts
|
|
2336
|
+
interface ReactToolCallRenderer<T = unknown> {
|
|
2337
|
+
name: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* Schema describing the tool arguments. Optional — renderers registered for
|
|
2340
|
+
* tools without parameters (e.g. HITL confirm dialogs) have no schema.
|
|
2341
|
+
*/
|
|
2342
|
+
args?: StandardSchemaV1<any, T>;
|
|
2343
|
+
/**
|
|
2344
|
+
* Optional agent ID to constrain this tool renderer to a specific agent.
|
|
2345
|
+
* If specified, this renderer will only be used for the specified agent.
|
|
2346
|
+
*/
|
|
2347
|
+
agentId?: string;
|
|
2348
|
+
/**
|
|
2349
|
+
* Whether calls this renderer draws join the chat's tool-call groups (see
|
|
2350
|
+
* `toolCallDisplay` on `CopilotChatMessageView`). CopilotKit's built-in card
|
|
2351
|
+
* sets it; a renderer that leaves it unset always shows its calls on their
|
|
2352
|
+
* own, since the chat can't tell what it draws (it may even draw nothing).
|
|
2353
|
+
*/
|
|
2354
|
+
group?: boolean;
|
|
2355
|
+
render: React.ComponentType<{
|
|
2356
|
+
name: string;
|
|
2357
|
+
toolCallId: string;
|
|
2358
|
+
args: Partial<T>;
|
|
2359
|
+
status: ToolCallStatus.InProgress;
|
|
2360
|
+
result: undefined;
|
|
2361
|
+
} | {
|
|
2362
|
+
name: string;
|
|
2363
|
+
toolCallId: string;
|
|
2364
|
+
args: T;
|
|
2365
|
+
status: ToolCallStatus.Executing;
|
|
2366
|
+
result: undefined;
|
|
2367
|
+
} | {
|
|
2368
|
+
name: string;
|
|
2369
|
+
toolCallId: string;
|
|
2370
|
+
args: T;
|
|
2371
|
+
status: ToolCallStatus.Complete;
|
|
2372
|
+
result: string;
|
|
2373
|
+
}>;
|
|
2374
|
+
}
|
|
2375
|
+
//#endregion
|
|
2129
2376
|
//#region src/v2/hooks/use-render-tool-call.d.ts
|
|
2130
2377
|
interface UseRenderToolCallProps {
|
|
2131
2378
|
toolCall: ToolCall;
|
|
@@ -2165,65 +2412,6 @@ interface UseRenderCustomMessagesParams {
|
|
|
2165
2412
|
}
|
|
2166
2413
|
declare function useRenderCustomMessages(): ((params: UseRenderCustomMessagesParams) => react_jsx_runtime0.JSX.Element | null) | null;
|
|
2167
2414
|
//#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
|
-
//#region src/v2/types/react-activity-message-renderer.d.ts
|
|
2203
|
-
interface ReactActivityMessageRenderer<TActivityContent> {
|
|
2204
|
-
/**
|
|
2205
|
-
* Activity type to match when rendering. Use "*" as a wildcard renderer.
|
|
2206
|
-
*/
|
|
2207
|
-
activityType: string;
|
|
2208
|
-
/**
|
|
2209
|
-
* Optional agent ID to scope the renderer to a particular agent.
|
|
2210
|
-
*/
|
|
2211
|
-
agentId?: string;
|
|
2212
|
-
/**
|
|
2213
|
-
* Schema describing the activity content payload.
|
|
2214
|
-
*/
|
|
2215
|
-
content: StandardSchemaV1<any, TActivityContent>;
|
|
2216
|
-
/**
|
|
2217
|
-
* React component invoked to render the activity message.
|
|
2218
|
-
*/
|
|
2219
|
-
render: React.ComponentType<{
|
|
2220
|
-
activityType: string;
|
|
2221
|
-
content: TActivityContent;
|
|
2222
|
-
message: ActivityMessage;
|
|
2223
|
-
agent: AbstractAgent | undefined;
|
|
2224
|
-
}>;
|
|
2225
|
-
}
|
|
2226
|
-
//#endregion
|
|
2227
2415
|
//#region src/v2/types/frontend-tool.d.ts
|
|
2228
2416
|
type ReactFrontendTool<T extends Record<string, unknown> = Record<string, unknown>> = FrontendTool<T> & {
|
|
2229
2417
|
render?: ReactToolCallRenderer<T>["render"];
|
|
@@ -2308,12 +2496,14 @@ declare function defineToolCallRenderer(def: {
|
|
|
2308
2496
|
name: "*";
|
|
2309
2497
|
render: (props: RenderProps<any>) => React$1.ReactElement | null;
|
|
2310
2498
|
agentId?: string;
|
|
2499
|
+
group?: boolean;
|
|
2311
2500
|
}): ReactToolCallRenderer<any>;
|
|
2312
2501
|
declare function defineToolCallRenderer<S extends StandardSchemaV1>(def: {
|
|
2313
2502
|
name: string;
|
|
2314
2503
|
args: S;
|
|
2315
2504
|
render: (props: RenderProps<InferSchemaOutput<S>>) => React$1.ReactElement | null;
|
|
2316
2505
|
agentId?: string;
|
|
2506
|
+
group?: boolean;
|
|
2317
2507
|
}): ReactToolCallRenderer<InferSchemaOutput<S>>;
|
|
2318
2508
|
//#endregion
|
|
2319
2509
|
//#region src/v2/types/interrupt.d.ts
|
|
@@ -2544,7 +2734,8 @@ type RenderToolProps<S extends StandardSchemaV1> = RenderToolInProgressProps<S>
|
|
|
2544
2734
|
declare function useRenderTool(config: {
|
|
2545
2735
|
name: "*";
|
|
2546
2736
|
render: (props: any) => React.ReactElement | null;
|
|
2547
|
-
agentId?: string;
|
|
2737
|
+
agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
|
|
2738
|
+
group?: boolean;
|
|
2548
2739
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2549
2740
|
/**
|
|
2550
2741
|
* Registers a name-scoped renderer for tool calls.
|
|
@@ -2577,7 +2768,8 @@ declare function useRenderTool<S extends StandardSchemaV1>(config: {
|
|
|
2577
2768
|
name: string;
|
|
2578
2769
|
parameters: S;
|
|
2579
2770
|
render: (props: RenderToolProps<S>) => React.ReactElement | null;
|
|
2580
|
-
agentId?: string;
|
|
2771
|
+
agentId?: string; /** Let the chat group the calls this renderer draws (see `toolCallDisplay`). */
|
|
2772
|
+
group?: boolean;
|
|
2581
2773
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2582
2774
|
//#endregion
|
|
2583
2775
|
//#region src/v2/hooks/use-default-render-tool.d.ts
|
|
@@ -2626,6 +2818,12 @@ type DefaultRenderProps = {
|
|
|
2626
2818
|
*/
|
|
2627
2819
|
declare function useDefaultRenderTool(config?: {
|
|
2628
2820
|
render?: (props: DefaultRenderProps) => React$1.ReactElement | null;
|
|
2821
|
+
/**
|
|
2822
|
+
* Let the chat group calls your `render` draws, like it groups the
|
|
2823
|
+
* built-in card's (see `toolCallDisplay` on `CopilotChatMessageView`).
|
|
2824
|
+
* Off by default for a custom `render`, since it may draw nothing.
|
|
2825
|
+
*/
|
|
2826
|
+
group?: boolean;
|
|
2629
2827
|
}, deps?: ReadonlyArray<unknown>): void;
|
|
2630
2828
|
//#endregion
|
|
2631
2829
|
//#region src/v2/hooks/use-human-in-the-loop.d.ts
|
|
@@ -3549,6 +3747,35 @@ interface CopilotKitProviderProps {
|
|
|
3549
3747
|
*/
|
|
3550
3748
|
recovery?: A2UIRecoveryRendererOptions;
|
|
3551
3749
|
};
|
|
3750
|
+
/**
|
|
3751
|
+
* Experimental. Native generative UI: `generativeUI={{ ui }}`, where `ui`
|
|
3752
|
+
* comes from `createGenerativeUI`. The agent renders your React components
|
|
3753
|
+
* into chat or into `<GenerativeUISurface id>` mounts. Props that match
|
|
3754
|
+
* the declared state and events that match the declared functions are
|
|
3755
|
+
* bound by the library, and the model does not see them.
|
|
3756
|
+
*/
|
|
3757
|
+
generativeUI?: GenerativeUIConfig;
|
|
3758
|
+
/**
|
|
3759
|
+
* Configuration for the built-in MCP Apps renderer.
|
|
3760
|
+
*
|
|
3761
|
+
* @example
|
|
3762
|
+
* ```tsx
|
|
3763
|
+
* <CopilotKit runtimeUrl="/api/copilotkit" mcpApps={{ allowSameOriginFallback: true }}>
|
|
3764
|
+
* {children}
|
|
3765
|
+
* </CopilotKit>
|
|
3766
|
+
* ```
|
|
3767
|
+
*/
|
|
3768
|
+
mcpApps?: {
|
|
3769
|
+
/**
|
|
3770
|
+
* Restore `allow-same-origin` on the MCP App sandbox. Default `false`.
|
|
3771
|
+
*
|
|
3772
|
+
* **Unsafe.** The widget then runs with your page's origin: it can read
|
|
3773
|
+
* your cookies, storage and DOM, and call your APIs as the signed-in user.
|
|
3774
|
+
* Only set it for widgets you wrote and trust that need `localStorage`,
|
|
3775
|
+
* `IndexedDB` or cookies. By default widgets get an opaque origin.
|
|
3776
|
+
*/
|
|
3777
|
+
allowSameOriginFallback?: boolean;
|
|
3778
|
+
};
|
|
3552
3779
|
/**
|
|
3553
3780
|
* Default throttle interval (in milliseconds) for `useAgent` re-renders
|
|
3554
3781
|
* triggered by `OnMessagesChanged` notifications. This value is used as
|
|
@@ -3599,6 +3826,7 @@ type LearningProp = LearningConfig & {
|
|
|
3599
3826
|
*/
|
|
3600
3827
|
learningContainerIds?: string[];
|
|
3601
3828
|
};
|
|
3829
|
+
/** Provide a shared core instance and synchronize runtime, tool, and UI configuration. */
|
|
3602
3830
|
declare const CopilotKitProvider: React$1.FC<CopilotKitProviderProps>;
|
|
3603
3831
|
//#endregion
|
|
3604
3832
|
//#region src/v2/providers/SandboxFunctionsContext.d.ts
|
|
@@ -3854,5 +4082,5 @@ declare function CopilotKit({
|
|
|
3854
4082
|
}: CopilotKitProps): react_jsx_runtime0.JSX.Element;
|
|
3855
4083
|
declare const defaultCopilotContextCategories: string[];
|
|
3856
4084
|
//#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-
|
|
4085
|
+
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 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 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 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 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 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 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 as Hu, LearnFromUserActionResult as I, InputContent as Ia, SubagentFinishedSuccessOutcome as Ic, ɵMAX_SOCKET_RETRIES as Id, ɵselectThreadsIsLoading 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 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 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 as Pd, ɵselectThreads 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 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 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 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 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 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, CopilotKitCoreReact 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, InspectorAnchor as c, EventSchemas as ca, State as cc, prepareSurfaceOperations as cd, ɵcreateThreadStore as cf, CompatibilityBoundary as ci, TextMessageChunkEventSchema as cl, DefaultOpenIcon as cn, LegacyLearningConfig as co, TreeNode as cp, AGUIConnectNotImplementedError as cr, ReasoningMessageChunkEventProps as cs, InterruptEvent as ct, VideoPart as cu, CopilotKitProvider 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, CopilotKitProviderProps 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, useLicenseContext as g, FrontendTool$1 as ga, StateSnapshotEvent as gc, splitA2UIMarkdown 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, useCopilotKit 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 as jf, CopilotKitCoreSubscriber$1 as ji, ToolCallChunkEvent as jl, CopilotChatSuggestionViewProps as jn, MultimodalInputCapabilities as jo, AgentCapabilities$1 as jr, Role as js, MCPAppsActivityType as jt, emitInspectorActiveThread as ju, UseAttachmentsProps as k, IdentityCapabilitiesSchema as ka, SubagentErrorEventProps as kc, ɵGenerativeUIDebugSnapshot as kd, ɵselectMemoriesAvailable as kf, CopilotKitCoreRuntimeConnectionStatus as ki, ToolCallArgsEventProps as kl, CopilotChatWorkSummaryProps as kn, MultimodalCapabilities as ko, AddOperation as kr, ResumeEntrySchema as ks, MCPAppsActivityContentSchema as kt, createStore as ku, SandboxFunctionsContext 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 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 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, A2UIRecoveryRendererOptions 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 as qu, CopilotKitProps as r, Effect as ra, RuntimeMode as rc, onInspectorViewThread 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, useSandboxFunctions as u, EventTypeSchema as ua, StateCapabilitiesSchema as uc, randomUUID as ud, ɵisHttpAgent 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, CopilotKitCoreReactConfig 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 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 as xu, CopilotKitCoreReactSubscriber 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 };
|
|
4086
|
+
//# sourceMappingURL=copilotkit-D9jIImy9.d.cts.map
|