@copilotkit/react-core 1.79.1 → 1.80.0

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