@opentiny/tiny-robot 0.4.1 → 0.4.2-alpha.1

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;
@@ -308,6 +309,7 @@ autoInsert: boolean;
308
309
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
309
310
 
310
311
  declare const __VLS_component_2: DefineComponent<BubbleListProps, {
312
+ rootEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
311
313
  scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
312
314
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
313
315
  "state-change": (payload: {
@@ -347,9 +349,91 @@ onClose?: (() => any) | undefined;
347
349
  title: string;
348
350
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
349
351
 
350
- declare const __VLS_component_5: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
352
+ declare const __VLS_component_5: DefineComponent<ContentNavProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
+ select: (item: ContentNavItem) => any;
354
+ "update:searchQuery": (value: string) => any;
355
+ "update:activeId": (value: string | undefined) => any;
356
+ "update:expanded": (value: boolean) => any;
357
+ }, string, PublicProps, Readonly<ContentNavProps> & Readonly<{
358
+ onSelect?: ((item: ContentNavItem) => any) | undefined;
359
+ "onUpdate:searchQuery"?: ((value: string) => any) | undefined;
360
+ "onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
361
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
362
+ }>, {
363
+ placement: ContentNavPlacement;
364
+ tooltipDelay: number;
365
+ emptyText: string;
366
+ activeOffset: number;
367
+ expandTrigger: ContentNavExpandTrigger;
368
+ targetFeedbackDuration: number;
369
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
370
+ overlayShellRef: ({
371
+ $: ComponentInternalInstance;
372
+ $data: {};
373
+ $props: {
374
+ readonly expanded: boolean;
375
+ readonly placement: ContentNavPlacement;
376
+ readonly floatingOffset?: number | undefined;
377
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
378
+ $attrs: Attrs;
379
+ $refs: {
380
+ [x: string]: unknown;
381
+ } & {
382
+ hostEl: HTMLDivElement;
383
+ overlayEl: HTMLDivElement;
384
+ navEl: HTMLElement;
385
+ };
386
+ $slots: Readonly<{
387
+ [name: string]: Slot<any> | undefined;
388
+ }>;
389
+ $root: ComponentPublicInstance | null;
390
+ $parent: ComponentPublicInstance | null;
391
+ $host: Element | null;
392
+ $emit: (event: string, ...args: any[]) => void;
393
+ $el: HTMLDivElement;
394
+ $options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
395
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
396
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
397
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
398
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
399
+ floatingOffset: number;
400
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
401
+ beforeCreate?: (() => void) | (() => void)[];
402
+ created?: (() => void) | (() => void)[];
403
+ beforeMount?: (() => void) | (() => void)[];
404
+ mounted?: (() => void) | (() => void)[];
405
+ beforeUpdate?: (() => void) | (() => void)[];
406
+ updated?: (() => void) | (() => void)[];
407
+ activated?: (() => void) | (() => void)[];
408
+ deactivated?: (() => void) | (() => void)[];
409
+ beforeDestroy?: (() => void) | (() => void)[];
410
+ beforeUnmount?: (() => void) | (() => void)[];
411
+ destroyed?: (() => void) | (() => void)[];
412
+ unmounted?: (() => void) | (() => void)[];
413
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
414
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
415
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
416
+ };
417
+ $forceUpdate: () => void;
418
+ $nextTick: nextTick;
419
+ $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;
420
+ } & Readonly<{
421
+ floatingOffset: number;
422
+ }> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
423
+ hostEl: HTMLElement | null;
424
+ overlayEl: HTMLElement | null;
425
+ navEl: HTMLElement | null;
426
+ } & {} & ComponentCustomProperties & {} & {
427
+ $slots: {
428
+ search?(_: {}): any;
429
+ default?(_: {}): any;
430
+ };
431
+ }) | null;
432
+ }, any>;
433
+
434
+ declare const __VLS_component_6: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
351
435
 
352
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {
436
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_2, {
353
437
  update: () => void;
354
438
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
355
439
  "update:show": (value: boolean) => any;
@@ -378,9 +462,7 @@ readonly show?: boolean | undefined;
378
462
  readonly transitionProps?: TransitionProps | undefined;
379
463
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
380
464
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
381
- $attrs: {
382
- [x: string]: unknown;
383
- };
465
+ $attrs: Attrs;
384
466
  $refs: {
385
467
  [x: string]: unknown;
386
468
  };
@@ -442,11 +524,11 @@ preventOverflow?: boolean;
442
524
  show?: boolean;
443
525
  transitionProps?: TransitionProps;
444
526
  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>;
527
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
528
+ triggerRef: HTMLElement | SVGElement | null | undefined;
529
+ popperRef: HTMLDivElement | null;
448
530
  update: () => void;
449
- }> & {} & ComponentCustomProperties & {} & {
531
+ } & {} & ComponentCustomProperties & {} & {
450
532
  $slots: Readonly<{
451
533
  trigger?: () => VNode[];
452
534
  content?: () => VNode[];
@@ -457,13 +539,13 @@ content?: () => VNode[];
457
539
  }) | null;
458
540
  }, any>;
459
541
 
460
- declare const __VLS_component_7: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
542
+ declare const __VLS_component_8: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
461
543
  "item-click": (ev: MouseEvent, item: PromptProps) => any;
462
544
  }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
