@opentiny/tiny-robot 0.5.2-alpha.16 → 0.5.2-alpha.18

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
@@ -32,6 +32,7 @@ import { ShallowUnwrapRef } from 'vue';
32
32
  import { Slot } from 'vue';
33
33
  import { TransitionProps } from 'vue';
34
34
  import { UseFileDialogOptions } from '@vueuse/core';
35
+ import { UseScrollReturn } from '@vueuse/core';
35
36
  import { VNode } from 'vue';
36
37
  import { VNodeProps } from 'vue';
37
38
  import { WatchOptions } from 'vue';
@@ -88,7 +89,6 @@ open: boolean;
88
89
  placeholder: string;
89
90
  placement: Placement;
90
91
  emptyText: string;
91
- appendTo: string | HTMLElement;
92
92
  offset: number;
93
93
  searchable: boolean;
94
94
  searchPlaceholder: string;
@@ -278,7 +278,21 @@ setContent: (content: string) => void;
278
278
  getContent: () => string;
279
279
  editor: Editor | undefined;
280
280
  } & {} & ComponentCustomProperties & {} & {
281
- $slots: Readonly<SenderSlots> & SenderSlots;
281
+ $slots: {
282
+ header?(_: {}): any;
283
+ header?(_: {}): any;
284
+ prefix?(_: {}): any;
285
+ prefix?(_: {}): any;
286
+ content?(_: {
287
+ editor: Editor | undefined;
288
+ }): any;
289
+ content?(_: {
290
+ editor: Ref<Editor | undefined, Editor | undefined>;
291
+ }): any;
292
+ 'actions-inline'?(_: {}): any;
293
+ footer?(_: {}): any;
294
+ 'footer-right'?(_: {}): any;
295
+ };
282
296
  }) | null;
