@copilotkit/react-core 1.61.1 → 1.62.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-UY-H6Kx7.mjs → copilotkit-BtRkFsNR.mjs} +1227 -599
  2. package/dist/copilotkit-BtRkFsNR.mjs.map +1 -0
  3. package/dist/{copilotkit-BCJDP8qd.cjs → copilotkit-CdpDZi3i.cjs} +1219 -585
  4. package/dist/copilotkit-CdpDZi3i.cjs.map +1 -0
  5. package/dist/{copilotkit-CEdu_aie.d.cts → copilotkit-Cga6AHO0.d.cts} +497 -209
  6. package/dist/copilotkit-Cga6AHO0.d.cts.map +1 -0
  7. package/dist/{copilotkit-M1FiciGd.d.mts → copilotkit-DnLpJ2Cl.d.mts} +497 -209
  8. package/dist/copilotkit-DnLpJ2Cl.d.mts.map +1 -0
  9. package/dist/index.cjs +1 -1
  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 +1 -1
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/index.umd.js +360 -270
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/context.d.cts +5 -1
  20. package/dist/v2/context.d.cts.map +1 -1
  21. package/dist/v2/context.d.mts +5 -1
  22. package/dist/v2/context.d.mts.map +1 -1
  23. package/dist/v2/headless.cjs +323 -104
  24. package/dist/v2/headless.cjs.map +1 -1
  25. package/dist/v2/headless.d.cts +187 -69
  26. package/dist/v2/headless.d.cts.map +1 -1
  27. package/dist/v2/headless.d.mts +187 -69
  28. package/dist/v2/headless.d.mts.map +1 -1
  29. package/dist/v2/headless.mjs +325 -106
  30. package/dist/v2/headless.mjs.map +1 -1
  31. package/dist/v2/index.cjs +2 -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 +1112 -484
  37. package/dist/v2/index.umd.js.map +1 -1
  38. package/package.json +8 -6
  39. package/dist/copilotkit-BCJDP8qd.cjs.map +0 -1
  40. package/dist/copilotkit-CEdu_aie.d.cts.map +0 -1
  41. package/dist/copilotkit-M1FiciGd.d.mts.map +0 -1
  42. package/dist/copilotkit-UY-H6Kx7.mjs.map +0 -1
@@ -2,12 +2,16 @@ import React$1, { ComponentType, ReactNode } from "react";
2
2
  import { InferSchemaOutput, StandardSchemaV1 } from "@copilotkit/shared";
3
3
  import { CopilotKitCore, CopilotKitCoreConfig, CopilotKitCoreSubscriber, CopilotKitCoreSubscription, DynamicSuggestionsConfig, FrontendTool, StaticSuggestionsConfig, Suggestion, ToolCallStatus } from "@copilotkit/core";
4
4
  import { ActivityMessage, AgentCapabilities, Message } from "@ag-ui/core";
5
- import { AbstractAgent, RunAgentResult } from "@ag-ui/client";
5
+ import { AbstractAgent, Interrupt, ResumeEntry, ResumeStatus, RunAgentResult } from "@ag-ui/client";
6
6
 
7
7
  //#region src/v2/types/react-tool-call-renderer.d.ts
