@assistant-ui/react 0.5.76 → 0.5.78

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Attachment, P as PendingAttachment, T as ThreadMessage, C as CoreMessage, a as AppendMessage, M as ModelConfig, b as ModelConfigProvider, c as ThreadAssistantContentPart, d as MessageStatus, e as ThreadStep, f as PendingAttachmentStatus, g as CompleteAttachment, h as CompleteAttachmentStatus, i as Tool, j as TextContentPart, I as ImageContentPart, k as ToolCallContentPart, l as CoreToolCallContentPart, U as UIContentPart, m as CreateEdgeRuntimeAPIOptions, n as ThreadUserContentPart, o as ContentPartStatus, p as ToolCallContentPartStatus } from './edge-rTP-G718.mjs';
1
+ import { A as Attachment$1, P as PendingAttachment, T as ThreadMessage, C as CoreMessage, a as AppendMessage, M as ModelConfig, b as ModelConfigProvider, c as ThreadAssistantContentPart, d as MessageStatus, e as ThreadStep, f as PendingAttachmentStatus, g as CompleteAttachment, h as CompleteAttachmentStatus, i as Tool, j as TextContentPart, I as ImageContentPart, k as ToolCallContentPart, l as CoreToolCallContentPart, U as UIContentPart, m as CreateEdgeRuntimeAPIOptions, n as ThreadUserContentPart, o as ContentPartStatus, p as ToolCallContentPartStatus } from './edge-rTP-G718.mjs';
2
2
  export { q as AttachmentStatus, v as CoreAssistantContentPart, y as CoreAssistantMessage, w as CoreSystemMessage, u as CoreUserContentPart, x as CoreUserMessage, E as EdgeRuntimeRequestOptions, s as ThreadAssistantMessage, r as ThreadSystemMessage, t as ThreadUserMessage } from './edge-rTP-G718.mjs';
3
3
  import * as react from 'react';
