@opentiny/tiny-robot 0.4.0-beta.0 → 0.4.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AllowedComponentProps } from 'vue';
2
2
  import { App } from 'vue';
3
+ import { Attrs } from 'vue';
3
4
  import { Component } from 'vue';
4
5
  import { ComponentCustomProperties } from 'vue';
5
6
  import { ComponentCustomProps } from 'vue';
@@ -58,7 +59,9 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
58
59
  bubbleRef: HTMLDivElement;
59
60
  }, HTMLDivElement>;
60
61
 
61
- declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_3, {
62
+ declare const __VLS_component_10: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
63
+
64
+ declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_3, {
62
65
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
63
66
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
64
67
  "update:showAll": (value: boolean | undefined) => any;
@@ -78,7 +81,7 @@ floatingItemsRef: HTMLDivElement;
78
81
  floatingMaybeItemRefs: unknown[];
79
82
  }, HTMLDivElement>;
80
83
 
81
- declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_4, {
84
+ declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_4, {
82
85
  update: () => void;
83
86
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
84
87
  "update:selectedGroup": (value: string) => any;
@@ -116,9 +119,7 @@ readonly show?: boolean | undefined;
116
119
  readonly transitionProps?: TransitionProps | undefined;
117
120
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
118
121
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
119
- $attrs: {
120
- [x: string]: unknown;
121
- };
122
+ $attrs: Attrs;
122
123
  $refs: {
123
124
  [x: string]: unknown;
124
125
  };
@@ -180,11 +181,11 @@ preventOverflow?: boolean;
180
181
  show?: boolean;
181
182
  transitionProps?: TransitionProps;
182
183
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
183
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
184
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
185
- popperRef: ComputedRef<HTMLDivElement | null>;
184
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
185
+ triggerRef: HTMLElement | SVGElement | null | undefined;
186
+ popperRef: HTMLDivElement | null;
186
187
  update: () => void;
187
- }> & {} & ComponentCustomProperties & {} & {
188
+ } & {} & ComponentCustomProperties & {} & {
188
189
  $slots: Readonly<{
189
190
  trigger?: () => VNode[];
190
191
  content?: () => VNode[];
@@ -214,7 +215,7 @@ show?: TooltipContentProps["show"];
214
215
  }>, {}, {}, {}, {}, {}> | null;
215
216
  }, any>;
216
217
 
217
- declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
218
+ declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
218
219
  "update:theme": (value: string) => any;
219
220
  "update:colorMode": (value: ColorMode) => any;
220
221
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
@@ -225,11 +226,11 @@ targetElement: string;
225
226
  storageKey: string;
226
227
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
227
228
 
228
- declare const __VLS_component_13: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
229
+ declare const __VLS_component_14: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
229
230
  align: "left" | "center" | "right" | string;
230
231
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
231
232
 
232
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
233
+ declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
233
234
  "update:visible": (value: boolean) => any;
234
235
  } & {
235
236
  refresh: (tab: "installed" | "market") => any;
@@ -280,13 +281,13 @@ allowPluginAdd: boolean;
280
281
  marketLoading: boolean;
281
282
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
282
283
 
283
- declare const __VLS_component_15: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
284
+ declare const __VLS_component_16: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
284
285
  disabled: boolean;
285
286
  active: boolean;
286
287
  tooltipPlacement: TooltipPlacement;
287
288
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
288
289
 
289
- declare const __VLS_component_16: DefineComponent<VoiceButtonProps, {
290
+ declare const __VLS_component_17: DefineComponent<VoiceButtonProps, {
290
291
  start: () => void;
291
292
  stop: () => void;
292
293
  speechState: SpeechState;
@@ -307,6 +308,8 @@ tooltipPlacement: TooltipPlacement;
307
308
  autoInsert: boolean;
308
309
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
309
310
 
311
+ declare const __VLS_component_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
312
+
310
313
  declare const __VLS_component_2: DefineComponent<BubbleListProps, {
311
314
  scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
312
315
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -347,9 +350,91 @@ onClose?: (() => any) | undefined;
347
350
  title: string;
348
351
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
349
352
 
350
- declare const __VLS_component_5: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
353
+ declare const __VLS_component_5: DefineComponent<AnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
354
+ select: (item: AnchorItem) => any;
355
+ "update:searchQuery": (value: string) => any;
356
+ "update:activeId": (value: string | undefined) => any;
357
+ "update:expanded": (value: boolean) => any;
358
+ }, string, PublicProps, Readonly<AnchorProps> & Readonly<{
359
+ onSelect?: ((item: AnchorItem) => any) | undefined;
360
+ "onUpdate:searchQuery"?: ((value: string) => any) | undefined;
361
+ "onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
362
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
363
+ }>, {
364
+ placement: AnchorPlacement;
365
+ tooltipDelay: number;
366
+ emptyText: string;
367
+ activeOffset: number;
368
+ expandTrigger: AnchorExpandTrigger;
369
+ targetFeedbackDuration: number;
370
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
371
+ overlayShellRef: ({
372
+ $: ComponentInternalInstance;
373
+ $data: {};
374
+ $props: {
375
+ readonly expanded: boolean;
376
+ readonly placement: AnchorPlacement;
377
+ readonly floatingOffset?: number | undefined;
378
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
379
+ $attrs: Attrs;
380
+ $refs: {
381
+ [x: string]: unknown;
382
+ } & {
383
+ hostEl: HTMLDivElement;
384
+ overlayEl: HTMLDivElement;
385
+ navEl: HTMLElement;
386
+ };
387
+ $slots: Readonly<{
388
+ [name: string]: Slot<any> | undefined;
389
+ }>;
390
+ $root: ComponentPublicInstance | null;
391
+ $parent: ComponentPublicInstance | null;
392
+ $host: Element | null;
393
+ $emit: (event: string, ...args: any[]) => void;
394
+ $el: HTMLDivElement;
395
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
396
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
397
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
398
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
399
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
400
+ floatingOffset: number;
401
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
402
+ beforeCreate?: (() => void) | (() => void)[];
403
+ created?: (() => void) | (() => void)[];
404
+ beforeMount?: (() => void) | (() => void)[];
405
+ mounted?: (() => void) | (() => void)[];
406
+ beforeUpdate?: (() => void) | (() => void)[];
407
+ updated?: (() => void) | (() => void)[];
408
+ activated?: (() => void) | (() => void)[];
409
+ deactivated?: (() => void) | (() => void)[];
410
+ beforeDestroy?: (() => void) | (() => void)[];
411
+ beforeUnmount?: (() => void) | (() => void)[];
412
+ destroyed?: (() => void) | (() => void)[];
413
+ unmounted?: (() => void) | (() => void)[];
414
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
415
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
416
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
417
+ };
418
+ $forceUpdate: () => void;
419
+ $nextTick: nextTick;
420
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
421
+ } & Readonly<{
422
+ floatingOffset: number;
423
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
424
+ hostEl: HTMLElement | null;
425
+ overlayEl: HTMLElement | null;
426
+ navEl: HTMLElement | null;
427
+ } & {} & ComponentCustomProperties & {} & {
428
+ $slots: {
429
+ search?(_: {}): any;
430
+ default?(_: {}): any;
431
+ };
432
+ }) | null;
433
+ }, any>;
351
434
 
352
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {
435
+ declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
436
+
437
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
353
438
  update: () => void;
354
439
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
355
440
  "update:show": (value: boolean) => any;
@@ -378,9 +463,7 @@ readonly show?: boolean | undefined;
378
463
  readonly transitionProps?: TransitionProps | undefined;
379
464
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
380
465
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
381
- $attrs: {
382
- [x: string]: unknown;
383
- };
466
+ $attrs: Attrs;
384
467
  $refs: {
385
468
  [x: string]: unknown;
386
469
  };
@@ -442,11 +525,11 @@ preventOverflow?: boolean;
442
525
  show?: boolean;
443
526
  transitionProps?: TransitionProps;
444
527
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
445
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
446
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
447
- popperRef: ComputedRef<HTMLDivElement | null>;
528
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
529
+ triggerRef: HTMLElement | SVGElement | null | undefined;
530
+ popperRef: HTMLDivElement | null;
448
531
  update: () => void;
449
- }> & {} & ComponentCustomProperties & {} & {
532
+ } & {} & ComponentCustomProperties & {} & {
450
533
  $slots: Readonly<{
451
534
  trigger?: () => VNode[];
452
535
  content?: () => VNode[];
@@ -457,13 +540,13 @@ content?: () => VNode[];
457
540
  }) | null;
458
541
  }, any>;
459
542
 
460
- declare const __VLS_component_7: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
543
+ declare const __VLS_component_8: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
461
544
  "item-click": (ev: MouseEvent, item: PromptProps) => any;
462
545
  }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
463
546
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
464
547
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
465
548
 
466
- declare const __VLS_component_8: DefineComponent<SenderProps_2, {
549
+ declare const __VLS_component_9: DefineComponent<SenderProps_2, {
467
550
  focus: () => void;
468
551
  blur: () => void;
469
552
  clear: () => void;
@@ -537,9 +620,7 @@ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
537
620
  readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
538
621
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
539
622
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
540
- $attrs: {
541
- [x: string]: unknown;
542
- };
623
+ $attrs: Attrs;
543
624
  $refs: {
544
625
  [x: string]: unknown;
545
626
  };
@@ -620,7 +701,7 @@ onCancel?: (() => any) | undefined;
620
701
  onFocus?: ((event: FocusEvent) => any) | undefined;
621
702
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
622
703
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
623
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & ShallowUnwrapRef< {
704
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
624
705
  submit: () => void;
625
706
  clear: () => void;
626
707
  cancel: () => void;
@@ -628,8 +709,8 @@ focus: () => void;
628
709
  blur: () => void;
629
710
  setContent: (content: string) => void;
630
711
  getContent: () => string;
631
- editor: SenderContext["editor"];
632
- }> & {} & ComponentCustomProperties & {} & {
712
+ editor: Editor | undefined;
713
+ } & {} & ComponentCustomProperties & {} & {
633
714
  $slots: {
634
715
  header?(_: {}): any;
635
716
  header?(_: {}): any;
@@ -665,9 +746,7 @@ readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
665
746
  readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
666
747
  readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
667
748
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
668
- $attrs: {
669
- [x: string]: unknown;
670
- };
749
+ $attrs: Attrs;
671
750
  $refs: {
672
751
  [x: string]: unknown;
673
752
  };
@@ -727,11 +806,11 @@ autoInsert: boolean;
727
806
  "onSpeech-final"?: ((transcript: string) => any) | undefined;
728
807
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
729
808
  "onSpeech-error"?: ((error: Error) => any) | undefined;
730
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & ShallowUnwrapRef< {
809
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
731
810
  start: () => void;
732
811
  stop: () => void;
733
812
  speechState: SpeechState;
734
- }> & {} & ComponentCustomProperties & {} & {
813
+ } & {} & ComponentCustomProperties & {} & {
735
814
  $slots: {
736
815
  icon?(_: {
737
816
  isRecording: boolean;
@@ -744,8 +823,6 @@ stop: () => void;
744
823
  }) | null;
745
824
  }, HTMLDivElement>;
746
825
 
747
- declare const __VLS_component_9: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
748
-
749
826
  declare type __VLS_PrettifyLocal<T> = {
750
827
  [K in keyof T]: T[K];
751
828
  } & {};
@@ -798,6 +875,13 @@ declare function __VLS_template(): {
798
875
  };
799
876
 
800
877
  declare function __VLS_template_10(): {
878
+ attrs: Partial<{}>;
879
+ slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
880
+ refs: {};
881
+ rootEl: HTMLButtonElement;
882
+ };
883
+
884
+ declare function __VLS_template_11(): {
801
885
  attrs: Partial<{}>;
802
886
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
803
887
  refs: {
@@ -810,7 +894,7 @@ declare function __VLS_template_10(): {
810
894
  rootEl: HTMLDivElement;
811
895
  };
812
896
 
813
- declare function __VLS_template_11(): {
897
+ declare function __VLS_template_12(): {
814
898
  attrs: Partial<{}>;
815
899
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
816
900
  refs: {
@@ -829,9 +913,7 @@ declare function __VLS_template_11(): {
829
913
  readonly transitionProps?: TransitionProps | undefined;
830
914
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
831
915
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
832
- $attrs: {
833
- [x: string]: unknown;
834
- };
916
+ $attrs: Attrs;
835
917
  $refs: {
836
918
  [x: string]: unknown;
837
919
  };
@@ -893,11 +975,11 @@ declare function __VLS_template_11(): {
893
975
  show?: boolean;
894
976
  transitionProps?: TransitionProps;
895
977
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
896
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
897
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
898
- popperRef: ComputedRef<HTMLDivElement | null>;
899
- update: () => void;
900
- }> & {} & ComponentCustomProperties & {} & {
978
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
979
+ triggerRef: HTMLElement | SVGElement | null | undefined;
980
+ popperRef: HTMLDivElement | null;
981
+ update: () => void;
982
+ } & {} & ComponentCustomProperties & {} & {
901
983
  $slots: Readonly<{
902
984
  trigger?: () => VNode[];
903
985
  content?: () => VNode[];
@@ -929,7 +1011,7 @@ declare function __VLS_template_11(): {
929
1011
  rootEl: any;
930
1012
  };
931
1013
 
932
- declare function __VLS_template_12(): {
1014
+ declare function __VLS_template_13(): {
933
1015
  attrs: Partial<{}>;
934
1016
  slots: {
935
1017
  default?(_: {}): any;
@@ -938,14 +1020,14 @@ declare function __VLS_template_12(): {
938
1020
  rootEl: any;
939
1021
  };
940
1022
 
941
- declare function __VLS_template_13(): {
1023
+ declare function __VLS_template_14(): {
942
1024
  attrs: Partial<{}>;
943
1025
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
944
1026
  refs: {};
945
1027
  rootEl: HTMLDivElement;
946
1028
  };
947
1029
 
948
- declare function __VLS_template_14(): {
1030
+ declare function __VLS_template_15(): {
949
1031
  attrs: Partial<{}>;
950
1032
  slots: {
951
1033
  'header-actions'?(_: {}): any;
@@ -954,7 +1036,7 @@ declare function __VLS_template_14(): {
954
1036
  rootEl: any;
955
1037
  };
956
1038
 
957
- declare function __VLS_template_15(): {
1039
+ declare function __VLS_template_16(): {
958
1040
  attrs: Partial<{}>;
959
1041
  slots: {
960
1042
  icon?(_: {}): any;
@@ -964,7 +1046,7 @@ declare function __VLS_template_15(): {
964
1046
  rootEl: any;
965
1047
  };
966
1048
 
967
- declare function __VLS_template_16(): {
1049
+ declare function __VLS_template_17(): {
968
1050
  attrs: Partial<{}>;
969
1051
  slots: {
970
1052
  icon?(_: {
@@ -979,6 +1061,15 @@ declare function __VLS_template_16(): {
979
1061
  rootEl: any;
980
1062
  };
981
1063
 
1064
+ declare function __VLS_template_18(): {
1065
+ attrs: Partial<{}>;
1066
+ slots: {
1067
+ prepend?(_: {}): any;
1068
+ };
1069
+ refs: {};
1070
+ rootEl: any;
1071
+ };
1072
+
982
1073
  declare function __VLS_template_2(): {
983
1074
  attrs: Partial<{}>;
984
1075
  slots: Readonly<BubbleListSlots> & BubbleListSlots;
@@ -1005,6 +1096,76 @@ declare function __VLS_template_4(): {
1005
1096
  };
1006
1097
 
1007
1098
  declare function __VLS_template_5(): {
1099
+ attrs: Partial<{}>;
1100
+ slots: Readonly<AnchorSlots> & AnchorSlots;
1101
+ refs: {
1102
+ overlayShellRef: ({
1103
+ $: ComponentInternalInstance;
1104
+ $data: {};
1105
+ $props: {
1106
+ readonly expanded: boolean;
1107
+ readonly placement: AnchorPlacement;
1108
+ readonly floatingOffset?: number | undefined;
1109
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1110
+ $attrs: Attrs;
1111
+ $refs: {
1112
+ [x: string]: unknown;
1113
+ } & {
1114
+ hostEl: HTMLDivElement;
1115
+ overlayEl: HTMLDivElement;
1116
+ navEl: HTMLElement;
1117
+ };
1118
+ $slots: Readonly<{
1119
+ [name: string]: Slot<any> | undefined;
1120
+ }>;
1121
+ $root: ComponentPublicInstance | null;
1122
+ $parent: ComponentPublicInstance | null;
1123
+ $host: Element | null;
1124
+ $emit: (event: string, ...args: any[]) => void;
1125
+ $el: HTMLDivElement;
1126
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
1127
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
1128
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
1129
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
1130
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1131
+ floatingOffset: number;
1132
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1133
+ beforeCreate?: (() => void) | (() => void)[];
1134
+ created?: (() => void) | (() => void)[];
1135
+ beforeMount?: (() => void) | (() => void)[];
1136
+ mounted?: (() => void) | (() => void)[];
1137
+ beforeUpdate?: (() => void) | (() => void)[];
1138
+ updated?: (() => void) | (() => void)[];
1139
+ activated?: (() => void) | (() => void)[];
1140
+ deactivated?: (() => void) | (() => void)[];
1141
+ beforeDestroy?: (() => void) | (() => void)[];
1142
+ beforeUnmount?: (() => void) | (() => void)[];
1143
+ destroyed?: (() => void) | (() => void)[];
1144
+ unmounted?: (() => void) | (() => void)[];
1145
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1146
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1147
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1148
+ };
1149
+ $forceUpdate: () => void;
1150
+ $nextTick: nextTick;
1151
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1152
+ } & Readonly<{
1153
+ floatingOffset: number;
1154
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
1155
+ hostEl: HTMLElement | null;
1156
+ overlayEl: HTMLElement | null;
1157
+ navEl: HTMLElement | null;
1158
+ } & {} & ComponentCustomProperties & {} & {
1159
+ $slots: {
1160
+ search?(_: {}): any;
1161
+ default?(_: {}): any;
1162
+ };
1163
+ }) | null;
1164
+ };
1165
+ rootEl: any;
1166
+ };
1167
+
1168
+ declare function __VLS_template_6(): {
1008
1169
  attrs: Partial<{}>;
1009
1170
  slots: {
1010
1171
  overlay?(_: {
@@ -1015,7 +1176,7 @@ declare function __VLS_template_5(): {
1015
1176
  rootEl: any;
1016
1177
  };
1017
1178
 
1018
- declare function __VLS_template_6(): {
1179
+ declare function __VLS_template_7(): {
1019
1180
  attrs: Partial<{}>;
1020
1181
  slots: {
1021
1182
  trigger?(_: {}): any;
@@ -1036,9 +1197,7 @@ declare function __VLS_template_6(): {
1036
1197
  readonly transitionProps?: TransitionProps | undefined;
1037
1198
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
1038
1199
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1039
- $attrs: {
1040
- [x: string]: unknown;
1041
- };
1200
+ $attrs: Attrs;
1042
1201
  $refs: {
1043
1202
  [x: string]: unknown;
1044
1203
  };
@@ -1100,11 +1259,11 @@ declare function __VLS_template_6(): {
1100
1259
  show?: boolean;
1101
1260
  transitionProps?: TransitionProps;
1102
1261
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1103
- }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
1104
- triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1105
- popperRef: ComputedRef<HTMLDivElement | null>;
1106
- update: () => void;
1107
- }> & {} & ComponentCustomProperties & {} & {
1262
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
1263
+ triggerRef: HTMLElement | SVGElement | null | undefined;
1264
+ popperRef: HTMLDivElement | null;
1265
+ update: () => void;
1266
+ } & {} & ComponentCustomProperties & {} & {
1108
1267
  $slots: Readonly<{
1109
1268
  trigger?: () => VNode[];
1110
1269
  content?: () => VNode[];
@@ -1117,14 +1276,14 @@ declare function __VLS_template_6(): {
1117
1276
  rootEl: any;
1118
1277
  };
1119
1278
 
1120
- declare function __VLS_template_7(): {
1279
+ declare function __VLS_template_8(): {
1121
1280
  attrs: Partial<{}>;
1122
1281
  slots: Readonly<PromptsSlots> & PromptsSlots;
1123
1282
  refs: {};
1124
1283
  rootEl: HTMLDivElement;
1125
1284
  };
1126
1285
 
1127
- declare function __VLS_template_8(): {
1286
+ declare function __VLS_template_9(): {
1128
1287
  attrs: Partial<{}>;
1129
1288
  slots: {
1130
1289
  header?(_: {}): any;
@@ -1167,9 +1326,7 @@ declare function __VLS_template_8(): {
1167
1326
  readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1168
1327
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1169
1328
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1170
- $attrs: {
1171
- [x: string]: unknown;
1172
- };
1329
+ $attrs: Attrs;
1173
1330
  $refs: {
1174
1331
  [x: string]: unknown;
1175
1332
  };
@@ -1250,16 +1407,16 @@ declare function __VLS_template_8(): {
1250
1407
  onFocus?: ((event: FocusEvent) => any) | undefined;
1251
1408
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1252
1409
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1253
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & ShallowUnwrapRef< {
1254
- submit: () => void;
1255
- clear: () => void;
1256
- cancel: () => void;
1257
- focus: () => void;
1258
- blur: () => void;
1259
- setContent: (content: string) => void;
1260
- getContent: () => string;
1261
- editor: SenderContext["editor"];
1262
- }> & {} & ComponentCustomProperties & {} & {
1410
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
1411
+ submit: () => void;
1412
+ clear: () => void;
1413
+ cancel: () => void;
1414
+ focus: () => void;
1415
+ blur: () => void;
1416
+ setContent: (content: string) => void;
1417
+ getContent: () => string;
1418
+ editor: Editor | undefined;
1419
+ } & {} & ComponentCustomProperties & {} & {
1263
1420
  $slots: {
1264
1421
  header?(_: {}): any;
1265
1422
  header?(_: {}): any;
@@ -1295,9 +1452,7 @@ declare function __VLS_template_8(): {
1295
1452
  readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1296
1453
  readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
1297
1454
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1298
- $attrs: {
1299
- [x: string]: unknown;
1300
- };
1455
+ $attrs: Attrs;
1301
1456
  $refs: {
1302
1457
  [x: string]: unknown;
1303
1458
  };
@@ -1357,11 +1512,11 @@ declare function __VLS_template_8(): {
1357
1512
  "onSpeech-final"?: ((transcript: string) => any) | undefined;
1358
1513
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1359
1514
  "onSpeech-error"?: ((error: Error) => any) | undefined;
1360
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & ShallowUnwrapRef< {
1361
- start: () => void;
1362
- stop: () => void;
1363
- speechState: SpeechState;
1364
- }> & {} & ComponentCustomProperties & {} & {
1515
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
1516
+ start: () => void;
1517
+ stop: () => void;
1518
+ speechState: SpeechState;
1519
+ } & {} & ComponentCustomProperties & {} & {
1365
1520
  $slots: {
1366
1521
  icon?(_: {
1367
1522
  isRecording: boolean;
@@ -1376,13 +1531,6 @@ declare function __VLS_template_8(): {
1376
1531
  rootEl: HTMLDivElement;
1377
1532
  };
1378
1533
 
1379
- declare function __VLS_template_9(): {
1380
- attrs: Partial<{}>;
1381
- slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1382
- refs: {};
1383
- rootEl: HTMLButtonElement;
1384
- };
1385
-
1386
1534
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1387
1535
 
1388
1536
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
@@ -1399,6 +1547,10 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
1399
1547
 
1400
1548
  declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
1401
1549
 
1550
+ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
1551
+
1552
+ declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
1553
+
1402
1554
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1403
1555
 
1404
1556
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1463,6 +1615,18 @@ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1463
1615
  };
1464
1616
  };
1465
1617
 
1618
+ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
1619
+ new (): {
1620
+ $slots: S;
1621
+ };
1622
+ };
1623
+
1624
+ declare type __VLS_WithTemplateSlots_18<T, S> = T & {
1625
+ new (): {
1626
+ $slots: S;
1627
+ };
1628
+ };
1629
+
1466
1630
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1467
1631
  new (): {
1468
1632
  $slots: S;
@@ -1551,6 +1715,80 @@ export declare interface ActionButtonProps {
1551
1715
 
1552
1716
  export declare type AddType = 'form' | 'code';
1553
1717
 
1718
+ export declare interface AnchorEmits {
1719
+ 'update:activeId': [value: string | undefined];
1720
+ 'update:expanded': [value: boolean];
1721
+ 'update:searchQuery': [value: string];
1722
+ select: [item: AnchorItem];
1723
+ }
1724
+
1725
+ export declare type AnchorExpandTrigger = 'hover' | 'manual';
1726
+
1727
+ export declare interface AnchorHighlightSegment {
1728
+ text: string;
1729
+ highlighted: boolean;
1730
+ }
1731
+
1732
+ export declare interface AnchorItem {
1733
+ id: string;
1734
+ label: string;
1735
+ searchText?: string;
1736
+ tooltipText?: string;
1737
+ meta?: Record<string, unknown>;
1738
+ }
1739
+
1740
+ declare interface AnchorOverlayProps {
1741
+ expanded: boolean;
1742
+ placement: AnchorPlacement;
1743
+ floatingOffset?: number;
1744
+ }
1745
+
1746
+ export declare type AnchorPlacement = 'left' | 'right';
1747
+
1748
+ export declare interface AnchorProps {
1749
+ items: AnchorItem[];
1750
+ scrollContainer?: HTMLElement | null;
1751
+ activeId?: string;
1752
+ activeOffset?: number;
1753
+ expanded?: boolean;
1754
+ searchQuery?: string;
1755
+ placement?: AnchorPlacement;
1756
+ expandTrigger?: AnchorExpandTrigger;
1757
+ searchOptions?: AnchorSearchOptions;
1758
+ tooltipDelay?: number;
1759
+ targetFeedbackClass?: string;
1760
+ targetFeedbackDuration?: number;
1761
+ emptyText?: string;
1762
+ }
1763
+
1764
+ export declare type AnchorSearchMatcher = (item: AnchorItem, searchQuery: string) => false | AnchorHighlightSegment[];
1765
+
1766
+ export declare interface AnchorSearchOptions {
1767
+ placeholder?: string;
1768
+ matcher?: AnchorSearchMatcher;
1769
+ clearOnCollapse?: boolean;
1770
+ }
1771
+
1772
+ export declare interface AnchorSlots {
1773
+ item?: (slotProps: {
1774
+ item: AnchorItem;
1775
+ segments: AnchorHighlightSegment[];
1776
+ active: boolean;
1777
+ expanded: boolean;
1778
+ highlighted: boolean;
1779
+ }) => VNode | VNode[];
1780
+ marker?: (slotProps: {
1781
+ item: AnchorItem;
1782
+ active: boolean;
1783
+ }) => VNode | VNode[];
1784
+ search?: (slotProps: {
1785
+ searchQuery: string;
1786
+ setSearchQuery: (value: string) => void;
1787
+ searchOptions: AnchorSearchOptions;
1788
+ }) => VNode | VNode[];
1789
+ empty?: () => VNode | VNode[];
1790
+ }
1791
+
1554
1792
  export declare type Attachment = UrlAttachment | RawFileAttachment;
1555
1793
 
1556
1794
  export declare interface AttachmentListEmits {
@@ -1595,12 +1833,22 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
1595
1833
 
1596
1834
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
1597
1835
 
1598
- declare const Bubble: typeof _default_25 & {
1836
+ declare const Bubble: typeof _default_26 & {
1599
1837
  install: typeof bubbleInstall;
1600
1838
  };
1601
1839
  export { Bubble }
1602
1840
  export { Bubble as TrBubble }
1603
1841
 
1842
+ export declare type BubbleAttributes = Record<string, unknown>;
1843
+
1844
+ export declare type BubbleBoxAttributesConfig = BubbleAttributes | BubbleBoxAttributesResolver;
1845
+
1846
+ export declare type BubbleBoxAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleAttributes | undefined;
1847
+
1848
+ export declare type BubbleBoxRendererAttributeMap = BubbleAttributes;
1849
+
1850
+ export declare type BubbleBoxRendererAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleBoxRendererAttributeMap | undefined;
1851
+
1604
1852
  export declare type BubbleBoxRendererMatch = {
1605
1853
  /**
1606
1854
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1612,11 +1860,15 @@ export declare type BubbleBoxRendererMatch = {
1612
1860
  find: (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => boolean;
1613
1861
  renderer: Component<BubbleBoxRendererProps>;
1614
1862
  priority?: number;
1615
- attributes?: Record<string, string>;
1863
+ attributes?: BubbleBoxRendererAttributeMap | BubbleBoxRendererAttributesResolver;
1616
1864
  };
1617
1865
 
1618
1866
  export declare type BubbleBoxRendererProps = Pick<BubbleProps, 'placement' | 'shape'>;
1619
1867
 
1868
+ export declare type BubbleContentAttributesConfig = BubbleAttributes | BubbleContentAttributesResolver;
1869
+
1870
+ export declare type BubbleContentAttributesResolver = (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => BubbleAttributes | undefined;
1871
+
1620
1872
  export declare type BubbleContentRendererMatch = {
1621
1873
  /**
1622
1874
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1628,7 +1880,7 @@ export declare type BubbleContentRendererMatch = {
1628
1880
  find: (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => boolean;
1629
1881
  renderer: Component<BubbleContentRendererProps>;
1630
1882
  priority?: number;
1631
- attributes?: Record<string, string>;
1883
+ attributes?: BubbleAttributes;
1632
1884
  };
1633
1885
 
1634
1886
  export declare type BubbleContentRendererProps<T extends ChatMessageContent = ChatMessageContent, S extends Record<string, unknown> = Record<string, unknown>> = {
@@ -1643,7 +1895,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
1643
1895
 
1644
1896
  declare const bubbleInstall: (app: App) => void;
1645
1897
 
1646
- declare const BubbleList: typeof _default_26 & {
1898
+ declare const BubbleList: typeof _default_27 & {
1647
1899
  install: typeof bubbleListInstall;
1648
1900
  };
1649
1901
  export { BubbleList }
@@ -1656,12 +1908,11 @@ export declare interface BubbleListProps {
1656
1908
  /**
1657
1909
  * 分组策略:
1658
1910
  * - 'consecutive': 连续相同角色的消息合并为一组
1659
- * - 'divider': 按分割角色分组(连续的分割角色在一组,其他消息在另一组)
1911
+ * - 'divider': 按分割角色分组(每条分割角色消息单独成组,其他消息在两个分割角色之间合并为一组)
1660
1912
  * - 自定义函数: (messages, dividerRole) => BubbleMessageGroup[]
1661
1913
  *
1662
1914
  * 特殊情况:
1663
- * - message content 为数组时,且 message.role === 'user',该 message 会被单独作为一个独立分组
1664
- * - 该独立分组会被"密封",后续的消息(即使角色相同)也不会被添加到这个分组中
1915
+ * - hidden 的消息需要单独分组,连续的 hidden 可以同一组
1665
1916
  */
1666
1917
  groupStrategy?: 'consecutive' | 'divider' | BubbleGroupFunction;
1667
1918
  /**
@@ -1728,7 +1979,7 @@ export declare type BubbleProps = BubbleMessage & {
1728
1979
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1729
1980
  };
1730
1981
 
1731
- declare const BubbleProvider: typeof _default_27 & {
1982
+ declare const BubbleProvider: typeof _default_28 & {
1732
1983
  install: typeof bubbleProviderInstall;
1733
1984
  };
1734
1985
  export { BubbleProvider }
@@ -1739,6 +1990,8 @@ declare const bubbleProviderInstall: (app: App) => void;
1739
1990
  export declare interface BubbleProviderProps {
1740
1991
  boxRendererMatches?: BubbleBoxRendererMatch[];
1741
1992
  contentRendererMatches?: BubbleContentRendererMatch[];
1993
+ boxAttributes?: BubbleBoxAttributesConfig;
1994
+ contentAttributes?: BubbleContentAttributesConfig;
1742
1995
  fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
1743
1996
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1744
1997
  store?: Record<string, unknown>;
@@ -1952,67 +2205,73 @@ declare const _default: {
1952
2205
  };
1953
2206
  export default _default;
1954
2207
 
1955
- declare const _default_10: typeof _default_37 & {
2208
+ declare const _default_10: typeof _default_36 & {
1956
2209
  install: typeof install_9;
1957
2210
  };
1958
- export { _default_10 as SenderCompat }
1959
- export { _default_10 as TrSenderCompat }
2211
+ export { _default_10 as IconButton }
2212
+ export { _default_10 as TrIconButton }
1960
2213
 
1961
2214
  declare const _default_11: typeof _default_39 & {
1962
2215
  install: typeof install_10;
1963
2216
  };
1964
- export { _default_11 as SuggestionPills }
1965
- export { _default_11 as TrSuggestionPills }
2217
+ export { _default_11 as SenderCompat }
2218
+ export { _default_11 as TrSenderCompat }
1966
2219
 
1967
- declare const _default_12: typeof _default_40 & {
2220
+ declare const _default_12: typeof _default_41 & {
1968
2221
  install: typeof install_11;
1969
2222
  };
1970
- export { _default_12 as SuggestionPopover }
1971
- export { _default_12 as TrSuggestionPopover }
2223
+ export { _default_12 as SuggestionPills }
2224
+ export { _default_12 as TrSuggestionPills }
1972
2225
 
1973
- declare const _default_13: typeof _default_41 & {
2226
+ declare const _default_13: typeof _default_42 & {
1974
2227
  install: typeof install_12;
1975
2228
  };
1976
- export { _default_13 as ThemeProvider }
1977
- export { _default_13 as TrThemeProvider }
2229
+ export { _default_13 as SuggestionPopover }
2230
+ export { _default_13 as TrSuggestionPopover }
1978
2231
 
1979
- declare const _default_14: typeof _default_42 & {
2232
+ declare const _default_14: typeof _default_43 & {
1980
2233
  install: typeof install_13;
1981
2234
  };
1982
- export { _default_14 as TrWelcome }
1983
- export { _default_14 as Welcome }
2235
+ export { _default_14 as ThemeProvider }
2236
+ export { _default_14 as TrThemeProvider }
1984
2237
 
1985
- declare const _default_15: typeof _default_43 & {
2238
+ declare const _default_15: typeof _default_44 & {
1986
2239
  install: typeof install_14;
1987
2240
  };
1988
- export { _default_15 as McpServerPicker }
1989
- export { _default_15 as TrMcpServerPicker }
2241
+ export { _default_15 as TrWelcome }
2242
+ export { _default_15 as Welcome }
1990
2243
 
1991
- declare const _default_16: typeof _default_44 & {
2244
+ declare const _default_16: typeof _default_45 & {
1992
2245
  install: typeof install_15;
1993
2246
  };
1994
- export { _default_16 as McpAddForm }
1995
- export { _default_16 as TrMcpAddForm }
2247
+ export { _default_16 as McpServerPicker }
2248
+ export { _default_16 as TrMcpServerPicker }
1996
2249
 
1997
- declare const _default_17: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1998
- export { _default_17 as ActionButton }
1999
- export { _default_17 as TrActionButton }
2250
+ declare const _default_17: typeof _default_46 & {
2251
+ install: typeof install_16;
2252
+ };
2253
+ export { _default_17 as McpAddForm }
2254
+ export { _default_17 as TrMcpAddForm }
2000
2255
 
2001
- declare const _default_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2002
- export { _default_18 as SubmitButton }
2003
- export { _default_18 as TrSubmitButton }
2256
+ declare const _default_18: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2257
+ export { _default_18 as ActionButton }
2258
+ export { _default_18 as TrActionButton }
2004
2259
 
2005
2260
  declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2006
- export { _default_19 as ClearButton }
2007
- export { _default_19 as TrClearButton }
2261
+ export { _default_19 as SubmitButton }
2262
+ export { _default_19 as TrSubmitButton }
2008
2263
 
2009
- declare const _default_2: typeof _default_24 & {
2264
+ declare const _default_2: typeof _default_25 & {
2010
2265
  install: typeof install;
2011
2266
  };
2012
2267
  export { _default_2 as Attachments }
2013
2268
  export { _default_2 as TrAttachments }
2014
2269
 
2015
- declare const _default_20: DefineComponent<UploadButtonProps, {
2270
+ declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2271
+ export { _default_20 as ClearButton }
2272
+ export { _default_20 as TrClearButton }
2273
+
2274
+ declare const _default_21: DefineComponent<UploadButtonProps, {
2016
2275
  open: (localOptions?: Partial<UseFileDialogOptions>) => void;
2017
2276
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2018
2277
  error: (error: Error, files?: File[] | undefined) => any;
@@ -2026,22 +2285,22 @@ multiple: boolean;
2026
2285
  tooltipPlacement: TooltipPlacement;
2027
2286
  accept: string;
2028
2287
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2029
- export { _default_20 as TrUploadButton }
2030
- export { _default_20 as UploadButton }
2288
+ export { _default_21 as TrUploadButton }
2289
+ export { _default_21 as UploadButton }
2031
2290
 
2032
- declare const _default_21: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2033
- export { _default_21 as TrVoiceButton }
2034
- export { _default_21 as VoiceButton }
2291
+ declare const _default_22: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2292
+ export { _default_22 as TrVoiceButton }
2293
+ export { _default_22 as VoiceButton }
2035
2294
 
2036
- declare const _default_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2037
- export { _default_22 as TrWordCounter }
2038
- export { _default_22 as WordCounter }
2295
+ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2296
+ export { _default_23 as TrWordCounter }
2297
+ export { _default_23 as WordCounter }
2039
2298
 
2040
- declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2041
- export { _default_23 as DefaultActionButtons }
2042
- export { _default_23 as TrDefaultActionButtons }
2299
+ declare const _default_24: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2300
+ export { _default_24 as DefaultActionButtons }
2301
+ export { _default_24 as TrDefaultActionButtons }
2043
2302
 
2044
- declare const _default_24: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2303
+ declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2045
2304
  "update:items": (items: Attachment[]) => any;
2046
2305
  remove: (file: Attachment) => any;
2047
2306
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2067,17 +2326,15 @@ fileMatchers: FileTypeMatcher[];
2067
2326
  variant: DisplayVariant;
2068
2327
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2069
2328
 
2070
- declare const _default_25: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2071
-
2072
- declare const _default_26: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2329
+ declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2073
2330
 
2074
- declare const _default_27: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2331
+ declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2075
2332
 
2076
- declare const _default_28: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2333
+ declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2077
2334
 
2078
- declare const _default_29: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2335
+ declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2079
2336
 
2080
- declare const _default_3: typeof _default_28 & {
2337
+ declare const _default_3: typeof _default_29 & {
2081
2338
  install: typeof install_2;
2082
2339
  };
2083
2340
  export { _default_3 as Container }
@@ -2085,9 +2342,13 @@ export { _default_3 as TrContainer }
2085
2342
 
2086
2343
  declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2087
2344
 
2088
- declare const _default_31: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2345
+ declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2089
2346
 
2090
- declare const _default_32: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2347
+ declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2348
+
2349
+ declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2350
+
2351
+ declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2091
2352
  action: (name: string) => any;
2092
2353
  operation: (name: string) => any;
2093
2354
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2099,7 +2360,7 @@ actionsLimit: number;
2099
2360
  sourcesLinesLimit: number;
2100
2361
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2101
2362
 
2102
- declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2363
+ declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2103
2364
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2104
2365
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2105
2366
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2113,38 +2374,38 @@ declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2113
2374
  __ctx?: Awaited<typeof __VLS_setup>;
2114
2375
  };
2115
2376
 
2116
- declare const _default_34: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2377
+ declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2117
2378
  size: string | number;
2118
2379
  svgSize: string | number;
2119
2380
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2120
2381
 
2121
- declare const _default_35: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2382
+ declare const _default_37: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2122
2383
  size: "small" | "medium" | "large";
2123
2384
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2124
2385
 
2125
- declare const _default_36: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2126
-
2127
- declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2386
+ declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2128
2387
 
2129
- declare const _default_38: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2388
+ declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2130
2389
 
2131
- declare const _default_39: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2132
-
2133
- declare const _default_4: typeof _default_29 & {
2390
+ declare const _default_4: typeof _default_30 & {
2134
2391
  install: typeof install_3;
2135
2392
  };
2136
- export { _default_4 as Conversations }
2137
- export { _default_4 as TrConversations }
2393
+ export { _default_4 as Anchor }
2394
+ export { _default_4 as TrAnchor }
2395
+
2396
+ declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2138
2397
 
2139
- declare const _default_40: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2398
+ declare const _default_41: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2140
2399
 
2141
- declare const _default_41: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2400
+ declare const _default_42: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2142
2401
 
2143
- declare const _default_42: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2402
+ declare const _default_43: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2144
2403
 
2145
- declare const _default_43: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2404
+ declare const _default_44: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2146
2405
 
2147
- declare const _default_44: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2406
+ declare const _default_45: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2407
+
2408
+ declare const _default_46: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2148
2409
  cancel: () => any;
2149
2410
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2150
2411
  "update:addType": (value: AddType) => any;
@@ -2156,35 +2417,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2156
2417
  addType: AddType;
2157
2418
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2158
2419
 
2159
- declare const _default_5: typeof _default_30 & {
2420
+ declare const _default_5: typeof _default_31 & {
2160
2421
  install: typeof install_4;
2161
2422
  };
2162
- export { _default_5 as DragOverlay }
2163
- export { _default_5 as TrDragOverlay }
2423
+ export { _default_5 as Conversations }
2424
+ export { _default_5 as TrConversations }
2164
2425
 
2165
- declare const _default_6: typeof _default_31 & {
2426
+ declare const _default_6: typeof _default_32 & {
2166
2427
  install: typeof install_5;
2167
2428
  };
2168
- export { _default_6 as DropdownMenu }
2169
- export { _default_6 as TrDropdownMenu }
2429
+ export { _default_6 as DragOverlay }
2430
+ export { _default_6 as TrDragOverlay }
2170
2431
 
2171
- declare const _default_7: typeof _default_32 & {
2432
+ declare const _default_7: typeof _default_33 & {
2172
2433
  install: typeof install_6;
2173
2434
  };
2174
- export { _default_7 as Feedback }
2175
- export { _default_7 as TrFeedback }
2435
+ export { _default_7 as DropdownMenu }
2436
+ export { _default_7 as TrDropdownMenu }
2176
2437
 
2177
- declare const _default_8: typeof _default_33 & {
2438
+ declare const _default_8: typeof _default_34 & {
2178
2439
  install: typeof install_7;
2179
2440
  };
2180
- export { _default_8 as History }
2181
- export { _default_8 as TrHistory }
2441
+ export { _default_8 as Feedback }
2442
+ export { _default_8 as TrFeedback }
2182
2443
 
2183
- declare const _default_9: typeof _default_34 & {
2444
+ declare const _default_9: typeof _default_35 & {
2184
2445
  install: typeof install_8;
2185
2446
  };
2186
- export { _default_9 as IconButton }
2187
- export { _default_9 as TrIconButton }
2447
+ export { _default_9 as History }
2448
+ export { _default_9 as TrHistory }
2188
2449
 
2189
2450
  /**
2190
2451
  * 默认操作按钮配置
@@ -2569,6 +2830,8 @@ declare const install_14: <T>(app: App<T>) => void;
2569
2830
 
2570
2831
  declare const install_15: <T>(app: App<T>) => void;
2571
2832
 
2833
+ declare const install_16: <T>(app: App<T>) => void;
2834
+
2572
2835
  declare const install_2: <T>(app: App<T>) => void;
2573
2836
 
2574
2837
  declare const install_3: <T>(app: App<T>) => void;
@@ -2818,7 +3081,7 @@ export declare interface PopupConfig {
2818
3081
  };
2819
3082
  }
2820
3083
 
2821
- declare const Prompt: typeof _default_35 & {
3084
+ declare const Prompt: typeof _default_37 & {
2822
3085
  install: typeof installPrompt;
2823
3086
  };
2824
3087
  export { Prompt }
@@ -2855,7 +3118,7 @@ export declare interface PromptProps {
2855
3118
  size?: 'small' | 'medium' | 'large';
2856
3119
  }
2857
3120
 
2858
- declare const Prompts: typeof _default_36 & {
3121
+ declare const Prompts: typeof _default_38 & {
2859
3122
  install: typeof installPrompts;
2860
3123
  };
2861
3124
  export { Prompts }
@@ -3936,7 +4199,7 @@ export declare interface SuggestionOptions {
3936
4199
  onSelect?: (item: SenderSuggestionItem) => void | false;
3937
4200
  }
3938
4201
 
3939
- declare const SuggestionPillButton: typeof _default_38 & {
4202
+ declare const SuggestionPillButton: typeof _default_40 & {
3940
4203
  install: typeof installPillButton;
3941
4204
  };
3942
4205
  export { SuggestionPillButton }
@@ -4367,7 +4630,7 @@ export declare interface UploadButtonProps {
4367
4630
 
4368
4631
  export declare interface UrlAttachment extends BaseAttachment {
4369
4632
  url: string;
4370
- size: number;
4633
+ size?: number;
4371
4634
  rawFile?: File;
4372
4635
  }
4373
4636
 
@@ -4396,10 +4659,13 @@ export declare function useAutoScroll(target: MaybeComputedElementRef, source: M
4396
4659
 
4397
4660
  export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
4398
4661
  renderer: Component;
4399
- attributes?: Record<string, string>;
4662
+ attributes?: BubbleAttributes;
4400
4663
  }>;
4401
4664
 
4402
- export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<Component>;
4665
+ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<{
4666
+ renderer: Component;
4667
+ attributes?: BubbleAttributes;
4668
+ }>;
4403
4669
 
4404
4670
  export declare function useBubbleStateChangeFn(): (key: string, _value: unknown) => void;
4405
4671