@opentiny/tiny-robot 0.5.2-alpha.10 → 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;
@@ -339,9 +375,9 @@ stop: () => void;
339
375
  }) | null;
340
376
  }, HTMLDivElement>;
341
377
 
342
- 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>;
343
379
 
344
- declare const __VLS_component_13: DefineComponent<__VLS_PublicProps_3, {
380
+ declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_3, {
345
381
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
346
382
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
347
383
  "update:showAll": (value: boolean | undefined) => any;
@@ -361,7 +397,7 @@ floatingItemsRef: HTMLDivElement;
361
397
  floatingMaybeItemRefs: unknown[];
362
398
  }, HTMLDivElement>;
363
399
 
364
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_4, {
400
+ declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_4, {
365
401
  update: () => void;
366
402
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
367
403
  "update:selectedGroup": (value: string) => any;
@@ -495,7 +531,7 @@ show?: TooltipContentProps["show"];
495
531
  }>, {}, {}, {}, {}, {}> | null;
496
532
  }, any>;
497
533
 
498
- declare const __VLS_component_15: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
534
+ declare const __VLS_component_16: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
499
535
  "update:theme": (value: string) => any;
500
536
  "update:colorMode": (value: ColorMode) => any;
501
537
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
@@ -506,11 +542,11 @@ targetElement: string;
506
542
  storageKey: string;
507
543
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
508
544
 
509
- 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<{}>, {
510
546
  align: "left" | "center" | "right" | string;
511
547
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
512
548
 
513
- declare const __VLS_component_17: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
549
+ declare const __VLS_component_18: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
514
550
  "update:visible": (value: boolean) => any;
515
551
  } & {
516
552
  refresh: (tab: "installed" | "market") => any;
@@ -537,9 +573,9 @@ onRefresh?: ((tab: "installed" | "market") => any) | undefined;
537
573
  }>, {
538
574
  title: string;
539
575
  loading: boolean;
576
+ searchPlaceholder: string;
540
577
  installedPlugins: PluginInfo[];
541
578
  marketPlugins: PluginInfo[];
542
- searchPlaceholder: string;
543
579
  enableSearch: boolean;
544
580
  installedSearchFn: (query: string, item: PluginInfo) => boolean;
545
581
  marketSearchFn: (query: string, item: PluginInfo) => boolean;
@@ -561,13 +597,57 @@ allowPluginAdd: boolean;
561
597
  marketLoading: boolean;
562
598
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
563
599
 
564
- 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<{}>, {
565
645
  disabled: boolean;
566
646
  active: boolean;
567
647
  tooltipPlacement: TooltipPlacement;
568
648
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
569
649
 
570
- declare const __VLS_component_19: DefineComponent<VoiceButtonProps, {
650
+ declare const __VLS_component_22: DefineComponent<VoiceButtonProps, {
571
651
  start: () => void;
572
652
  stop: () => void;
573
653
  speechState: SpeechState;
@@ -588,24 +668,7 @@ tooltipPlacement: TooltipPlacement;
588
668
  autoInsert: boolean;
589
669
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
590
670
 
591
- declare const __VLS_component_2: DefineComponent<BubbleListProps, {
592
- scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
593
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
594
- "state-change": (payload: BubbleStateChangePayload) => any;
595
- "bubble-event": (payload: BubbleEventPayload) => any;
596
- }, string, PublicProps, Readonly<BubbleListProps> & Readonly<{
597
- "onState-change"?: ((payload: BubbleStateChangePayload) => any) | undefined;
598
- "onBubble-event"?: ((payload: BubbleEventPayload) => any) | undefined;
599
- }>, {
600
- contentResolver: (message: BubbleMessage) => ChatMessageContent | undefined;
601
- groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerRole?: string) => BubbleMessageGroup[]);
602
- dividerRole: string;
603
- fallbackRole: string;
604
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
605
- listRef: HTMLDivElement;
606
- }, HTMLDivElement>;
607
-
608
- 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>;
609
672
 
610
673
  declare const __VLS_component_3: DefineComponent<BubbleProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
611
674
 
@@ -1015,13 +1078,23 @@ declare function __VLS_template(): {
1015
1078
  };
1016
1079
 
1017
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(): {
1018
1091
  attrs: Partial<{}>;
1019
1092
  slots: Readonly<PromptsSlots> & PromptsSlots;
1020
1093
  refs: {};
1021
1094
  rootEl: HTMLDivElement;
1022
1095
  };
1023
1096
 
1024
- declare function __VLS_template_11(): {
1097
+ declare function __VLS_template_12(): {
1025
1098
  attrs: Partial<{}>;
1026
1099
  slots: {
1027
1100
  header?(_: {}): any;
@@ -1298,14 +1371,14 @@ declare function __VLS_template_11(): {
1298
1371
  rootEl: HTMLDivElement;
1299
1372
  };
1300
1373
 
1301
- declare function __VLS_template_12(): {
1374
+ declare function __VLS_template_13(): {
1302
1375
  attrs: Partial<{}>;
1303
1376
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
1304
1377
  refs: {};
1305
1378
  rootEl: HTMLButtonElement;
1306
1379
  };
1307
1380
 
1308
- declare function __VLS_template_13(): {
1381
+ declare function __VLS_template_14(): {
1309
1382
  attrs: Partial<{}>;
1310
1383
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
1311
1384
  refs: {
@@ -1318,7 +1391,7 @@ declare function __VLS_template_13(): {
1318
1391
  rootEl: HTMLDivElement;
1319
1392
  };
1320
1393
 
1321
- declare function __VLS_template_14(): {
1394
+ declare function __VLS_template_15(): {
1322
1395
  attrs: Partial<{}>;
1323
1396
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
1324
1397
  refs: {
@@ -1435,7 +1508,7 @@ declare function __VLS_template_14(): {
1435
1508
  rootEl: any;
1436
1509
  };
1437
1510
 
1438
- declare function __VLS_template_15(): {
1511
+ declare function __VLS_template_16(): {
1439
1512
  attrs: Partial<{}>;
1440
1513
  slots: {
1441
1514
  default?(_: {}): any;
@@ -1444,14 +1517,14 @@ declare function __VLS_template_15(): {
1444
1517
  rootEl: any;
1445
1518
  };
1446
1519
 
1447
- declare function __VLS_template_16(): {
1520
+ declare function __VLS_template_17(): {
1448
1521
  attrs: Partial<{}>;
1449
1522
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
1450
1523
  refs: {};
1451
1524
  rootEl: HTMLDivElement;
1452
1525
  };
1453
1526
 
1454
- declare function __VLS_template_17(): {
1527
+ declare function __VLS_template_18(): {
1455
1528
  attrs: Partial<{}>;
1456
1529
  slots: {
1457
1530
  'header-actions'?(_: {}): any;
@@ -1460,7 +1533,30 @@ declare function __VLS_template_17(): {
1460
1533
  rootEl: any;
1461
1534
  };
1462
1535
 
1463
- 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(): {
1464
1560
  attrs: Partial<{}>;
1465
1561
  slots: {
1466
1562
  icon?(_: {}): any;
@@ -1470,7 +1566,7 @@ declare function __VLS_template_18(): {
1470
1566
  rootEl: any;
1471
1567
  };
1472
1568
 
1473
- declare function __VLS_template_19(): {
1569
+ declare function __VLS_template_22(): {
1474
1570
  attrs: Partial<{}>;
1475
1571
  slots: {
1476
1572
  icon?(_: {
@@ -1485,16 +1581,7 @@ declare function __VLS_template_19(): {
1485
1581
  rootEl: any;
1486
1582
  };
1487
1583
 
1488
- declare function __VLS_template_2(): {
1489
- attrs: Partial<{}>;
1490
- slots: Readonly<BubbleListSlots> & BubbleListSlots;
1491
- refs: {
1492
- listRef: HTMLDivElement;
1493
- };
1494
- rootEl: HTMLDivElement;
1495
- };
1496
-
1497
- declare function __VLS_template_20(): {
1584
+ declare function __VLS_template_23(): {
1498
1585
  attrs: Partial<{}>;
1499
1586
  slots: {
1500
1587
  prepend?(_: {}): any;
@@ -1827,6 +1914,12 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1827
1914
 
1828
1915
  declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
1829
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
+
1830
1923
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1831
1924
 
1832
1925
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -1919,6 +2012,24 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1919
2012
  };
1920
2013
  };
1921
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
+
1922
2033
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1923
2034
  new (): {
1924
2035
  $slots: S;
@@ -2119,7 +2230,7 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
2119
2230
 
2120
2231
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
2121
2232
 
2122
- declare const Bubble: typeof _default_26 & {
2233
+ declare const Bubble: typeof _default_27 & {
2123
2234
  install: typeof bubbleInstall;
2124
2235
  };
2125
2236
  export { Bubble }
@@ -2197,7 +2308,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
2197
2308
 
2198
2309
  declare const bubbleInstall: (app: App) => void;
2199
2310
 
2200
- declare const BubbleList: typeof _default_27 & {
2311
+ declare const BubbleList: typeof _default_28 & {
2201
2312
  install: typeof bubbleListInstall;
2202
2313
  };
2203
2314
  export { BubbleList }
@@ -2285,7 +2396,7 @@ export declare type BubbleProps = BubbleMessage & {
2285
2396
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
2286
2397
  };
2287
2398
 
2288
- declare const BubbleProvider: typeof _default_28 & {
2399
+ declare const BubbleProvider: typeof _default_29 & {
2289
2400
  install: typeof bubbleProviderInstall;
2290
2401
  };
2291
2402
  export { BubbleProvider }
@@ -2518,73 +2629,79 @@ declare const _default: {
2518
2629
  };
2519
2630
  export default _default;
2520
2631
 
2521
- declare const _default_10: typeof _default_36 & {
2632
+ declare const _default_10: typeof _default_37 & {
2522
2633
  install: typeof install_9;
2523
2634
  };
2524
2635
  export { _default_10 as IconButton }
2525
2636
  export { _default_10 as TrIconButton }
2526
2637
 
2527
- declare const _default_11: typeof _default_42 & {
2638
+ declare const _default_11: typeof _default_41 & {
2528
2639
  install: typeof install_10;
2529
2640
  };
2530
- export { _default_11 as SenderCompat }
2531
- export { _default_11 as TrSenderCompat }
2641
+ export { _default_11 as ModelSelector }
2642
+ export { _default_11 as TrModelSelector }
2532
2643
 
2533
2644
  declare const _default_12: typeof _default_44 & {
2534
2645
  install: typeof install_11;
2535
2646
  };
2536
- export { _default_12 as SuggestionPills }
2537
- export { _default_12 as TrSuggestionPills }
2647
+ export { _default_12 as SenderCompat }
2648
+ export { _default_12 as TrSenderCompat }
2538
2649
 
2539
- declare const _default_13: typeof _default_45 & {
2650
+ declare const _default_13: typeof _default_46 & {
2540
2651
  install: typeof install_12;
2541
2652
  };
2542
- export { _default_13 as SuggestionPopover }
2543
- export { _default_13 as TrSuggestionPopover }
2653
+ export { _default_13 as SuggestionPills }
2654
+ export { _default_13 as TrSuggestionPills }
2544
2655
 
2545
- declare const _default_14: typeof _default_46 & {
2656
+ declare const _default_14: typeof _default_47 & {
2546
2657
  install: typeof install_13;
2547
2658
  };
2548
- export { _default_14 as ThemeProvider }
2549
- export { _default_14 as TrThemeProvider }
2659
+ export { _default_14 as SuggestionPopover }
2660
+ export { _default_14 as TrSuggestionPopover }
2550
2661
 
2551
- declare const _default_15: typeof _default_47 & {
2662
+ declare const _default_15: typeof _default_48 & {
2552
2663
  install: typeof install_14;
2553
2664
  };
2554
- export { _default_15 as TrWelcome }
2555
- export { _default_15 as Welcome }
2665
+ export { _default_15 as ThemeProvider }
2666
+ export { _default_15 as TrThemeProvider }
2556
2667
 
2557
- declare const _default_16: typeof _default_48 & {
2668
+ declare const _default_16: typeof _default_49 & {
2558
2669
  install: typeof install_15;
2559
2670
  };
2560
- export { _default_16 as McpServerPicker }
2561
- export { _default_16 as TrMcpServerPicker }
2671
+ export { _default_16 as TrWelcome }
2672
+ export { _default_16 as Welcome }
2562
2673
 
2563
- declare const _default_17: typeof _default_49 & {
2674
+ declare const _default_17: typeof _default_50 & {
2564
2675
  install: typeof install_16;
2565
2676
  };
2566
- export { _default_17 as McpAddForm }
2567
- export { _default_17 as TrMcpAddForm }
2677
+ export { _default_17 as McpServerPicker }
2678
+ export { _default_17 as TrMcpServerPicker }
2568
2679
 
2569
- declare const _default_18: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2570
- export { _default_18 as ActionButton }
2571
- 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 }
2572
2685
 
2573
- declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2574
- export { _default_19 as SubmitButton }
2575
- 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 }
2576
2689
 
2577
- declare const _default_2: typeof _default_25 & {
2690
+ declare const _default_2: typeof _default_26 & {
2578
2691
  install: typeof install;
2579
2692
  };
2580
2693
  export { _default_2 as Attachments }
2581
2694
  export { _default_2 as TrAttachments }
2582
2695
 
2583
2696
  declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2584
- export { _default_20 as ClearButton }
2585
- export { _default_20 as TrClearButton }
2697
+ export { _default_20 as SubmitButton }
2698
+ export { _default_20 as TrSubmitButton }
2699
+
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 }
2586
2703
 
2587
- declare const _default_21: DefineComponent<UploadButtonProps, {
2704
+ declare const _default_22: DefineComponent<UploadButtonProps, {
2588
2705
  open: (options?: Parameters<typeof openFileDialog>[0]) => void;
2589
2706
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2590
2707
  error: (error: Error, files?: File[] | undefined) => any;
@@ -2598,22 +2715,22 @@ multiple: boolean;
2598
2715
  tooltipPlacement: TooltipPlacement;
2599
2716
  accept: string;
2600
2717
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2601
- export { _default_21 as TrUploadButton }
2602
- export { _default_21 as UploadButton }
2718
+ export { _default_22 as TrUploadButton }
2719
+ export { _default_22 as UploadButton }
2603
2720
 
2604
- declare const _default_22: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2605
- export { _default_22 as TrVoiceButton }
2606
- 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 }
2607
2724
 
2608
- declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2609
- export { _default_23 as TrWordCounter }
2610
- 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 }
2611
2728
 
2612
- declare const _default_24: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2613
- export { _default_24 as DefaultActionButtons }
2614
- 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 }
2615
2732
 
2616
- declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2733
+ declare const _default_26: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2617
2734
  "update:items": (items: Attachment[]) => any;
2618
2735
  remove: (file: Attachment) => any;
2619
2736
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2639,29 +2756,29 @@ fileMatchers: FileTypeMatcher[];
2639
2756
  variant: DisplayVariant;
2640
2757
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2641
2758
 
2642
- declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2759
+ declare const _default_27: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2643
2760
 
2644
- declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2761
+ declare const _default_28: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2645
2762
 
2646
- declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2763
+ declare const _default_29: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2647
2764
 
2648
- declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2649
-
2650
- declare const _default_3: typeof _default_29 & {
2765
+ declare const _default_3: typeof _default_30 & {
2651
2766
  install: typeof install_2;
2652
2767
  };
2653
2768
  export { _default_3 as Container }
2654
2769
  export { _default_3 as TrContainer }
2655
2770
 
2656
- 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"]>;
2772
+
2773
+ declare const _default_31: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2657
2774
 
2658
- declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2775
+ declare const _default_32: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2659
2776
 
2660
- declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2777
+ declare const _default_33: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2661
2778
 
2662
- declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2779
+ declare const _default_34: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2663
2780
 
2664
- declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2781
+ declare const _default_35: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2665
2782
  action: (name: string) => any;
2666
2783
  operation: (name: string) => any;
2667
2784
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2673,7 +2790,7 @@ actionsLimit: number;
2673
2790
  sourcesLinesLimit: number;
2674
2791
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2675
2792
 
2676
- 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<{
2677
2794
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2678
2795
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2679
2796
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2687,47 +2804,55 @@ declare const _default_35: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2687
2804
  __ctx?: Awaited<typeof __VLS_setup>;
2688
2805
  };
2689
2806
 
2690
- 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<{}>, {
2691
2808
  size: string | number;
2692
2809
  svgSize: string | number;
2693
2810
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2694
2811
 
2695
- 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"]>;
2696
2813
 
2697
- 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, {
2698
2815
  scrollbarRef: HTMLDivElement;
2699
2816
  thumbRef: HTMLDivElement;
2700
2817
  }, any>;
2701
2818
 
2702
- declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2703
-
2704
- declare const _default_4: typeof _default_30 & {
2819
+ declare const _default_4: typeof _default_31 & {
2705
2820
  install: typeof install_3;
2706
2821
  };
2707
2822
  export { _default_4 as Anchor }
2708
2823
  export { _default_4 as TrAnchor }
2709
2824
 
2710
- 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<{}>, {
2711
2830
  size: "small" | "medium" | "large";
2712
2831
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2713
2832
 
2714
- 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"]>;
2715
2834
 
2716
- declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2835
+ declare const _default_44: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2717
2836
 
2718
- declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2837
+ declare const _default_45: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2719
2838
 
2720
- declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2839
+ declare const _default_46: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2721
2840
 
2722
- declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2841
+ declare const _default_47: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2723
2842
 
2724
- declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2843
+ declare const _default_48: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2725
2844
 
2726
- declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2845
+ declare const _default_49: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2727
2846
 
2728
- declare const _default_48: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["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 }
2852
+
2853
+ declare const _default_50: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2729
2854
 
2730
- declare const _default_49: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2855
+ declare const _default_51: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2731
2856
  cancel: () => any;
2732
2857
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2733
2858
  "update:addType": (value: AddType) => any;
@@ -2739,31 +2864,29 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2739
2864
  addType: AddType;
2740
2865
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2741
2866
 
2742
- declare const _default_5: typeof _default_31 & {
2743
- install: typeof install_4;
2744
- };
2745
- export { _default_5 as Conversations }
2746
- export { _default_5 as TrConversations }
2867
+ declare const _default_52: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2868
+
2869
+ declare const _default_53: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2747
2870
 
2748
- declare const _default_6: typeof _default_32 & {
2871
+ declare const _default_6: typeof _default_33 & {
2749
2872
  install: typeof install_5;
2750
2873
  };
2751
2874
  export { _default_6 as DragOverlay }
2752
2875
  export { _default_6 as TrDragOverlay }
2753
2876
 
2754
- declare const _default_7: typeof _default_33 & {
2877
+ declare const _default_7: typeof _default_34 & {
2755
2878
  install: typeof install_6;
2756
2879
  };
2757
2880
  export { _default_7 as DropdownMenu }
2758
2881
  export { _default_7 as TrDropdownMenu }
2759
2882
 
2760
- declare const _default_8: typeof _default_34 & {
2883
+ declare const _default_8: typeof _default_35 & {
2761
2884
  install: typeof install_7;
2762
2885
  };
2763
2886
  export { _default_8 as Feedback }
2764
2887
  export { _default_8 as TrFeedback }
2765
2888
 
2766
- declare const _default_9: typeof _default_35 & {
2889
+ declare const _default_9: typeof _default_36 & {
2767
2890
  install: typeof install_8;
2768
2891
  };
2769
2892
  export { _default_9 as History }
@@ -2825,6 +2948,9 @@ export declare interface DefaultActions {
2825
2948
 
2826
2949
  export declare type DisplayVariant = 'picture' | 'card' | 'auto';
2827
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
+
2828
2954
  declare interface DragAwareElement extends HTMLElement {
2829
2955
  __vDropzoneHandlers__?: Handlers;
2830
2956
  __vDropzoneOptions__?: DragAwareOptions;
@@ -3002,6 +3128,195 @@ export declare interface DropzoneBinding {
3002
3128
  */
3003
3129
  export declare type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
3004
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
+
3005
3320
  export declare interface FeedbackEvents {
3006
3321
  (e: 'operation', name: string): void;
3007
3322
  (e: 'action', name: string): void;
@@ -3154,6 +3469,8 @@ declare const install_15: <T>(app: App<T>) => void;
3154
3469
 
3155
3470
  declare const install_16: <T>(app: App<T>) => void;
3156
3471
 
3472
+ declare const install_17: <T>(app: App<T>) => void;
3473
+
3157
3474
  declare const install_2: <T>(app: App<T>) => void;
3158
3475
 
3159
3476
  declare const install_3: <T>(app: App<T>) => void;
@@ -3234,7 +3551,7 @@ export declare interface LayoutAsideResizeValue {
3234
3551
  expandedWidth: number;
3235
3552
  }
3236
3553
 
3237
- declare const LayoutAsideToggle: typeof _default_39 & {
3554
+ declare const LayoutAsideToggle: typeof _default_40 & {
3238
3555
  install: typeof layoutAsideToggleInstall;
3239
3556
  };
3240
3557
  export { LayoutAsideToggle }
@@ -3246,7 +3563,7 @@ export declare interface LayoutAsideToggleProps {
3246
3563
  side: LayoutSide;
3247
3564
  }
3248
3565
 
3249
- declare type LayoutCompound = typeof _default_37 & {
3566
+ declare type LayoutCompound = typeof _default_38 & {
3250
3567
  install: typeof layoutInstall;
3251
3568
  ProxyScrollbar: typeof LayoutProxyScrollbar;
3252
3569
  AsideToggle: typeof LayoutAsideToggle;
@@ -3327,7 +3644,7 @@ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
3327
3644
 
3328
3645
  export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
3329
3646
 
3330
- declare const LayoutProxyScrollbar: typeof _default_38 & {
3647
+ declare const LayoutProxyScrollbar: typeof _default_39 & {
3331
3648
  install: typeof layoutProxyScrollbarInstall;
3332
3649
  };
3333
3650
  export { LayoutProxyScrollbar }
@@ -3507,6 +3824,102 @@ declare type MentionStructuredItem = {
3507
3824
  value: string;
3508
3825
  };
3509
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
+
3510
3923
  declare const openFileDialog: (localOptions?: Partial<UseFileDialogOptions>) => void;
3511
3924
 
3512
3925
  export declare type PluginAddState = 'idle' | 'loading' | 'added';
@@ -3574,7 +3987,7 @@ export declare interface PopupConfig {
3574
3987
  };
3575
3988
  }
3576
3989
 
3577
- declare const Prompt: typeof _default_40 & {
3990
+ declare const Prompt: typeof _default_42 & {
3578
3991
  install: typeof installPrompt;
3579
3992
  };
3580
3993
  export { Prompt }
@@ -3611,7 +4024,7 @@ export declare interface PromptProps {
3611
4024
  size?: 'small' | 'medium' | 'large';
3612
4025
  }
3613
4026
 
3614
- declare const Prompts: typeof _default_41 & {
4027
+ declare const Prompts: typeof _default_43 & {
3615
4028
  install: typeof installPrompts;
3616
4029
  };
3617
4030
  export { Prompts }
@@ -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 }
@@ -5012,14 +5425,14 @@ declare interface TemplateOptions {
5012
5425
  * ```
5013
5426
  */
5014
5427
  items?: TemplateItem[] | Ref<TemplateItem[]>;
5015
- /**
5016
- * Template Select 下拉菜单的 Teleport 目标
5017
- */
5018
- appendTo?: string | HTMLElement;
5019
5428
  /**
5020
5429
  * HTML 属性
5021
5430
  */
5022
5431
  HTMLAttributes?: Record<string, unknown>;
5432
+ /**
5433
+ * 下拉菜单挂载目标
5434
+ */
5435
+ appendTo?: string | HTMLElement;
5023
5436
  }
5024
5437
 
5025
5438
  export declare interface ThemeProviderProps {