8
8
  interface ReactToolCallRenderer<T = unknown> {
9
9
  name: string;
10
- args: StandardSchemaV1<any, T>;
10
+ /**
11
+ * Schema describing the tool arguments. Optional — renderers registered for
12
+ * tools without parameters (e.g. HITL confirm dialogs) have no schema.
13
+ */
14
+ args?: StandardSchemaV1<any, T>;
11
15
  /**
12
16
  * Optional agent ID to constrain this tool renderer to a specific agent.
13
17
  * If specified, this renderer will only be used for the specified agent.
@@ -168,18 +172,49 @@ declare function defineToolCallRenderer<S extends StandardSchemaV1>(def: {
168
172
  }): ReactToolCallRenderer<InferSchemaOutput<S>>;
169
173
  //#endregion
170
174
  //#region src/v2/types/interrupt.d.ts
175
+ /** Legacy custom-event interrupt payload (agent emits a custom `on_interrupt` event). */
171
176
  interface InterruptEvent<TValue = unknown> {
172
177
  name: string;
173
178
  value: TValue;
174
179
  }
180
+ /**
181
+ * Resolve the agent with user input for an interrupt.
182
+ *
183
+ * - Standard interrupts: records `{ status: "resolved", payload }` for the target
184
+ * interrupt (defaults to the primary one). Resumes once every open interrupt is
185
+ * addressed; returns the resume run result, or `void` while still awaiting others.
186
+ * - Legacy interrupts: resumes immediately via `command.resume = payload`.
187
+ */
188
+ type InterruptResolveFn = (payload?: unknown, interruptId?: string) => Promise<RunAgentResult | void>;
189
+ /**
190
+ * Cancel an interrupt.
191
+ *
192
+ * - Standard interrupts: records `{ status: "cancelled" }` for the target interrupt
193
+ * (defaults to the primary one), then resumes once all are addressed.
194
+ * - Legacy interrupts: dismisses the pending interrupt without resuming.
195
+ */
196
+ type InterruptCancelFn = (interruptId?: string) => Promise<RunAgentResult | void>;
175
197
  interface InterruptHandlerProps<TValue = unknown> {
198
+ /**
199
+ * Legacy event shape (`{ name, value }`). Always present for back-compat: for
200
+ * standard interrupts, `value` is the primary `Interrupt` and `name` is `"on_interrupt"`.
201
+ * Prefer `interrupt` / `interrupts` for standard interrupts.
202
+ */
176
203
  event: InterruptEvent<TValue>;
177
- resolve: (response: unknown) => Promise<RunAgentResult>;
204
+ /** Primary standard interrupt (`interrupts[0]`), or `null` for legacy interrupts. */
205
+ interrupt: Interrupt | null;
206
+ /** All open standard interrupts (empty array for legacy interrupts). */
207
+ interrupts: Interrupt[];
208
+ resolve: InterruptResolveFn;
209
+ cancel: InterruptCancelFn;
178
210
  }
179
211
  interface InterruptRenderProps<TValue = unknown, TResult = unknown> {
180
212
  event: InterruptEvent<TValue>;
213
+ interrupt: Interrupt | null;
214
+ interrupts: Interrupt[];
181
215
  result: TResult;
182
- resolve: (response: unknown) => Promise<RunAgentResult>;
216
+ resolve: InterruptResolveFn;
217
+ cancel: InterruptCancelFn;
183
218
  }
184
219
  //#endregion
185
220
  //#region src/v2/lib/react-core.d.ts
@@ -264,7 +299,74 @@ interface CopilotChatConfigurationValue {
264
299
  threadId: string;
265
300
  isModalOpen: boolean;
266
301
  setModalOpen: (open: boolean) => void;
302
+ /**
303
+ * Whether the thread-list drawer is open. A sibling boolean to `isModalOpen`
304
+ * (deliberately NOT folded into a tri-state enum): on desktop the chat modal
305
+ * and the drawer coexist, so two independent booleans are required.
306
+ */
307
+ drawerOpen: boolean;
308
+ /**
309
+ * Toggles the drawer open state. On mobile viewports (`<768px`) opening the
310
+ * drawer closes the chat modal (mutual exclusion); on desktop there is no
311
+ * constraint.
312
+ */
313
+ setDrawerOpen: (open: boolean) => void;
314
+ /**
315
+ * True once a `<CopilotThreadsDrawer>` wrapper has registered itself with this chat
316
+ * configuration. The header thread-list launcher renders ONLY when this is
317
+ * set, so chats with no drawer stay byte-for-byte unchanged.
318
+ */
319
+ drawerRegistered: boolean;
320
+ /**
321
+ * Called by the drawer wrapper on mount to announce its presence (and flip
322
+ * `drawerRegistered`). Returns a cleanup function that de-registers the
323
+ * drawer on unmount.
324
+ *
325
+ * @returns A cleanup callback that reverses the registration.
326
+ */
327
+ registerDrawer: () => () => void;
328
+ /**
329
+ * Internal: registers the modal-close setter of the provider that actually
330
+ * owns the rendered modal (a descendant that supplied `isModalDefaultOpen`),
331
+ * so the drawer's mobile mutual-exclusion — owned by the top-most provider —
332
+ * closes the modal that is genuinely on screen rather than the top-most
333
+ * provider's own (possibly unrendered) modal state.
334
+ *
335
+ * @param closeModal - A setter the drawer may call to close the rendered modal.
336
+ * @returns A cleanup callback that de-registers the closer.
337
+ */
338
+ ɵregisterModalCloser: (closeModal: (open: boolean) => void) => () => void;
267
339
  hasExplicitThreadId: boolean;
340
+ /**
341
+ * Imperatively sets the active thread for this chat configuration.
342
+ *
343
+ * Use this to drive the rendered thread without a host callback — e.g. a
344
+ * `<CopilotThreadsDrawer>` selecting a thread row sets it explicitly so the chat
345
+ * connects to that backend thread.
346
+ *
347
+ * Guarded like the top-level `<CopilotKit>` provider's `setThreadId`: when
348
+ * the consumer controls the threadId via the `threadId` prop on this
349
+ * provider, this is a no-op (a warning is logged) so a prop-controlled
350
+ * threadId is never silently overridden.
351
+ *
352
+ * @param threadId - The thread id to make active.
353
+ * @param options.explicit - Whether the thread is a caller choice. Defaults
354
+ * to `true` (a picked thread). Pass `false` to set a non-explicit thread
355
+ * so the welcome screen shows (see {@link startNewThread}).
356
+ */
357
+ setActiveThreadId: (threadId: string, options?: {
358
+ explicit?: boolean;
359
+ }) => void;
360
+ /**
361
+ * Resets the active thread to a fresh, non-explicit client-side thread: a
362
+ * newly minted UUID with `hasExplicitThreadId=false`, so the welcome screen
363
+ * shows. Pairs with the core `startNewThread()` to clear the conversation
364
+ * with no host wiring.
365
+ *
366
+ * Guarded identically to {@link setActiveThreadId}: a no-op when the
367
+ * threadId is prop-controlled.
368
+ */
369
+ startNewThread: () => void;
268
370
  }
269
371
  interface CopilotChatConfigurationProviderProps {
270
372
  children: ReactNode;
@@ -373,7 +475,7 @@ type InferRenderProps<T> = T extends StandardSchemaV1 ? InferSchemaOutput<T> : a
373
475
  * );
374
476
  * ```
375
477
  */
376
- declare function useComponent<TSchema extends StandardSchemaV1 | undefined = undefined>(config: {
478
+ declare function useComponent<TSchema extends StandardSchemaV1<any, Record<string, unknown>> | undefined = undefined>(config: {
377
479
  name: string;
378
480
  description?: string;
379
481
  parameters?: TSchema;
@@ -398,86 +500,53 @@ interface UseInterruptConfigBase<TValue = unknown, TResult = never> {
398
500
  /**
399
501
  * Render function for the interrupt UI.
400
502
  *
401
- * This is called once an interrupt is finalized and accepted by `enabled` (if provided).
402
- * Use `resolve` from render props to resume the agent run with user input.
503
+ * Receives both the standard `interrupt`/`interrupts` and the legacy `event`.
504
+ * Call `resolve(payload)` to resume with user input, or `cancel()` to cancel.
403
505
  */
404
506
  render: (props: InterruptRenderProps<TValue, InterruptResult<TValue, TResult>>) => React$1.ReactElement;
405
507
  /**
406
508
  * Optional pre-render handler invoked when an interrupt is received.
407
- *
408
- * Return either a sync value or an async value to pass into `render` as `result`.
509
+ * Return a sync or async value to expose as `result` in `render`.
409
510
  * Rejecting/throwing falls back to `result = null`.
410
511
  */
411
512
  handler?: InterruptHandlerFn<TValue, TResult>;
412
513
  /**
413
- * Optional predicate to filter which interrupts should be handled by this hook.
414
- * Return `false` to ignore an interrupt.
514
+ * Optional predicate to filter which interrupts this hook handles.
515
+ * Receives the legacy-compatible event (for standard interrupts, `value` is
516
+ * the primary `Interrupt`). Return `false` to ignore.
415
517
  */
416
518
  enabled?: (event: InterruptEvent<TValue>) => boolean;
417
519
  /** Optional agent id. Defaults to the current configured chat agent. */
418
520
  agentId?: string;
419
521
  }
420
522
  type UseInterruptConfig<TValue = unknown, TResult = never, TRenderInChat extends InterruptRenderInChat = undefined> = UseInterruptConfigBase<TValue, TResult> & {
421
- /** When true (default), the interrupt UI renders inside `<CopilotChat>` automatically. Set to false to render it yourself. */renderInChat?: TRenderInChat;
523
+ /** When true (default), the interrupt UI renders inside `<CopilotChat>` automatically. */renderInChat?: TRenderInChat;
422
524
  };
423
525
  /**
424
- * Handles agent interrupts (`on_interrupt`) with optional filtering, preprocessing, and resume behavior.
425
- *
426
- * The hook listens to custom events on the active agent, stores interrupt payloads per run,
427
- * and surfaces a render callback once the run finalizes. Call `resolve` from your UI to resume
428
- * execution with user-provided data.
429
- *
430
- * - `renderInChat: true` (default): the element is published into `<CopilotChat>` and this hook returns `void`.
431
- * - `renderInChat: false`: the hook returns the interrupt element so you can place it anywhere in your component tree.
526
+ * Handles agent interrupts with optional filtering, preprocessing, and resume behavior.
432
527
  *
433
- * `event.value` is typed as `any` since the interrupt payload shape depends on your agent.
434
- * Type-narrow it in your callbacks (e.g. `handler`, `enabled`, `render`) as needed.
528
+ * Supports both the AG-UI standard interrupt flow (`RUN_FINISHED` with
529
+ * `outcome.type === "interrupt"`) and the legacy custom-event flow
530
+ * (`on_interrupt`). For standard interrupts, `render` receives `interrupt`
531
+ * (the primary one) and `interrupts` (the full open set); call `resolve(payload)`
532
+ * to resume or `cancel()` to cancel. Resuming addresses the targeted interrupt
533
+ * and, once every open interrupt is addressed, submits a single spec `resume`
534
+ * array via `copilotkit.runAgent`.
435
535
  *
436
- * @typeParam TResult - Inferred from `handler` return type. Exposed as `result` in `render`.
437
- * @param config - Interrupt configuration (renderer, optional handler/filter, and render mode).
438
- * @returns When `renderInChat` is `false`, returns the interrupt element (or `null` when idle).
439
- * Otherwise returns `void` and publishes the element into chat. In `render`, `result` is always
440
- * either the handler's resolved return value or `null` (including when no handler is provided,
441
- * when filtering skips the interrupt, or when handler execution fails).
536
+ * - `renderInChat: true` (default): the element is published into `<CopilotChat>`; returns `void`.
537
+ * - `renderInChat: false`: the hook returns the interrupt element for manual placement.
442
538
  *
443
539
  * @example
444
540
  * ```tsx
445
- * import { useInterrupt } from "@copilotkit/react-core/v2";
446
- *
447
- * function InterruptUI() {
448
- * useInterrupt({
449
- * render: ({ event, resolve }) => (
450
- * <div>
451
- * <p>{event.value.question}</p>
452
- * <button onClick={() => resolve({ approved: true })}>Approve</button>
453
- * <button onClick={() => resolve({ approved: false })}>Reject</button>
454
- * </div>
455
- * ),
456
- * });
457
- *
458
- * return null;
459
- * }
460
- * ```
461
- *
462
- * @example
463
- * ```tsx
464
- * import { useInterrupt } from "@copilotkit/react-core/v2";
465
- *
466
- * function CustomPanel() {
467
- * const interruptElement = useInterrupt({
468
- * renderInChat: false,
469
- * enabled: (event) => event.value.startsWith("approval:"),
470
- * handler: async ({ event }) => ({ label: event.value.toUpperCase() }),
471
- * render: ({ event, result, resolve }) => (
472
- * <aside>
473
- * <strong>{result?.label ?? ""}</strong>
474
- * <button onClick={() => resolve({ value: event.value })}>Continue</button>
475
- * </aside>
476
- * ),
477
- * });
478
- *
479
- * return <>{interruptElement}</>;
480
- * }
541
+ * useInterrupt({
542
+ * render: ({ interrupt, resolve, cancel }) => (
543
+ * <div>
544
+ * <p>{interrupt?.message}</p>
545
+ * <button onClick={() => resolve({ approved: true })}>Approve</button>
546
+ * <button onClick={() => cancel()}>Cancel</button>
547
+ * </div>
548
+ * ),
549
+ * });
481
550
  * ```
482
551
  */
483
552
  declare function useInterrupt<TResult = never, TRenderInChat extends InterruptRenderInChat = undefined>(config: UseInterruptConfig<any, TResult, TRenderInChat>): UseInterruptReturn<TRenderInChat>;
@@ -558,6 +627,16 @@ interface UseThreadsInput {
558
627
  includeArchived?: boolean;
559
628
  /** Maximum number of threads to fetch per page. When set, enables cursor-based pagination. */
560
629
  limit?: number;
630
+ /**
631
+ * When `false`, the hook stays inert: no runtime context is dispatched, so
632
+ * NO thread-list fetch or realtime subscription is issued. Used by gated
633
+ * surfaces (e.g. an unlicensed `<CopilotThreadsDrawer>`) that must not touch the
634
+ * network until the gate opens. Defaults to `true`.
635
+ *
636
+ * Flipping `enabled` back to `true` resumes normal fetching on the next
637
+ * effect run; mutations are likewise short-circuited while disabled.
638
+ */
639
+ enabled?: boolean;
561
640
  }
562
641
  /**
563
642
  * Return value of the {@link useThreads} hook.
@@ -582,8 +661,21 @@ interface UseThreadsResult {
582
661
  * The most recent error from fetching threads or executing a mutation,
583
662
  * or `null` when there is no error. Reset to `null` on the next
584
663
  * successful fetch.
664
+ *
665
+ * This channel folds together developer/config errors (missing runtime URL,
666
+ * runtime without thread endpoints) and genuine list-load/mutation failures.
667
+ * End-user surfaces that must not leak config errors should prefer
668
+ * {@link listError}, which excludes the config/runtime-setup errors.
585
669
  */
586
670
  error: Error | null;
671
+ /**
672
+ * The most recent genuine list-load or mutation error from the platform, or
673
+ * `null`. Unlike {@link error}, this EXCLUDES developer/config errors (a
674
+ * missing runtime URL, or a runtime that does not advertise thread
675
+ * endpoints), so an end-user surface can render it directly without leaking
676
+ * a developer-facing configuration message into the UI.
677
+ */
678
+ listError: Error | null;
587
679
  /**
588
680
  * `true` when there are more threads available to fetch via
589
681
  * {@link fetchMoreThreads}. Only meaningful when `limit` is set.
@@ -593,11 +685,30 @@ interface UseThreadsResult {
593
685
  * `true` while a subsequent page of threads is being fetched.
594
686
  */
595
687
  isFetchingMoreThreads: boolean;
688
+ /**
689
+ * `true` while at least one thread mutation (rename, archive, unarchive,
690
+ * delete) is awaiting a server response. Mutations apply optimistically, so
691
+ * this is primarily useful for disabling controls or showing a subtle
692
+ * in-flight indicator.
693
+ */
694
+ isMutating: boolean;
596
695
  /**
597
696
  * Fetch the next page of threads. No-op when {@link hasMoreThreads} is
598
697
  * `false` or a fetch is already in progress.
599
698
  */
600
699
  fetchMoreThreads: () => void;
700
+ /**
701
+ * Re-fetch the thread list from the platform without clearing the current
702
+ * list. Backs the drawer's error-state Retry and the Active/All filter
703
+ * refetch. No-op until the runtime is connected.
704
+ */
705
+ refetchThreads: () => void;
706
+ /**
707
+ * Reset to a fresh, non-explicit client-side thread so the welcome screen
708
+ * shows. Lazy creation: no row appears in {@link threads} until the new
709
+ * thread's first run persists server-side.
710
+ */
711
+ startNewThread: () => void;
601
712
  /**
602
713
  * Rename a thread on the platform.
603
714
  * Resolves when the server confirms the update; rejects on failure.
@@ -609,6 +720,12 @@ interface UseThreadsResult {
609
720
  * Resolves when the server confirms the update; rejects on failure.
610
721
  */
611
722
  archiveThread: (threadId: string) => Promise<void>;
723
+ /**
724
+ * Restore a previously archived thread on the platform.
725
+ * The thread re-appears in default (non-archived) list results.
726
+ * Resolves when the server confirms the update; rejects on failure.
727
+ */
728
+ unarchiveThread: (threadId: string) => Promise<void>;
612
729
  /**
613
730
  * Permanently delete a thread from the platform.
614
731
  * This is irreversible. Resolves when the server confirms deletion;
@@ -625,9 +742,9 @@ interface UseThreadsResult {
625
742
  * current without polling — thread creates, renames, archives, and deletes
626
743
  * from any client are reflected immediately.
627
744
  *
628
- * Mutation methods (`renameThread`, `archiveThread`, `deleteThread`) return
629
- * promises that resolve once the platform confirms the operation and reject
630
- * with an `Error` on failure.
745
+ * Mutation methods (`renameThread`, `archiveThread`, `unarchiveThread`,
746
+ * `deleteThread`) return promises that resolve once the platform confirms the
747
+ * operation and reject with an `Error` on failure.
631
748
  *
632
749
  * @param input - Agent identifier and optional list controls.
633
750
  * @returns Thread list state and stable mutation callbacks.
@@ -660,7 +777,8 @@ interface UseThreadsResult {
660
777
  declare function useThreads({
661
778
  agentId,
662
779
  includeArchived,
663
- limit
780
+ limit,
781
+ enabled
664
782
  }: UseThreadsInput): UseThreadsResult;
665
783
  //#endregion
666
784
  //#region src/v2/hooks/use-render-tool.d.ts
@@ -763,5 +881,5 @@ declare function useRenderTool<S extends StandardSchemaV1>(config: {
763
881
  */
764
882
  declare function useCapabilities(agentId?: string): AgentCapabilities | undefined;
765
883
  //#endregion
766
- export { type AgentContextInput, CopilotChatConfigurationProvider, type CopilotChatConfigurationProviderProps, type CopilotChatConfigurationValue, CopilotChatDefaultLabels, type CopilotChatLabels, CopilotKitCoreReact, type CopilotKitCoreReactConfig, type InterruptEvent, type InterruptHandlerProps, type InterruptRenderProps, type JsonSerializable, type ReactFrontendTool, type ReactHumanInTheLoop, type RenderToolCompleteProps, type RenderToolExecutingProps, type RenderToolInProgressProps, type RenderToolProps, type Thread, type UseAgentUpdate, type UseInterruptConfig, type UseThreadsInput, type UseThreadsResult, defineToolCallRenderer, useAgent, useAgentContext, useCapabilities, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useFrontendTool, useHumanInTheLoop, useInterrupt, useRenderTool, useSuggestions, useThreads };
884
+ export { type AgentContextInput, CopilotChatConfigurationProvider, type CopilotChatConfigurationProviderProps, type CopilotChatConfigurationValue, CopilotChatDefaultLabels, type CopilotChatLabels, CopilotKitCoreReact, type CopilotKitCoreReactConfig, type Interrupt, type InterruptEvent, type InterruptHandlerProps, type InterruptRenderProps, type JsonSerializable, type ReactFrontendTool, type ReactHumanInTheLoop, type RenderToolCompleteProps, type RenderToolExecutingProps, type RenderToolInProgressProps, type RenderToolProps, type ResumeEntry, type ResumeStatus, type Thread, type UseAgentUpdate, type UseInterruptConfig, type UseThreadsInput, type UseThreadsResult, defineToolCallRenderer, useAgent, useAgentContext, useCapabilities, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useFrontendTool, useHumanInTheLoop, useInterrupt, useRenderTool, useSuggestions, useThreads };
767
885
  //# sourceMappingURL=headless.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless.d.cts","names":[],"sources":["../../src/v2/types/react-tool-call-renderer.ts","../../src/v2/types/react-activity-message-renderer.ts","../../src/v2/types/react-custom-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/lib/react-core.ts","../../src/v2/providers/CopilotChatConfigurationProvider.tsx","../../src/v2/hooks/use-agent.tsx","../../src/v2/hooks/use-frontend-tool.tsx","../../src/v2/hooks/use-component.tsx","../../src/v2/hooks/use-human-in-the-loop.tsx","../../src/v2/hooks/use-interrupt.tsx","../../src/v2/hooks/use-suggestions.tsx","../../src/v2/hooks/use-configure-suggestions.tsx","../../src/v2/hooks/use-agent-context.tsx","../../src/v2/hooks/use-threads.tsx","../../src/v2/hooks/use-render-tool.tsx","../../src/v2/hooks/use-capabilities.tsx"],"mappings":";;;;;;;UAGiB,qBAAA;EACf,IAAA;EACA,IAAA,EAAM,gBAAA,MAAsB,CAAA;;;AAF9B;;EAOE,OAAA;EACA,MAAA,EAAQ,KAAA,CAAM,aAAA;IAER,IAAA;IACA,UAAA;IACA,IAAA,EAAM,OAAA,CAAQ,CAAA;IACd,MAAA,EAAQ,cAAA,CAAe,UAAA;IACvB,MAAA;EAAA;IAGA,IAAA;IACA,UAAA;IACA,IAAA,EAAM,CAAA;IACN,MAAA,EAAQ,cAAA,CAAe,SAAA;IACvB,MAAA;EAAA;IAGA,IAAA;IACA,UAAA;IACA,IAAA,EAAM,CAAA;IACN,MAAA,EAAQ,cAAA,CAAe,QAAA;IACvB,MAAA;EAAA;AAAA;;;UC3BS,4BAAA;;;;EAIf,YAAA;EDLoC;;;ECSpC,OAAA;EDGoB;;;ECCpB,OAAA,EAAS,gBAAA,MAAsB,gBAAA;EDOjB;;;ECHd,MAAA,EAAQ,KAAA,CAAM,aAAA;IACZ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AM,YAAA;EAC9B,OAAA;AAAA,GAEF,IAAA,GAAO,aAAA;;;;;;;;;;AjBrET;;;;;;;;;;;;;;;;;;iBiBmGgB,aAAA,WAAwB,gBAAA,CAAA,CACtC,MAAA;EACE,IAAA;EACA,UAAA,EAAY,CAAA;EACZ,MAAA,GAAS,KAAA,EAAO,eAAA,CAAgB,CAAA,MAAO,KAAA,CAAM,YAAA;EAC7C,OAAA;AAAA,GAEF,IAAA,GAAO,aAAA;;;;;;;;;AlB3GT;;;;;iBmBWgB,eAAA,CACd,OAAA,YACC,iBAAA"}
1
+ {"version":3,"file":"headless.d.cts","names":[],"sources":["../../src/v2/types/react-tool-call-renderer.ts","../../src/v2/types/react-activity-message-renderer.ts","../../src/v2/types/react-custom-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/lib/react-core.ts","../../src/v2/providers/CopilotChatConfigurationProvider.tsx","../../src/v2/hooks/use-agent.tsx","../../src/v2/hooks/use-frontend-tool.tsx","../../src/v2/hooks/use-component.tsx","../../src/v2/hooks/use-human-in-the-loop.tsx","../../src/v2/hooks/use-interrupt.tsx","../../src/v2/hooks/use-suggestions.tsx","../../src/v2/hooks/use-configure-suggestions.tsx","../../src/v2/hooks/use-agent-context.tsx","../../src/v2/hooks/use-threads.tsx","../../src/v2/hooks/use-render-tool.tsx","../../src/v2/hooks/use-capabilities.tsx"],"mappings":";;;;;;;UAGiB,qBAAA;EACf,IAAA;;;;AADF;EAME,IAAA,GAAO,gBAAA,MAAsB,CAAA;EANO;;;;EAWpC,OAAA;EACA,MAAA,EAAQ,KAAA,CAAM,aAAA;IAER,IAAA;IACA,UAAA;IACA,IAAA,EAAM,OAAA,CAAQ,CAAA;IACd,MAAA,EAAQ,cAAA,CAAe,UAAA;IACvB,MAAA;EAAA;IAGA,IAAA;IACA,UAAA;IACA,IAAA,EAAM,CAAA;IACN,MAAA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