@copilotkit/react-core 1.62.2 → 1.62.3

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.
@@ -3,7 +3,7 @@ import { Agent, ExtensionsInput, ForwardedParametersInput, LangGraphInterruptEve
3
3
  import * as react from "react";
4
4
  import React$1, { ComponentType, ReactNode } from "react";
5
5
  import { Action, Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1, CopilotCloudConfig, CopilotErrorHandler, CopilotKitError, DebugConfig, FunctionCallHandler, InferSchemaOutput, InputContentSource, MappedParameterTypes, Parameter, StandardSchemaV1 } from "@copilotkit/shared";
6
- import { CopilotKitCore, CopilotKitCoreConfig, CopilotKitCoreErrorCode, CopilotKitCoreSubscriber, CopilotKitCoreSubscription, DynamicSuggestionsConfig, FrontendTool, StaticSuggestionsConfig, Suggestion, ToolCallStatus } from "@copilotkit/core";
6
+ import { CopilotKitCore, CopilotKitCoreConfig, CopilotKitCoreErrorCode, CopilotKitCoreSubscriber, CopilotKitCoreSubscription, DynamicSuggestionsConfig, FrontendTool, Memory, Memory as Memory$1, MemoryChanges, MemoryChanges as MemoryChanges$1, MemoryKind, MemoryRealtimeStatus, MemoryScope, NewMemory, NewMemory as NewMemory$1, StaticSuggestionsConfig, Suggestion, ToolCallStatus } from "@copilotkit/core";
7
7
  import { AbstractAgent, Interrupt, ResumeEntry, RunAgentResult } from "@ag-ui/client";
8
8
  import { ActivityMessage, AgentCapabilities, AssistantMessage, Message as Message$2, ReasoningMessage, ToolCall, ToolMessage, UserMessage } from "@ag-ui/core";
9
9
  import { Streamdown } from "streamdown";
@@ -1540,6 +1540,14 @@ interface UseThreadsResult {
1540
1540
  * a developer-facing configuration message into the UI.
1541
1541
  */
1542
1542
  listError: Error | null;
1543
+ /**
1544
+ * The error from the most recent FAILED next-page (fetch-more) load, or
1545
+ * `null`. Tracked separately from {@link listError} so a paginated-load
1546
+ * failure surfaces an inline "couldn't load more" affordance while the
1547
+ * already-loaded list stays visible. Cleared when a fetch-more is retried or
1548
+ * succeeds.
1549
+ */
1550
+ fetchMoreError: Error | null;
1543
1551
  /**
1544
1552
  * `true` when there are more threads available to fetch via
1545
1553
  * {@link fetchMoreThreads}. Only meaningful when `limit` is set.
@@ -1708,6 +1716,24 @@ interface CopilotThreadsDrawerProps {
1708
1716
  * `"Threads"` when omitted.
1709
1717
  */
1710
1718
  label?: string;
1719
+ /**
1720
+ * Heading for the "Recent Conversations" section above the thread list. Sets
1721
+ * the custom element's `recent-label` attribute. Defaults to the element's
1722
+ * built-in `"Recent Conversations"` when omitted.
1723
+ */
1724
+ recentLabel?: string;
1725
+ /**
1726
+ * Whether the drawer offers a collapse toggle. Sets the custom element's
1727
+ * `collapsible` PROPERTY. When `false`, the drawer has no collapse toggle and
1728
+ * is always expanded. Defaults to the element's built-in `true` when omitted.
1729
+ */
1730
+ collapsible?: boolean;
1731
+ /**
1732
+ * Called when the drawer's collapsed state changes (via the element's collapse
1733
+ * toggle), with the new collapsed state. Mirrors the element's
1734
+ * `collapse-change` event.
1735
+ */
1736
+ onCollapseChange?: (collapsed: boolean) => void;
1711
1737
  /**
1712
1738
  * Page size for thread pagination. When set, threads are fetched in pages of
1713
1739
  * this size and the drawer shows a "Load more" control while more remain.
@@ -1728,7 +1754,7 @@ interface CopilotThreadsDrawerProps {
1728
1754
  * during prerender to avoid hydration mismatch).
1729
1755
  * - Feeds the element domain data: `threads`, `loading`, `error`,
1730
1756
  * `activeThreadId`, `licensed`, fetch-more state.
1731
- * - Routes the element's nine outbound events to core thread operations
1757
+ * - Routes the element's outbound events to core thread operations
1732
1758
  * ({@link useThreads}) and chat-configuration changes.
1733
1759
  * - Registers with the surrounding chat configuration so the header
1734
1760
  * thread-list launcher appears, and binds the element `open` state to the
@@ -1763,6 +1789,9 @@ declare function CopilotThreadsDrawer({
1763
1789
  licenseUrl,
1764
1790
  renderRow,
1765
1791
  label,
1792
+ recentLabel,
1793
+ collapsible,
1794
+ onCollapseChange,
1766
1795
  limit,
1767
1796
  "data-testid": dataTestId
1768
1797
  }: CopilotThreadsDrawerProps): React$1.ReactElement | null;
@@ -2319,6 +2348,10 @@ declare enum UseAgentUpdate {
2319
2348
  OnRunStatusChanged = "OnRunStatusChanged"
2320
2349
  }
2321
2350
  interface UseAgentProps {
2351
+ /**
2352
+ * Agent to bind to. Resolution precedence: this property, then the surrounding
2353
+ * chat configuration's agentId, then the global default.
2354
+ */
2322
2355
  agentId?: string;
2323
2356
  updates?: UseAgentUpdate[];
2324
2357
  /**
@@ -2355,13 +2388,15 @@ declare function useAgent({
2355
2388
  //#endregion
2356
2389
  //#region src/v2/hooks/use-capabilities.d.ts
2357
2390
  /**
2358
- * Returns the capabilities declared by the given agent (or the default agent).
2391
+ * Returns the capabilities declared by the given agent (or the agent resolved
2392
+ * from the surrounding chat configuration, falling back to the default agent).
2359
2393
  * Capabilities are populated from the runtime `/info` response at connection
2360
2394
  * time. The hook reads them synchronously from the agent instance — there is
2361
2395
  * no separate loading state, but the value will be `undefined` until the
2362
2396
  * runtime handshake completes.
2363
2397
  *
2364
- * @param agentId - Optional agent ID. If omitted, uses the default agent.
2398
+ * @param agentId - Optional agent ID. If omitted, inherits the surrounding
2399
+ * chat configuration's agent, falling back to the default agent.
2365
2400
  * @returns The agent's capabilities, or `undefined` if the agent doesn't
2366
2401
  * declare capabilities.
2367
2402
  */
@@ -2472,6 +2507,118 @@ type UseInterruptConfig<TValue = unknown, TResult = never, TRenderInChat extends
2472
2507
  */
2473
2508
  declare function useInterrupt<TResult = never, TRenderInChat extends InterruptRenderInChat = undefined>(config: UseInterruptConfig<any, TResult, TRenderInChat>): UseInterruptReturn<TRenderInChat>;
2474
2509
  //#endregion
2510
+ //#region src/v2/hooks/use-memories.d.ts
2511
+ /**
2512
+ * Return value of the {@link useMemories} hook.
2513
+ *
2514
+ * The `memories` array is the server-authoritative list for the current user.
2515
+ * It is hydrated from a REST snapshot and kept current by realtime
2516
+ * `memory_metadata` deltas from the store's own channel. Mutations resolve
2517
+ * once the platform confirms the operation and reject with an `Error` on
2518
+ * failure.
2519
+ */
2520
+ interface UseMemoriesResult {
2521
+ /**
2522
+ * Memories for the current user, newest first. Updated in realtime when
2523
+ * the platform pushes `memory_metadata` events.
2524
+ */
2525
+ memories: Memory[];
2526
+ /**
2527
+ * `true` while the initial memory snapshot is being fetched. Subsequent
2528
+ * realtime updates do not re-enter the loading state.
2529
+ */
2530
+ isLoading: boolean;
2531
+ /**
2532
+ * The most recent error from fetching memories or executing a mutation, or
2533
+ * `null` when there is no error. Cleared on the next fetch attempt, on a
2534
+ * successful fetch, when the runtime context changes, and on a successful
2535
+ * mutation (a failed mutation replaces it with that mutation's error).
2536
+ */
2537
+ error: Error | null;
2538
+ /**
2539
+ * `true` when the platform memory routes are available. Set to `false`
2540
+ * after a 404 or 501, indicating memory is not supported by the current
2541
+ * runtime configuration.
2542
+ */
2543
+ isAvailable: boolean;
2544
+ /**
2545
+ * Health of the realtime connection that streams live `memory_metadata`
2546
+ * deltas. Distinct from `isAvailable`/`error` (which describe the REST list
2547
+ * route): `"connecting"` while the socket opens/joins, `"connected"` once
2548
+ * live deltas are flowing, and `"unavailable"` once the socket permanently
2549
+ * gives up — at which point the list is a frozen snapshot. Lets the UI drop a
2550
+ * "live" indicator instead of showing it over stale data.
2551
+ */
2552
+ realtimeStatus: MemoryRealtimeStatus;
2553
+ /**
2554
+ * Re-fetch the memory snapshot from the platform. Resolves once the re-pull
2555
+ * settles; rejects if it fails or the store is torn down mid-flight.
2556
+ */
2557
+ refresh: () => Promise<void>;
2558
+ /**
2559
+ * Create a memory. Resolves to the stored memory (server-authoritative);
2560
+ * rejects on failure.
2561
+ */
2562
+ addMemory: (input: NewMemory) => Promise<Memory>;
2563
+ /**
2564
+ * Supersede a memory: the old memory is retired and a new one is created.
2565
+ * Resolves to the new memory (its `id` differs from `id`); rejects on
2566
+ * failure.
2567
+ *
2568
+ * Supersede is a FULL replacement, not a partial patch: `changes` is the
2569
+ * complete definition of the new memory. You must re-supply `content` and
2570
+ * `kind`, and an omitted `sourceThreadIds` resets the new memory's source
2571
+ * threads to empty — it does not preserve the prior memory's value.
2572
+ */
2573
+ updateMemory: (id: string, changes: MemoryChanges) => Promise<Memory>;
2574
+ /**
2575
+ * Retire a memory (non-lossy delete). Resolves when the server confirms;
2576
+ * rejects on failure.
2577
+ */
2578
+ removeMemory: (id: string) => Promise<void>;
2579
+ }
2580
+ /**
2581
+ * React hook for listing and managing platform memories.
2582
+ *
2583
+ * Reads the memory store owned and wired by `CopilotKitCore`. On mount the
2584
+ * hook exposes the live list plus stable `addMemory` / `updateMemory` /
2585
+ * `removeMemory` / `refresh` callbacks. Mutations are server-authoritative:
2586
+ * each resolves once the platform confirms the operation and rejects with an
2587
+ * `Error` on failure.
2588
+ *
2589
+ * Realtime updates are automatic: the core's memory store opens its own
2590
+ * `user_meta:memories:<joinCode>` channel and applies `memory_metadata` deltas
2591
+ * to the list. You can still call `refresh()` to re-pull the REST snapshot on
2592
+ * demand.
2593
+ *
2594
+ * @returns Memory list state and stable mutation callbacks.
2595
+ *
2596
+ * @example
2597
+ * ```tsx
2598
+ * import { useMemories } from "@copilotkit/react-core";
2599
+ *
2600
+ * function MemoryList() {
2601
+ * const { memories, isLoading, isAvailable, addMemory, removeMemory } =
2602
+ * useMemories();
2603
+ *
2604
+ * if (!isAvailable) return null;
2605
+ * if (isLoading) return <p>Loading…</p>;
2606
+ *
2607
+ * return (
2608
+ * <ul>
2609
+ * {memories.map((m) => (
2610
+ * <li key={m.id}>
2611
+ * {m.content}
2612
+ * <button onClick={() => removeMemory(m.id)}>Delete</button>
2613
+ * </li>
2614
+ * ))}
2615
+ * </ul>
2616
+ * );
2617
+ * }
2618
+ * ```
2619
+ */
2620
+ declare function useMemories(): UseMemoriesResult;
2621
+ //#endregion
2475
2622
  //#region src/v2/hooks/use-learn-from-user-action.d.ts
2476
2623
  /**
2477
2624
  * Input to {@link UseLearnFromUserActionRecorder}, the function returned
@@ -3177,5 +3324,5 @@ declare function CopilotKit({
3177
3324
  }: CopilotKitProps): react_jsx_runtime0.JSX.Element;
3178
3325
  declare const defaultCopilotContextCategories: string[];
3179
3326
  //#endregion
3180
- export { InterruptHandlerProps as $, ActionRenderPropsNoArgs as $n, IntelligenceIndicator as $t, LearnFromUserActionResult as A, CopilotContext as An, useThreads as At, useCapabilities as B, QueuedInterruptEvent as Bn, CopilotModalHeaderProps as Bt, UseAttachmentsProps as C, CopilotChatLabels as Cn, CopilotChatAttachmentQueue as Ct, UseLearnFromUserActionInCurrentThreadRecorder as D, CopilotChatAudioRecorder as Dn, Thread as Dt, LearnFromUserActionInCurrentThreadInput as E, AudioRecorderState as En, CopilotThreadsDrawerRowRenderer as Et, useConfigureSuggestions as F, LangGraphInterruptActionSetter as Fn, CopilotPopupView as Ft, useRenderTool as G, CrewsTaskStateItem as Gn, CopilotChat as Gt, useAgent as H, CrewsResponse as Hn, CopilotChatToggleButtonProps as Ht, useSuggestions as I, LangGraphInterruptActionSetterArgs as In, CopilotPopupViewProps as It, useRenderActivityMessage as J, SystemMessageFunction as Jn, CopilotChatViewProps as Jt, useComponent as K, CrewsToolStateItem as Kn, CopilotChatProps as Kt, AgentContextInput as L, LangGraphInterruptRender as Ln, CopilotSidebarView as Lt, useLearnFromUserAction as M, useCopilotContext as Mn, CopilotPopupProps as Mt, UseInterruptConfig as N, CoAgentStateRender as Nn, CopilotSidebar as Nt, useLearnFromUserActionInCurrentThread as O, CoagentInChatRenderFunction as On, UseThreadsInput as Ot, useInterrupt as P, LangGraphInterruptAction as Pn, CopilotSidebarProps as Pt, InterruptEvent as Q, ActionRenderProps as Qn, INTELLIGENCE_TURN_HEAD as Qt, JsonSerializable as R, LangGraphInterruptRenderHandlerProps as Rn, CopilotSidebarViewProps as Rt, useLearningContainers as S, CopilotChatConfigurationValue as Sn, CopilotChatAttachmentRenderer as St, useAttachments as T, AudioRecorderError as Tn, CopilotThreadsDrawerProps as Tt, useHumanInTheLoop as U, CrewsResponseStatus as Un, DefaultCloseIcon as Ut, UseAgentUpdate as V, CrewsAgentState as Vn, CopilotChatToggleButton as Vt, useDefaultRenderTool as W, CrewsStateItem as Wn, DefaultOpenIcon as Wt, Interrupt as X, Tree as Xn, CopilotChatMessageView as Xt, SandboxFunction as Y, DocumentPointer as Yn, AutoScrollMode as Yt, InterruptCancelFn as Z, TreeNode as Zn, CopilotChatMessageViewProps as Zt, CopilotKitCoreReactConfig as _, CopilotChatInput as _n, CopilotKitInspectorProps as _t, A2UIMessageRendererOptions as a, CopilotChatSuggestionView as an, FrontendActionAvailability as ar, ReactFrontendTool as at, useLearningContainersInCurrentThread as b, CopilotChatConfigurationProvider as bn, AttachmentModality as bt, InspectorAnchor as c, CopilotChatSuggestionPillProps as cn, useRenderCustomMessages as ct, CopilotKitProvider as d, CopilotChatUserMessage as dn, useRenderToolCall as dt, IntelligenceIndicatorProps as en, ActionRenderPropsNoArgsWait as er, InterruptRenderProps as et, CopilotKitProviderProps as f, CopilotChatUserMessageProps as fn, MCPAppsActivityContent as ft, CopilotKitCoreReact as g, CopilotChatToolCallsViewProps as gn, CopilotKitInspector as gt, useCopilotKit as h, CopilotChatToolCallsView as hn, MCPAppsActivityType as ht, A2UIActionInterceptor as i, IntelligenceIndicatorViewProps as in, FrontendAction as ir, ReactHumanInTheLoop as it, UseLearnFromUserActionRecorder as j, CopilotContextParams as jn, CopilotPopup as jt, LearnFromUserActionInput as k, CopilotApiConfig as kn, UseThreadsResult as kt, SandboxFunctionsContext as l, CopilotChatReasoningMessage as ln, ReactCustomMessageRenderer as lt, CopilotKitContextValue as m, CopilotChatAssistantMessageProps as mn, MCPAppsActivityRenderer as mt, defaultCopilotContextCategories as n, IntelligenceIndicatorStatus as nn, CatchAllActionRenderProps as nr, ResumeEntry as nt, A2UIUserAction as o, CopilotChatSuggestionViewProps as on, RenderFunctionStatus as or, ReactActivityMessageRenderer as ot, A2UIRecoveryRendererOptions as p, CopilotChatAssistantMessage as pn, MCPAppsActivityContentSchema as pt, useFrontendTool as q, CopilotChatSuggestionConfiguration as qn, CopilotChatView as qt, CopilotKitProps as r, IntelligenceIndicatorView as rn, CatchAllFrontendAction as rr, defineToolCallRenderer as rt, createA2UIMessageRenderer as s, CopilotChatSuggestionPill as sn, ReactToolCallRenderer as st, CopilotKit as t, getIntelligenceTurnAnchors as tn, ActionRenderPropsWait as tr, InterruptResolveFn as tt, useSandboxFunctions as u, CopilotChatReasoningMessageProps as un, ReactCustomMessageRendererPosition as ut, CopilotKitCoreReactSubscriber as v, CopilotChatInputProps as vn, WildcardToolCallRender as vt, UseAttachmentsReturn as w, useCopilotChatConfiguration as wn, CopilotThreadsDrawer as wt, UseLearningContainersArgs as x, CopilotChatConfigurationProviderProps as xn, AttachmentsConfig$1 as xt, UseLearningContainersInCurrentThreadArgs as y, ToolsMenuItem as yn, Attachment$1 as yt, useAgentContext as z, LangGraphInterruptRenderProps as zn, CopilotModalHeader as zt };
3181
- //# sourceMappingURL=copilotkit-Cga6AHO0.d.cts.map
3327
+ export { useComponent as $, CrewsToolStateItem as $n, CopilotChatProps as $t, useAttachments as A, CopilotChatLabels as An, CopilotChatAttachmentQueue as At, UseInterruptConfig as B, CoAgentStateRender as Bn, CopilotSidebar as Bt, NewMemory$1 as C, CopilotChatToolCallsViewProps as Cn, CopilotKitInspector as Ct, useLearningContainers as D, CopilotChatConfigurationProvider as Dn, AttachmentModality as Dt, UseLearningContainersArgs as E, ToolsMenuItem as En, Attachment$1 as Et, LearnFromUserActionResult as F, CoagentInChatRenderFunction as Fn, UseThreadsInput as Ft, JsonSerializable as G, LangGraphInterruptRenderHandlerProps as Gn, CopilotSidebarViewProps as Gt, useConfigureSuggestions as H, LangGraphInterruptActionSetter as Hn, CopilotPopupView as Ht, UseLearnFromUserActionRecorder as I, CopilotApiConfig as In, UseThreadsResult as It, UseAgentUpdate as J, CrewsAgentState as Jn, CopilotChatToggleButton as Jt, useAgentContext as K, LangGraphInterruptRenderProps as Kn, CopilotModalHeader as Kt, useLearnFromUserAction as L, CopilotContext as Ln, useThreads as Lt, UseLearnFromUserActionInCurrentThreadRecorder as M, AudioRecorderError as Mn, CopilotThreadsDrawerProps as Mt, useLearnFromUserActionInCurrentThread as N, AudioRecorderState as Nn, CopilotThreadsDrawerRowRenderer as Nt, UseAttachmentsProps as O, CopilotChatConfigurationProviderProps as On, AttachmentsConfig$1 as Ot, LearnFromUserActionInput as P, CopilotChatAudioRecorder as Pn, Thread as Pt, useRenderTool as Q, CrewsTaskStateItem as Qn, CopilotChat as Qt, UseMemoriesResult as R, CopilotContextParams as Rn, CopilotPopup as Rt, MemoryScope as S, CopilotChatToolCallsView as Sn, MCPAppsActivityType as St, useLearningContainersInCurrentThread as T, CopilotChatInputProps as Tn, WildcardToolCallRender as Tt, useSuggestions as U, LangGraphInterruptActionSetterArgs as Un, CopilotPopupViewProps as Ut, useInterrupt as V, LangGraphInterruptAction as Vn, CopilotSidebarProps as Vt, AgentContextInput as W, LangGraphInterruptRender as Wn, CopilotSidebarView as Wt, useHumanInTheLoop as X, CrewsResponseStatus as Xn, DefaultCloseIcon as Xt, useAgent as Y, CrewsResponse as Yn, CopilotChatToggleButtonProps as Yt, useDefaultRenderTool as Z, CrewsStateItem as Zn, DefaultOpenIcon as Zt, CopilotKitCoreReactConfig as _, CopilotChatReasoningMessageProps as _n, ReactCustomMessageRendererPosition as _t, A2UIMessageRendererOptions as a, INTELLIGENCE_TURN_HEAD as an, ActionRenderProps as ar, InterruptEvent as at, MemoryChanges$1 as b, CopilotChatAssistantMessage as bn, MCPAppsActivityContentSchema as bt, InspectorAnchor as c, getIntelligenceTurnAnchors as cn, ActionRenderPropsWait as cr, InterruptResolveFn as ct, CopilotKitProvider as d, IntelligenceIndicatorViewProps as dn, FrontendAction as dr, ReactHumanInTheLoop as dt, CopilotChatView as en, CopilotChatSuggestionConfiguration as er, useFrontendTool as et, CopilotKitProviderProps as f, CopilotChatSuggestionView as fn, FrontendActionAvailability as fr, ReactFrontendTool as ft, CopilotKitCoreReact as g, CopilotChatReasoningMessage as gn, ReactCustomMessageRenderer as gt, useCopilotKit as h, CopilotChatSuggestionPillProps as hn, useRenderCustomMessages as ht, A2UIActionInterceptor as i, CopilotChatMessageViewProps as in, TreeNode as ir, InterruptCancelFn as it, LearnFromUserActionInCurrentThreadInput as j, useCopilotChatConfiguration as jn, CopilotThreadsDrawer as jt, UseAttachmentsReturn as k, CopilotChatConfigurationValue as kn, CopilotChatAttachmentRenderer as kt, SandboxFunctionsContext as l, IntelligenceIndicatorStatus as ln, CatchAllActionRenderProps as lr, ResumeEntry as lt, CopilotKitContextValue as m, CopilotChatSuggestionPill as mn, ReactToolCallRenderer as mt, defaultCopilotContextCategories as n, AutoScrollMode as nn, DocumentPointer as nr, SandboxFunction as nt, A2UIUserAction as o, IntelligenceIndicator as on, ActionRenderPropsNoArgs as or, InterruptHandlerProps as ot, A2UIRecoveryRendererOptions as p, CopilotChatSuggestionViewProps as pn, RenderFunctionStatus as pr, ReactActivityMessageRenderer as pt, useCapabilities as q, QueuedInterruptEvent as qn, CopilotModalHeaderProps as qt, CopilotKitProps as r, CopilotChatMessageView as rn, Tree as rr, Interrupt as rt, createA2UIMessageRenderer as s, IntelligenceIndicatorProps as sn, ActionRenderPropsNoArgsWait as sr, InterruptRenderProps as st, CopilotKit as t, CopilotChatViewProps as tn, SystemMessageFunction as tr, useRenderActivityMessage as tt, useSandboxFunctions as u, IntelligenceIndicatorView as un, CatchAllFrontendAction as ur, defineToolCallRenderer as ut, CopilotKitCoreReactSubscriber as v, CopilotChatUserMessage as vn, useRenderToolCall as vt, UseLearningContainersInCurrentThreadArgs as w, CopilotChatInput as wn, CopilotKitInspectorProps as wt, MemoryKind as x, CopilotChatAssistantMessageProps as xn, MCPAppsActivityRenderer as xt, Memory$1 as y, CopilotChatUserMessageProps as yn, MCPAppsActivityContent as yt, useMemories as z, useCopilotContext as zn, CopilotPopupProps as zt };
3328
+ //# sourceMappingURL=copilotkit-BfFY1fzd.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copilotkit-BfFY1fzd.d.cts","names":[],"sources":["../src/types/frontend-action.ts","../src/hooks/use-tree.ts","../src/types/document-pointer.ts","../src/types/system-message.ts","../src/types/chat-suggestion-configuration.ts","../src/types/crew.ts","../src/types/interrupt-action.ts","../src/types/coagent-action.ts","../src/types/coagent-state.ts","../src/context/copilot-context.tsx","../src/v2/components/chat/CopilotChatAudioRecorder.tsx","../src/v2/providers/CopilotChatConfigurationProvider.tsx","../src/v2/lib/slots.tsx","../src/v2/components/chat/CopilotChatInput.tsx","../src/v2/components/chat/CopilotChatToolCallsView.tsx","../src/v2/components/chat/CopilotChatAssistantMessage.tsx","../src/v2/components/chat/CopilotChatUserMessage.tsx","../src/v2/components/chat/CopilotChatReasoningMessage.tsx","../src/v2/components/chat/CopilotChatSuggestionPill.tsx","../src/v2/components/chat/CopilotChatSuggestionView.tsx","../src/v2/components/intelligence-indicator/IntelligenceIndicatorView.tsx","../src/v2/components/intelligence-indicator/IntelligenceIndicator.tsx","../src/v2/components/chat/CopilotChatMessageView.tsx","../src/v2/components/chat/normalize-auto-scroll.ts","../src/v2/components/chat/CopilotChatView.tsx","../src/v2/components/chat/CopilotChat.tsx","../src/v2/components/chat/CopilotChatToggleButton.tsx","../src/v2/components/chat/CopilotModalHeader.tsx","../src/v2/components/chat/CopilotSidebarView.tsx","../src/v2/components/chat/CopilotPopupView.tsx","../src/v2/components/chat/CopilotSidebar.tsx","../src/v2/components/chat/CopilotPopup.tsx","../src/v2/hooks/use-threads.tsx","../src/v2/components/chat/CopilotThreadsDrawer.tsx","../src/v2/components/chat/CopilotChatAttachmentQueue.tsx","../src/v2/components/chat/CopilotChatAttachmentRenderer.tsx","../src/v2/components/WildcardToolCallRender.tsx","../src/v2/components/CopilotKitInspector.tsx","../src/v2/components/MCPAppsActivityRenderer.tsx","../src/v2/hooks/use-render-tool-call.tsx","../src/v2/types/react-custom-message-renderer.ts","../src/v2/hooks/use-render-custom-messages.tsx","../src/v2/types/react-tool-call-renderer.ts","../src/v2/types/react-activity-message-renderer.ts","../src/v2/types/frontend-tool.ts","../src/v2/types/human-in-the-loop.ts","../src/v2/types/defineToolCallRenderer.ts","../src/v2/types/interrupt.ts","../src/v2/types/sandbox-function.ts","../src/v2/hooks/use-render-activity-message.tsx","../src/v2/hooks/use-frontend-tool.tsx","../src/v2/hooks/use-component.tsx","../src/v2/hooks/use-render-tool.tsx","../src/v2/hooks/use-default-render-tool.tsx","../src/v2/hooks/use-human-in-the-loop.tsx","../src/v2/hooks/use-agent.tsx","../src/v2/hooks/use-capabilities.tsx","../src/v2/hooks/use-agent-context.tsx","../src/v2/hooks/use-suggestions.tsx","../src/v2/hooks/use-configure-suggestions.tsx","../src/v2/hooks/use-interrupt.tsx","../src/v2/hooks/use-memories.tsx","../src/v2/hooks/use-learn-from-user-action.tsx","../src/v2/hooks/use-learn-from-user-action-in-current-thread.tsx","../src/v2/hooks/use-attachments.tsx","../src/v2/hooks/use-learning-containers.tsx","../src/v2/hooks/use-learning-containers-in-current-thread.tsx","../src/v2/lib/react-core.ts","../src/v2/context.ts","../src/v2/a2ui/A2UIRecoveryStates.tsx","../src/v2/providers/CopilotKitProvider.tsx","../src/v2/providers/SandboxFunctionsContext.ts","../src/v2/a2ui/A2UIMessageRenderer.tsx","../src/components/copilot-provider/copilotkit-props.tsx","../src/components/copilot-provider/copilotkit.tsx"],"mappings":";;;;;;;;;;;;;;UASU,eAAA,WAA0B,SAAA;EAClC,MAAA;EACA,IAAA,EAAM,OAAA,CAAQ,oBAAA,CAAqB,CAAA;EACnC,MAAA;AAAA;AAAA,UAGQ,cAAA,WAAyB,SAAA;EACjC,MAAA;EACA,IAAA,EAAM,oBAAA,CAAqB,CAAA;EAC3B,MAAA;AAAA;AAAA,UAGQ,aAAA,WAAwB,SAAA;EAChC,MAAA;EACA,IAAA,EAAM,oBAAA,CAAqB,CAAA;EAC3B,MAAA;AAAA;AAAA,UAGQ,qBAAA,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;;;;;EyE0FtC,cAAA;EzExFM;;;EyE6FN,KAAA;EzE5FM;AAAA;;EyEiGN,mBAAA,GAAsB,IAAA,CAAK,wBAAA;EzE9FW;EyEiGtC,YAAA;IACE,eAAA,EAAiB,KAAA,CAAM,aAAA;MACrB,gBAAA,GAAmB,SAAA,EAAW,SAAA;IAAA;EAAA;EzEnGN;;;EyE0G5B,QAAA;EzExGM;;;;;;;;AAIA;;;;;;EyEoHN,OAAA,GAAU,mBAAA;EzE/GgB;;;;;EyEsH1B,eAAA;EzEtH2B;;;;;;;;AAIrB;;;;;;EyEkIN,KAAA,GAAQ,WAAA;AAAA;;;iBC9GM,UAAA,CAAA;EAAa,QAAA;EAAA,GAAa;AAAA,GAAS,eAAA,GAAe,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,cAgtBrD,+BAAA"}
@@ -1,6 +1,6 @@
1
1
  import * as react from "react";
2
2
  import React$1, { ComponentType, ReactNode } from "react";
3
- import { CopilotKitCore, CopilotKitCoreConfig, CopilotKitCoreErrorCode, CopilotKitCoreSubscriber, CopilotKitCoreSubscription, DynamicSuggestionsConfig, FrontendTool, StaticSuggestionsConfig, Suggestion, ToolCallStatus } from "@copilotkit/core";
3
+ import { CopilotKitCore, CopilotKitCoreConfig, CopilotKitCoreErrorCode, CopilotKitCoreSubscriber, CopilotKitCoreSubscription, DynamicSuggestionsConfig, FrontendTool, Memory, Memory as Memory$1, MemoryChanges, MemoryChanges as MemoryChanges$1, MemoryKind, MemoryRealtimeStatus, MemoryScope, NewMemory, NewMemory as NewMemory$1, StaticSuggestionsConfig, Suggestion, ToolCallStatus } from "@copilotkit/core";
4
4
  import { AbstractAgent, Interrupt, ResumeEntry, RunAgentResult } from "@ag-ui/client";
5
5
  import { Action, Attachment, Attachment as Attachment$1, AttachmentModality, AttachmentsConfig, AttachmentsConfig as AttachmentsConfig$1, CopilotCloudConfig, CopilotErrorHandler, CopilotKitError, DebugConfig, FunctionCallHandler, InferSchemaOutput, InputContentSource, MappedParameterTypes, Parameter, StandardSchemaV1 } from "@copilotkit/shared";
6
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -1540,6 +1540,14 @@ interface UseThreadsResult {
1540
1540
  * a developer-facing configuration message into the UI.
1541
1541
  */
1542
1542
  listError: Error | null;
1543
+ /**
1544
+ * The error from the most recent FAILED next-page (fetch-more) load, or
1545
+ * `null`. Tracked separately from {@link listError} so a paginated-load
1546
+ * failure surfaces an inline "couldn't load more" affordance while the
1547
+ * already-loaded list stays visible. Cleared when a fetch-more is retried or
1548
+ * succeeds.
1549
+ */
1550
+ fetchMoreError: Error | null;
1543
1551
  /**
1544
1552
  * `true` when there are more threads available to fetch via
1545
1553
  * {@link fetchMoreThreads}. Only meaningful when `limit` is set.
@@ -1708,6 +1716,24 @@ interface CopilotThreadsDrawerProps {
1708
1716
  * `"Threads"` when omitted.
1709
1717
  */
1710
1718
  label?: string;
1719
+ /**
1720
+ * Heading for the "Recent Conversations" section above the thread list. Sets
1721
+ * the custom element's `recent-label` attribute. Defaults to the element's
1722
+ * built-in `"Recent Conversations"` when omitted.
1723
+ */
1724
+ recentLabel?: string;
1725
+ /**
1726
+ * Whether the drawer offers a collapse toggle. Sets the custom element's
1727
+ * `collapsible` PROPERTY. When `false`, the drawer has no collapse toggle and
1728
+ * is always expanded. Defaults to the element's built-in `true` when omitted.
1729
+ */
1730
+ collapsible?: boolean;
1731
+ /**
1732
+ * Called when the drawer's collapsed state changes (via the element's collapse
1733
+ * toggle), with the new collapsed state. Mirrors the element's
1734
+ * `collapse-change` event.
1735
+ */
1736
+ onCollapseChange?: (collapsed: boolean) => void;
1711
1737
  /**
1712
1738
  * Page size for thread pagination. When set, threads are fetched in pages of
1713
1739
  * this size and the drawer shows a "Load more" control while more remain.
@@ -1728,7 +1754,7 @@ interface CopilotThreadsDrawerProps {
1728
1754
  * during prerender to avoid hydration mismatch).
1729
1755
  * - Feeds the element domain data: `threads`, `loading`, `error`,
1730
1756
  * `activeThreadId`, `licensed`, fetch-more state.
1731
- * - Routes the element's nine outbound events to core thread operations
1757
+ * - Routes the element's outbound events to core thread operations
1732
1758
  * ({@link useThreads}) and chat-configuration changes.
1733
1759
  * - Registers with the surrounding chat configuration so the header
1734
1760
  * thread-list launcher appears, and binds the element `open` state to the
@@ -1763,6 +1789,9 @@ declare function CopilotThreadsDrawer({
1763
1789
  licenseUrl,
1764
1790
  renderRow,
1765
1791
  label,
1792
+ recentLabel,
1793
+ collapsible,
1794
+ onCollapseChange,
1766
1795
  limit,
1767
1796
  "data-testid": dataTestId
1768
1797
  }: CopilotThreadsDrawerProps): React$1.ReactElement | null;
@@ -2319,6 +2348,10 @@ declare enum UseAgentUpdate {
2319
2348
  OnRunStatusChanged = "OnRunStatusChanged"
2320
2349
  }
2321
2350
  interface UseAgentProps {
2351
+ /**
2352
+ * Agent to bind to. Resolution precedence: this property, then the surrounding
2353
+ * chat configuration's agentId, then the global default.
2354
+ */
2322
2355
  agentId?: string;
2323
2356
  updates?: UseAgentUpdate[];
2324
2357
  /**
@@ -2355,13 +2388,15 @@ declare function useAgent({
2355
2388
  //#endregion
2356
2389
  //#region src/v2/hooks/use-capabilities.d.ts
2357
2390
  /**
2358
- * Returns the capabilities declared by the given agent (or the default agent).
2391
+ * Returns the capabilities declared by the given agent (or the agent resolved
2392
+ * from the surrounding chat configuration, falling back to the default agent).
2359
2393
  * Capabilities are populated from the runtime `/info` response at connection
2360
2394
  * time. The hook reads them synchronously from the agent instance — there is
2361
2395
  * no separate loading state, but the value will be `undefined` until the
2362
2396
  * runtime handshake completes.
2363
2397
  *
2364
- * @param agentId - Optional agent ID. If omitted, uses the default agent.
2398
+ * @param agentId - Optional agent ID. If omitted, inherits the surrounding
2399
+ * chat configuration's agent, falling back to the default agent.
2365
2400
  * @returns The agent's capabilities, or `undefined` if the agent doesn't
2366
2401
  * declare capabilities.
2367
2402
  */
@@ -2472,6 +2507,118 @@ type UseInterruptConfig<TValue = unknown, TResult = never, TRenderInChat extends
2472
2507
  */
2473
2508
  declare function useInterrupt<TResult = never, TRenderInChat extends InterruptRenderInChat = undefined>(config: UseInterruptConfig<any, TResult, TRenderInChat>): UseInterruptReturn<TRenderInChat>;
2474
2509
  //#endregion
2510
+ //#region src/v2/hooks/use-memories.d.ts
2511
+ /**
2512
+ * Return value of the {@link useMemories} hook.
2513
+ *
2514
+ * The `memories` array is the server-authoritative list for the current user.
2515
+ * It is hydrated from a REST snapshot and kept current by realtime
2516
+ * `memory_metadata` deltas from the store's own channel. Mutations resolve
2517
+ * once the platform confirms the operation and reject with an `Error` on
2518
+ * failure.
2519
+ */
2520
+ interface UseMemoriesResult {
2521
+ /**
2522
+ * Memories for the current user, newest first. Updated in realtime when
2523
+ * the platform pushes `memory_metadata` events.
2524
+ */
2525
+ memories: Memory[];
2526
+ /**
2527
+ * `true` while the initial memory snapshot is being fetched. Subsequent
2528
+ * realtime updates do not re-enter the loading state.
2529
+ */
2530
+ isLoading: boolean;
2531
+ /**
2532
+ * The most recent error from fetching memories or executing a mutation, or
2533
+ * `null` when there is no error. Cleared on the next fetch attempt, on a
2534
+ * successful fetch, when the runtime context changes, and on a successful
2535
+ * mutation (a failed mutation replaces it with that mutation's error).
2536
+ */
2537
+ error: Error | null;
2538
+ /**
2539
+ * `true` when the platform memory routes are available. Set to `false`
2540
+ * after a 404 or 501, indicating memory is not supported by the current
2541
+ * runtime configuration.
2542
+ */
2543
+ isAvailable: boolean;
2544
+ /**
2545
+ * Health of the realtime connection that streams live `memory_metadata`
2546
+ * deltas. Distinct from `isAvailable`/`error` (which describe the REST list
2547
+ * route): `"connecting"` while the socket opens/joins, `"connected"` once
2548
+ * live deltas are flowing, and `"unavailable"` once the socket permanently
2549
+ * gives up — at which point the list is a frozen snapshot. Lets the UI drop a
2550
+ * "live" indicator instead of showing it over stale data.
2551
+ */
2552
+ realtimeStatus: MemoryRealtimeStatus;
2553
+ /**
2554
+ * Re-fetch the memory snapshot from the platform. Resolves once the re-pull
2555
+ * settles; rejects if it fails or the store is torn down mid-flight.
2556
+ */
2557
+ refresh: () => Promise<void>;
2558
+ /**
2559
+ * Create a memory. Resolves to the stored memory (server-authoritative);
2560
+ * rejects on failure.
2561
+ */
2562
+ addMemory: (input: NewMemory) => Promise<Memory>;
2563
+ /**
2564
+ * Supersede a memory: the old memory is retired and a new one is created.
2565
+ * Resolves to the new memory (its `id` differs from `id`); rejects on
2566
+ * failure.
2567
+ *
2568
+ * Supersede is a FULL replacement, not a partial patch: `changes` is the
2569
+ * complete definition of the new memory. You must re-supply `content` and
2570
+ * `kind`, and an omitted `sourceThreadIds` resets the new memory's source
2571
+ * threads to empty — it does not preserve the prior memory's value.
2572
+ */
2573
+ updateMemory: (id: string, changes: MemoryChanges) => Promise<Memory>;
2574
+ /**
2575
+ * Retire a memory (non-lossy delete). Resolves when the server confirms;
2576
+ * rejects on failure.
2577
+ */
2578
+ removeMemory: (id: string) => Promise<void>;
2579
+ }
2580
+ /**
2581
+ * React hook for listing and managing platform memories.
2582
+ *
2583
+ * Reads the memory store owned and wired by `CopilotKitCore`. On mount the
2584
+ * hook exposes the live list plus stable `addMemory` / `updateMemory` /
2585
+ * `removeMemory` / `refresh` callbacks. Mutations are server-authoritative:
2586
+ * each resolves once the platform confirms the operation and rejects with an
2587
+ * `Error` on failure.
2588
+ *
2589
+ * Realtime updates are automatic: the core's memory store opens its own
2590
+ * `user_meta:memories:<joinCode>` channel and applies `memory_metadata` deltas
2591
+ * to the list. You can still call `refresh()` to re-pull the REST snapshot on
2592
+ * demand.
2593
+ *
2594
+ * @returns Memory list state and stable mutation callbacks.
2595
+ *
2596
+ * @example
2597
+ * ```tsx
2598
+ * import { useMemories } from "@copilotkit/react-core";
2599
+ *
2600
+ * function MemoryList() {
2601
+ * const { memories, isLoading, isAvailable, addMemory, removeMemory } =
2602
+ * useMemories();
2603
+ *
2604
+ * if (!isAvailable) return null;
2605
+ * if (isLoading) return <p>Loading…</p>;
2606
+ *
2607
+ * return (
2608
+ * <ul>
2609
+ * {memories.map((m) => (
2610
+ * <li key={m.id}>
2611
+ * {m.content}
2612
+ * <button onClick={() => removeMemory(m.id)}>Delete</button>
2613
+ * </li>
2614
+ * ))}
2615
+ * </ul>
2616
+ * );
2617
+ * }
2618
+ * ```
2619
+ */
2620
+ declare function useMemories(): UseMemoriesResult;
2621
+ //#endregion
2475
2622
  //#region src/v2/hooks/use-learn-from-user-action.d.ts
2476
2623
  /**
2477
2624
  * Input to {@link UseLearnFromUserActionRecorder}, the function returned
@@ -3177,5 +3324,5 @@ declare function CopilotKit({
3177
3324
  }: CopilotKitProps): react_jsx_runtime0.JSX.Element;
3178
3325
  declare const defaultCopilotContextCategories: string[];
3179
3326
  //#endregion
3180
- export { InterruptHandlerProps as $, ActionRenderPropsNoArgs as $n, IntelligenceIndicator as $t, LearnFromUserActionResult as A, CopilotContext as An, useThreads as At, useCapabilities as B, QueuedInterruptEvent as Bn, CopilotModalHeaderProps as Bt, UseAttachmentsProps as C, CopilotChatLabels as Cn, CopilotChatAttachmentQueue as Ct, UseLearnFromUserActionInCurrentThreadRecorder as D, CopilotChatAudioRecorder as Dn, Thread as Dt, LearnFromUserActionInCurrentThreadInput as E, AudioRecorderState as En, CopilotThreadsDrawerRowRenderer as Et, useConfigureSuggestions as F, LangGraphInterruptActionSetter as Fn, CopilotPopupView as Ft, useRenderTool as G, CrewsTaskStateItem as Gn, CopilotChat as Gt, useAgent as H, CrewsResponse as Hn, CopilotChatToggleButtonProps as Ht, useSuggestions as I, LangGraphInterruptActionSetterArgs as In, CopilotPopupViewProps as It, useRenderActivityMessage as J, SystemMessageFunction as Jn, CopilotChatViewProps as Jt, useComponent as K, CrewsToolStateItem as Kn, CopilotChatProps as Kt, AgentContextInput as L, LangGraphInterruptRender as Ln, CopilotSidebarView as Lt, useLearnFromUserAction as M, useCopilotContext as Mn, CopilotPopupProps as Mt, UseInterruptConfig as N, CoAgentStateRender as Nn, CopilotSidebar as Nt, useLearnFromUserActionInCurrentThread as O, CoagentInChatRenderFunction as On, UseThreadsInput as Ot, useInterrupt as P, LangGraphInterruptAction as Pn, CopilotSidebarProps as Pt, InterruptEvent as Q, ActionRenderProps as Qn, INTELLIGENCE_TURN_HEAD as Qt, JsonSerializable as R, LangGraphInterruptRenderHandlerProps as Rn, CopilotSidebarViewProps as Rt, useLearningContainers as S, CopilotChatConfigurationValue as Sn, CopilotChatAttachmentRenderer as St, useAttachments as T, AudioRecorderError as Tn, CopilotThreadsDrawerProps as Tt, useHumanInTheLoop as U, CrewsResponseStatus as Un, DefaultCloseIcon as Ut, UseAgentUpdate as V, CrewsAgentState as Vn, CopilotChatToggleButton as Vt, useDefaultRenderTool as W, CrewsStateItem as Wn, DefaultOpenIcon as Wt, Interrupt as X, Tree as Xn, CopilotChatMessageView as Xt, SandboxFunction as Y, DocumentPointer as Yn, AutoScrollMode as Yt, InterruptCancelFn as Z, TreeNode as Zn, CopilotChatMessageViewProps as Zt, CopilotKitCoreReactConfig as _, CopilotChatInput as _n, CopilotKitInspectorProps as _t, A2UIMessageRendererOptions as a, CopilotChatSuggestionView as an, FrontendActionAvailability as ar, ReactFrontendTool as at, useLearningContainersInCurrentThread as b, CopilotChatConfigurationProvider as bn, AttachmentModality as bt, InspectorAnchor as c, CopilotChatSuggestionPillProps as cn, useRenderCustomMessages as ct, CopilotKitProvider as d, CopilotChatUserMessage as dn, useRenderToolCall as dt, IntelligenceIndicatorProps as en, ActionRenderPropsNoArgsWait as er, InterruptRenderProps as et, CopilotKitProviderProps as f, CopilotChatUserMessageProps as fn, MCPAppsActivityContent as ft, CopilotKitCoreReact as g, CopilotChatToolCallsViewProps as gn, CopilotKitInspector as gt, useCopilotKit as h, CopilotChatToolCallsView as hn, MCPAppsActivityType as ht, A2UIActionInterceptor as i, IntelligenceIndicatorViewProps as in, FrontendAction as ir, ReactHumanInTheLoop as it, UseLearnFromUserActionRecorder as j, CopilotContextParams as jn, CopilotPopup as jt, LearnFromUserActionInput as k, CopilotApiConfig as kn, UseThreadsResult as kt, SandboxFunctionsContext as l, CopilotChatReasoningMessage as ln, ReactCustomMessageRenderer as lt, CopilotKitContextValue as m, CopilotChatAssistantMessageProps as mn, MCPAppsActivityRenderer as mt, defaultCopilotContextCategories as n, IntelligenceIndicatorStatus as nn, CatchAllActionRenderProps as nr, ResumeEntry as nt, A2UIUserAction as o, CopilotChatSuggestionViewProps as on, RenderFunctionStatus as or, ReactActivityMessageRenderer as ot, A2UIRecoveryRendererOptions as p, CopilotChatAssistantMessage as pn, MCPAppsActivityContentSchema as pt, useFrontendTool as q, CopilotChatSuggestionConfiguration as qn, CopilotChatView as qt, CopilotKitProps as r, IntelligenceIndicatorView as rn, CatchAllFrontendAction as rr, defineToolCallRenderer as rt, createA2UIMessageRenderer as s, CopilotChatSuggestionPill as sn, ReactToolCallRenderer as st, CopilotKit as t, getIntelligenceTurnAnchors as tn, ActionRenderPropsWait as tr, InterruptResolveFn as tt, useSandboxFunctions as u, CopilotChatReasoningMessageProps as un, ReactCustomMessageRendererPosition as ut, CopilotKitCoreReactSubscriber as v, CopilotChatInputProps as vn, WildcardToolCallRender as vt, UseAttachmentsReturn as w, useCopilotChatConfiguration as wn, CopilotThreadsDrawer as wt, UseLearningContainersArgs as x, CopilotChatConfigurationProviderProps as xn, AttachmentsConfig$1 as xt, UseLearningContainersInCurrentThreadArgs as y, ToolsMenuItem as yn, Attachment$1 as yt, useAgentContext as z, LangGraphInterruptRenderProps as zn, CopilotModalHeader as zt };
3181
- //# sourceMappingURL=copilotkit-DnLpJ2Cl.d.mts.map
3327
+ export { useComponent as $, CrewsToolStateItem as $n, CopilotChatProps as $t, useAttachments as A, CopilotChatLabels as An, CopilotChatAttachmentQueue as At, UseInterruptConfig as B, CoAgentStateRender as Bn, CopilotSidebar as Bt, NewMemory$1 as C, CopilotChatToolCallsViewProps as Cn, CopilotKitInspector as Ct, useLearningContainers as D, CopilotChatConfigurationProvider as Dn, AttachmentModality as Dt, UseLearningContainersArgs as E, ToolsMenuItem as En, Attachment$1 as Et, LearnFromUserActionResult as F, CoagentInChatRenderFunction as Fn, UseThreadsInput as Ft, JsonSerializable as G, LangGraphInterruptRenderHandlerProps as Gn, CopilotSidebarViewProps as Gt, useConfigureSuggestions as H, LangGraphInterruptActionSetter as Hn, CopilotPopupView as Ht, UseLearnFromUserActionRecorder as I, CopilotApiConfig as In, UseThreadsResult as It, UseAgentUpdate as J, CrewsAgentState as Jn, CopilotChatToggleButton as Jt, useAgentContext as K, LangGraphInterruptRenderProps as Kn, CopilotModalHeader as Kt, useLearnFromUserAction as L, CopilotContext as Ln, useThreads as Lt, UseLearnFromUserActionInCurrentThreadRecorder as M, AudioRecorderError as Mn, CopilotThreadsDrawerProps as Mt, useLearnFromUserActionInCurrentThread as N, AudioRecorderState as Nn, CopilotThreadsDrawerRowRenderer as Nt, UseAttachmentsProps as O, CopilotChatConfigurationProviderProps as On, AttachmentsConfig$1 as Ot, LearnFromUserActionInput as P, CopilotChatAudioRecorder as Pn, Thread as Pt, useRenderTool as Q, CrewsTaskStateItem as Qn, CopilotChat as Qt, UseMemoriesResult as R, CopilotContextParams as Rn, CopilotPopup as Rt, MemoryScope as S, CopilotChatToolCallsView as Sn, MCPAppsActivityType as St, useLearningContainersInCurrentThread as T, CopilotChatInputProps as Tn, WildcardToolCallRender as Tt, useSuggestions as U, LangGraphInterruptActionSetterArgs as Un, CopilotPopupViewProps as Ut, useInterrupt as V, LangGraphInterruptAction as Vn, CopilotSidebarProps as Vt, AgentContextInput as W, LangGraphInterruptRender as Wn, CopilotSidebarView as Wt, useHumanInTheLoop as X, CrewsResponseStatus as Xn, DefaultCloseIcon as Xt, useAgent as Y, CrewsResponse as Yn, CopilotChatToggleButtonProps as Yt, useDefaultRenderTool as Z, CrewsStateItem as Zn, DefaultOpenIcon as Zt, CopilotKitCoreReactConfig as _, CopilotChatReasoningMessageProps as _n, ReactCustomMessageRendererPosition as _t, A2UIMessageRendererOptions as a, INTELLIGENCE_TURN_HEAD as an, ActionRenderProps as ar, InterruptEvent as at, MemoryChanges$1 as b, CopilotChatAssistantMessage as bn, MCPAppsActivityContentSchema as bt, InspectorAnchor as c, getIntelligenceTurnAnchors as cn, ActionRenderPropsWait as cr, InterruptResolveFn as ct, CopilotKitProvider as d, IntelligenceIndicatorViewProps as dn, FrontendAction as dr, ReactHumanInTheLoop as dt, CopilotChatView as en, CopilotChatSuggestionConfiguration as er, useFrontendTool as et, CopilotKitProviderProps as f, CopilotChatSuggestionView as fn, FrontendActionAvailability as fr, ReactFrontendTool as ft, CopilotKitCoreReact as g, CopilotChatReasoningMessage as gn, ReactCustomMessageRenderer as gt, useCopilotKit as h, CopilotChatSuggestionPillProps as hn, useRenderCustomMessages as ht, A2UIActionInterceptor as i, CopilotChatMessageViewProps as in, TreeNode as ir, InterruptCancelFn as it, LearnFromUserActionInCurrentThreadInput as j, useCopilotChatConfiguration as jn, CopilotThreadsDrawer as jt, UseAttachmentsReturn as k, CopilotChatConfigurationValue as kn, CopilotChatAttachmentRenderer as kt, SandboxFunctionsContext as l, IntelligenceIndicatorStatus as ln, CatchAllActionRenderProps as lr, ResumeEntry as lt, CopilotKitContextValue as m, CopilotChatSuggestionPill as mn, ReactToolCallRenderer as mt, defaultCopilotContextCategories as n, AutoScrollMode as nn, DocumentPointer as nr, SandboxFunction as nt, A2UIUserAction as o, IntelligenceIndicator as on, ActionRenderPropsNoArgs as or, InterruptHandlerProps as ot, A2UIRecoveryRendererOptions as p, CopilotChatSuggestionViewProps as pn, RenderFunctionStatus as pr, ReactActivityMessageRenderer as pt, useCapabilities as q, QueuedInterruptEvent as qn, CopilotModalHeaderProps as qt, CopilotKitProps as r, CopilotChatMessageView as rn, Tree as rr, Interrupt as rt, createA2UIMessageRenderer as s, IntelligenceIndicatorProps as sn, ActionRenderPropsNoArgsWait as sr, InterruptRenderProps as st, CopilotKit as t, CopilotChatViewProps as tn, SystemMessageFunction as tr, useRenderActivityMessage as tt, useSandboxFunctions as u, IntelligenceIndicatorView as un, CatchAllFrontendAction as ur, defineToolCallRenderer as ut, CopilotKitCoreReactSubscriber as v, CopilotChatUserMessage as vn, useRenderToolCall as vt, UseLearningContainersInCurrentThreadArgs as w, CopilotChatInput as wn, CopilotKitInspectorProps as wt, MemoryKind as x, CopilotChatAssistantMessageProps as xn, MCPAppsActivityRenderer as xt, Memory$1 as y, CopilotChatUserMessageProps as yn, MCPAppsActivityContent as yt, useMemories as z, useCopilotContext as zn, CopilotPopupProps as zt };
3328
+ //# sourceMappingURL=copilotkit-Bp6BD8xe.d.mts.map