@opentiny/tiny-robot 0.5.2-alpha.1 → 0.5.2-alpha.14

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
@@ -25,6 +25,7 @@ import { MaybeRefOrGetter } from 'vue';
25
25
  import { nextTick } from 'vue';
26
26
  import { Node as Node_2 } from '@tiptap/core';
27
27
  import { OnCleanup } from '@vue/reactivity';
28
+ import { Placement } from '@floating-ui/dom';
28
29
  import { PublicProps } from 'vue';
29
30
  import { Ref } from 'vue';
30
31
  import { ShallowUnwrapRef } from 'vue';
@@ -67,13 +68,48 @@ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
67
68
  bubbleRef: HTMLDivElement;
68
69
  }, HTMLDivElement>;
69
70
 
70
- declare const __VLS_component_10: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
71
+ declare const __VLS_component_10: DefineComponent<ModelSelectorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
72
+ change: (option: ModelSelectorOption) => any;
73
+ "update:modelValue": (value: string | null) => any;
74
+ "update:reasoningEffort": (value: string | null) => any;
75
+ "reasoning-effort-change": (option: ModelSelectorReasoningEffortOption | null) => any;
76
+ "update:open": (open: boolean) => any;
77
+ }, string, PublicProps, Readonly<ModelSelectorProps> & Readonly<{
78
+ onChange?: ((option: ModelSelectorOption) => any) | undefined;
79
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
80
+ "onUpdate:reasoningEffort"?: ((value: string | null) => any) | undefined;
81
+ "onReasoning-effort-change"?: ((option: ModelSelectorReasoningEffortOption | null) => any) | undefined;
82
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
83
+ }>, {
84
+ size: ModelSelectorSize;
85
+ disabled: boolean;
86
+ variant: ModelSelectorVariant;
87
+ open: boolean;
88
+ placeholder: string;
89
+ placement: Placement;
90
+ emptyText: string;
91
+ appendTo: string | HTMLElement;
92
+ offset: number;
93
+ searchable: boolean;
94
+ searchPlaceholder: string;
95
+ models: readonly ModelSelectorOption[];
96
+ defaultValue: string | null;
97
+ reasoningEffort: string | null;
98
+ defaultReasoningEffort: string | null;
99
+ defaultOpen: boolean;
100
+ reasoningEffortLabel: string;
101
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
102
+ referenceEl: HTMLSpanElement;
103
+ floatingEl: HTMLDivElement;
104
+ }, HTMLDivElement>;
105
+
106
+ declare const __VLS_component_11: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
71
107
  "item-click": (ev: MouseEvent, item: PromptProps) => any;
72
108
  }, string, PublicProps, Readonly<PromptsProps> & Readonly<{
73
109
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
74
110
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
75
111
 
76
- declare const __VLS_component_11: DefineComponent<SenderProps_2, {
112
+ declare const __VLS_component_12: DefineComponent<SenderProps_2, {
77
113
  focus: () => void;
78
114
  blur: () => void;
79
115
  clear: () => void;
@@ -241,21 +277,7 @@ setContent: (content: string) => void;
241
277
  getContent: () => string;
242
278
  editor: Editor | undefined;
243
279
  } & {} & ComponentCustomProperties & {} & {
244
- $slots: {
245
- header?(_: {}): any;
246
- header?(_: {}): any;
247
- prefix?(_: {}): any;
248
- prefix?(_: {}): any;
249
- content?(_: {
250
- editor: Editor | undefined;
251
- }): any;
252
- content?(_: {
253
- editor: Ref<Editor | undefined, Editor | undefined>;
254
- }): any;
255
- 'actions-inline'?(_: {}): any;
256
- footer?(_: {}): any;
257
- 'footer-right'?(_: {}): any;
258
- };
280
+ $slots: Readonly<SenderSlots> & SenderSlots;
259
281
  }) | null;
260
282
  voiceRef: ({
261
283
  $: ComponentInternalInstance;
@@ -353,9 +375,9 @@ stop: () => void;
353
375
  }) | null;
354
376
  }, HTMLDivElement>;
355
377
 
356
- declare const __VLS_component_12: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
378
+ declare const __VLS_component_13: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
357
379
 