463
545
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
464
546
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
465
547
 
466
- declare const __VLS_component_8: DefineComponent<SenderProps_2, {
548
+ declare const __VLS_component_9: DefineComponent<SenderProps_2, {
467
549
  focus: () => void;
468
550
  blur: () => void;
469
551
  clear: () => void;
@@ -537,9 +619,7 @@ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
537
619
  readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
538
620
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
539
621
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
540
- $attrs: {
541
- [x: string]: unknown;
542
- };
622
+ $attrs: Attrs;
543
623
  $refs: {
544
624
  [x: string]: unknown;
545
625
  };
@@ -620,7 +700,7 @@ onCancel?: (() => any) | undefined;
620
700
  onFocus?: ((event: FocusEvent) => any) | undefined;
621
701
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
622
702
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
623
- }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & ShallowUnwrapRef< {
703
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
624
704
  submit: () => void;
625
705
  clear: () => void;
626
706
  cancel: () => void;
@@ -628,8 +708,8 @@ focus: () => void;
628
708
  blur: () => void;
629
709
  setContent: (content: string) => void;
630
710
  getContent: () => string;
631
- editor: SenderContext["editor"];
632
- }> & {} & ComponentCustomProperties & {} & {
711
+ editor: Editor | undefined;
712
+ } & {} & ComponentCustomProperties & {} & {
633
713
  $slots: {
634
714
  header?(_: {}): any;
635
715
  header?(_: {}): any;
@@ -665,9 +745,7 @@ readonly "onSpeech-final"?: ((transcript: string) => any) | undefined;
665
745
  readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
666
746
  readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
667
747
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
668
- $attrs: {
669
- [x: string]: unknown;
670
- };
748
+ $attrs: Attrs;
671
749
  $refs: {
672
750
  [x: string]: unknown;
673
751
  };
@@ -727,11 +805,11 @@ autoInsert: boolean;
727
805
  "onSpeech-final"?: ((transcript: string) => any) | undefined;
728
806
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
729
807
  "onSpeech-error"?: ((error: Error) => any) | undefined;
730
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & ShallowUnwrapRef< {
808
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
731
809
  start: () => void;
732
810
  stop: () => void;
733
811
  speechState: SpeechState;
734
- }> & {} & ComponentCustomProperties & {} & {
812
+ } & {} & ComponentCustomProperties & {} & {
735
813
  $slots: {
736
814
  icon?(_: {
737
815
  isRecording: boolean;
@@ -744,8 +822,6 @@ stop: () => void;
744
822
  }) | null;
745
823
  }, HTMLDivElement>;
746
824
 
747
- declare const __VLS_component_9: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
748
-
749
825
  declare type __VLS_PrettifyLocal<T> = {
750
826
  [K in keyof T]: T[K];
751
827
  } & {};
@@ -798,6 +874,13 @@ declare function __VLS_template(): {
798
874
  };
799
875
 
800
876
  declare function __VLS_template_10(): {
877
+ attrs: Partial<{}>;
878
+ slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
879
+ refs: {};
880
+ rootEl: HTMLButtonElement;
881
+ };
882
+
883
+ declare function __VLS_template_11(): {
801
884
  attrs: Partial<{}>;
802
885
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
803
886
  refs: {
@@ -810,7 +893,7 @@ declare function __VLS_template_10(): {
810
893
  rootEl: HTMLDivElement;
811
894
  };
812
895
 
813
- declare function __VLS_template_11(): {
896
+ declare function __VLS_template_12(): {
814
897
  attrs: Partial<{}>;
815
898
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
816
899
  refs: {
@@ -829,9 +912,7 @@ declare function __VLS_template_11(): {
829
912
  readonly transitionProps?: TransitionProps | undefined;
830
913
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
831
914
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
832
- $attrs: {
833
- [x: string]: unknown;
834
- };
915
+ $attrs: Attrs;
835
916
  $refs: {
836
917
  [x: string]: unknown;
837
918
  };
@@ -893,11 +974,11 @@ declare function __VLS_template_11(): {
893
974
  show?: boolean;
894
975
  transitionProps?: TransitionProps;
895
976
  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 & {} & {
977
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
978
+ triggerRef: HTMLElement | SVGElement | null | undefined;
979
+ popperRef: HTMLDivElement | null;
980
+ update: () => void;
981
+ } & {} & ComponentCustomProperties & {} & {
901
982
  $slots: Readonly<{
902
983
  trigger?: () => VNode[];
903
984
  content?: () => VNode[];
@@ -929,7 +1010,7 @@ declare function __VLS_template_11(): {
929
1010
  rootEl: any;
930
1011
  };
931
1012
 
932
- declare function __VLS_template_12(): {
1013
+ declare function __VLS_template_13(): {
933
1014
  attrs: Partial<{}>;
934
1015
  slots: {
935
1016
  default?(_: {}): any;
@@ -938,14 +1019,14 @@ declare function __VLS_template_12(): {
938
1019
  rootEl: any;
939
1020
  };
940
1021
 
941
- declare function __VLS_template_13(): {
1022
+ declare function __VLS_template_14(): {
942
1023
  attrs: Partial<{}>;
943
1024
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
944
1025
  refs: {};
945
1026
  rootEl: HTMLDivElement;
946
1027
  };
947
1028
 
948
- declare function __VLS_template_14(): {
1029
+ declare function __VLS_template_15(): {
949
1030
  attrs: Partial<{}>;
950
1031
  slots: {
951
1032
  'header-actions'?(_: {}): any;
@@ -954,7 +1035,7 @@ declare function __VLS_template_14(): {
954
1035
  rootEl: any;
955
1036
  };
956
1037
 
957
- declare function __VLS_template_15(): {
1038
+ declare function __VLS_template_16(): {
958
1039
  attrs: Partial<{}>;
959
1040
  slots: {
960
1041
  icon?(_: {}): any;
@@ -964,7 +1045,7 @@ declare function __VLS_template_15(): {
964
1045
  rootEl: any;
965
1046
  };
966
1047
 
967
- declare function __VLS_template_16(): {
1048
+ declare function __VLS_template_17(): {
968
1049
  attrs: Partial<{}>;
969
1050
  slots: {
970
1051
  icon?(_: {
@@ -1005,6 +1086,76 @@ declare function __VLS_template_4(): {
1005
1086
  };
1006
1087
 
1007
1088
  declare function __VLS_template_5(): {
1089
+ attrs: Partial<{}>;
1090
+ slots: Readonly<ContentNavSlots> & ContentNavSlots;
1091
+ refs: {
1092
+ overlayShellRef: ({
1093
+ $: ComponentInternalInstance;
1094
+ $data: {};
1095
+ $props: {
1096
+ readonly expanded: boolean;
1097
+ readonly placement: ContentNavPlacement;
1098
+ readonly floatingOffset?: number | undefined;
1099
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1100
+ $attrs: Attrs;
1101
+ $refs: {
1102
+ [x: string]: unknown;
1103
+ } & {
1104
+ hostEl: HTMLDivElement;
1105
+ overlayEl: HTMLDivElement;
1106
+ navEl: HTMLElement;
1107
+ };
1108
+ $slots: Readonly<{
1109
+ [name: string]: Slot<any> | undefined;
1110
+ }>;
1111
+ $root: ComponentPublicInstance | null;
1112
+ $parent: ComponentPublicInstance | null;
1113
+ $host: Element | null;
1114
+ $emit: (event: string, ...args: any[]) => void;
1115
+ $el: HTMLDivElement;
1116
+ $options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
1117
+ hostEl: Ref<HTMLElement | null, HTMLElement | null>;
1118
+ overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
1119
+ navEl: Ref<HTMLElement | null, HTMLElement | null>;
1120
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1121
+ floatingOffset: number;
1122
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1123
+ beforeCreate?: (() => void) | (() => void)[];
1124
+ created?: (() => void) | (() => void)[];
1125
+ beforeMount?: (() => void) | (() => void)[];
1126
+ mounted?: (() => void) | (() => void)[];
1127
+ beforeUpdate?: (() => void) | (() => void)[];
1128
+ updated?: (() => void) | (() => void)[];
1129
+ activated?: (() => void) | (() => void)[];
1130
+ deactivated?: (() => void) | (() => void)[];
1131
+ beforeDestroy?: (() => void) | (() => void)[];
1132
+ beforeUnmount?: (() => void) | (() => void)[];
1133
+ destroyed?: (() => void) | (() => void)[];
1134
+ unmounted?: (() => void) | (() => void)[];
1135
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1136
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1137
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1138
+ };
1139
+ $forceUpdate: () => void;
1140
+ $nextTick: nextTick;
1141
+ $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;
1142
+ } & Readonly<{
1143
+ floatingOffset: number;
1144
+ }> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
1145
+ hostEl: HTMLElement | null;
1146
+ overlayEl: HTMLElement | null;
1147
+ navEl: HTMLElement | null;
1148
+ } & {} & ComponentCustomProperties & {} & {
1149
+ $slots: {
1150
+ search?(_: {}): any;
1151
+ default?(_: {}): any;
1152
+ };
1153
+ }) | null;
1154
+ };
1155
+ rootEl: any;
1156
+ };
1157
+
1158
+ declare function __VLS_template_6(): {
1008
1159
  attrs: Partial<{}>;
1009
1160
  slots: {
1010
1161
  overlay?(_: {
@@ -1015,7 +1166,7 @@ declare function __VLS_template_5(): {
1015
1166
  rootEl: any;
1016
1167
  };
1017
1168
 
1018
- declare function __VLS_template_6(): {
1169
+ declare function __VLS_template_7(): {
1019
1170
  attrs: Partial<{}>;
1020
1171
  slots: {
1021
1172
  trigger?(_: {}): any;
@@ -1036,9 +1187,7 @@ declare function __VLS_template_6(): {
1036
1187
  readonly transitionProps?: TransitionProps | undefined;
1037
1188
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
1038
1189
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1039
- $attrs: {
1040
- [x: string]: unknown;
1041
- };
1190
+ $attrs: Attrs;
1042
1191
  $refs: {
1043
1192
  [x: string]: unknown;
1044
1193
  };
@@ -1100,11 +1249,11 @@ declare function __VLS_template_6(): {
1100
1249
  show?: boolean;
1101
1250
  transitionProps?: TransitionProps;
1102
1251
  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 & {} & {
1252
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & {
1253
+ triggerRef: HTMLElement | SVGElement | null | undefined;
1254
+ popperRef: HTMLDivElement | null;
1255
+ update: () => void;
1256
+ } & {} & ComponentCustomProperties & {} & {
1108
1257
  $slots: Readonly<{
1109
1258
  trigger?: () => VNode[];
1110
1259
  content?: () => VNode[];
@@ -1117,14 +1266,14 @@ declare function __VLS_template_6(): {
1117
1266
  rootEl: any;
1118
1267
  };
1119
1268
 
1120
- declare function __VLS_template_7(): {
1269
+ declare function __VLS_template_8(): {
1121
1270
  attrs: Partial<{}>;
1122
1271
  slots: Readonly<PromptsSlots> & PromptsSlots;
1123
1272
  refs: {};
1124
1273
  rootEl: HTMLDivElement;
1125
1274
  };
1126
1275
 
1127
- declare function __VLS_template_8(): {
1276
+ declare function __VLS_template_9(): {
1128
1277
  attrs: Partial<{}>;
1129
1278
  slots: {
1130
1279
  header?(_: {}): any;
@@ -1167,9 +1316,7 @@ declare function __VLS_template_8(): {
1167
1316
  readonly onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1168
1317
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1169
1318
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1170
- $attrs: {
1171
- [x: string]: unknown;
1172
- };
1319
+ $attrs: Attrs;
1173
1320
  $refs: {
1174
1321
  [x: string]: unknown;
1175
1322
  };
@@ -1250,16 +1397,16 @@ declare function __VLS_template_8(): {
1250
1397
  onFocus?: ((event: FocusEvent) => any) | undefined;
1251
1398
  onSubmit?: ((textContent: string, structuredData?: StructuredData | undefined) => any) | undefined;
1252
1399
  "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 & {} & {
1400
+ }>, "clear" | "blur" | "cancel" | "focus" | "submit" | "editor" | "setContent" | ("size" | "placeholder" | "mode" | "enterkeyhint" | "autoSize" | "extensions" | "submitType") | "getContent"> & {
1401
+ submit: () => void;
1402
+ clear: () => void;
1403
+ cancel: () => void;
1404
+ focus: () => void;
1405
+ blur: () => void;
1406
+ setContent: (content: string) => void;
1407
+ getContent: () => string;
1408
+ editor: Editor | undefined;
1409
+ } & {} & ComponentCustomProperties & {} & {
1263
1410
  $slots: {
1264
1411
  header?(_: {}): any;
1265
1412
  header?(_: {}): any;
@@ -1295,9 +1442,7 @@ declare function __VLS_template_8(): {
1295
1442
  readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1296
1443
  readonly "onSpeech-error"?: ((error: Error) => any) | undefined;
1297
1444
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1298
- $attrs: {
1299
- [x: string]: unknown;
1300
- };
1445
+ $attrs: Attrs;
1301
1446
  $refs: {
1302
1447
  [x: string]: unknown;
1303
1448
  };
@@ -1357,11 +1502,11 @@ declare function __VLS_template_8(): {
1357
1502
  "onSpeech-final"?: ((transcript: string) => any) | undefined;
1358
1503
  "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1359
1504
  "onSpeech-error"?: ((error: Error) => any) | undefined;
1360
- }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & ShallowUnwrapRef< {
1361
- start: () => void;
1362
- stop: () => void;
1363
- speechState: SpeechState;
1364
- }> & {} & ComponentCustomProperties & {} & {
1505
+ }>, "stop" | "start" | "speechState" | ("tooltipPlacement" | "autoInsert")> & {
1506
+ start: () => void;
1507
+ stop: () => void;
1508
+ speechState: SpeechState;
1509
+ } & {} & ComponentCustomProperties & {} & {
1365
1510
  $slots: {
1366
1511
  icon?(_: {
1367
1512
  isRecording: boolean;
@@ -1376,13 +1521,6 @@ declare function __VLS_template_8(): {
1376
1521
  rootEl: HTMLDivElement;
1377
1522
  };
1378
1523
 
1379
- declare function __VLS_template_9(): {
1380
- attrs: Partial<{}>;
1381
- slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1382
- refs: {};
1383
- rootEl: HTMLButtonElement;
1384
- };
1385
-
1386
1524
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1387
1525
 
1388
1526
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
@@ -1399,6 +1537,8 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
1399
1537
 
1400
1538
  declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
1401
1539
 
1540
+ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
1541
+
1402
1542
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1403
1543
 
1404
1544
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1463,6 +1603,12 @@ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1463
1603
  };
1464
1604
  };
1465
1605
 
1606
+ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
1607
+ new (): {
1608
+ $slots: S;
1609
+ };
1610
+ };
1611
+
1466
1612
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1467
1613
  new (): {
1468
1614
  $slots: S;
@@ -1595,12 +1741,22 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
1595
1741
 
1596
1742
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
1597
1743
 
1598
- declare const Bubble: typeof _default_25 & {
1744
+ declare const Bubble: typeof _default_26 & {
1599
1745
  install: typeof bubbleInstall;
1600
1746
  };
1601
1747
  export { Bubble }
1602
1748
  export { Bubble as TrBubble }
1603
1749
 
1750
+ export declare type BubbleAttributes = Record<string, unknown>;
1751
+
1752
+ export declare type BubbleBoxAttributesConfig = BubbleAttributes | BubbleBoxAttributesResolver;
1753
+
1754
+ export declare type BubbleBoxAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleAttributes | undefined;
1755
+
1756
+ export declare type BubbleBoxRendererAttributeMap = BubbleAttributes;
1757
+
1758
+ export declare type BubbleBoxRendererAttributesResolver = (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => BubbleBoxRendererAttributeMap | undefined;
1759
+
1604
1760
  export declare type BubbleBoxRendererMatch = {
1605
1761
  /**
1606
1762
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1612,11 +1768,15 @@ export declare type BubbleBoxRendererMatch = {
1612
1768
  find: (messages: BubbleMessage[], content: ChatMessageContentItem | undefined, contentIndex: number | undefined) => boolean;
1613
1769
  renderer: Component<BubbleBoxRendererProps>;
1614
1770
  priority?: number;
1615
- attributes?: Record<string, string>;
1771
+ attributes?: BubbleBoxRendererAttributeMap | BubbleBoxRendererAttributesResolver;
1616
1772
  };
1617
1773
 
1618
1774
  export declare type BubbleBoxRendererProps = Pick<BubbleProps, 'placement' | 'shape'>;
1619
1775
 
1776
+ export declare type BubbleContentAttributesConfig = BubbleAttributes | BubbleContentAttributesResolver;
1777
+
1778
+ export declare type BubbleContentAttributesResolver = (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => BubbleAttributes | undefined;
1779
+
1620
1780
  export declare type BubbleContentRendererMatch = {
1621
1781
  /**
1622
1782
  * 匹配函数,用于判断是否应该使用此渲染器
@@ -1628,7 +1788,7 @@ export declare type BubbleContentRendererMatch = {
1628
1788
  find: (message: BubbleMessage, content: ChatMessageContentItem, contentIndex: number) => boolean;
1629
1789
  renderer: Component<BubbleContentRendererProps>;
1630
1790
  priority?: number;
1631
- attributes?: Record<string, string>;
1791
+ attributes?: BubbleAttributes;
1632
1792
  };
1633
1793
 
1634
1794
  export declare type BubbleContentRendererProps<T extends ChatMessageContent = ChatMessageContent, S extends Record<string, unknown> = Record<string, unknown>> = {
@@ -1643,7 +1803,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
1643
1803
 
1644
1804
  declare const bubbleInstall: (app: App) => void;
1645
1805
 
1646
- declare const BubbleList: typeof _default_26 & {
1806
+ declare const BubbleList: typeof _default_27 & {
1647
1807
  install: typeof bubbleListInstall;
1648
1808
  };
1649
1809
  export { BubbleList }
@@ -1727,7 +1887,7 @@ export declare type BubbleProps = BubbleMessage & {
1727
1887
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1728
1888
  };
1729
1889
 
1730
- declare const BubbleProvider: typeof _default_27 & {
1890
+ declare const BubbleProvider: typeof _default_28 & {
1731
1891
  install: typeof bubbleProviderInstall;
1732
1892
  };
1733
1893
  export { BubbleProvider }
@@ -1738,6 +1898,8 @@ declare const bubbleProviderInstall: (app: App) => void;
1738
1898
  export declare interface BubbleProviderProps {
1739
1899
  boxRendererMatches?: BubbleBoxRendererMatch[];
1740
1900
  contentRendererMatches?: BubbleContentRendererMatch[];
1901
+ boxAttributes?: BubbleBoxAttributesConfig;
1902
+ contentAttributes?: BubbleContentAttributesConfig;
1741
1903
  fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
1742
1904
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
1743
1905
  store?: Record<string, unknown>;
@@ -1940,6 +2102,80 @@ export declare interface ContainerSlots {
1940
2102
  footer: () => unknown;
1941
2103
  }
1942
2104
 
2105
+ export declare interface ContentNavEmits {
2106
+ 'update:activeId': [value: string | undefined];
2107
+ 'update:expanded': [value: boolean];
2108
+ 'update:searchQuery': [value: string];
2109
+ select: [item: ContentNavItem];
2110
+ }
2111
+
2112
+ export declare type ContentNavExpandTrigger = 'hover' | 'manual';
2113
+
2114
+ export declare interface ContentNavHighlightSegment {
2115
+ text: string;
2116
+ highlighted: boolean;
2117
+ }
2118
+
2119
+ export declare interface ContentNavItem {
2120
+ id: string;
2121
+ label: string;
2122
+ searchText?: string;
2123
+ tooltipText?: string;
2124
+ meta?: Record<string, unknown>;
2125
+ }
2126
+
2127
+ declare interface ContentNavOverlayProps {
2128
+ expanded: boolean;
2129
+ placement: ContentNavPlacement;
2130
+ floatingOffset?: number;
2131
+ }
2132
+
2133
+ export declare type ContentNavPlacement = 'left' | 'right';
2134
+
2135
+ export declare interface ContentNavProps {
2136
+ items: ContentNavItem[];
2137
+ scrollContainer?: HTMLElement | null;
2138
+ activeId?: string;
2139
+ activeOffset?: number;
2140
+ expanded?: boolean;
2141
+ searchQuery?: string;
2142
+ placement?: ContentNavPlacement;
2143
+ expandTrigger?: ContentNavExpandTrigger;
2144
+ searchOptions?: ContentNavSearchOptions;
2145
+ tooltipDelay?: number;
2146
+ targetFeedbackClass?: string;
2147
+ targetFeedbackDuration?: number;
2148
+ emptyText?: string;
2149
+ }
2150
+
2151
+ export declare type ContentNavSearchMatcher = (item: ContentNavItem, searchQuery: string) => false | ContentNavHighlightSegment[];
2152
+
2153
+ export declare interface ContentNavSearchOptions {
2154
+ placeholder?: string;
2155
+ matcher?: ContentNavSearchMatcher;
2156
+ clearOnCollapse?: boolean;
2157
+ }
2158
+
2159
+ export declare interface ContentNavSlots {
2160
+ item?: (slotProps: {
2161
+ item: ContentNavItem;
2162
+ segments: ContentNavHighlightSegment[];
2163
+ active: boolean;
2164
+ expanded: boolean;
2165
+ highlighted: boolean;
2166
+ }) => VNode | VNode[];
2167
+ marker?: (slotProps: {
2168
+ item: ContentNavItem;
2169
+ active: boolean;
2170
+ }) => VNode | VNode[];
2171
+ search?: (slotProps: {
2172
+ searchQuery: string;
2173
+ setSearchQuery: (value: string) => void;
2174
+ searchOptions: ContentNavSearchOptions;
2175
+ }) => VNode | VNode[];
2176
+ empty?: () => VNode | VNode[];
2177
+ }
2178
+
1943
2179
  declare interface ControlState {
1944
2180
  tooltips?: string | TooltipRender;
1945
2181
  disabled?: boolean;
@@ -1951,67 +2187,73 @@ declare const _default: {
1951
2187
  };
1952
2188
  export default _default;
1953
2189
 
1954
- declare const _default_10: typeof _default_37 & {
2190
+ declare const _default_10: typeof _default_36 & {
1955
2191
  install: typeof install_9;
1956
2192
  };
1957
- export { _default_10 as SenderCompat }
1958
- export { _default_10 as TrSenderCompat }
2193
+ export { _default_10 as IconButton }
2194
+ export { _default_10 as TrIconButton }
1959
2195
 
1960
2196
  declare const _default_11: typeof _default_39 & {
1961
2197
  install: typeof install_10;
1962
2198
  };
1963
- export { _default_11 as SuggestionPills }
1964
- export { _default_11 as TrSuggestionPills }
2199
+ export { _default_11 as SenderCompat }
2200
+ export { _default_11 as TrSenderCompat }
1965
2201
 
1966
- declare const _default_12: typeof _default_40 & {
2202
+ declare const _default_12: typeof _default_41 & {
1967
2203
  install: typeof install_11;
1968
2204
  };
1969
- export { _default_12 as SuggestionPopover }
1970
- export { _default_12 as TrSuggestionPopover }
2205
+ export { _default_12 as SuggestionPills }
2206
+ export { _default_12 as TrSuggestionPills }
1971
2207
 
1972
- declare const _default_13: typeof _default_41 & {
2208
+ declare const _default_13: typeof _default_42 & {
1973
2209
  install: typeof install_12;
1974
2210
  };
1975
- export { _default_13 as ThemeProvider }
1976
- export { _default_13 as TrThemeProvider }
2211
+ export { _default_13 as SuggestionPopover }
2212
+ export { _default_13 as TrSuggestionPopover }
1977
2213
 
1978
- declare const _default_14: typeof _default_42 & {
2214
+ declare const _default_14: typeof _default_43 & {
1979
2215
  install: typeof install_13;
1980
2216
  };
1981
- export { _default_14 as TrWelcome }
1982
- export { _default_14 as Welcome }
2217
+ export { _default_14 as ThemeProvider }
2218
+ export { _default_14 as TrThemeProvider }
1983
2219
 
1984
- declare const _default_15: typeof _default_43 & {
2220
+ declare const _default_15: typeof _default_44 & {
1985
2221
  install: typeof install_14;
1986
2222
  };
1987
- export { _default_15 as McpServerPicker }
1988
- export { _default_15 as TrMcpServerPicker }
2223
+ export { _default_15 as TrWelcome }
2224
+ export { _default_15 as Welcome }
1989
2225
 
1990
- declare const _default_16: typeof _default_44 & {
2226
+ declare const _default_16: typeof _default_45 & {
1991
2227
  install: typeof install_15;
1992
2228
  };
1993
- export { _default_16 as McpAddForm }
1994
- export { _default_16 as TrMcpAddForm }
2229
+ export { _default_16 as McpServerPicker }
2230
+ export { _default_16 as TrMcpServerPicker }
1995
2231
 
1996
- declare const _default_17: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1997
- export { _default_17 as ActionButton }
1998
- export { _default_17 as TrActionButton }
2232
+ declare const _default_17: typeof _default_46 & {
2233
+ install: typeof install_16;
2234
+ };
2235
+ export { _default_17 as McpAddForm }
2236
+ export { _default_17 as TrMcpAddForm }
1999
2237
 
2000
- declare const _default_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2001
- export { _default_18 as SubmitButton }
2002
- export { _default_18 as TrSubmitButton }
2238
+ declare const _default_18: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2239
+ export { _default_18 as ActionButton }
2240
+ export { _default_18 as TrActionButton }
2003
2241
 
2004
2242
  declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2005
- export { _default_19 as ClearButton }
2006
- export { _default_19 as TrClearButton }
2243
+ export { _default_19 as SubmitButton }
2244
+ export { _default_19 as TrSubmitButton }
2007
2245
 
2008
- declare const _default_2: typeof _default_24 & {
2246
+ declare const _default_2: typeof _default_25 & {
2009
2247
  install: typeof install;
2010
2248
  };
2011
2249
  export { _default_2 as Attachments }
2012
2250
  export { _default_2 as TrAttachments }
2013
2251
 
2014
- declare const _default_20: DefineComponent<UploadButtonProps, {
2252
+ declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2253
+ export { _default_20 as ClearButton }
2254
+ export { _default_20 as TrClearButton }
2255
+
2256
+ declare const _default_21: DefineComponent<UploadButtonProps, {
2015
2257
  open: (localOptions?: Partial<UseFileDialogOptions>) => void;
2016
2258
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2017
2259
  error: (error: Error, files?: File[] | undefined) => any;
@@ -2025,22 +2267,22 @@ multiple: boolean;
2025
2267
  tooltipPlacement: TooltipPlacement;
2026
2268
  accept: string;
2027
2269
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2028
- export { _default_20 as TrUploadButton }
2029
- export { _default_20 as UploadButton }
2270
+ export { _default_21 as TrUploadButton }
2271
+ export { _default_21 as UploadButton }
2030
2272
 
2031
- declare const _default_21: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2032
- export { _default_21 as TrVoiceButton }
2033
- export { _default_21 as VoiceButton }
2273
+ declare const _default_22: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2274
+ export { _default_22 as TrVoiceButton }
2275
+ export { _default_22 as VoiceButton }
2034
2276
 
2035
- declare const _default_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2036
- export { _default_22 as TrWordCounter }
2037
- export { _default_22 as WordCounter }
2277
+ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2278
+ export { _default_23 as TrWordCounter }
2279
+ export { _default_23 as WordCounter }
2038
2280
 
2039
- declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2040
- export { _default_23 as DefaultActionButtons }
2041
- export { _default_23 as TrDefaultActionButtons }
2281
+ declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2282
+ export { _default_24 as DefaultActionButtons }
2283
+ export { _default_24 as TrDefaultActionButtons }
2042
2284
 
2043
- declare const _default_24: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2285
+ declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2044
2286
  "update:items": (items: Attachment[]) => any;
2045
2287
  remove: (file: Attachment) => any;
2046
2288
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2066,17 +2308,15 @@ fileMatchers: FileTypeMatcher[];
2066
2308
  variant: DisplayVariant;
2067
2309
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2068
2310
 
2069
- declare const _default_25: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2070
-
2071
- declare const _default_26: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2311
+ declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2072
2312
 
2073
- declare const _default_27: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2313
+ declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2074
2314
 
2075
- declare const _default_28: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2315
+ declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2076
2316
 
2077
- declare const _default_29: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2317
+ declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2078
2318
 
2079
- declare const _default_3: typeof _default_28 & {
2319
+ declare const _default_3: typeof _default_29 & {
2080
2320
  install: typeof install_2;
2081
2321
  };
2082
2322
  export { _default_3 as Container }
@@ -2084,9 +2324,13 @@ export { _default_3 as TrContainer }
2084
2324
 
2085
2325
  declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2086
2326
 
2087
- declare const _default_31: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2327
+ declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2088
2328
 
2089
- declare const _default_32: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2329
+ declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2330
+
2331
+ declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2332
+
2333
+ declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2090
2334
  action: (name: string) => any;
2091
2335
  operation: (name: string) => any;
2092
2336
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2098,7 +2342,7 @@ actionsLimit: number;
2098
2342
  sourcesLinesLimit: number;
2099
2343
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2100
2344
 
2101
- 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<{
2345
+ 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<{
2102
2346
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2103
2347
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2104
2348
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2112,38 +2356,38 @@ declare const _default_33: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2112
2356
  __ctx?: Awaited<typeof __VLS_setup>;
2113
2357
  };
2114
2358
 
2115
- declare const _default_34: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2359
+ declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2116
2360
  size: string | number;
2117
2361
  svgSize: string | number;
2118
2362
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2119
2363
 
2120
- declare const _default_35: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2364
+ declare const _default_37: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2121
2365
  size: "small" | "medium" | "large";
2122
2366
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2123
2367
 
2124
- declare const _default_36: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2125
-
2126
- declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2368
+ declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2127
2369
 
2128
- declare const _default_38: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2370
+ declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2129
2371
 
2130
- declare const _default_39: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2131
-
2132
- declare const _default_4: typeof _default_29 & {
2372
+ declare const _default_4: typeof _default_30 & {
2133
2373
  install: typeof install_3;
2134
2374
  };
2135
- export { _default_4 as Conversations }
2136
- export { _default_4 as TrConversations }
2375
+ export { _default_4 as ContentNav }
2376
+ export { _default_4 as TrContentNav }
2377
+
2378
+ declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2379
+
2380
+ declare const _default_41: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2137
2381
 
2138
- declare const _default_40: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2382
+ declare const _default_42: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2139
2383
 
2140
- declare const _default_41: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2384
+ declare const _default_43: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2141
2385
 
2142
- declare const _default_42: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2386
+ declare const _default_44: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2143
2387
 
2144
- declare const _default_43: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2388
+ declare const _default_45: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2145
2389
 
2146
- declare const _default_44: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2390
+ declare const _default_46: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2147
2391
  cancel: () => any;
2148
2392
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2149
2393
  "update:addType": (value: AddType) => any;
@@ -2155,35 +2399,35 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2155
2399
  addType: AddType;
2156
2400
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2157
2401
 
2158
- declare const _default_5: typeof _default_30 & {
2402
+ declare const _default_5: typeof _default_31 & {
2159
2403
  install: typeof install_4;
2160
2404
  };
2161
- export { _default_5 as DragOverlay }
2162
- export { _default_5 as TrDragOverlay }
2405
+ export { _default_5 as Conversations }
2406
+ export { _default_5 as TrConversations }
2163
2407
 
2164
- declare const _default_6: typeof _default_31 & {
2408
+ declare const _default_6: typeof _default_32 & {
2165
2409
  install: typeof install_5;
2166
2410
  };
2167
- export { _default_6 as DropdownMenu }
2168
- export { _default_6 as TrDropdownMenu }
2411
+ export { _default_6 as DragOverlay }
2412
+ export { _default_6 as TrDragOverlay }
2169
2413
 
2170
- declare const _default_7: typeof _default_32 & {
2414
+ declare const _default_7: typeof _default_33 & {
2171
2415
  install: typeof install_6;
2172
2416
  };
2173
- export { _default_7 as Feedback }
2174
- export { _default_7 as TrFeedback }
2417
+ export { _default_7 as DropdownMenu }
2418
+ export { _default_7 as TrDropdownMenu }
2175
2419
 
2176
- declare const _default_8: typeof _default_33 & {
2420
+ declare const _default_8: typeof _default_34 & {
2177
2421
  install: typeof install_7;
2178
2422
  };
2179
- export { _default_8 as History }
2180
- export { _default_8 as TrHistory }
2423
+ export { _default_8 as Feedback }
2424
+ export { _default_8 as TrFeedback }
2181
2425
 
2182
- declare const _default_9: typeof _default_34 & {
2426
+ declare const _default_9: typeof _default_35 & {
2183
2427
  install: typeof install_8;
2184
2428
  };
2185
- export { _default_9 as IconButton }
2186
- export { _default_9 as TrIconButton }
2429
+ export { _default_9 as History }
2430
+ export { _default_9 as TrHistory }
2187
2431
 
2188
2432
  /**
2189
2433
  * 默认操作按钮配置
@@ -2568,6 +2812,8 @@ declare const install_14: <T>(app: App<T>) => void;
2568
2812
 
2569
2813
  declare const install_15: <T>(app: App<T>) => void;
2570
2814
 
2815
+ declare const install_16: <T>(app: App<T>) => void;
2816
+
2571
2817
  declare const install_2: <T>(app: App<T>) => void;
2572
2818
 
2573
2819
  declare const install_3: <T>(app: App<T>) => void;
@@ -2817,7 +3063,7 @@ export declare interface PopupConfig {
2817
3063
  };
2818
3064
  }
2819
3065
 
2820
- declare const Prompt: typeof _default_35 & {
3066
+ declare const Prompt: typeof _default_37 & {
2821
3067
  install: typeof installPrompt;
2822
3068
  };
2823
3069
  export { Prompt }
@@ -2854,7 +3100,7 @@ export declare interface PromptProps {
2854
3100
  size?: 'small' | 'medium' | 'large';
2855
3101
  }
2856
3102
 
2857
- declare const Prompts: typeof _default_36 & {
3103
+ declare const Prompts: typeof _default_38 & {
2858
3104
  install: typeof installPrompts;
2859
3105
  };
2860
3106
  export { Prompts }
@@ -3935,7 +4181,7 @@ export declare interface SuggestionOptions {
3935
4181
  onSelect?: (item: SenderSuggestionItem) => void | false;
3936
4182
  }
3937
4183
 
3938
- declare const SuggestionPillButton: typeof _default_38 & {
4184
+ declare const SuggestionPillButton: typeof _default_40 & {
3939
4185
  install: typeof installPillButton;
3940
4186
  };
3941
4187
  export { SuggestionPillButton }
@@ -4395,10 +4641,13 @@ export declare function useAutoScroll(target: MaybeComputedElementRef, source: M
4395
4641
 
4396
4642
  export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
4397
4643
  renderer: Component;
4398
- attributes?: Record<string, string>;
4644
+ attributes?: BubbleAttributes;
4399
4645
  }>;
4400
4646
 
4401
- export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<Component>;
4647
+ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<BubbleMessage>, contentIndex: number): ComputedRef<{
4648
+ renderer: Component;
4649
+ attributes?: BubbleAttributes;
4650
+ }>;
4402
4651
 
4403
4652
  export declare function useBubbleStateChangeFn(): (key: string, _value: unknown) => void;
4404
4653