283
297
  voiceRef: ({
284
298
  $: ComponentInternalInstance;
@@ -627,7 +641,8 @@ groupStrategy: "consecutive" | "divider" | ((messages: BubbleMessage[], dividerR
627
641
  dividerRole: string;
628
642
  fallbackRole: string;
629
643
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
630
- listRef: HTMLDivElement;
644
+ scrollContainerRef: HTMLDivElement;
645
+ contentRef: HTMLDivElement;
631
646
  }, HTMLDivElement>;
632
647
 
633
648
  declare const __VLS_component_20: DefineComponent<ExtensionCardGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -846,7 +861,7 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
846
861
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
847
862
  };
848
863
  $forceUpdate: () => void;
849
- $nextTick: nextTick;
864
+ $nextTick: typeof nextTick;
850
865
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
851
866
  } & Readonly<{
852
867
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
@@ -1101,52 +1116,12 @@ declare function __VLS_template_12(): {
1101
1116
  header?(_: {}): any;
1102
1117
  prefix?(_: {}): any;
1103
1118
  content?(_: {
1104
- editor: unknown;
1105
- }): any;
1106
- actions?(_: {
1107
- editor: Editor_2 | undefined;
1108
- focus: () => void;
1109
- blur: () => void;
1110
- insert: (content: string) => void;
1111
- append: (content: string) => void;
1112
- replace: (content: string) => void;
1113
- disabled: boolean;
1114
- loading: boolean;
1115
- hasContent: boolean;
1116
- }): any;
1117
- 'footer-left'?(_: {
1118
- editor: Editor_2 | undefined;
1119
- focus: () => void;
1120
- blur: () => void;
1121
- insert: (content: string) => void;
1122
- append: (content: string) => void;
1123
- replace: (content: string) => void;
1124
- disabled: boolean;
1125
- loading: boolean;
1126
- hasContent: boolean;
1127
- }): any;
1128
- footer?(_: {
1129
- editor: Editor_2 | undefined;
1130
- focus: () => void;
1131
- blur: () => void;
1132
- insert: (content: string) => void;
1133
- append: (content: string) => void;
1134
- replace: (content: string) => void;
1135
- disabled: boolean;
1136
- loading: boolean;
1137
- hasContent: boolean;
1138
- }): any;
1139
- 'footer-right'?(_: {
1140
- editor: Editor_2 | undefined;
1141
- focus: () => void;
1142
- blur: () => void;
1143
- insert: (content: string) => void;
1144
- append: (content: string) => void;
1145
- replace: (content: string) => void;
1146
- disabled: boolean;
1147
- loading: boolean;
1148
- hasContent: boolean;
1119
+ editor: Ref<Editor | undefined, Editor | undefined>;
1149
1120
  }): any;
1121
+ actions?(_: {}): any;
1122
+ 'footer-left'?(_: {}): any;
1123
+ footer?(_: {}): any;
1124
+ 'footer-right'?(_: {}): any;
1150
1125
  };
1151
1126
  refs: {
1152
1127
  senderRef: ({
@@ -1272,7 +1247,21 @@ declare function __VLS_template_12(): {
1272
1247
  getContent: () => string;
1273
1248
  editor: Editor | undefined;
1274
1249
  } & {} & ComponentCustomProperties & {} & {
1275
- $slots: Readonly<SenderSlots> & SenderSlots;
1250
+ $slots: {
1251
+ header?(_: {}): any;
1252
+ header?(_: {}): any;
1253
+ prefix?(_: {}): any;
1254
+ prefix?(_: {}): any;
1255
+ content?(_: {
1256
+ editor: Editor | undefined;
1257
+ }): any;
1258
+ content?(_: {
1259
+ editor: Ref<Editor | undefined, Editor | undefined>;
1260
+ }): any;
1261
+ 'actions-inline'?(_: {}): any;
1262
+ footer?(_: {}): any;
1263
+ 'footer-right'?(_: {}): any;
1264
+ };
1276
1265
  }) | null;
1277
1266
  voiceRef: ({
1278
1267
  $: ComponentInternalInstance;
@@ -1545,7 +1534,8 @@ declare function __VLS_template_2(): {
1545
1534
  attrs: Partial<{}>;
1546
1535
  slots: Readonly<BubbleListSlots> & BubbleListSlots;
1547
1536
  refs: {
1548
- listRef: HTMLDivElement;
1537
+ scrollContainerRef: HTMLDivElement;
1538
+ contentRef: HTMLDivElement;
1549
1539
  };
1550
1540
  rootEl: HTMLDivElement;
1551
1541
  };
@@ -1756,7 +1746,7 @@ declare function __VLS_template_7(): {
1756
1746
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1757
1747
  };
1758
1748
  $forceUpdate: () => void;
1759
- $nextTick: nextTick;
1749
+ $nextTick: typeof nextTick;
1760
1750
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1761
1751
  } & Readonly<{
1762
1752
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
@@ -2211,6 +2201,17 @@ export declare interface AttachmentListProps {
2211
2201
  fileMatchers?: FileTypeMatcher[];
2212
2202
  }
2213
2203
 
2204
+ declare interface AutoScrollBehaviorOptions {
2205
+ /** 是否在组件挂载时滚动到底部,默认为 true */
2206
+ scrollOnMount?: boolean;
2207
+ /** 滚动事件的节流时间(毫秒),默认为 0 */
2208
+ scrollThrottle?: number;
2209
+ /** 判断接近底部的阈值(像素),默认为 20 */
2210
+ bottomThreshold?: number;
2211
+ /** 是否启用自动滚动,可传入响应式值 */
2212
+ enabled?: MaybeRefOrGetter<boolean>;
2213
+ }
2214
+
2214
2215
  /**
2215
2216
  * 自动高度配置
2216
2217
  */
@@ -2231,7 +2232,7 @@ declare type BaseCardProps = Pick<AttachmentListProps, 'fileIcons' | 'disabled'
2231
2232
 
2232
2233
  export declare type BaseFileType = 'image' | 'pdf' | 'word' | 'excel' | 'ppt' | 'folder' | 'other';
2233
2234
 
2234
- declare const Bubble: typeof _default_27 & {
2235
+ declare const Bubble: typeof _default_26 & {
2235
2236
  install: typeof bubbleInstall;
2236
2237
  };
2237
2238
  export { Bubble }
@@ -2286,6 +2287,17 @@ export declare type BubbleContentRendererProps<T extends ChatMessageContent = Ch
2286
2287
  contentIndex: number;
2287
2288
  };
2288
2289
 
2290
+ export declare interface BubbleErrorInfo {
2291
+ message: string;
2292
+ name?: string;
2293
+ code?: string | number;
2294
+ details?: unknown;
2295
+ }
2296
+
2297
+ export declare interface BubbleErrorRendererProps {
2298
+ message: BubbleMessage;
2299
+ }
2300
+
2289
2301
  export declare type BubbleEvent = {
2290
2302
  name: 'state:update';
2291
2303
  payload: {
@@ -2309,7 +2321,7 @@ declare type BubbleGroupFunction = (messages: BubbleMessage[], dividerRole?: str
2309
2321
 
2310
2322
  declare const bubbleInstall: (app: App) => void;
2311
2323
 
2312
- declare const BubbleList: typeof _default_28 & {
2324
+ declare const BubbleList: typeof _default_27 & {
2313
2325
  install: typeof bubbleListInstall;
2314
2326
  };
2315
2327
  export { BubbleList }
@@ -2347,9 +2359,9 @@ export declare interface BubbleListProps {
2347
2359
  contentRenderMode?: BubbleProps['contentRenderMode'];
2348
2360
  contentResolver?: BubbleProps['contentResolver'];
2349
2361
  /**
2350
- * 是否自动滚动到底部。需要满足以下条件:
2351
- * - BubbleList 是可滚动容器(需要 scrollHeight > clientHeight)
2352
- * - 滚动容器接近底部
2362
+ * 是否跟随渲染内容的尺寸变化自动滚动到底部。
2363
+ * 图片、Markdown 和自定义渲染器等异步增高时会继续跟随;用户向上滚动时暂停,回到底部后恢复。
2364
+ * 支持运行时响应式切换,不影响 scrollToBottom() 的手动调用。
2353
2365
  *
2354
2366
  * @default false
2355
2367
  */
@@ -2397,7 +2409,7 @@ export declare type BubbleProps = BubbleMessage & {
2397
2409
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
2398
2410
  };
2399
2411
 
2400
- declare const BubbleProvider: typeof _default_29 & {
2412
+ declare const BubbleProvider: typeof _default_28 & {
2401
2413
  install: typeof bubbleProviderInstall;
2402
2414
  };
2403
2415
  export { BubbleProvider }
@@ -2412,6 +2424,7 @@ export declare interface BubbleProviderProps {
2412
2424
  contentAttributes?: BubbleContentAttributesConfig;
2413
2425
  fallbackBoxRenderer?: Component<BubbleBoxRendererProps>;
2414
2426
  fallbackContentRenderer?: Component<BubbleContentRendererProps>;
2427
+ errorRenderer?: Component<BubbleErrorRendererProps>;
2415
2428
  store?: Record<string, unknown>;
2416
2429
  }
2417
2430
 
@@ -2450,6 +2463,7 @@ export declare const BubbleRenderers: {
2450
2463
  default?(_: {}): any;
2451
2464
  };
2452
2465
  });
2466
+ Error: DefineComponent<BubbleErrorRendererProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleErrorRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2453
2467
  Image: DefineComponent< {
2454
2468
  message: BubbleMessage<ChatMessageContentItem[], Record<string, unknown>>;
2455
2469
  contentIndex: number;
@@ -2494,17 +2508,11 @@ export declare const BubbleRenderers: {
2494
2508
  contentIndex: number;
2495
2509
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2496
2510
  Tool: DefineComponent<BubbleContentRendererProps<ChatMessageContent, {
2497
- toolCall?: Record<string, {
2498
- status?: ToolCallStatus;
2499
- open?: boolean;
2500
- }>;
2511
+ toolCall?: Record<string, ToolCallState>;
2501
2512
  }> & {
2502
2513
  toolCallIndex: number;
2503
2514
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleContentRendererProps<ChatMessageContent, {
2504
- toolCall?: Record<string, {
2505
- status?: ToolCallStatus;
2506
- open?: boolean;
2507
- }>;
2515
+ toolCall?: Record<string, ToolCallState>;
2508
2516
  }> & {
2509
2517
  toolCallIndex: number;
2510
2518
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -2596,6 +2604,15 @@ declare interface CompatTextItem {
2596
2604
  content: string;
2597
2605
  }
2598
2606
 
2607
+ /**
2608
+ * @deprecated Container is kept for compatibility. Use `Layout` (`TrLayout`) for new layouts.
2609
+ */
2610
+ declare const Container: typeof _default_29 & {
2611
+ install: typeof install_2;
2612
+ };
2613
+ export { Container }
2614
+ export { Container as TrContainer }
2615
+
2599
2616
  export declare interface ContainerEmits {
2600
2617
  (e: 'close'): void;
2601
2618
  }
@@ -2630,80 +2647,78 @@ declare const _default: {
2630
2647
  };
2631
2648
  export default _default;
2632
2649
 
2633
- declare const _default_10: typeof _default_37 & {
2634
- install: typeof install_9;
2635
- };
2636
- export { _default_10 as IconButton }
2637
- export { _default_10 as TrIconButton }
2638
-
2639
- declare const _default_11: typeof _default_41 & {
2650
+ declare const _default_10: typeof _default_40 & {
2640
2651
  install: typeof install_10;
2641
2652
  };
2642
- export { _default_11 as ModelSelector }
2643
- export { _default_11 as TrModelSelector }
2653
+ export { _default_10 as ModelSelector }
2654
+ export { _default_10 as TrModelSelector }
2644
2655
 
2645
- declare const _default_12: typeof _default_44 & {
2656
+ declare const _default_11: typeof _default_43 & {
2646
2657
  install: typeof install_11;
2647
2658
  };
2648
- export { _default_12 as SenderCompat }
2649
- export { _default_12 as TrSenderCompat }
2659
+ export { _default_11 as SenderCompat }
2660
+ export { _default_11 as TrSenderCompat }
2650
2661
 
2651
- declare const _default_13: typeof _default_46 & {
2662
+ declare const _default_12: typeof _default_45 & {
2652
2663
  install: typeof install_12;
2653
2664
  };
2654
- export { _default_13 as SuggestionPills }
2655
- export { _default_13 as TrSuggestionPills }
2665
+ export { _default_12 as SuggestionPills }
2666
+ export { _default_12 as TrSuggestionPills }
2656
2667
 
2657
- declare const _default_14: typeof _default_47 & {
2668
+ declare const _default_13: typeof _default_46 & {
2658
2669
  install: typeof install_13;
2659
2670
  };
2660
- export { _default_14 as SuggestionPopover }
2661
- export { _default_14 as TrSuggestionPopover }
2671
+ export { _default_13 as SuggestionPopover }
2672
+ export { _default_13 as TrSuggestionPopover }
2662
2673
 
2663
- declare const _default_15: typeof _default_48 & {
2674
+ declare const _default_14: typeof _default_47 & {
2664
2675
  install: typeof install_14;
2665
2676
  };
2666
- export { _default_15 as ThemeProvider }
2667
- export { _default_15 as TrThemeProvider }
2677
+ export { _default_14 as ThemeProvider }
2678
+ export { _default_14 as TrThemeProvider }
2668
2679
 
2669
- declare const _default_16: typeof _default_49 & {
2680
+ declare const _default_15: typeof _default_48 & {
2670
2681
  install: typeof install_15;
2671
2682
  };
2672
- export { _default_16 as TrWelcome }
2673
- export { _default_16 as Welcome }
2683
+ export { _default_15 as TrWelcome }
2684
+ export { _default_15 as Welcome }
2674
2685
 
2675
- declare const _default_17: typeof _default_50 & {
2686
+ /**
2687
+ * @deprecated Use ExtensionManager and its Card/CardGrid namespace components instead.
2688
+ * This entry point remains available for compatibility and will be removed in a future major release.
2689
+ */
2690
+ declare const _default_16: typeof _default_49 & {
2676
2691
  install: typeof install_16;
2677
2692
  };
2678
- export { _default_17 as McpServerPicker }
2679
- export { _default_17 as TrMcpServerPicker }
2693
+ export { _default_16 as McpServerPicker }
2694
+ export { _default_16 as TrMcpServerPicker }
2680
2695
 
2681
- declare const _default_18: typeof _default_51 & {
2696
+ declare const _default_17: typeof _default_50 & {
2682
2697
  install: typeof install_17;
2683
2698
  };
2684
- export { _default_18 as McpAddForm }
2685
- export { _default_18 as TrMcpAddForm }
2699
+ export { _default_17 as McpAddForm }
2700
+ export { _default_17 as TrMcpAddForm }
2701
+
2702
+ declare const _default_18: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2703
+ export { _default_18 as ActionButton }
2704
+ export { _default_18 as TrActionButton }
2686
2705
 
2687
- declare const _default_19: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2688
- export { _default_19 as ActionButton }
2689
- export { _default_19 as TrActionButton }
2706
+ declare const _default_19: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2707
+ export { _default_19 as SubmitButton }
2708
+ export { _default_19 as TrSubmitButton }
2690
2709
 
2691
- declare const _default_2: typeof _default_26 & {
2710
+ declare const _default_2: typeof _default_25 & {
2692
2711
  install: typeof install;
2693
2712
  };
2694
2713
  export { _default_2 as Attachments }
2695
2714
  export { _default_2 as TrAttachments }
2696
2715
 
2697
2716
  declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2698
- export { _default_20 as SubmitButton }
2699
- export { _default_20 as TrSubmitButton }
2700
-
2701
- declare const _default_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2702
- export { _default_21 as ClearButton }
2703
- export { _default_21 as TrClearButton }
2717
+ export { _default_20 as ClearButton }
2718
+ export { _default_20 as TrClearButton }
2704
2719
 
2705
- declare const _default_22: DefineComponent<UploadButtonProps, {
2706
- open: (options?: Parameters<typeof openFileDialog>[0]) => void;
2720
+ declare const _default_21: DefineComponent<UploadButtonProps, {
2721
+ open: (localOptions?: Partial<UseFileDialogOptions>) => void;
2707
2722
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2708
2723
  error: (error: Error, files?: File[] | undefined) => any;
2709
2724
  select: (files: File[]) => any;
@@ -2716,22 +2731,22 @@ multiple: boolean;
2716
2731
  tooltipPlacement: TooltipPlacement;
2717
2732
  accept: string;
2718
2733
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2719
- export { _default_22 as TrUploadButton }
2720
- export { _default_22 as UploadButton }
2734
+ export { _default_21 as TrUploadButton }
2735
+ export { _default_21 as UploadButton }
2721
2736
 
2722
- declare const _default_23: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2723
- export { _default_23 as TrVoiceButton }
2724
- export { _default_23 as VoiceButton }
2737
+ declare const _default_22: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2738
+ export { _default_22 as TrVoiceButton }
2739
+ export { _default_22 as VoiceButton }
2725
2740
 
2726
- declare const _default_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2727
- export { _default_24 as TrWordCounter }
2728
- export { _default_24 as WordCounter }
2741
+ declare const _default_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2742
+ export { _default_23 as TrWordCounter }
2743
+ export { _default_23 as WordCounter }
2729
2744
 
2730
- declare const _default_25: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2731
- export { _default_25 as DefaultActionButtons }
2732
- export { _default_25 as TrDefaultActionButtons }
2745
+ declare const _default_24: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2746
+ export { _default_24 as DefaultActionButtons }
2747
+ export { _default_24 as TrDefaultActionButtons }
2733
2748
 
2734
- declare const _default_26: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2749
+ declare const _default_25: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2735
2750
  "update:items": (items: Attachment[]) => any;
2736
2751
  remove: (file: Attachment) => any;
2737
2752
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2757,29 +2772,29 @@ fileMatchers: FileTypeMatcher[];
2757
2772
  variant: DisplayVariant;
2758
2773
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2759
2774
 
2760
- declare const _default_27: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2775
+ declare const _default_26: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2761
2776
 
2762
- declare const _default_28: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2777
+ declare const _default_27: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2763
2778
 
2764
- declare const _default_29: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2779
+ declare const _default_28: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2780
+
2781
+ declare const _default_29: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2765
2782
 
2766
2783
  declare const _default_3: typeof _default_30 & {
2767
- install: typeof install_2;
2784
+ install: typeof install_3;
2768
2785
  };
2769
- export { _default_3 as Container }
2770
- export { _default_3 as TrContainer }
2771
-
2772
- declare const _default_30: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2786
+ export { _default_3 as Anchor }
2787
+ export { _default_3 as TrAnchor }
2773
2788
 
2774
- declare const _default_31: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2789
+ declare const _default_30: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2775
2790
 
2776
- declare const _default_32: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2791
+ declare const _default_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2777
2792
 
2778
- declare const _default_33: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2793
+ declare const _default_32: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2779
2794
 
2780
- declare const _default_34: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2795
+ declare const _default_33: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2781
2796
 
2782
- declare const _default_35: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2797
+ declare const _default_34: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2783
2798
  action: (name: string) => any;
2784
2799
  operation: (name: string) => any;
2785
2800
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2791,7 +2806,7 @@ actionsLimit: number;
2791
2806
  sourcesLinesLimit: number;
2792
2807
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2793
2808
 
2794
- 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<{
2809
+ 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<{
2795
2810
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2796
2811
  readonly "onItem-click"?: ((item: T) => any) | undefined;
2797
2812
  readonly "onItem-title-change"?: ((newTitle: string, item: T) => any) | undefined;
@@ -2805,55 +2820,55 @@ declare const _default_36: <T extends HistoryItem>(__VLS_props: NonNullable<Awai
2805
2820
  __ctx?: Awaited<typeof __VLS_setup>;
2806
2821
  };
2807
2822
 
2808
- declare const _default_37: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2823
+ declare const _default_36: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2809
2824
  size: string | number;
2810
2825
  svgSize: string | number;
2811
2826
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2812
2827
 
2813
- declare const _default_38: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2828
+ declare const _default_37: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2814
2829
 
2815
- declare const _default_39: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2830
+ declare const _default_38: DefineComponent<LayoutProxyScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProxyScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2816
2831
  scrollbarRef: HTMLDivElement;
2817
2832
  thumbRef: HTMLDivElement;
2818
2833
  }, any>;
2819
2834
 
2835
+ declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2836
+
2820
2837
  declare const _default_4: typeof _default_31 & {
2821
- install: typeof install_3;
2838
+ install: typeof install_4;
2822
2839
  };
2823
- export { _default_4 as Anchor }
2824
- export { _default_4 as TrAnchor }
2840
+ export { _default_4 as Conversations }
2841
+ export { _default_4 as TrConversations }
2825
2842
 
2826
- declare const _default_40: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2843
+ declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2827
2844
 
2828
- declare const _default_41: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2829
-
2830
- declare const _default_42: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2845
+ declare const _default_41: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2831
2846
  size: "small" | "medium" | "large";
2832
2847
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2833
2848
 
2834
- declare const _default_43: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2849
+ declare const _default_42: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2850
+
2851
+ declare const _default_43: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2835
2852
 
2836
- declare const _default_44: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2853
+ declare const _default_44: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2837
2854
 
2838
- declare const _default_45: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2855
+ declare const _default_45: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2839
2856
 
2840
- declare const _default_46: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2857
+ declare const _default_46: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2841
2858
 
2842
- declare const _default_47: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2859
+ declare const _default_47: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2843
2860
 
2844
- declare const _default_48: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2861
+ declare const _default_48: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2845
2862
 
2846
- declare const _default_49: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2863
+ declare const _default_49: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2847
2864
 
2848
2865
  declare const _default_5: typeof _default_32 & {
2849
- install: typeof install_4;
2866
+ install: typeof install_5;
2850
2867
  };
2851
- export { _default_5 as Conversations }
2852
- export { _default_5 as TrConversations }
2853
-
2854
- declare const _default_50: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2868
+ export { _default_5 as DragOverlay }
2869
+ export { _default_5 as TrDragOverlay }
2855
2870
 
2856
- declare const _default_51: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2871
+ declare const _default_50: DefineComponent<McpAddFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2857
2872
  cancel: () => any;
2858
2873
  confirm: (type: AddType, data: string | McpAddFormData) => any;
2859
2874
  "update:addType": (value: AddType) => any;
@@ -2865,33 +2880,33 @@ onConfirm?: ((type: AddType, data: string | McpAddFormData) => any) | undefined;
2865
2880
  addType: AddType;
2866
2881
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2867
2882
 
2868
- declare const _default_52: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2883
+ declare const _default_51: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2869
2884
 
2870
- declare const _default_53: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2885
+ declare const _default_52: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2871
2886
 
2872
2887
  declare const _default_6: typeof _default_33 & {
2873
- install: typeof install_5;
2888
+ install: typeof install_6;
2874
2889
  };
2875
- export { _default_6 as DragOverlay }
2876
- export { _default_6 as TrDragOverlay }
2890
+ export { _default_6 as DropdownMenu }
2891
+ export { _default_6 as TrDropdownMenu }
2877
2892
 
2878
2893
  declare const _default_7: typeof _default_34 & {
2879
- install: typeof install_6;
2894
+ install: typeof install_7;
2880
2895
  };
2881
- export { _default_7 as DropdownMenu }
2882
- export { _default_7 as TrDropdownMenu }
2896
+ export { _default_7 as Feedback }
2897
+ export { _default_7 as TrFeedback }
2883
2898
 
2884
2899
  declare const _default_8: typeof _default_35 & {
2885
- install: typeof install_7;
2900
+ install: typeof install_8;
2886
2901
  };
2887
- export { _default_8 as Feedback }
2888
- export { _default_8 as TrFeedback }
2902
+ export { _default_8 as History }
2903
+ export { _default_8 as TrHistory }
2889
2904
 
2890
2905
  declare const _default_9: typeof _default_36 & {
2891
- install: typeof install_8;
2906
+ install: typeof install_9;
2892
2907
  };
2893
- export { _default_9 as History }
2894
- export { _default_9 as TrHistory }
2908
+ export { _default_9 as IconButton }
2909
+ export { _default_9 as TrIconButton }
2895
2910
 
2896
2911
  /**
2897
2912
  * 默认操作按钮配置
@@ -3129,7 +3144,7 @@ export declare interface DropzoneBinding {
3129
3144
  */
3130
3145
  export declare type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
3131
3146
 
3132
- declare const ExtensionCard: typeof _default_52 & {
3147
+ declare const ExtensionCard: typeof _default_51 & {
3133
3148
  install: typeof extensionCardInstall;
3134
3149
  };
3135
3150
  export { ExtensionCard }
@@ -3167,7 +3182,7 @@ export declare interface ExtensionCardEmits {
3167
3182
  (e: 'action', payload: ExtensionCardActionEvent): void;
3168
3183
  }
3169
3184
 
3170
- declare const ExtensionCardGrid: typeof _default_53 & {
3185
+ declare const ExtensionCardGrid: typeof _default_52 & {
3171
3186
  install: typeof extensionCardGridInstall;
3172
3187
  };
3173
3188
  export { ExtensionCardGrid }
@@ -3240,6 +3255,159 @@ export declare interface ExtensionCardSwitchAction extends ExtensionCardActionBa
3240
3255
  checked: boolean;
3241
3256
  }
3242
3257
 
3258
+ declare const ExtensionManager: {
3259
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionManagerProps> & Readonly<{
3260
+ onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
3261
+ "onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
3262
+ "onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
3263
+ "onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
3264
+ "onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
3265
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3266
+ action: (event: ExtensionManagerActionEvent) => any;
3267
+ "tab-change": (event: ExtensionManagerTabChangeEvent) => any;
3268
+ "name-click": (event: ExtensionManagerNameClickEvent) => any;
3269
+ "update:active-tab": (tabId: string | undefined) => any;
3270
+ "section-toggle": (event: ExtensionManagerSectionToggleEvent) => any;
3271
+ }, PublicProps, {
3272
+ emptyText: string;
3273
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
3274
+ P: {};
3275
+ B: {};
3276
+ D: {};
3277
+ C: {};
3278
+ M: {};
3279
+ Defaults: {};
3280
+ }, Readonly<ExtensionManagerProps> & Readonly<{
3281
+ onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
3282
+ "onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
3283
+ "onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
3284
+ "onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
3285
+ "onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
3286
+ }>, {}, {}, {}, {}, {
3287
+ emptyText: string;
3288
+ }>;
3289
+ __isFragment?: never;
3290
+ __isTeleport?: never;
3291
+ __isSuspense?: never;
3292
+ } & ComponentOptionsBase<Readonly<ExtensionManagerProps> & Readonly<{
3293
+ onAction?: ((event: ExtensionManagerActionEvent) => any) | undefined;
3294
+ "onTab-change"?: ((event: ExtensionManagerTabChangeEvent) => any) | undefined;
3295
+ "onName-click"?: ((event: ExtensionManagerNameClickEvent) => any) | undefined;
3296
+ "onUpdate:active-tab"?: ((tabId: string | undefined) => any) | undefined;
3297
+ "onSection-toggle"?: ((event: ExtensionManagerSectionToggleEvent) => any) | undefined;
3298
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3299
+ action: (event: ExtensionManagerActionEvent) => any;
3300
+ "tab-change": (event: ExtensionManagerTabChangeEvent) => any;
3301
+ "name-click": (event: ExtensionManagerNameClickEvent) => any;
3302
+ "update:active-tab": (tabId: string | undefined) => any;
3303
+ "section-toggle": (event: ExtensionManagerSectionToggleEvent) => any;
3304
+ }, string, {
3305
+ emptyText: string;
3306
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3307
+ $slots: Readonly<ExtensionManagerSlots> & ExtensionManagerSlots;
3308
+ }) & {
3309
+ install: <T>(app: App<T>) => void;
3310
+ Card: {
3311
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionCardProps> & Readonly<{
3312
+ onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
3313
+ "onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
3314
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3315
+ action: (payload: ExtensionCardActionEvent) => any;
3316
+ "name-click": (event: MouseEvent | KeyboardEvent) => any;
3317
+ }, PublicProps, {
3318
+ actions: ExtensionCardAction[];
3319
+ primaryActionsLimit: number;
3320
+ nameClickable: boolean;
3321
+ overflowMenuLabel: string;
3322
+ overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
3323
+ overflowMenuShowIcons: boolean;
3324
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
3325
+ P: {};
3326
+ B: {};
3327
+ D: {};
3328
+ C: {};
3329
+ M: {};
3330
+ Defaults: {};
3331
+ }, Readonly<ExtensionCardProps> & Readonly<{
3332
+ onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
3333
+ "onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
3334
+ }>, {}, {}, {}, {}, {
3335
+ actions: ExtensionCardAction[];
3336
+ primaryActionsLimit: number;
3337
+ nameClickable: boolean;
3338
+ overflowMenuLabel: string;
3339
+ overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
3340
+ overflowMenuShowIcons: boolean;
3341
+ }>;
3342
+ __isFragment?: never;
3343
+ __isTeleport?: never;
3344
+ __isSuspense?: never;
3345
+ } & ComponentOptionsBase<Readonly<ExtensionCardProps> & Readonly<{
3346
+ onAction?: ((payload: ExtensionCardActionEvent) => any) | undefined;
3347
+ "onName-click"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
3348
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3349
+ action: (payload: ExtensionCardActionEvent) => any;
3350
+ "name-click": (event: MouseEvent | KeyboardEvent) => any;
3351
+ }, string, {
3352
+ actions: ExtensionCardAction[];
3353
+ primaryActionsLimit: number;
3354
+ nameClickable: boolean;
3355
+ overflowMenuLabel: string;
3356
+ overflowMenuPlacement: ExtensionCardOverflowMenuPlacement;
3357
+ overflowMenuShowIcons: boolean;
3358
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3359
+ $slots: Readonly<ExtensionCardSlots> & ExtensionCardSlots;
3360
+ }) & {
3361
+ install: typeof extensionCardInstall;
3362
+ };
3363
+ CardGrid: {
3364
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtensionCardGridProps> & Readonly<{
3365
+ onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
3366
+ "onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
3367
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3368
+ action: (payload: ExtensionCardGridActionEvent) => any;
3369
+ "name-click": (payload: ExtensionCardGridNameClickEvent) => any;
3370
+ }, PublicProps, {
3371
+ emptyText: string;
3372
+ nameClickable: boolean;
3373
+ overflowMenuShowIcons: boolean;
3374
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLUListElement, ComponentProvideOptions, {
3375
+ P: {};
3376
+ B: {};
3377
+ D: {};
3378
+ C: {};
3379
+ M: {};
3380
+ Defaults: {};
3381
+ }, Readonly<ExtensionCardGridProps> & Readonly<{
3382
+ onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
3383
+ "onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
3384
+ }>, {}, {}, {}, {}, {
3385
+ emptyText: string;
3386
+ nameClickable: boolean;
3387
+ overflowMenuShowIcons: boolean;
3388
+ }>;
3389
+ __isFragment?: never;
3390
+ __isTeleport?: never;
3391
+ __isSuspense?: never;
3392
+ } & ComponentOptionsBase<Readonly<ExtensionCardGridProps> & Readonly<{
3393
+ onAction?: ((payload: ExtensionCardGridActionEvent) => any) | undefined;
3394
+ "onName-click"?: ((payload: ExtensionCardGridNameClickEvent) => any) | undefined;
3395
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3396
+ action: (payload: ExtensionCardGridActionEvent) => any;
3397
+ "name-click": (payload: ExtensionCardGridNameClickEvent) => any;
3398
+ }, string, {
3399
+ emptyText: string;
3400
+ nameClickable: boolean;
3401
+ overflowMenuShowIcons: boolean;
3402
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3403
+ $slots: Readonly<ExtensionCardGridSlots> & ExtensionCardGridSlots;
3404
+ }) & {
3405
+ install: typeof extensionCardGridInstall;
3406
+ };
3407
+ };
3408
+ export { ExtensionManager }
3409
+ export { ExtensionManager as TrExtensionManager }
3410
+
3243
3411
  export declare interface ExtensionManagerActionEvent {
3244
3412
  tabId: string;
3245
3413
  sectionKey: ExtensionManagerSectionKey;
@@ -3552,7 +3720,7 @@ export declare interface LayoutAsideResizeValue {
3552
3720
  expandedWidth: number;
3553
3721
  }
3554
3722
 
3555
- declare const LayoutAsideToggle: typeof _default_40 & {
3723
+ declare const LayoutAsideToggle: typeof _default_39 & {
3556
3724
  install: typeof layoutAsideToggleInstall;
3557
3725
  };
3558
3726
  export { LayoutAsideToggle }
@@ -3564,7 +3732,7 @@ export declare interface LayoutAsideToggleProps {
3564
3732
  side: LayoutSide;
3565
3733
  }
3566
3734
 
3567
- declare type LayoutCompound = typeof _default_38 & {
3735
+ declare type LayoutCompound = typeof _default_37 & {
3568
3736
  install: typeof layoutInstall;
3569
3737
  ProxyScrollbar: typeof LayoutProxyScrollbar;
3570
3738
  AsideToggle: typeof LayoutAsideToggle;
@@ -3645,7 +3813,7 @@ export declare interface LayoutNormalProps extends LayoutAsidePanelsProps {
3645
3813
 
3646
3814
  export declare type LayoutProps = LayoutNormalProps | LayoutFloatingProps;
3647
3815
 
3648
- declare const LayoutProxyScrollbar: typeof _default_39 & {
3816
+ declare const LayoutProxyScrollbar: typeof _default_38 & {
3649
3817
  install: typeof layoutProxyScrollbarInstall;
3650
3818
  };
3651
3819
  export { LayoutProxyScrollbar }
@@ -3677,6 +3845,11 @@ declare interface LayoutSurfaceProps {
3677
3845
  floatingOptions?: LayoutFloatingOptions;
3678
3846
  }
3679
3847
 
3848
+ /** @deprecated 仅用于旧位置参数结构,请改用 `UseAutoScrollOptions` */
3849
+ export declare interface LegacyUseAutoScrollOptions extends AutoScrollBehaviorOptions {
3850
+ contentTarget?: MaybeComputedElementRef;
3851
+ }
3852
+
3680
3853
  export declare interface MarketCategoryOption {
3681
3854
  value: string;
3682
3855
  label: string;
@@ -3922,8 +4095,6 @@ export declare interface ModelSelectorTriggerSlotProps {
3922
4095
 
3923
4096
  export declare type ModelSelectorVariant = 'outline' | 'ghost' | 'muted';
3924
4097
 
3925
- declare const openFileDialog: (localOptions?: Partial<UseFileDialogOptions>) => void;
3926
-
3927
4098
  export declare type PluginAddState = 'idle' | 'loading' | 'added';
3928
4099
 
3929
4100
  export declare interface PluginCardEmits {
@@ -3989,7 +4160,7 @@ export declare interface PopupConfig {
3989
4160
  };
3990
4161
  }
3991
4162
 
3992
- declare const Prompt: typeof _default_42 & {
4163
+ declare const Prompt: typeof _default_41 & {
3993
4164
  install: typeof installPrompt;
3994
4165
  };
3995
4166
  export { Prompt }
@@ -4026,7 +4197,7 @@ export declare interface PromptProps {
4026
4197
  size?: 'small' | 'medium' | 'large';
4027
4198
  }
4028
4199
 
4029
- declare const Prompts: typeof _default_43 & {
4200
+ declare const Prompts: typeof _default_42 & {
4030
4201
  install: typeof installPrompts;
4031
4202
  };
4032
4203
  export { Prompts }
@@ -4202,7 +4373,21 @@ hasExternalContent: boolean;
4202
4373
  extensions: Extension[] | any[];
4203
4374
  submitType: SubmitTrigger;
4204
4375
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
4205
- $slots: Readonly<SenderSlots> & SenderSlots;
4376
+ $slots: {
4377
+ header?(_: {}): any;
4378
+ header?(_: {}): any;
4379
+ prefix?(_: {}): any;
4380
+ prefix?(_: {}): any;
4381
+ content?(_: {
4382
+ editor: Editor | undefined;
4383
+ }): any;
4384
+ content?(_: {
4385
+ editor: Ref<Editor | undefined, Editor | undefined>;
4386
+ }): any;
4387
+ 'actions-inline'?(_: {}): any;
4388
+ footer?(_: {}): any;
4389
+ 'footer-right'?(_: {}): any;
4390
+ };
4206
4391
  }) & {
4207
4392
  install: <T>(app: App<T>) => void;
4208
4393
  Mention: Node_2<MentionOptions, any>;
@@ -5125,7 +5310,7 @@ export declare interface SuggestionOptions {
5125
5310
  onSelect?: (item: SenderSuggestionItem) => void | false;
5126
5311
  }
5127
5312
 
5128
- declare const SuggestionPillButton: typeof _default_45 & {
5313
+ declare const SuggestionPillButton: typeof _default_44 & {
5129
5314
  install: typeof installPillButton;
5130
5315
  };
5131
5316
  export { SuggestionPillButton }
@@ -5471,9 +5656,16 @@ export declare interface ToolCall {
5471
5656
  [x: string]: any;
5472
5657
  }
5473
5658
 
5659
+ declare interface ToolCallState {
5660
+ status?: ToolCallStatus;
5661
+ open?: boolean;
5662
+ description?: string;
5663
+ [key: string]: unknown;
5664
+ }
5665
+
5474
5666
  declare type ToolCallStatus = (typeof toolCallStatus)[number];
5475
5667
 
5476
- declare const toolCallStatus: readonly ["running", "success", "failed", "cancelled"];
5668
+ declare const toolCallStatus: readonly ["running", "success", "failed", "cancelled", "awaiting-approval", "denied"];
5477
5669
 
5478
5670
  /**
5479
5671
  * Tooltip 内容类型
@@ -5565,27 +5757,28 @@ export declare interface UrlAttachment extends BaseAttachment {
5565
5757
  }
5566
5758
 
5567
5759
  /**
5568
- * 当目标滚动容器 `target` 接近底部时,且源数据 `source` 变化,自动滚动到底部
5569
- * @param target 目标滚动容器的元素引用
5570
- * @param source 监听的源数据,当该数据变化时会触发自动滚动
5571
- * @param options 配置选项
5572
- * @param options.scrollOnMount 是否在组件挂载时滚动到底部,默认为 true
5573
- * @param options.bottomThreshold 判断接近底部的阈值(像素),默认为 20
5574
- * @returns scrollToBottom 手动滚动到底部的方法
5760
+ * 当滚动容器保持跟随状态时,根据内容或容器尺寸变化自动滚动到底部
5761
+ * @param options 滚动容器、内容元素及行为配置
5762
+ * @returns 手动滚动方法和当前位置状态
5575
5763
  */
5576
- export declare function useAutoScroll(target: MaybeComputedElementRef, source: MaybeRefOrGetter<any>, options?: {
5577
- scrollOnMount?: boolean;
5578
- scrollThrottle?: number;
5579
- bottomThreshold?: number;
5580
- }): {
5764
+ export declare function useAutoScroll(options: UseAutoScrollOptions): UseAutoScrollReturn;
5765
+
5766
+ /**
5767
+ * @deprecated 请改用对象参数:`useAutoScroll({ scrollRef, contentRef, ...options })`
5768
+ */
5769
+ export declare function useAutoScroll(target: MaybeComputedElementRef, source?: MaybeRefOrGetter<unknown>, options?: LegacyUseAutoScrollOptions): UseAutoScrollReturn;
5770
+
5771
+ export declare interface UseAutoScrollOptions extends AutoScrollBehaviorOptions {
5772
+ /** 目标滚动容器的元素引用 */
5773
+ scrollRef: MaybeComputedElementRef;
5774
+ /** 滚动容器内用于监听尺寸变化的内容元素引用 */
5775
+ contentRef: MaybeComputedElementRef;
5776
+ }
5777
+
5778
+ export declare interface UseAutoScrollReturn {
5581
5779
  scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
5582
- arrivedState: {
5583
- left: boolean;
5584
- right: boolean;
5585
- top: boolean;
5586
- bottom: boolean;
5587
- };
5588
- };
5780
+ arrivedState: UseScrollReturn['arrivedState'];
5781
+ }
5589
5782
 
5590
5783
  export declare function useBubbleBoxRenderer(messages: MaybeRefOrGetter<BubbleMessage[]>, contentIndex?: number): ComputedRef<{
5591
5784
  renderer: Component;
@@ -5597,6 +5790,8 @@ export declare function useBubbleContentRenderer(message: MaybeRefOrGetter<Bubbl
5597
5790
  attributes?: BubbleAttributes;
5598
5791
  }>;
5599
5792
 
5793
+ export declare function useBubbleErrorRenderer(): ComputedRef<Component<BubbleErrorRendererProps>>;
5794
+
5600
5795
  export declare function useBubbleEventFn(): (event: BubbleEvent) => void;
5601
5796
 
5602
5797
  export declare function useBubbleStateChangeFn(): (key: string, value: unknown) => void;
@@ -5766,10 +5961,7 @@ export declare const useTheme: () => {
5766
5961
  };
5767
5962
 
5768
5963
  export declare const useToolCall: (props: BubbleContentRendererProps<ChatMessageContent, {
5769
- toolCall?: Record<string, {
5770
- status?: ToolCallStatus;
5771
- open?: boolean;
5772
- }>;
5964
+ toolCall?: Record<string, ToolCallState>;
5773
5965
  }> & {
5774
5966
  toolCallIndex: number;
5775
5967
  }) => {
@@ -5781,10 +5973,7 @@ export declare const useToolCall: (props: BubbleContentRendererProps<ChatMessage
5781
5973
  readonly arguments?: any;
5782
5974
  readonly result?: any;
5783
5975
  }>>;
5784
- state: ComputedRef< {
5785
- status: "success" | "running" | "failed" | "cancelled" | undefined;
5786
- open: boolean | undefined;
5787
- }>;
5976
+ state: ComputedRef<ToolCallState>;
5788
5977
  };
5789
5978
 
5790
5979
  export declare function useTouchDevice(): {