358
- declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_3, {
380
+ declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_3, {
359
381
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
360
382
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
361
383
  "update:showAll": (value: boolean | undefined) => any;
@@ -375,7 +397,7 @@ floatingItemsRef: HTMLDivElement;
375
397
  floatingMaybeItemRefs: unknown[];
376
398
  }, HTMLDivElement>;
377
399
 
378
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_4, {
400
+ declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_4, {
379
401
  update: () => void;
380
402
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
381
403
  "update:selectedGroup": (value: string) => any;
@@ -509,7 +531,7 @@ show?: TooltipContentProps["show"];
509
531
  }>, {}, {}, {}, {}, {}> | null;
510
532
  }, any>;
511
533
 
512
- declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
534
+ declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
513
535
  "update:theme": (value: string) => any;
514
536
  "update:colorMode": (value: ColorMode) => any;
515
537
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
@@ -520,11 +542,11 @@ targetElement: string;
520
542
  storageKey: string;
521
543
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
522
544
 
523
- declare const __VLS_component_16: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
545
+ declare const __VLS_component_17: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
524
546
  align: "left" | "center" | "right" | string;
525
547
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
526
548
 
527
- declare const __VLS_component_17: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
549
+ declare const __VLS_component_18: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
528
550
  "update:visible": (value: boolean) => any;
529
551
  } & {
530
552
  refresh: (tab: "installed" | "market") => any;
@@ -551,9 +573,9 @@ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
551
573
  }>, {
552
574
  title: string;
553
575
  loading: boolean;
576
+ searchPlaceholder: string;
554
577
  installedPlugins: PluginInfo[];
555
578
  marketPlugins: PluginInfo[];
556
- searchPlaceholder: string;
557
579
  enableSearch: boolean;
558
580
  installedSearchFn: (query: string, item: PluginInfo) => boolean;
559
581
  marketSearchFn: (query: string, item: PluginInfo) => boolean;
@@ -575,13 +597,57 @@ allowPluginAdd: boolean;
575
597
  marketLoading: boolean;
576
598
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
577
599
 
578
- declare const __VLS_component_18: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
600
+ declare const __VLS_component_19: DefineComponent<ExtensionCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
601
+ action: (payload: ExtensionCardActionEvent) => any;
602
+ "name-click": (event: MouseEvent | KeyboardEvent) => any;
603
+ }, string, PublicProps, Readonly<ExtensionCardProps> & Readonly<{
604
+ onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
605
+ "onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
606
+ }>, {
607
+ actions: ExtensionCardAction[];
608
+ primaryActionsLimit: number;
609
+ nameClickable: boolean;
610
+ overflowMenuLabel: string;
611
+ overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
612
+ overflowMenuShowIcons: boolean;
613
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
614
+
615
+ declare const __VLS_component_2: DefineComponent<BubbleListProps, {
616
+ scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
617
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
618
+ "state-change": (payload: BubbleStateChangePayload) => any;
619
+ "bubble-event": (payload: BubbleEventPayload) => any;
620
+ }, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
621
+ "onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
622
+ "onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
623
+ }>, {
624
+ contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
625
+ groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
626
+ dividerRole: string;
627
+ fallbackRole: string;
628
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
629
+ listRef: HTMLDivElement;
630
+ }, HTMLDivElement>;
631
+
632
+ declare const __VLS_component_20: DefineComponent<ExtensionCardGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
633
+ action: (payload: ExtensionCardGridActionEvent) => any;
634
+ "name-click": (payload: ExtensionCardGridNameClickEvent) => any;
635
+ }, string, PublicProps, Readonly<ExtensionCardGridProps> & Readonly<{
636
+ onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
637
+ "onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
638
+ }>, {
639
+ emptyText: string;
640
+ nameClickable: boolean;
641
+ overflowMenuShowIcons: boolean;
642
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
643
+
644
+ declare const __VLS_component_21: DefineComponent<ActionButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
579
645
  disabled: boolean;
580
646
  active: boolean;
581
647
  tooltipPlacement: TooltipPlacement;
582
648
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
583
649
 
584
- declare const __VLS_component_19: DefineComponent<VoiceButtonProps, {
650
+ declare const __VLS_component_22: DefineComponent<VoiceButtonProps, {
585
651
  start: () => void;
586
652
  stop: () => void;
587
653
  speechState: SpeechState;
@@ -602,24 +668,7 @@ tooltipPlacement: TooltipPlacement;
602
668
  autoInsert: boolean;
603
669
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
604
670
 
605
- declare const __VLS_component_2: DefineComponent<BubbleListProps, {
606
- scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
607
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
608
- "state-change": (payload: BubbleStateChangePayload) => any;
609
- "bubble-event": (payload: BubbleEventPayload) => any;
610
- }, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
611
- "onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
612
- "onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
613
- }>, {
614
- contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
615
- groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
616
- dividerRole: string;
617
- fallbackRole: string;
618
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
619
- listRef: HTMLDivElement;
620
- }, HTMLDivElement>;
621
-
622
- declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
671
+ declare const __VLS_component_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
623
672
 
624
673
  declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
625
674
 
@@ -1029,24 +1078,74 @@ declare function __VLS_template(): {
1029
1078
  };
1030
1079
 
1031
1080
  declare function __VLS_template_10(): {
1081
+ attrs: Partial<{}>;
1082
+ slots: Readonly<ModelSelectorSlots> & ModelSelectorSlots;
1083
+ refs: {
1084
+ referenceEl: HTMLSpanElement;
1085
+ floatingEl: HTMLDivElement;
1086
+ };
1087
+ rootEl: HTMLDivElement;
1088
+ };
1089
+
1090
+ declare function __VLS_template_11(): {
1032
1091
  attrs: Partial<{}>;
1033
1092
  slots: Readonly<PromptsSlots> & PromptsSlots;
1034
1093
  refs: {};
1035
1094
  rootEl: HTMLDivElement;
1036
1095
  };
1037
1096
 
1038
- declare function __VLS_template_11(): {
1097
+ declare function __VLS_template_12(): {
1039
1098
  attrs: Partial<{}>;
1040
1099
  slots: {
1041
1100
  header?(_: {}): any;
1042
1101
  prefix?(_: {}): any;
1043
1102
  content?(_: {
1044
- editor: Ref<Editor | undefined, Editor | undefined>;
1103
+ editor: unknown;
1104
+ }): any;
1105
+ actions?(_: {
1106
+ editor: Editor_2 | undefined;
1107
+ focus: () => void;
1108
+ blur: () => void;
1109
+ insert: (content: string) => void;
1110
+ append: (content: string) => void;
1111
+ replace: (content: string) => void;
1112
+ disabled: boolean;
1113
+ loading: boolean;
1114
+ hasContent: boolean;
1115
+ }): any;
1116
+ 'footer-left'?(_: {
1117
+ editor: Editor_2 | undefined;
1118
+ focus: () => void;
1119
+ blur: () => void;
1120
+ insert: (content: string) => void;
1121
+ append: (content: string) => void;
1122
+ replace: (content: string) => void;
1123
+ disabled: boolean;
1124
+ loading: boolean;
1125
+ hasContent: boolean;
1126
+ }): any;
1127
+ footer?(_: {
1128
+ editor: Editor_2 | undefined;
1129
+ focus: () => void;
1130
+ blur: () => void;
1131
+ insert: (content: string) => void;
1132
+ append: (content: string) => void;
1133
+ replace: (content: string) => void;
1134
+ disabled: boolean;
1135
+ loading: boolean;
1136
+ hasContent: boolean;
1137
+ }): any;
1138
+ 'footer-right'?(_: {
1139
+ editor: Editor_2 | undefined;
1140
+ focus: () => void;
1141
+ blur: () => void;
1142
+ insert: (content: string) => void;
1143
+ append: (content: string) => void;
1144
+ replace: (content: string) => void;
1145
+ disabled: boolean;
1146
+ loading: boolean;
1147
+ hasContent: boolean;
1045
1148
  }): any;
1046
- actions?(_: {}): any;
1047
- 'footer-left'?(_: {}): any;
1048
- footer?(_: {}): any;
1049
- 'footer-right'?(_: {}): any;
1050
1149
  };
1051
1150
  refs: {
1052
1151
  senderRef: ({
@@ -1172,21 +1271,7 @@ declare function __VLS_template_11(): {
1172
1271
  getContent: () => string;
1173
1272
  editor: Editor | undefined;
1174
1273
  } & {} & ComponentCustomProperties & {} & {
1175
- $slots: {
1176
- header?(_: {}): any;
1177
- header?(_: {}): any;
1178
- prefix?(_: {}): any;
1179
- prefix?(_: {}): any;
1180
- content?(_: {
1181
- editor: Editor | undefined;
1182
- }): any;
1183
- content?(_: {
1184
- editor: Ref<Editor | undefined, Editor | undefined>;
1185
- }): any;
1186
- 'actions-inline'?(_: {}): any;
1187
- footer?(_: {}): any;
1188
- 'footer-right'?(_: {}): any;
1189
- };
1274
+ $slots: Readonly<SenderSlots> & SenderSlots;
1190
1275
  }) | null;
1191
1276
  voiceRef: ({
1192
1277
  $: ComponentInternalInstance;
@@ -1286,14 +1371,14 @@ declare function __VLS_template_11(): {
1286
1371
  rootEl: HTMLDivElement;
1287
1372
  };
1288
1373
 
1289
- declare function __VLS_template_12(): {
1374
+ declare function __VLS_template_13(): {
1290
1375
  attrs: Partial<{}>;
1291
1376
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1292
1377
  refs: {};
1293
1378
  rootEl: HTMLButtonElement;
1294
1379
  };
1295
1380
 
1296
- declare function __VLS_template_13(): {
1381
+ declare function __VLS_template_14(): {
1297
1382
  attrs: Partial<{}>;
1298
1383
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1299
1384
  refs: {
@@ -1306,7 +1391,7 @@ declare function __VLS_template_13(): {
1306
1391
  rootEl: HTMLDivElement;
1307
1392
  };
1308
1393
 
1309
- declare function __VLS_template_14(): {
1394
+ declare function __VLS_template_15(): {
1310
1395
  attrs: Partial<{}>;
1311
1396
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
1312
1397
  refs: {
@@ -1423,7 +1508,7 @@ declare function __VLS_template_14(): {
1423
1508
  rootEl: any;
1424
1509
  };
1425
1510
 
1426
- declare function __VLS_template_15(): {
1511
+ declare function __VLS_template_16(): {
1427
1512
  attrs: Partial<{}>;
1428
1513
  slots: {
1429
1514
  default?(_: {}): any;
@@ -1432,14 +1517,14 @@ declare function __VLS_template_15(): {
1432
1517
  rootEl: any;
1433
1518
  };
1434
1519
 
1435
- declare function __VLS_template_16(): {
1520
+ declare function __VLS_template_17(): {
1436
1521
  attrs: Partial<{}>;
1437
1522
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
1438
1523
  refs: {};
1439
1524
  rootEl: HTMLDivElement;
1440
1525
  };
1441
1526
 
1442
- declare function __VLS_template_17(): {
1527
+ declare function __VLS_template_18(): {
1443
1528
  attrs: Partial<{}>;
1444
1529
  slots: {
1445
1530
  'header-actions'?(_: {}): any;
@@ -1448,7 +1533,30 @@ declare function __VLS_template_17(): {
1448
1533
  rootEl: any;
1449
1534
  };
1450
1535
 
1451
- declare function __VLS_template_18(): {
1536
+ declare function __VLS_template_19(): {
1537
+ attrs: Partial<{}>;
1538
+ slots: Readonly<ExtensionCardSlots> & ExtensionCardSlots;
1539
+ refs: {};
1540
+ rootEl: HTMLDivElement;
1541
+ };
1542
+
1543
+ declare function __VLS_template_2(): {
1544
+ attrs: Partial<{}>;
1545
+ slots: Readonly<BubbleListSlots> & BubbleListSlots;
1546
+ refs: {
1547
+ listRef: HTMLDivElement;
1548
+ };
1549
+ rootEl: HTMLDivElement;
1550
+ };
1551
+
1552
+ declare function __VLS_template_20(): {
1553
+ attrs: Partial<{}>;
1554
+ slots: Readonly<ExtensionCardGridSlots> & ExtensionCardGridSlots;
1555
+ refs: {};
1556
+ rootEl: HTMLUListElement;
1557
+ };
1558
+
1559
+ declare function __VLS_template_21(): {
1452
1560
  attrs: Partial<{}>;
1453
1561
  slots: {
1454
1562
  icon?(_: {}): any;
@@ -1458,7 +1566,7 @@ declare function __VLS_template_18(): {
1458
1566
  rootEl: any;
1459
1567
  };
1460
1568
 
1461
- declare function __VLS_template_19(): {
1569
+ declare function __VLS_template_22(): {
1462
1570
  attrs: Partial<{}>;
1463
1571
  slots: {
1464
1572
  icon?(_: {
@@ -1473,16 +1581,7 @@ declare function __VLS_template_19(): {
1473
1581
  rootEl: any;
1474
1582
  };
1475
1583
 
1476
- declare function __VLS_template_2(): {
1477
- attrs: Partial<{}>;
1478
- slots: Readonly<BubbleListSlots> & BubbleListSlots;
1479
- refs: {
1480
- listRef: HTMLDivElement;
1481
- };
1482
- rootEl: HTMLDivElement;
1483
- };
1484
-
1485
- declare function __VLS_template_20(): {
1584
+ declare function __VLS_template_23(): {
1486
1585
  attrs: Partial<{}>;
1487
1586
  slots: {
1488
1587
  prepend?(_: {}): any;
@@ -1815,6 +1914,12 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1815
1914
 
1816
1915
  declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
1817
1916
 
1917
+ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
1918
+
1919
+ declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
1920
+
1921
+ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
1922
+
1818
1923
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1819
1924
 
1820
1925
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -1907,6 +2012,24 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1907
2012
  };
1908
2013
  };
1909
2014
 
2015
+ declare type __VLS_WithTemplateSlots_21<T, S> = T & {
2016
+ new (): {
2017
+ $slots: S;
2018
+ };
2019
+ };
2020
+
2021
+ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
2022
+ new (): {
2023
+ $slots: S;
2024
+ };
2025
+ };
2026
+
2027
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
2028
+ new (): {
2029
+ $slots: S;
2030
+ };
2031
+ };
2032
+
1910
2033
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1911
2034
  new (): {
1912
2035
  $slots: S;
@@ -2107,7 +2230,7 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
2107
2230
 
2108
2231
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
2109
2232
 
2110
- declare const Bubble: typeof _default_26 & {
2233
+ declare const Bubble: typeof _default_27 & {
2111
2234
  install: typeof bubbleInstall;
2112
2235
  };
2113
2236
  export { Bubble }
@@ -2185,7 +2308,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
2185
2308
 
2186
2309
  declare const bubbleInstall: (app: App) => void;
2187
2310
 
2188
- declare const BubbleList: typeof _default_27 & {
2311
+ declare const BubbleList: typeof _default_28 & {
2189
2312
  install: typeof bubbleListInstall;
2190
2313
  };
2191
2314
  export { BubbleList }
@@ -2273,7 +2396,7 @@ export declare type BubbleProps = BubbleMessage & {
2273
2396
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
2274
2397
  };
2275
2398
 
2276
- declare const BubbleProvider: typeof _default_28 & {
2399
+ declare const BubbleProvider: typeof _default_29 & {
2277
2400
  install: typeof bubbleProviderInstall;
2278
2401
  };
2279
2402
  export { BubbleProvider }
@@ -2506,74 +2629,80 @@ declare const _default: {
2506
2629
  };
2507
2630
  export default _default;
2508
2631
 
2509
- declare const _default_10: typeof _default_36 & {
2632
+ declare const _default_10: typeof _default_37 & {
2510
2633
  install: typeof install_9;
2511
2634
  };
2512
2635
  export { _default_10 as IconButton }
2513
2636
  export { _default_10 as TrIconButton }
2514
2637
 
2515
- declare const _default_11: typeof _default_42 & {
2638
+ declare const _default_11: typeof _default_41 & {
2516
2639
  install: typeof install_10;
2517
2640
  };
2518
- export { _default_11 as SenderCompat }
2519
- export { _default_11 as TrSenderCompat }
2641
+ export { _default_11 as ModelSelector }
2642
+ export { _default_11 as TrModelSelector }
2520
2643
 
2521
2644
  declare const _default_12: typeof _default_44 & {
2522
2645
  install: typeof install_11;
2523
2646
  };
2524
- export { _default_12 as SuggestionPills }
2525
- export { _default_12 as TrSuggestionPills }
2647
+ export { _default_12 as SenderCompat }
2648
+ export { _default_12 as TrSenderCompat }
2526
2649
 
2527
- declare const _default_13: typeof _default_45 & {
2650
+ declare const _default_13: typeof _default_46 & {
2528
2651
  install: typeof install_12;
2529
2652
  };
2530
- export { _default_13 as SuggestionPopover }
2531
- export { _default_13 as TrSuggestionPopover }
2653
+ export { _default_13 as SuggestionPills }
2654
+ export { _default_13 as TrSuggestionPills }
2532
2655
 
2533
- declare const _default_14: typeof _default_46 & {
2656
+ declare const _default_14: typeof _default_47 & {
2534
2657
  install: typeof install_13;
2535
2658
  };
2536
- export { _default_14 as ThemeProvider }
2537
- export { _default_14 as TrThemeProvider }
2659
+ export { _default_14 as SuggestionPopover }
2660
+ export { _default_14 as TrSuggestionPopover }
2538
2661
 
2539
- declare const _default_15: typeof _default_47 & {
2662
+ declare const _default_15: typeof _default_48 & {
2540
2663
  install: typeof install_14;
2541
2664
  };
2542
- export { _default_15 as TrWelcome }
2543
- export { _default_15 as Welcome }
2665
+ export { _default_15 as ThemeProvider }
2666
+ export { _default_15 as TrThemeProvider }
2544
2667
 
2545
- declare const _default_16: typeof _default_48 & {
2668
+ declare const _default_16: typeof _default_49 & {
2546
2669
  install: typeof install_15;
2547
2670
  };
2548
- export { _default_16 as McpServerPicker }
2549
- export { _default_16 as TrMcpServerPicker }
2671
+ export { _default_16 as TrWelcome }
2672
+ export { _default_16 as Welcome }
2550
2673
 
2551
- declare const _default_17: typeof _default_49 & {
2674
+ declare const _default_17: typeof _default_50 & {
2552
2675
  install: typeof install_16;
2553
2676
  };
2554
- export { _default_17 as McpAddForm }
2555
- export { _default_17 as TrMcpAddForm }
2677
+ export { _default_17 as McpServerPicker }
2678
+ export { _default_17 as TrMcpServerPicker }
2556
2679
 
2557
- declare const _default_18: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2558
- export { _default_18 as ActionButton }
2559
- export { _default_18 as TrActionButton }
2680
+ declare const _default_18: typeof _default_51 & {
2681
+ install: typeof install_17;
2682
+ };
2683
+ export { _default_18 as McpAddForm }
2684
+ export { _default_18 as TrMcpAddForm }
2560
2685
 
2561
- declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2562
- export { _default_19 as SubmitButton }
2563
- export { _default_19 as TrSubmitButton }
2686
+ declare const _default_19: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2687
+ export { _default_19 as ActionButton }
2688
+ export { _default_19 as TrActionButton }
2564
2689
 
2565
- declare const _default_2: typeof _default_25 & {
2690
+ declare const _default_2: typeof _default_26 & {
2566
2691
  install: typeof install;
2567
2692
  };
2568
2693
  export { _default_2 as Attachments }
2569
2694
  export { _default_2 as TrAttachments }
2570
2695
 
2571
2696
  declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2572
- export { _default_20 as ClearButton }
2573
- export { _default_20 as TrClearButton }
2697
+ export { _default_20 as SubmitButton }
2698
+ export { _default_20 as TrSubmitButton }
2574
2699
 
2575
- declare const _default_21: DefineComponent<UploadButtonProps, {
2576
- open: (localOptions?: Partial<UseFileDialogOptions>) => void;
2700
+ declare const _default_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2701
+ export { _default_21 as ClearButton }
2702
+ export { _default_21 as TrClearButton }
2703
+
2704
+ declare const _default_22: DefineComponent<UploadButtonProps, {
2705
+ open: (options?: Parameters<typeof openFileDialog>[0]) => void;
2577
2706
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2578
2707
  error: (error: Error, files?: File[] | undefined) => any;
2579
2708
  select: (files: File[]) => any;
@@ -2586,22 +2715,22 @@ multiple: boolean;
2586
2715
  tooltipPlacement: TooltipPlacement;
2587
2716
  accept: string;
2588
2717
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2589
- export { _default_21 as TrUploadButton }
2590
- export { _default_21 as UploadButton }
2718
+ export { _default_22 as TrUploadButton }
2719
+ export { _default_22 as UploadButton }
2591
2720
 
2592
- declare const _default_22: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2593
- export { _default_22 as TrVoiceButton }
2594
- export { _default_22 as VoiceButton }
2721
+ declare const _default_23: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2722
+ export { _default_23 as TrVoiceButton }
2723
+ export { _default_23 as VoiceButton }
2595
2724
 
2596
- declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2597
- export { _default_23 as TrWordCounter }
2598
- export { _default_23 as WordCounter }
2725
+ declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2726
+ export { _default_24 as TrWordCounter }
2727
+ export { _default_24 as WordCounter }
2599
2728
 
2600
- declare const _default_24: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2601
- export { _default_24 as DefaultActionButtons }
2602
- export { _default_24 as TrDefaultActionButtons }
2729
+ declare const _default_25: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2730
+ export { _default_25 as DefaultActionButtons }
2731
+ export { _default_25 as TrDefaultActionButtons }
2603
2732
 
2604
- declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2733
+ declare const _default_26: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2605
2734
  "update:items": (items: Attachment[]) => any;
2606
2735
  remove: (file: Attachment) => any;
2607
2736
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2627,29 +2756,29 @@ fileMatchers: FileTypeMatcher[];
2627
2756
  variant: DisplayVariant;
2628
2757
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2629
2758
 
2630
- declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2631
-
2632
- declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2759
+ declare const _default_27: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2633
2760
 
2634
- declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2761
+ declare const _default_28: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2635
2762
 
2636
- declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2763
+ declare const _default_29: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2637
2764
 
2638
- declare const _default_3: typeof _default_29 & {
2765
+ declare const _default_3: typeof _default_30 & {
2639
2766
  install: typeof install_2;
2640
2767
  };
2641
2768
  export { _default_3 as Container }
2642
2769
  export { _default_3 as TrContainer }
2643
2770
 
2644
- declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2771
+ declare const _default_30: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2645
2772
 
2646
- declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2773
+ declare const _default_31: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2647
2774
 
2648
- declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2775
+ declare const _default_32: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2649
2776
 
2650
- declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2777
+ declare const _default_33: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2651
2778
 
2652
- declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2779
+ declare const _default_34: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2780
+
2781
+ declare const _default_35: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2653
2782
  action: (name: string) => any;
2654
2783
  operation: (name: string) => any;
2655
2784
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2661,7 +2790,7 @@ actionsLimit: number;
2661
2790
  sourcesLinesLimit: number;
2662
2791
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2663
2792
 
2664
- 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<{
2793
+ declare const _default_36: <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<{
2665
2794
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2666
2795
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2667
2796
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2675,47 +2804,55 @@ declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2675
2804
  __ctx?: Awaited<typeof __VLS_setup>;
2676
2805
  };
2677
2806
 
2678
- declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2807
+ declare const _default_37: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2679
2808
  size: string | number;
2680
2809
  svgSize: string | number;
2681
2810
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2682
2811
 
2683
- declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2812
+ declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2684
2813
 
2685
- declare const _default_38: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2814
+ declare const _default_39: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2686
2815
  scrollbarRef: HTMLDivElement;
2687
2816
  thumbRef: HTMLDivElement;
2688
2817
  }, any>;
2689
2818
 
2690
- declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2691
-
2692
- declare const _default_4: typeof _default_30 & {
2819
+ declare const _default_4: typeof _default_31 & {
2693
2820
  install: typeof install_3;
2694
2821
  };
2695
2822
  export { _default_4 as Anchor }
2696
2823
  export { _default_4 as TrAnchor }
2697
2824
 
2698
- declare const _default_40: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2825
+ declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2826
+
2827
+ declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2828
+
2829
+ declare const _default_42: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2699
2830
  size: "small" | "medium" | "large";
2700
2831
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2701
2832
 
2702
- declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2833
+ declare const _default_43: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2834
+
2835
+ declare const _default_44: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2703
2836
 
2704
- declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2837
+ declare const _default_45: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2705
2838
 
2706
- declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2839
+ declare const _default_46: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2707
2840
 
2708
- declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2841
+ declare const _default_47: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2709
2842
 
2710
- declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2843
+ declare const _default_48: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2711
2844
 
2712
- declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2845
+ declare const _default_49: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2713
2846
 
2714
- declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2847
+ declare const _default_5: typeof _default_32 & {
2848
+ install: typeof install_4;
2849
+ };
2850
+ export { _default_5 as Conversations }
2851
+ export { _default_5 as TrConversations }
2715
2852
 
2716
- declare const _default_48: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2853
+ declare const _default_50: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2717
2854
 
2718
- declare const _default_49: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2855
+ declare const _default_51: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2719
2856
  cancel: () => any;
2720
2857
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2721
2858
  "update:addType": (value: AddType) => any;
@@ -2727,31 +2864,29 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2727
2864
  addType: AddType;
2728
2865
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2729
2866
 
2730
- declare const _default_5: typeof _default_31 & {
2731
- install: typeof install_4;
2732
- };
2733
- export { _default_5 as Conversations }
2734
- export { _default_5 as TrConversations }
2867
+ declare const _default_52: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2735
2868
 
2736
- declare const _default_6: typeof _default_32 & {
2869
+ declare const _default_53: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2870
+
2871
+ declare const _default_6: typeof _default_33 & {
2737
2872
  install: typeof install_5;
2738
2873
  };
2739
2874
  export { _default_6 as DragOverlay }
2740
2875
  export { _default_6 as TrDragOverlay }
2741
2876
 
2742
- declare const _default_7: typeof _default_33 & {
2877
+ declare const _default_7: typeof _default_34 & {
2743
2878
  install: typeof install_6;
2744
2879
  };
2745
2880
  export { _default_7 as DropdownMenu }
2746
2881
  export { _default_7 as TrDropdownMenu }
2747
2882
 
2748
- declare const _default_8: typeof _default_34 & {
2883
+ declare const _default_8: typeof _default_35 & {
2749
2884
  install: typeof install_7;
2750
2885
  };
2751
2886
  export { _default_8 as Feedback }
2752
2887
  export { _default_8 as TrFeedback }
2753
2888
 
2754
- declare const _default_9: typeof _default_35 & {
2889
+ declare const _default_9: typeof _default_36 & {
2755
2890
  install: typeof install_8;
2756
2891
  };
2757
2892
  export { _default_9 as History }
@@ -2813,6 +2948,9 @@ export declare interface DefaultActions {
2813
2948
 
2814
2949
  export declare type DisplayVariant = 'picture' | 'card' | 'auto';
2815
2950
 
2951
+ /** Actions passed from Card to its internal renderers after visibility is resolved. */
2952
+ declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
2953
+
2816
2954
  declare interface DragAwareElement extends HTMLElement {
2817
2955
  __vDropzoneHandlers__?: Handlers;
2818
2956
  __vDropzoneOptions__?: DragAwareOptions;
@@ -2990,6 +3128,195 @@ export declare interface DropzoneBinding {
2990
3128
  */
2991
3129
  export declare type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
2992
3130
 
3131
+ declare const ExtensionCard: typeof _default_52 & {
3132
+ install: typeof extensionCardInstall;
3133
+ };
3134
+ export { ExtensionCard }
3135
+ export { ExtensionCard as TrExtensionCard }
3136
+
3137
+ export declare type ExtensionCardAction = ExtensionCardSwitchAction | ExtensionCardButtonAction | ExtensionCardCustomAction;
3138
+
3139
+ export declare interface ExtensionCardActionBase {
3140
+ id: string;
3141
+ label: string;
3142
+ icon?: Component;
3143
+ hidden?: boolean;
3144
+ disabled?: boolean;
3145
+ danger?: boolean;
3146
+ }
3147
+
3148
+ export declare interface ExtensionCardActionEvent {
3149
+ id: string;
3150
+ type: ExtensionCardAction['type'];
3151
+ checked?: boolean;
3152
+ payload?: unknown;
3153
+ }
3154
+
3155
+ export declare interface ExtensionCardButtonAction extends ExtensionCardActionBase {
3156
+ type: 'button';
3157
+ }
3158
+
3159
+ export declare interface ExtensionCardCustomAction extends ExtensionCardActionBase {
3160
+ type: 'custom';
3161
+ data?: unknown;
3162
+ }
3163
+
3164
+ export declare interface ExtensionCardEmits {
3165
+ (e: 'name-click', event: MouseEvent | KeyboardEvent): void;
3166
+ (e: 'action', payload: ExtensionCardActionEvent): void;
3167
+ }
3168
+
3169
+ declare const ExtensionCardGrid: typeof _default_53 & {
3170
+ install: typeof extensionCardGridInstall;
3171
+ };
3172
+ export { ExtensionCardGrid }
3173
+ export { ExtensionCardGrid as TrExtensionCardGrid }
3174
+
3175
+ export declare interface ExtensionCardGridActionEvent {
3176
+ itemId: string;
3177
+ action: ExtensionCardActionEvent;
3178
+ }
3179
+
3180
+ export declare interface ExtensionCardGridEmits {
3181
+ (e: 'action', payload: ExtensionCardGridActionEvent): void;
3182
+ (e: 'name-click', payload: ExtensionCardGridNameClickEvent): void;
3183
+ }
3184
+
3185
+ declare const extensionCardGridInstall: <T>(app: App<T>) => void;
3186
+
3187
+ export declare type ExtensionCardGridItem = ExtensionCardProps & {
3188
+ id: string;
3189
+ };
3190
+
3191
+ export declare interface ExtensionCardGridNameClickEvent {
3192
+ itemId: string;
3193
+ event: MouseEvent | KeyboardEvent;
3194
+ }
3195
+
3196
+ export declare interface ExtensionCardGridProps extends Pick<ExtensionCardProps, 'primaryActionsLimit' | 'nameClickable' | 'overflowMenuLabel' | 'overflowMenuPlacement' | 'overflowMenuShowIcons'> {
3197
+ items: ExtensionCardGridItem[];
3198
+ emptyText?: string;
3199
+ }
3200
+
3201
+ export declare interface ExtensionCardGridSlots {
3202
+ item?: (props: {
3203
+ item: ExtensionCardGridItem;
3204
+ index: number;
3205
+ }) => VNode[];
3206
+ empty?: () => VNode[];
3207
+ }
3208
+
3209
+ declare const extensionCardInstall: <T>(app: App<T>) => void;
3210
+
3211
+ export declare type ExtensionCardOverflowMenuPlacement = 'bottom-end' | 'top-end';
3212
+
3213
+ export declare interface ExtensionCardProps {
3214
+ name: string;
3215
+ description?: string;
3216
+ icon?: string | Component;
3217
+ actions?: ExtensionCardAction[];
3218
+ primaryActionsLimit?: number;
3219
+ progress?: number | 'indeterminate';
3220
+ nameClickable?: boolean;
3221
+ overflowMenuLabel?: string;
3222
+ overflowMenuPlacement?: ExtensionCardOverflowMenuPlacement;
3223
+ overflowMenuShowIcons?: boolean;
3224
+ }
3225
+
3226
+ export declare type ExtensionCardRenderableAction = DistributiveOmit<ExtensionCardAction, 'hidden'>;
3227
+
3228
+ export declare interface ExtensionCardSlots {
3229
+ 'primary-action'?: (props: {
3230
+ action: Extract<ExtensionCardRenderableAction, {
3231
+ type: 'custom';
3232
+ }>;
3233
+ trigger: (payload?: unknown) => void;
3234
+ }) => VNode[];
3235
+ }
3236
+
3237
+ export declare interface ExtensionCardSwitchAction extends ExtensionCardActionBase {
3238
+ type: 'switch';
3239
+ checked: boolean;
3240
+ }
3241
+
3242
+ export declare interface ExtensionManagerActionEvent {
3243
+ tabId: string;
3244
+ sectionKey: ExtensionManagerSectionKey;
3245
+ itemId: string;
3246
+ action: ExtensionCardActionEvent;
3247
+ }
3248
+
3249
+ export declare interface ExtensionManagerEmits {
3250
+ (e: 'update:active-tab', tabId: string | undefined): void;
3251
+ (e: 'tab-change', event: ExtensionManagerTabChangeEvent): void;
3252
+ (e: 'section-toggle', event: ExtensionManagerSectionToggleEvent): void;
3253
+ (e: 'action', event: ExtensionManagerActionEvent): void;
3254
+ (e: 'name-click', event: ExtensionManagerNameClickEvent): void;
3255
+ }
3256
+
3257
+ export declare type ExtensionManagerItem = ExtensionCardGridItem & {
3258
+ installed?: boolean;
3259
+ tags?: string[];
3260
+ };
3261
+
3262
+ export declare interface ExtensionManagerNameClickEvent {
3263
+ tabId: string;
3264
+ sectionKey: ExtensionManagerSectionKey;
3265
+ itemId: string;
3266
+ event: MouseEvent | KeyboardEvent;
3267
+ }
3268
+
3269
+ export declare interface ExtensionManagerProps {
3270
+ tabs: ExtensionManagerTab[];
3271
+ activeTab?: string;
3272
+ defaultActiveTab?: string;
3273
+ title?: string;
3274
+ emptyText?: string;
3275
+ }
3276
+
3277
+ export declare type ExtensionManagerSectionKey = 'installed' | 'available';
3278
+
3279
+ export declare interface ExtensionManagerSectionToggleEvent {
3280
+ tabId: string;
3281
+ sectionKey: ExtensionManagerSectionKey;
3282
+ expanded: boolean;
3283
+ }
3284
+
3285
+ export declare interface ExtensionManagerSlots {
3286
+ 'header-actions'?: () => VNode[];
3287
+ tab?: (props: {
3288
+ tab: ExtensionManagerTab;
3289
+ active: boolean;
3290
+ select: () => void;
3291
+ }) => VNode[];
3292
+ item?: (props: {
3293
+ tab: ExtensionManagerTab;
3294
+ sectionKey: ExtensionManagerSectionKey;
3295
+ item: ExtensionCardGridItem;
3296
+ index: number;
3297
+ }) => VNode[];
3298
+ empty?: (props: {
3299
+ tab: ExtensionManagerTab;
3300
+ sectionKey: ExtensionManagerSectionKey;
3301
+ title: string;
3302
+ }) => VNode[];
3303
+ }
3304
+
3305
+ export declare interface ExtensionManagerTab {
3306
+ id: string;
3307
+ label: string;
3308
+ items: ExtensionManagerItem[];
3309
+ }
3310
+
3311
+ export declare interface ExtensionManagerTabChangeEvent {
3312
+ tabId: string;
3313
+ }
3314
+
3315
+ export declare interface ExtensionManagerTagOption {
3316
+ value: string;
3317
+ label: string;
3318
+ }
3319
+
2993
3320
  export declare interface FeedbackEvents {
2994
3321
  (e: 'operation', name: string): void;
2995
3322
  (e: 'action', name: string): void;
@@ -3142,6 +3469,8 @@ declare const install_15: <T>(app: App<T>) => void;
3142
3469
 
3143
3470
  declare const install_16: <T>(app: App<T>) => void;
3144
3471
 
3472
+ declare const install_17: <T>(app: App<T>) => void;
3473
+
3145
3474
  declare const install_2: <T>(app: App<T>) => void;
3146
3475
 
3147
3476
  declare const install_3: <T>(app: App<T>) => void;
@@ -3222,7 +3551,7 @@ export declare interface LayoutAsideResizeValue {
3222
3551
  expandedWidth: number;
3223
3552
  }
3224
3553
 
3225
- declare const LayoutAsideToggle: typeof _default_39 & {
3554
+ declare const LayoutAsideToggle: typeof _default_40 & {
3226
3555
  install: typeof layoutAsideToggleInstall;
3227
3556
  };
3228
3557
  export { LayoutAsideToggle }
@@ -3234,7 +3563,7 @@ export declare interface LayoutAsideToggleProps {
3234
3563
  side: LayoutSide;
3235
3564
  }
3236
3565
 
3237
- declare type LayoutCompound = typeof _default_37 & {
3566
+ declare type LayoutCompound = typeof _default_38 & {
3238
3567
  install: typeof layoutInstall;
3239
3568
  ProxyScrollbar: typeof LayoutProxyScrollbar;
3240
3569
  AsideToggle: typeof LayoutAsideToggle;
@@ -3315,7 +3644,7 @@ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
3315
3644
 
3316
3645
  export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
3317
3646
 
3318
- declare const LayoutProxyScrollbar: typeof _default_38 & {
3647
+ declare const LayoutProxyScrollbar: typeof _default_39 & {
3319
3648
  install: typeof layoutProxyScrollbarInstall;
3320
3649
  };
3321
3650
  export { LayoutProxyScrollbar }
@@ -3495,6 +3824,104 @@ declare type MentionStructuredItem = {
3495
3824
  value: string;
3496
3825
  };
3497
3826
 
3827
+ export declare interface ModelSelectorEmits {
3828
+ (event: 'update:modelValue', value: string | null): void;
3829
+ (event: 'change', option: ModelSelectorOption): void;
3830
+ (event: 'update:reasoningEffort', value: string | null): void;
3831
+ (event: 'reasoning-effort-change', option: ModelSelectorReasoningEffortOption | null): void;
3832
+ (event: 'update:open', open: boolean): void;
3833
+ }
3834
+
3835
+ export declare interface ModelSelectorEmptySlotProps {
3836
+ query: string;
3837
+ }
3838
+
3839
+ export declare type ModelSelectorFilterMethod = (query: string, option: ModelSelectorOption) => boolean;
3840
+
3841
+ export declare interface ModelSelectorFooterSlotProps extends ModelSelectorSlotProps {
3842
+ reasoningEfforts: readonly ModelSelectorReasoningEffortOption[];
3843
+ /** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
3844
+ reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
3845
+ setReasoningEffort: (value: string | null) => void;
3846
+ }
3847
+
3848
+ export declare interface ModelSelectorItemSlotProps {
3849
+ option: ModelSelectorOption;
3850
+ selected: boolean;
3851
+ highlighted: boolean;
3852
+ }
3853
+
3854
+ export declare interface ModelSelectorOption {
3855
+ value: string;
3856
+ label: string;
3857
+ description?: string;
3858
+ icon?: Component | string;
3859
+ disabled?: boolean;
3860
+ group?: string;
3861
+ reasoningEfforts?: ModelSelectorReasoningEfforts;
3862
+ }
3863
+
3864
+ export declare type ModelSelectorPanelClass = string | readonly string[] | Record<string, boolean>;
3865
+
3866
+ export declare interface ModelSelectorProps {
3867
+ models?: readonly ModelSelectorOption[];
3868
+ modelValue?: string | null;
3869
+ defaultValue?: string | null;
3870
+ reasoningEffort?: string | null;
3871
+ defaultReasoningEffort?: string | null;
3872
+ open?: boolean;
3873
+ defaultOpen?: boolean;
3874
+ disabled?: boolean;
3875
+ searchable?: boolean;
3876
+ placeholder?: string;
3877
+ searchPlaceholder?: string;
3878
+ emptyText?: string;
3879
+ filterMethod?: ModelSelectorFilterMethod;
3880
+ variant?: ModelSelectorVariant;
3881
+ size?: ModelSelectorSize;
3882
+ placement?: Placement;
3883
+ offset?: number;
3884
+ appendTo?: string | HTMLElement;
3885
+ panelClass?: ModelSelectorPanelClass;
3886
+ reasoningEffortLabel?: string;
3887
+ }
3888
+
3889
+ export declare interface ModelSelectorReasoningEffortOption {
3890
+ readonly value: string;
3891
+ readonly label: string;
3892
+ readonly disabled?: boolean;
3893
+ }
3894
+
3895
+ export declare type ModelSelectorReasoningEfforts = boolean | readonly ModelSelectorReasoningEffortOption[];
3896
+
3897
+ export declare type ModelSelectorSize = 'small' | 'normal' | 'large';
3898
+
3899
+ export declare interface ModelSelectorSlotProps {
3900
+ option: ModelSelectorOption | null;
3901
+ query: string;
3902
+ close: () => void;
3903
+ }
3904
+
3905
+ export declare interface ModelSelectorSlots {
3906
+ trigger?: (props: ModelSelectorTriggerSlotProps) => VNode | VNode[];
3907
+ item?: (props: ModelSelectorItemSlotProps) => VNode | VNode[];
3908
+ empty?: (props: ModelSelectorEmptySlotProps) => VNode | VNode[];
3909
+ header?: (props: ModelSelectorSlotProps) => VNode | VNode[];
3910
+ footer?: (props: ModelSelectorFooterSlotProps) => VNode | VNode[];
3911
+ }
3912
+
3913
+ export declare interface ModelSelectorTriggerSlotProps {
3914
+ option: ModelSelectorOption | null;
3915
+ label: string;
3916
+ open: boolean;
3917
+ /** The effort currently supported by the selected model. Sticky unsupported values resolve to null. */
3918
+ reasoningEffortOption: ModelSelectorReasoningEffortOption | null;
3919
+ }
3920
+
3921
+ export declare type ModelSelectorVariant = 'outline' | 'ghost' | 'muted';
3922
+
3923
+ declare const openFileDialog: (localOptions?: Partial<UseFileDialogOptions>) => void;
3924
+
3498
3925
  export declare type PluginAddState = 'idle' | 'loading' | 'added';
3499
3926
 
3500
3927
  export declare interface PluginCardEmits {
@@ -3560,7 +3987,7 @@ export declare interface PopupConfig {
3560
3987
  };
3561
3988
  }
3562
3989
 
3563
- declare const Prompt: typeof _default_40 & {
3990
+ declare const Prompt: typeof _default_42 & {
3564
3991
  install: typeof installPrompt;
3565
3992
  };
3566
3993
  export { Prompt }
@@ -3597,7 +4024,7 @@ export declare interface PromptProps {
3597
4024
  size?: 'small' | 'medium' | 'large';
3598
4025
  }
3599
4026
 
3600
- declare const Prompts: typeof _default_41 & {
4027
+ declare const Prompts: typeof _default_43 & {
3601
4028
  install: typeof installPrompts;
3602
4029
  };
3603
4030
  export { Prompts }
@@ -3773,21 +4200,7 @@ hasExternalContent: boolean;
3773
4200
  extensions: Extension[] | any[];
3774
4201
  submitType: SubmitTrigger;
3775
4202
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3776
- $slots: {
3777
- header?(_: {}): any;
3778
- header?(_: {}): any;
3779
- prefix?(_: {}): any;
3780
- prefix?(_: {}): any;
3781
- content?(_: {
3782
- editor: Editor | undefined;
3783
- }): any;
3784
- content?(_: {
3785
- editor: Ref<Editor | undefined, Editor | undefined>;
3786
- }): any;
3787
- 'actions-inline'?(_: {}): any;
3788
- footer?(_: {}): any;
3789
- 'footer-right'?(_: {}): any;
3790
- };
4203
+ $slots: Readonly<SenderSlots> & SenderSlots;
3791
4204
  }) & {
3792
4205
  install: <T>(app: App<T>) => void;
3793
4206
  Mention: Node_2<MentionOptions, any>;
@@ -4710,7 +5123,7 @@ export declare interface SuggestionOptions {
4710
5123
  onSelect?: (item: SenderSuggestionItem) => void | false;
4711
5124
  }
4712
5125
 
4713
- declare const SuggestionPillButton: typeof _default_43 & {
5126
+ declare const SuggestionPillButton: typeof _default_45 & {
4714
5127
  install: typeof installPillButton;
4715
5128
  };
4716
5129
  export { SuggestionPillButton }
@@ -5016,6 +5429,10 @@ declare interface TemplateOptions {
5016
5429
  * HTML 属性
5017
5430
  */
5018
5431
  HTMLAttributes?: Record<string, unknown>;
5432
+ /**
5433
+ * 下拉菜单挂载目标
5434
+ */
5435
+ appendTo?: string | HTMLElement;
5019
5436
  }
5020
5437
 
5021
5438
  export declare interface ThemeProviderProps {
@@ -5490,23 +5907,15 @@ export { }
5490
5907
  */
5491
5908
  declare module '@tiptap/core' {
5492
5909
  interface Commands<ReturnType> {
5493
- template: {
5494
- /**
5495
- * 设置模板数据(批量)
5496
- */
5497
- setTemplateData: (items: TemplateItem[]) => ReturnType;
5498
- /**
5499
- * 插入模板块
5500
- */
5501
- insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
5910
+ mention: {
5502
5911
  /**
5503
- * 聚焦到第一个模板块
5912
+ * 插入 mention 节点
5504
5913
  */
5505
- focusFirstTemplate: () => ReturnType;
5914
+ insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
5506
5915
  /**
5507
- * 插入选择器
5916
+ * 删除 mention 节点
5508
5917
  */
5509
- insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
5918
+ deleteMention: (id: string) => ReturnType;
5510
5919
  };
5511
5920
  }
5512
5921
  }
@@ -5519,15 +5928,23 @@ declare module '@tiptap/core' {
5519
5928
  */
5520
5929
  declare module '@tiptap/core' {
5521
5930
  interface Commands<ReturnType> {
5522
- mention: {
5931
+ template: {
5523
5932
  /**
5524
- * 插入 mention 节点
5933
+ * 设置模板数据(批量)
5525
5934
  */
5526
- insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
5935
+ setTemplateData: (items: TemplateItem[]) => ReturnType;
5527
5936
  /**
5528
- * 删除 mention 节点
5937
+ * 插入模板块
5529
5938
  */
5530
- deleteMention: (id: string) => ReturnType;
5939
+ insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
5940
+ /**
5941
+ * 聚焦到第一个模板块
5942
+ */
5943
+ focusFirstTemplate: () => ReturnType;
5944
+ /**
5945
+ * 插入选择器
5946
+ */
5947
+ insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
5531
5948
  };
5532
5949
  }
5533
5950
  }