4
4
  import { ComponentType, PropsWithChildren, FC, ElementRef, ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
@@ -15,7 +15,7 @@ import 'json-schema';
15
15
  import 'zod';
16
16
 
17
17
  type ComposerRuntimeCore = Readonly<{
18
- attachments: readonly Attachment[];
18
+ attachments: readonly Attachment$1[];
19
19
  getAttachmentAccept(): string;
20
20
  addAttachment: (file: File) => Promise<void>;
21
21
  removeAttachment: (attachmentId: string) => Promise<void>;
@@ -142,6 +142,7 @@ type ThreadRuntimeCore = Readonly<{
142
142
  subscribe: (callback: () => void) => Unsubscribe;
143
143
  import(repository: ExportedMessageRepository): void;
144
144
  export(): ExportedMessageRepository;
145
+ unstable_on(event: "switched-to" | "run-start", callback: () => void): Unsubscribe;
145
146
  }>;
146
147
 
147
148
  type AssistantRuntimeCore = {
@@ -218,7 +219,7 @@ type AttachmentAdapter = {
218
219
  }): Promise<Omit<PendingAttachment, "status"> & {
219
220
  status?: PendingAttachmentStatus;
220
221
  }>;
221
- remove(attachment: Attachment): Promise<void>;
222
+ remove(attachment: Attachment$1): Promise<void>;
222
223
  send(attachment: PendingAttachment): Promise<Omit<CompleteAttachment, "status"> & {
223
224
  status?: CompleteAttachmentStatus;
224
225
  }>;
@@ -268,7 +269,7 @@ declare class CompositeAttachmentAdapter implements AttachmentAdapter {
268
269
  send(attachment: PendingAttachment): Promise<Omit<CompleteAttachment, "status"> & {
269
270
  status?: CompleteAttachmentStatus;
270
271
  }>;
271
- remove(attachment: Attachment): Promise<void>;
272
+ remove(attachment: Attachment$1): Promise<void>;
272
273
  }
273
274
 
274
275
  declare abstract class BaseComposerRuntimeCore implements ComposerRuntimeCore {
@@ -276,8 +277,8 @@ declare abstract class BaseComposerRuntimeCore implements ComposerRuntimeCore {
276
277
  protected abstract getAttachmentAdapter(): AttachmentAdapter | undefined;
277
278
  getAttachmentAccept(): string;
278
279
  private _attachments;
279
- protected set attachments(value: readonly Attachment[]);
280
- get attachments(): readonly Attachment[];
280
+ protected set attachments(value: readonly Attachment$1[]);
281
+ get attachments(): readonly Attachment$1[];
281
282
  abstract get canCancel(): boolean;
282
283
  get isEmpty(): boolean;
283
284
  private _text;
@@ -358,7 +359,8 @@ declare abstract class BaseThreadRuntimeCore implements ThreadRuntimeCore {
358
359
  beginEdit(messageId: string): void;
359
360
  getBranches(messageId: string): string[];
360
361
  switchToBranch(branchId: string): void;
361
- protected notifySubscribers(): void;
362
+ protected _notifySubscribers(): void;
363
+ _notifyEventSubscribers(event: "switched-to" | "run-start"): void;
362
364
  subscribe(callback: () => void): Unsubscribe;
363
365
  private _submittedFeedback;
364
366
  getSubmittedFeedback(messageId: string): Readonly<{
@@ -371,6 +373,8 @@ declare abstract class BaseThreadRuntimeCore implements ThreadRuntimeCore {
371
373
  stopSpeaking(): void;
372
374
  export(): ExportedMessageRepository;
373
375
  import(data: ExportedMessageRepository): void;
376
+ private _eventSubscribers;
377
+ unstable_on(event: "switched-to" | "run-start", callback: () => void): () => void;
374
378
  }
375
379
 
376
380
  declare class LocalThreadRuntimeCore extends BaseThreadRuntimeCore implements ThreadRuntimeCore {
@@ -600,7 +604,7 @@ type LegacyThreadComposerState = Readonly<{
600
604
  value: string;
601
605
  /** @deprecated Use `useComposerRuntime().setText` instead. This will be removed in 0.6.0. */
602
606
  setValue: (value: string) => void;
603
- attachments: readonly Attachment[];
607
+ attachments: readonly Attachment$1[];
604
608
  /** @deprecated Use `useComposerRuntime().addAttachment` instead. This will be removed in 0.6.0. */
605
609
  addAttachment: (file: File) => Promise<void>;
606
610
  /** @deprecated Use `useComposerRuntime().removeAttachment` instead. This will be removed in 0.6.0. */
@@ -619,14 +623,10 @@ type LegacyThreadComposerState = Readonly<{
619
623
  send: () => void;
620
624
  /** @deprecated Use `useComposerRuntime().cancel` instead. This will be removed in 0.6.0. */
621
625
  cancel: () => void;
622
- /** @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it. */
623
- focus: () => void;
624
- /** @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it. */
625
- onFocus: (listener: () => void) => Unsubscribe;
626
626
  }>;
627
627
  type BaseComposerState = {
628
628
  text: string;
629
- attachments: readonly Attachment[];
629
+ attachments: readonly Attachment$1[];
630
630
  canCancel: boolean;
631
631
  isEditing: boolean;
632
632
  isEmpty: boolean;
@@ -651,7 +651,7 @@ type ComposerRuntime = {
651
651
  /** @deprecated Use `getState().text` instead. This will be removed in 0.6.0. */
652
652
  readonly text: string;
653
653
  /** @deprecated Use `getState().attachments` instead. This will be removed in 0.6.0. */
654
- readonly attachments: readonly Attachment[];
654
+ readonly attachments: readonly Attachment$1[];
655
655
  /** @deprecated Use `getState().text` instead. This will be removed in 0.6.0. */
656
656
  readonly value: string;
657
657
  setText(text: string): void;
@@ -690,7 +690,7 @@ declare abstract class ComposerRuntimeImpl implements ComposerRuntimeCore, Compo
690
690
  /**
691
691
  * @deprecated Use `getState().attachments` instead. This will be removed in 0.6.0.
692
692
  */
693
- get attachments(): readonly Attachment[] | (readonly Attachment[] & readonly PendingAttachment[]);
693
+ get attachments(): readonly Attachment$1[] | (readonly Attachment$1[] & readonly PendingAttachment[]);
694
694
  /**
695
695
  * @deprecated Use `getState().text` instead. This will be removed in 0.6.0.
696
696
  */
@@ -720,10 +720,6 @@ type ThreadComposerRuntime = Omit<ComposerRuntime, "getState" | "getAttachmentBy
720
720
  * @deprecated Use `getState().attachments` instead. This will be removed in 0.6.0.
721
721
  */
722
722
  attachments: readonly PendingAttachment[];
723
- /** @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it. */
724
- focus(): void;
725
- /** @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it. */
726
- onFocus(callback: () => void): Unsubscribe;
727
723
  getAttachmentByIndex(idx: number): AttachmentRuntime & {
728
724
  source: "thread-composer";
729
725
  };
@@ -732,17 +728,8 @@ declare class ThreadComposerRuntimeImpl extends ComposerRuntimeImpl implements T
732
728
  get type(): "thread";
733
729
  private _getState;
734
730
  constructor(core: ThreadComposerRuntimeCoreBinding);
735
- get attachments(): readonly Attachment[] & readonly PendingAttachment[];
731
+ get attachments(): readonly Attachment$1[] & readonly PendingAttachment[];
736
732
  getState(): ThreadComposerState;
737
- private _focusListeners;
738
- /**
739
- * @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it.
740
- */
741
- focus(): void;
742
- /**
743
- * @deprecated This feature is being removed in 0.6.0. Submit feedback if you need it.
744
- */
745
- onFocus(callback: () => void): () => boolean;
746
733
  getAttachmentByIndex(idx: number): ThreadComposerAttachmentRuntimeImpl;
747
734
  }
748
735
  type EditComposerRuntime = Omit<ComposerRuntime, "getState" | "getAttachmentByIndex"> & {
@@ -785,12 +772,12 @@ type ThreadComposerAttachmentState = PendingAttachment & {
785
772
  */
786
773
  attachment: PendingAttachment;
787
774
  };
788
- type EditComposerAttachmentState = Attachment & {
775
+ type EditComposerAttachmentState = Attachment$1 & {
789
776
  source: "edit-composer";
790
777
  /**
791
778
  * @deprecated You can directly access content part fields in the state. Replace `.attachment.type` with `.type` etc. This will be removed in 0.6.0.
792
779
  */
793
- attachment: Attachment;
780
+ attachment: Attachment$1;
794
781
  };
795
782
  type AttachmentState = ThreadComposerAttachmentState | EditComposerAttachmentState | MessageAttachmentState;
796
783
  type AttachmentSnapshotBinding<Source extends AttachmentRuntimeSource> = SubscribableWithState<AttachmentState & {
@@ -919,7 +906,9 @@ type CreateAppendMessage = string | {
919
906
  content: AppendMessage["content"];
920
907
  attachments?: AppendMessage["attachments"] | undefined;
921
908
  };
922
- type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore>;
909
+ type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore> & {
910
+ outerSubscribe(callback: () => void): Unsubscribe;
911
+ };
923
912
  type ThreadState = Readonly<{
924
913
  threadId: string;
925
914
  isDisabled: boolean;
@@ -946,6 +935,7 @@ type ThreadRuntime = {
946
935
  import(repository: ExportedMessageRepository): void;
947
936
  getMesssageByIndex(idx: number): MessageRuntime;
948
937
  stopSpeaking: () => void;
938
+ unstable_on(event: "switched-to" | "run-start", callback: () => void): Unsubscribe;
949
939
  /**
950
940
  * @deprecated Use `getState().capabilities` instead. This will be removed in 0.6.0.
951
941
  */
@@ -1003,11 +993,11 @@ type ThreadRuntime = {
1003
993
  */
1004
994
  submitFeedback: (feedback: SubmitFeedbackOptions) => void;
1005
995
  /**
1006
- * @deprecated Use `getMesssageById(id).getMessageByIndex(idx).composer` instead. This will be removed in 0.6.0.
996
+ * @deprecated Use `getMesssageById(id).composer` instead. This will be removed in 0.6.0.
1007
997
  */
1008
998
  getEditComposer: (messageId: string) => ComposerRuntimeCore | undefined;
1009
999
  /**
1010
- * @deprecated Use `getMesssageById(id).getMessageByIndex(idx).composer.beginEdit()` instead. This will be removed in 0.6.0.
1000
+ * @deprecated Use `getMesssageById(id).composer.beginEdit()` instead. This will be removed in 0.6.0.
1011
1001
  */
1012
1002
  beginEdit: (messageId: string) => void;
1013
1003
  };
@@ -1081,6 +1071,7 @@ declare class ThreadRuntimeImpl implements ThreadRuntimeCore, ThreadRuntime {
1081
1071
  subscribe: (callback: () => void) => Unsubscribe;
1082
1072
  import(repository: ExportedMessageRepository): void;
1083
1073
  export(): ExportedMessageRepository;
1074
+ unstable_on(event: "switched-to" | "run-start", callback: () => void): Unsubscribe;
1084
1075
  }>;
1085
1076
  private _threadBinding;
1086
1077
  constructor(threadBinding: ThreadRuntimeCoreBinding);
@@ -1128,7 +1119,7 @@ declare class ThreadRuntimeImpl implements ThreadRuntimeCore, ThreadRuntime {
1128
1119
  * @deprecated Use `getMesssageById(id).getMessageByIndex(idx).composer` instead. This will be removed in 0.6.0.
1129
1120
  */
1130
1121
  getEditComposer(messageId: string): Readonly<{
1131
- attachments: readonly Attachment[];
1122
+ attachments: readonly Attachment$1[];
1132
1123
  getAttachmentAccept(): string;
1133
1124
  addAttachment: (file: File) => Promise<void>;
1134
1125
  removeAttachment: (attachmentId: string) => Promise<void>;
@@ -1149,6 +1140,8 @@ declare class ThreadRuntimeImpl implements ThreadRuntimeCore, ThreadRuntime {
1149
1140
  export(): ExportedMessageRepository;
1150
1141
  import(data: ExportedMessageRepository): void;
1151
1142
  getMesssageByIndex(idx: number): MessageRuntimeImpl;
1143
+ private _eventListenerNestedSubscriptions;
1144
+ unstable_on(event: "switched-to" | "run-start", callback: () => void): Unsubscribe;
1152
1145
  }
1153
1146
 
1154
1147
  type ContentPartState = (ThreadUserContentPart | ThreadAssistantContentPart) & {
@@ -2038,9 +2031,11 @@ declare namespace index$7 {
2038
2031
  /**
2039
2032
  * @deprecated Use `AssistantModalPrimitive.Root.Props` instead. This will be removed in 0.6.
2040
2033
  */
2041
- type AssistantModalPrimitiveRootProps = PopoverPrimitive.PopoverProps;
2034
+ type AssistantModalPrimitiveRootProps = AssistantModalPrimitiveRoot.Props;
2042
2035
  declare namespace AssistantModalPrimitiveRoot {
2043
- type Props = PopoverPrimitive.PopoverProps;
2036
+ type Props = PopoverPrimitive.PopoverProps & {
2037
+ unstable_openOnRunStart?: boolean | undefined;
2038
+ };
2044
2039
  }
2045
2040
  declare const AssistantModalPrimitiveRoot: FC<AssistantModalPrimitiveRoot.Props>;
2046
2041
 
@@ -2210,12 +2205,18 @@ declare namespace ComposerPrimitiveInput {
2210
2205
  asChild?: boolean | undefined;
2211
2206
  submitOnEnter?: boolean | undefined;
2212
2207
  cancelOnEscape?: boolean | undefined;
2208
+ unstable_focusOnRunStart?: boolean | undefined;
2209
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2210
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2213
2211
  };
2214
2212
  }
2215
2213
  declare const ComposerPrimitiveInput: react.ForwardRefExoticComponent<TextareaAutosizeProps & {
2216
2214
  asChild?: boolean | undefined;
2217
2215
  submitOnEnter?: boolean | undefined;
2218
2216
  cancelOnEscape?: boolean | undefined;
2217
+ unstable_focusOnRunStart?: boolean | undefined;
2218
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2219
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2219
2220
  } & react.RefAttributes<HTMLTextAreaElement>>;
2220
2221
 
2221
2222
  /**
@@ -2440,6 +2441,7 @@ declare const ThreadPrimitiveIf: FC<ThreadPrimitiveIf.Props>;
2440
2441
 
2441
2442
  type UseThreadViewportAutoScrollProps = {
2442
2443
  autoScroll?: boolean | undefined;
2444
+ unstable_scrollToBottomOnRunStart?: boolean | undefined;
2443
2445
  };
2444
2446
 
2445
2447
  /**
@@ -2681,7 +2683,7 @@ declare const TooltipIconButton: react.ForwardRefExoticComponent<Omit<Omit<react
2681
2683
  } & react.RefAttributes<HTMLButtonElement>>;
2682
2684
 
2683
2685
  declare const AssistantActionBar: FC;
2684
- declare const exports$c: {
2686
+ declare const exports$b: {
2685
2687
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2686
2688
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2687
2689
  } & {
@@ -2697,7 +2699,7 @@ declare const exports$c: {
2697
2699
  FeedbackPositive: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2698
2700
  FeedbackNegative: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2699
2701
  };
2700
- declare const _default$b: typeof AssistantActionBar & typeof exports$c;
2702
+ declare const _default$a: typeof AssistantActionBar & typeof exports$b;
2701
2703
 
2702
2704
  declare const AssistantMessage: FC;
2703
2705
  /**
@@ -2709,7 +2711,7 @@ declare namespace AssistantMessageContent {
2709
2711
  type Props = MessagePrimitiveContent.Props & ComponentPropsWithoutRef<"div">;
2710
2712
  }
2711
2713
  declare const AssistantMessageContent: react.ForwardRefExoticComponent<MessagePrimitiveContent.Props & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
2712
- declare const exports$b: {
2714
+ declare const exports$a: {
2713
2715
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2714
2716
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2715
2717
  } & {
@@ -2718,14 +2720,14 @@ declare const exports$b: {
2718
2720
  Avatar: FC;
2719
2721
  Content: react.ForwardRefExoticComponent<MessagePrimitiveContent.Props & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
2720
2722
  };
2721
- declare const _default$a: typeof AssistantMessage & typeof exports$b;
2723
+ declare const _default$9: typeof AssistantMessage & typeof exports$a;
2722
2724
 
2723
2725
  declare const AssistantModal: FC<ThreadConfig>;
2724
2726
  declare namespace AssistantModalRoot {
2725
2727
  type Props = AssistantModalPrimitiveRoot.Props & ThreadConfigProviderProps;
2726
2728
  }
2727
2729
  declare const AssistantModalRoot: FC<AssistantModalRoot.Props>;
2728
- declare const exports$a: {
2730
+ declare const exports$9: {
2729
2731
  Root: FC<AssistantModalRoot.Props>;
2730
2732
  Trigger: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2731
2733
  Content: react.ForwardRefExoticComponent<Partial<Omit<Omit<PopoverPrimitive.PopoverContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
@@ -2736,10 +2738,10 @@ declare const exports$a: {
2736
2738
  } & react.RefAttributes<HTMLButtonElement>>;
2737
2739
  Anchor: react.ForwardRefExoticComponent<Partial<Omit<Omit<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2738
2740
  };
2739
- declare const _default$9: typeof AssistantModal & typeof exports$a;
2741
+ declare const _default$8: typeof AssistantModal & typeof exports$9;
2740
2742
 
2741
2743
  declare const BranchPicker: FC;
2742
- declare const exports$9: {
2744
+ declare const exports$8: {
2743
2745
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2744
2746
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2745
2747
  } & {
@@ -2750,13 +2752,16 @@ declare const exports$9: {
2750
2752
  Previous: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2751
2753
  Next: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2752
2754
  };
2753
- declare const _default$8: typeof BranchPicker & typeof exports$9;
2755
+ declare const _default$7: typeof BranchPicker & typeof exports$8;
2754
2756
 
2755
2757
  declare const Composer: FC;
2756
2758
  declare const ComposerInputStyled: react.ForwardRefExoticComponent<Partial<Omit<react_textarea_autosize.TextareaAutosizeProps & {
2757
2759
  asChild?: boolean | undefined;
2758
2760
  submitOnEnter?: boolean | undefined;
2759
2761
  cancelOnEscape?: boolean | undefined;
2762
+ unstable_focusOnRunStart?: boolean | undefined;
2763
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2764
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2760
2765
  } & react.RefAttributes<HTMLTextAreaElement>, "ref">> & react.RefAttributes<HTMLTextAreaElement>>;
2761
2766
  /**
2762
2767
  * @deprecated Use `ComposerInput.Props` instead. This will be removed in 0.6.
@@ -2770,8 +2775,11 @@ declare const ComposerInput: react.ForwardRefExoticComponent<Omit<Partial<Omit<r
2770
2775
  asChild?: boolean | undefined;
2771
2776
  submitOnEnter?: boolean | undefined;
2772
2777
  cancelOnEscape?: boolean | undefined;
2778
+ unstable_focusOnRunStart?: boolean | undefined;
2779
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2780
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2773
2781
  } & react.RefAttributes<HTMLTextAreaElement>, "ref">> & react.RefAttributes<HTMLTextAreaElement>, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
2774
- declare const exports$8: {
2782
+ declare const exports$7: {
2775
2783
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
2776
2784
  ref?: ((instance: HTMLFormElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLFormElement> | null | undefined;
2777
2785
  } & {
@@ -2781,6 +2789,9 @@ declare const exports$8: {
2781
2789
  asChild?: boolean | undefined;
2782
2790
  submitOnEnter?: boolean | undefined;
2783
2791
  cancelOnEscape?: boolean | undefined;
2792
+ unstable_focusOnRunStart?: boolean | undefined;
2793
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2794
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2784
2795
  } & react.RefAttributes<HTMLTextAreaElement>, "ref">> & react.RefAttributes<HTMLTextAreaElement>, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
2785
2796
  Action: FC;
2786
2797
  Send: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
@@ -2788,10 +2799,10 @@ declare const exports$8: {
2788
2799
  AddAttachment: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2789
2800
  Attachments: FC<Partial<ComposerPrimitiveAttachments.Props>>;
2790
2801
  };
2791
- declare const _default$7: typeof Composer & typeof exports$8;
2802
+ declare const _default$6: typeof Composer & typeof exports$7;
2792
2803
 
2793
- declare const ComposerAttachment: FC;
2794
- declare const exports$7: {
2804
+ declare const Attachment: FC;
2805
+ declare const exports$6: {
2795
2806
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2796
2807
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2797
2808
  } & {
@@ -2799,10 +2810,10 @@ declare const exports$7: {
2799
2810
  }, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2800
2811
  Remove: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2801
2812
  };
2802
- declare const _default$6: typeof ComposerAttachment & typeof exports$7;
2813
+ declare const _default$5: typeof Attachment & typeof exports$6;
2803
2814
 
2804
2815
  declare const EditComposer: FC;
2805
- declare const exports$6: {
2816
+ declare const exports$5: {
2806
2817
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
2807
2818
  ref?: ((instance: HTMLFormElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLFormElement> | null | undefined;
2808
2819
  } & {
@@ -2812,12 +2823,15 @@ declare const exports$6: {
2812
2823
  asChild?: boolean | undefined;
2813
2824
  submitOnEnter?: boolean | undefined;
2814
2825
  cancelOnEscape?: boolean | undefined;
2826
+ unstable_focusOnRunStart?: boolean | undefined;
2827
+ unstable_focusOnScrollToBottom?: boolean | undefined;
2828
+ unstable_focusOnThreadSwitched?: boolean | undefined;
2815
2829
  } & react.RefAttributes<HTMLTextAreaElement>, "ref">> & react.RefAttributes<HTMLTextAreaElement>>;
2816
2830
  Footer: react.ForwardRefExoticComponent<Partial<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2817
2831
  Cancel: react.ForwardRefExoticComponent<Partial<ButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2818
2832
  Send: react.ForwardRefExoticComponent<Partial<ButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2819
2833
  };
2820
- declare const _default$5: typeof EditComposer & typeof exports$6;
2834
+ declare const _default$4: typeof EditComposer & typeof exports$5;
2821
2835
 
2822
2836
  declare const Thread: FC<ThreadConfig>;
2823
2837
  /**
@@ -2837,7 +2851,7 @@ declare const ThreadRoot: react.ForwardRefExoticComponent<Omit<Omit<react.Detail
2837
2851
  } & {
2838
2852
  children?: react.ReactNode | undefined;
2839
2853
  } & react.RefAttributes<HTMLDivElement>>;
2840
- declare const exports$5: {
2854
+ declare const exports$4: {
2841
2855
  Root: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2842
2856
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2843
2857
  } & {
@@ -2865,7 +2879,7 @@ declare const exports$5: {
2865
2879
  ScrollToBottom: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2866
2880
  ViewportFooter: react.ForwardRefExoticComponent<Partial<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2867
2881
  };
2868
- declare const _default$4: typeof Thread & typeof exports$5;
2882
+ declare const _default$3: typeof Thread & typeof exports$4;
2869
2883
 
2870
2884
  declare const UserMessage: FC;
2871
2885
  /**
@@ -2877,7 +2891,7 @@ declare namespace UserMessageContent {
2877
2891
  type Props = MessagePrimitiveContent.Props & ComponentPropsWithoutRef<"div">;
2878
2892
  }
2879
2893
  declare const UserMessageContent: react.ForwardRefExoticComponent<MessagePrimitiveContent.Props & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
2880
- declare const exports$4: {
2894
+ declare const exports$3: {
2881
2895
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2882
2896
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2883
2897
  } & {
@@ -2886,10 +2900,10 @@ declare const exports$4: {
2886
2900
  Content: react.ForwardRefExoticComponent<MessagePrimitiveContent.Props & Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
2887
2901
  Attachments: FC<Partial<MessagePrimitiveAttachments.Props>>;
2888
2902
  };
2889
- declare const _default$3: typeof UserMessage & typeof exports$4;
2903
+ declare const _default$2: typeof UserMessage & typeof exports$3;
2890
2904
 
2891
2905
  declare const UserActionBar: FC;
2892
- declare const exports$3: {
2906
+ declare const exports$2: {
2893
2907
  Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2894
2908
  ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2895
2909
  } & {
@@ -2897,17 +2911,7 @@ declare const exports$3: {
2897
2911
  }, "ref"> & UseActionBarFloatStatusProps & react.RefAttributes<HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2898
2912
  Edit: react.ForwardRefExoticComponent<Partial<TooltipIconButtonProps> & react.RefAttributes<HTMLButtonElement>>;
2899
2913
  };
2900
- declare const _default$2: typeof UserActionBar & typeof exports$3;
2901
-
2902
- declare const UserMessageAttachment: FC;
2903
- declare const exports$2: {
2904
- Root: react.ForwardRefExoticComponent<Partial<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2905
- ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
2906
- } & {
2907
- asChild?: boolean;
2908
- }, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">> & react.RefAttributes<HTMLDivElement>>;
2909
- };
2910
- declare const _default$1: typeof UserMessageAttachment & typeof exports$2;
2914
+ declare const _default$1: typeof UserActionBar & typeof exports$2;
2911
2915
 
2912
2916
  declare const ThreadWelcome: FC;
2913
2917
  declare const ThreadWelcomeMessageStyled: react.ForwardRefExoticComponent<Partial<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref">> & react.RefAttributes<HTMLParagraphElement>>;
@@ -3033,4 +3037,4 @@ declare namespace internal {
3033
3037
  export { internal_AssistantRuntimeImpl as AssistantRuntimeImpl, internal_BaseAssistantRuntimeCore as BaseAssistantRuntimeCore, internal_DefaultThreadComposerRuntimeCore as DefaultThreadComposerRuntimeCore, internal_MessageRepository as MessageRepository, internal_ProxyConfigProvider as ProxyConfigProvider, type internal_ThreadRuntimeCore as ThreadRuntimeCore, type internal_ThreadRuntimeCoreBinding as ThreadRuntimeCoreBinding, internal_ThreadRuntimeImpl as ThreadRuntimeImpl, internal_TooltipIconButton as TooltipIconButton, internal_generateId as generateId, internal_useSmooth as useSmooth, internal_useSmoothStatus as useSmoothStatus, internal_withSmoothContextProvider as withSmoothContextProvider };
3034
3038
  }
3035
3039
 
3036
- export { index$7 as ActionBarPrimitive, type ActionBarPrimitiveCopyProps, type ActionBarPrimitiveEditProps, type ActionBarPrimitiveFeedbackNegativeProps, type ActionBarPrimitiveFeedbackPositiveProps, type ActionBarPrimitiveReloadProps, type ActionBarPrimitiveRootProps, type ActionBarPrimitiveSpeakProps, type ActionBarPrimitiveStopSpeakingProps, type AddToolResultOptions, AppendMessage, _default$b as AssistantActionBar, type AssistantContextValue, _default$a as AssistantMessage, type AssistantMessageConfig, type AssistantMessageContentProps, _default$9 as AssistantModal, index$6 as AssistantModalPrimitive, type AssistantModalPrimitiveContentProps, type AssistantModalPrimitiveRootProps, type AssistantModalPrimitiveTriggerProps, type AssistantRuntime, AssistantRuntimeProvider, type AssistantTool, type AssistantToolProps, type AssistantToolUI, type AssistantToolUIProps, type AssistantToolUIsState, Attachment, type AttachmentAdapter, index$5 as AttachmentPrimitive, _default$8 as BranchPicker, index$4 as BranchPickerPrimitive, type BranchPickerPrimitiveCountProps, type BranchPickerPrimitiveNextProps, type BranchPickerPrimitiveNumberProps, type BranchPickerPrimitivePreviousProps, type BranchPickerPrimitiveRootProps, type ChatModelAdapter, type ChatModelRunOptions, type ChatModelRunResult, type ChatModelRunUpdate, CompleteAttachment, _default$7 as Composer, _default$6 as ComposerAttachment, type ComposerContextValue, type ComposerInputProps, index$3 as ComposerPrimitive, type ComposerPrimitiveCancelProps, type ComposerPrimitiveIfProps, type ComposerPrimitiveInputProps, type ComposerPrimitiveRootProps, type ComposerPrimitiveSendProps, type ComposerRuntime, type ComposerState, CompositeAttachmentAdapter, exports as ContentPart, type ContentPartContextValue, index$2 as ContentPartPrimitive, type ContentPartPrimitiveDisplayProps, type ContentPartPrimitiveImageProps, type ContentPartPrimitiveInProgressProps, type ContentPartPrimitiveTextProps, type ContentPartRuntime, CoreMessage, type DangerousInBrowserRuntimeOptions, EdgeChatAdapter, type EdgeRuntimeOptions, _default$5 as EditComposer, type EditComposerRuntime, type EditComposerState, type EmptyContentPartComponent, type EmptyContentPartProps, type ExternalStoreAdapter, type ExternalStoreMessageConverter, internal as INTERNAL, ImageContentPart, type ImageContentPartComponent, type ImageContentPartProps, type LocalRuntimeOptions, type MessageContextValue, index$1 as MessagePrimitive, type MessagePrimitiveContentProps, type MessagePrimitiveIfProps, type MessagePrimitiveInProgressProps, type MessagePrimitiveRootProps, type MessageRuntime, type MessageState, MessageStatus, type MessageUtilsState, ModelConfig, ModelConfigProvider, PendingAttachment, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, SpeechSynthesisAdapter, StreamUtils, type StringsConfig, type SubmitFeedbackOptions, type SuggestionConfig, TextContentPart, type TextContentPartComponent, type TextContentPartProps, TextContentPartProvider, _default$4 as Thread, ThreadAssistantContentPart, type ThreadComposerRuntime, type ThreadComposerState, type ThreadConfig, ThreadConfigProvider, type ThreadConfigProviderProps, type ThreadContextValue, ThreadMessage, type ThreadMessageLike, index as ThreadPrimitive, type ThreadPrimitiveEmptyProps, type ThreadPrimitiveIfProps, type ThreadPrimitiveMessagesProps, type ThreadPrimitiveRootProps, type ThreadPrimitiveScrollToBottomProps, type ThreadPrimitiveSuggestionProps, type ThreadPrimitiveViewportProps, type ThreadRootProps, type ThreadRuntime, type ThreadState, type ThreadSuggestion, ThreadUserContentPart, type ThreadViewportState, _default as ThreadWelcome, type ThreadWelcomeConfig, type ThreadWelcomeMessageProps, type ThreadWelcomeSuggestionProps, Tool, ToolCallContentPart, type ToolCallContentPartComponent, type ToolCallContentPartProps, UIContentPart, type UIContentPartComponent, type UIContentPartProps, type Unsubscribe, type UseActionBarCopyProps, _default$2 as UserActionBar, _default$3 as UserMessage, _default$1 as UserMessageAttachment, type UserMessageConfig, type UserMessageContentProps, WebSpeechSynthesisAdapter, fromCoreMessage, fromCoreMessages, fromLanguageModelMessages, fromLanguageModelTools, getExternalStoreMessage, makeAssistantTool, makeAssistantToolUI, streamUtils, subscribeToMainThread, toCoreMessage, toCoreMessages, toLanguageModelMessages, toLanguageModelTools, useActionBarCopy, useActionBarEdit, useActionBarFeedbackNegative, useActionBarFeedbackPositive, useActionBarReload, useActionBarSpeak, useActionBarStopSpeaking, useAppendMessage, useAssistantActions, useAssistantActionsStore, useAssistantContext, useAssistantInstructions, useAssistantRuntime, useAssistantRuntimeStore, useAssistantTool, useAssistantToolUI, useBranchPickerCount, useBranchPickerNext, useBranchPickerNumber, useBranchPickerPrevious, useComposer, useComposerAddAttachment, useComposerCancel, useComposerContext, useComposerIf, useComposerRuntime, useComposerSend, useComposerStore, useContentPart, useContentPartContext, useContentPartDisplay, useContentPartImage, useContentPartRuntime, useContentPartStore, useContentPartText, useDangerousInBrowserRuntime, useEdgeRuntime, useEditComposer, useEditComposerStore, useExternalMessageConverter, useExternalStoreRuntime, useLocalRuntime, useMessage, useMessageContext, useMessageIf, useMessageRuntime, useMessageStore, useMessageUtils, useMessageUtilsStore, useSwitchToNewThread, useThread, useThreadActions, useThreadActionsStore, useThreadComposer, useThreadComposerStore, useThreadConfig, useThreadContext, useThreadEmpty, useThreadIf, useThreadMessages, useThreadMessagesStore, useThreadRuntime, useThreadRuntimeStore, useThreadScrollToBottom, useThreadStore, useThreadSuggestion, useThreadViewport, useThreadViewportStore, useToolUIs, useToolUIsStore };
3040
+ export { index$7 as ActionBarPrimitive, type ActionBarPrimitiveCopyProps, type ActionBarPrimitiveEditProps, type ActionBarPrimitiveFeedbackNegativeProps, type ActionBarPrimitiveFeedbackPositiveProps, type ActionBarPrimitiveReloadProps, type ActionBarPrimitiveRootProps, type ActionBarPrimitiveSpeakProps, type ActionBarPrimitiveStopSpeakingProps, type AddToolResultOptions, AppendMessage, _default$a as AssistantActionBar, type AssistantContextValue, _default$9 as AssistantMessage, type AssistantMessageConfig, type AssistantMessageContentProps, _default$8 as AssistantModal, index$6 as AssistantModalPrimitive, type AssistantModalPrimitiveContentProps, type AssistantModalPrimitiveRootProps, type AssistantModalPrimitiveTriggerProps, type AssistantRuntime, AssistantRuntimeProvider, type AssistantTool, type AssistantToolProps, type AssistantToolUI, type AssistantToolUIProps, type AssistantToolUIsState, Attachment$1 as Attachment, type AttachmentAdapter, index$5 as AttachmentPrimitive, _default$5 as AttachmentUI, _default$7 as BranchPicker, index$4 as BranchPickerPrimitive, type BranchPickerPrimitiveCountProps, type BranchPickerPrimitiveNextProps, type BranchPickerPrimitiveNumberProps, type BranchPickerPrimitivePreviousProps, type BranchPickerPrimitiveRootProps, type ChatModelAdapter, type ChatModelRunOptions, type ChatModelRunResult, type ChatModelRunUpdate, CompleteAttachment, _default$6 as Composer, _default$5 as ComposerAttachment, type ComposerContextValue, type ComposerInputProps, index$3 as ComposerPrimitive, type ComposerPrimitiveCancelProps, type ComposerPrimitiveIfProps, type ComposerPrimitiveInputProps, type ComposerPrimitiveRootProps, type ComposerPrimitiveSendProps, type ComposerRuntime, type ComposerState, CompositeAttachmentAdapter, exports as ContentPart, type ContentPartContextValue, index$2 as ContentPartPrimitive, type ContentPartPrimitiveDisplayProps, type ContentPartPrimitiveImageProps, type ContentPartPrimitiveInProgressProps, type ContentPartPrimitiveTextProps, type ContentPartRuntime, CoreMessage, type DangerousInBrowserRuntimeOptions, EdgeChatAdapter, type EdgeRuntimeOptions, _default$4 as EditComposer, type EditComposerRuntime, type EditComposerState, type EmptyContentPartComponent, type EmptyContentPartProps, type ExternalStoreAdapter, type ExternalStoreMessageConverter, internal as INTERNAL, ImageContentPart, type ImageContentPartComponent, type ImageContentPartProps, type LocalRuntimeOptions, type MessageContextValue, index$1 as MessagePrimitive, type MessagePrimitiveContentProps, type MessagePrimitiveIfProps, type MessagePrimitiveInProgressProps, type MessagePrimitiveRootProps, type MessageRuntime, type MessageState, MessageStatus, type MessageUtilsState, ModelConfig, ModelConfigProvider, PendingAttachment, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, SpeechSynthesisAdapter, StreamUtils, type StringsConfig, type SubmitFeedbackOptions, type SuggestionConfig, TextContentPart, type TextContentPartComponent, type TextContentPartProps, TextContentPartProvider, _default$3 as Thread, ThreadAssistantContentPart, type ThreadComposerRuntime, type ThreadComposerState, type ThreadConfig, ThreadConfigProvider, type ThreadConfigProviderProps, type ThreadContextValue, ThreadMessage, type ThreadMessageLike, index as ThreadPrimitive, type ThreadPrimitiveEmptyProps, type ThreadPrimitiveIfProps, type ThreadPrimitiveMessagesProps, type ThreadPrimitiveRootProps, type ThreadPrimitiveScrollToBottomProps, type ThreadPrimitiveSuggestionProps, type ThreadPrimitiveViewportProps, type ThreadRootProps, type ThreadRuntime, type ThreadState, type ThreadSuggestion, ThreadUserContentPart, type ThreadViewportState, _default as ThreadWelcome, type ThreadWelcomeConfig, type ThreadWelcomeMessageProps, type ThreadWelcomeSuggestionProps, Tool, ToolCallContentPart, type ToolCallContentPartComponent, type ToolCallContentPartProps, UIContentPart, type UIContentPartComponent, type UIContentPartProps, type Unsubscribe, type UseActionBarCopyProps, _default$1 as UserActionBar, _default$2 as UserMessage, _default$5 as UserMessageAttachment, type UserMessageConfig, type UserMessageContentProps, WebSpeechSynthesisAdapter, fromCoreMessage, fromCoreMessages, fromLanguageModelMessages, fromLanguageModelTools, getExternalStoreMessage, makeAssistantTool, makeAssistantToolUI, streamUtils, subscribeToMainThread, toCoreMessage, toCoreMessages, toLanguageModelMessages, toLanguageModelTools, useActionBarCopy, useActionBarEdit, useActionBarFeedbackNegative, useActionBarFeedbackPositive, useActionBarReload, useActionBarSpeak, useActionBarStopSpeaking, useAppendMessage, useAssistantActions, useAssistantActionsStore, useAssistantContext, useAssistantInstructions, useAssistantRuntime, useAssistantRuntimeStore, useAssistantTool, useAssistantToolUI, useBranchPickerCount, useBranchPickerNext, useBranchPickerNumber, useBranchPickerPrevious, useComposer, useComposerAddAttachment, useComposerCancel, useComposerContext, useComposerIf, useComposerRuntime, useComposerSend, useComposerStore, useContentPart, useContentPartContext, useContentPartDisplay, useContentPartImage, useContentPartRuntime, useContentPartStore, useContentPartText, useDangerousInBrowserRuntime, useEdgeRuntime, useEditComposer, useEditComposerStore, useExternalMessageConverter, useExternalStoreRuntime, useLocalRuntime, useMessage, useMessageContext, useMessageIf, useMessageRuntime, useMessageStore, useMessageUtils, useMessageUtilsStore, useSwitchToNewThread, useThread, useThreadActions, useThreadActionsStore, useThreadComposer, useThreadComposerStore, useThreadConfig, useThreadContext, useThreadEmpty, useThreadIf, useThreadMessages, useThreadMessagesStore, useThreadRuntime, useThreadRuntimeStore, useThreadScrollToBottom, useThreadStore, useThreadSuggestion, useThreadViewport, useThreadViewportStore, useToolUIs, useToolUIsStore };