@opentiny/tiny-robot 0.3.0-alpha.19 → 0.3.0-alpha.20

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
@@ -48,7 +48,7 @@ declare const __VLS_component: DefineComponent<BubbleProps, {}, {}, {}, {}, Comp
48
48
  content: string | BubbleContentItem_2[];
49
49
  placement: "start" | "end";
50
50
  shape: "rounded" | "corner";
51
- maxWidth: string | number;
51
+ abortedText: string;
52
52
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
53
53
 
54
54
  declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_4, {
@@ -187,7 +187,18 @@ show?: TooltipContentProps["show"];
187
187
  }>, {}, {}, {}, {}, {}> | null;
188
188
  }, any>;
189
189
 
190
- declare const __VLS_component_11: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
190
+ declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
191
+ "update:theme": (value: string) => any;
192
+ "update:colorMode": (value: ColorMode) => any;
193
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
194
+ "onUpdate:theme"?: ((value: string) => any) | undefined;
195
+ "onUpdate:colorMode"?: ((value: ColorMode) => any) | undefined;
196
+ }>, {
197
+ targetElement: string;
198
+ storageKey: string;
199
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
200
+
201
+ declare const __VLS_component_12: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
191
202
  align: "left" | "center" | "right" | string;
192
203
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
193
204
 
@@ -198,10 +209,15 @@ contentRenderers: Record<string, BubbleContentRenderer>;
198
209
  declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
199
210
  "update:show": (value: boolean) => any;
200
211
  "update:fullscreen": (value: boolean | undefined) => any;
212
+ } & {
213
+ close: () => any;
201
214
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
215
+ onClose?: (() => any) | undefined;
202
216
  "onUpdate:show"?: ((value: boolean) => any) | undefined;
203
217
  "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
204
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
218
+ }>, {
219
+ title: string;
220
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
205
221
 
206
222
  declare const __VLS_component_4: DefineComponent<DragOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DragOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
207
223
 
@@ -890,34 +906,43 @@ declare type __VLS_Props = {
890
906
  contentRenderers?: Record<string, BubbleContentRenderer>;
891
907
  };
892
908
 
893
- declare type __VLS_Props_2 = DropdownMenuProps;
909
+ declare type __VLS_Props_2 = ContainerProps;
910
+
911
+ declare type __VLS_Props_3 = DropdownMenuProps;
912
+
913
+ declare type __VLS_Props_4 = SuggestionPillsProps;
894
914
 
895
- declare type __VLS_Props_3 = SuggestionPillsProps;
915
+ declare type __VLS_Props_5 = SuggestionPopoverProps;
896
916
 
897
- declare type __VLS_Props_4 = SuggestionPopoverProps;
917
+ declare type __VLS_Props_6 = ThemeProviderProps;
898
918
 
899
- declare type __VLS_Props_5 = McpServerPickerProps;
919
+ declare type __VLS_Props_7 = McpServerPickerProps;
900
920
 
901
921
  declare type __VLS_PublicProps = {
902
922
  'show': ContainerProps['show'];
903
923
  'fullscreen'?: ContainerProps['fullscreen'];
904
- };
924
+ } & __VLS_Props_2;
905
925
 
906
926
  declare type __VLS_PublicProps_2 = {
907
927
  'show'?: boolean;
908
- } & __VLS_Props_2;
928
+ } & __VLS_Props_3;
909
929
 
910
930
  declare type __VLS_PublicProps_3 = {
911
931
  'showAll'?: SuggestionPillsProps['showAll'];
912
- } & __VLS_Props_3;
932
+ } & __VLS_Props_4;
913
933
 
914
934
  declare type __VLS_PublicProps_4 = {
915
935
  'selectedGroup'?: string;
916
- } & __VLS_Props_4;
936
+ } & __VLS_Props_5;
917
937
 
918
938
  declare type __VLS_PublicProps_5 = {
939
+ 'theme'?: string;
940
+ 'colorMode'?: ColorMode;
941
+ } & __VLS_Props_6;
942
+
943
+ declare type __VLS_PublicProps_6 = {
919
944
  'visible': boolean;
920
- } & __VLS_Props_5;
945
+ } & __VLS_Props_7;
921
946
 
922
947
  declare function __VLS_template(): {
923
948
  attrs: Partial<{}>;
@@ -1046,6 +1071,15 @@ declare function __VLS_template_10(): {
1046
1071
  };
1047
1072
 
1048
1073
  declare function __VLS_template_11(): {
1074
+ attrs: Partial<{}>;
1075
+ slots: {
1076
+ default?(_: {}): any;
1077
+ };
1078
+ refs: {};
1079
+ rootEl: any;
1080
+ };
1081
+
1082
+ declare function __VLS_template_12(): {
1049
1083
  attrs: Partial<{}>;
1050
1084
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
1051
1085
  refs: {};
@@ -1713,6 +1747,8 @@ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
1713
1747
 
1714
1748
  declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
1715
1749
 
1750
+ declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
1751
+
1716
1752
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1717
1753
 
1718
1754
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -1747,6 +1783,12 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1747
1783
  };
1748
1784
  };
1749
1785
 
1786
+ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
1787
+ new (): {
1788
+ $slots: S;
1789
+ };
1790
+ };
1791
+
1750
1792
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1751
1793
  new (): {
1752
1794
  $slots: S;
@@ -1875,7 +1917,7 @@ declare interface BaseTextItem {
1875
1917
  content: string;
1876
1918
  }
1877
1919
 
1878
- declare const Bubble: typeof _default_16 & {
1920
+ declare const Bubble: typeof _default_17 & {
1879
1921
  install: typeof bubbleInstall;
1880
1922
  };
1881
1923
  export { Bubble }
@@ -1903,6 +1945,10 @@ export declare interface BubbleCommonProps {
1903
1945
  * 自定义气泡内容字段。比如 customContentField 设置为 'my-content',则 Bubble 优先渲染 my-content 属性到气泡内容
1904
1946
  */
1905
1947
  customContentField?: string;
1948
+ /**
1949
+ * 气泡中止文本
1950
+ */
1951
+ abortedText?: string;
1906
1952
  /**
1907
1953
  * 气泡最大宽度
1908
1954
  */
@@ -1928,7 +1974,7 @@ export declare type BubbleContentRenderer = BubbleContentFunctionRenderer | Bubb
1928
1974
 
1929
1975
  declare const bubbleInstall: (app: App) => void;
1930
1976
 
1931
- declare const BubbleList: typeof _default_17 & {
1977
+ declare const BubbleList: typeof _default_18 & {
1932
1978
  install: typeof bubbleListInstall;
1933
1979
  };
1934
1980
  export { BubbleList }
@@ -1988,7 +2034,7 @@ export declare interface BubbleProps extends BubbleCommonProps {
1988
2034
  aborted?: boolean;
1989
2035
  }
1990
2036
 
1991
- declare const BubbleProvider: typeof _default_18 & {
2037
+ declare const BubbleProvider: typeof _default_19 & {
1992
2038
  install: typeof bubbleProviderInstall;
1993
2039
  };
1994
2040
  export { BubbleProvider }
@@ -2018,6 +2064,12 @@ export declare interface ButtonGroupConfig {
2018
2064
  submit?: ControlState;
2019
2065
  }
2020
2066
 
2067
+ export declare type ColorMode = 'light' | 'dark' | 'auto';
2068
+
2069
+ export declare interface ContainerEmits {
2070
+ (e: 'close'): void;
2071
+ }
2072
+
2021
2073
  export declare interface ContainerProps {
2022
2074
  /**
2023
2075
  * model:show
@@ -2027,6 +2079,7 @@ export declare interface ContainerProps {
2027
2079
  * model:fullscreen
2028
2080
  */
2029
2081
  fullscreen?: boolean;
2082
+ title?: string;
2030
2083
  }
2031
2084
 
2032
2085
  export declare interface ContainerSlots {
@@ -2046,37 +2099,43 @@ declare const _default: {
2046
2099
  };
2047
2100
  export default _default;
2048
2101
 
2049
- declare const _default_10: typeof _default_27 & {
2102
+ declare const _default_10: typeof _default_28 & {
2050
2103
  install: typeof install_8;
2051
2104
  };
2052
2105
  export { _default_10 as Sender }
2053
2106
  export { _default_10 as TrSender }
2054
2107
 
2055
- declare const _default_11: typeof _default_29 & {
2108
+ declare const _default_11: typeof _default_30 & {
2056
2109
  install: typeof install_9;
2057
2110
  };
2058
2111
  export { _default_11 as SuggestionPills }
2059
2112
  export { _default_11 as TrSuggestionPills }
2060
2113
 
2061
- declare const _default_12: typeof _default_30 & {
2114
+ declare const _default_12: typeof _default_31 & {
2062
2115
  install: typeof install_10;
2063
2116
  };
2064
2117
  export { _default_12 as SuggestionPopover }
2065
2118
  export { _default_12 as TrSuggestionPopover }
2066
2119
 
2067
- declare const _default_13: typeof _default_31 & {
2120
+ declare const _default_13: typeof _default_32 & {
2068
2121
  install: typeof install_11;
2069
2122
  };
2070
- export { _default_13 as TrWelcome }
2071
- export { _default_13 as Welcome }
2123
+ export { _default_13 as ThemeProvider }
2124
+ export { _default_13 as TrThemeProvider }
2072
2125
 
2073
- declare const _default_14: typeof _default_32 & {
2126
+ declare const _default_14: typeof _default_33 & {
2074
2127
  install: typeof install_12;
2075
2128
  };
2076
- export { _default_14 as McpServerPicker }
2077
- export { _default_14 as TrMcpServerPicker }
2129
+ export { _default_14 as TrWelcome }
2130
+ export { _default_14 as Welcome }
2131
+
2132
+ declare const _default_15: typeof _default_34 & {
2133
+ install: typeof install_13;
2134
+ };
2135
+ export { _default_15 as McpServerPicker }
2136
+ export { _default_15 as TrMcpServerPicker }
2078
2137
 
2079
- declare const _default_15: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2138
+ declare const _default_16: DefineComponent<AttachmentListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2080
2139
  "update:items": (items: Attachment[]) => any;
2081
2140
  remove: (file: Attachment) => any;
2082
2141
  download: (event: MouseEvent, file: Attachment) => any;
@@ -2102,29 +2161,29 @@ fileMatchers: FileTypeMatcher_2[];
2102
2161
  variant: DisplayVariant_2;
2103
2162
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2104
2163
 
2105
- declare const _default_16: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2164
+ declare const _default_17: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2106
2165
 
2107
- declare const _default_17: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2166
+ declare const _default_18: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2108
2167
  scrollContainerRef: HTMLDivElement;
2109
2168
  }, HTMLDivElement>;
2110
2169
 
2111
- declare const _default_18: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2112
-
2113
- declare const _default_19: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2170
+ declare const _default_19: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2114
2171
 
2115
- declare const _default_2: typeof _default_15 & {
2172
+ declare const _default_2: typeof _default_16 & {
2116
2173
  install: typeof install;
2117
2174
  };
2118
2175
  export { _default_2 as Attachments }
2119
2176
  export { _default_2 as TrAttachments }
2120
2177
 
2121
- declare const _default_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2178
+ declare const _default_20: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2122
2179
 
2123
- declare const _default_21: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2180
+ declare const _default_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2124
2181
 
2125
- declare const _default_22: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2182
+ declare const _default_22: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2126
2183
 
2127
- declare const _default_23: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2184
+ declare const _default_23: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2185
+
2186
+ declare const _default_24: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2128
2187
  action: (name: string) => any;
2129
2188
  operation: (name: string) => any;
2130
2189
  }, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
@@ -2136,35 +2195,38 @@ actionsLimit: number;
2136
2195
  sourcesLinesLimit: number;
2137
2196
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2138
2197
 
2139
- declare const _default_24: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2198
+ declare const _default_25: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
2140
2199
  size: string | number;
2141
2200
  svgSize: string | number;
2142
2201
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2143
2202
 
2144
- declare const _default_25: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2145
-
2146
- declare const _default_26: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2203
+ declare const _default_26: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {
2204
+ size: "small" | "medium" | "large";
2205
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2147
2206
 
2148
- declare const _default_27: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2207
+ declare const _default_27: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2149
2208
 
2150
- declare const _default_28: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2209
+ declare const _default_28: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2151
2210
 
2152
- declare const _default_29: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2211
+ declare const _default_29: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2153
2212
 
2154
- declare const _default_3: typeof _default_19 & {
2213
+ declare const _default_3: typeof _default_20 & {
2155
2214
  install: typeof install_2;
2156
2215
  };
2157
2216
  export { _default_3 as Container }
2158
2217
  export { _default_3 as TrContainer }
2159
2218
 
2160
- declare const _default_30: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2219
+ declare const _default_30: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2220
+
2221
+ declare const _default_31: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2161
2222
 
2162
- declare const _default_31: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2223
+ declare const _default_32: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2163
2224
 
2164
- declare const _default_32: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2225
+ declare const _default_33: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2226
+
2227
+ declare const _default_34: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2165
2228
  "update:visible": (value: boolean) => any;
2166
2229
  } & {
2167
- search: (query: string, tab: "installed" | "market") => any;
2168
2230
  refresh: (tab: "installed" | "market") => any;
2169
2231
  "update:visible": (visible: boolean) => any;
2170
2232
  "market-category-change": (category: string) => any;
@@ -2175,8 +2237,7 @@ refresh: (tab: "installed" | "market") => any;
2175
2237
  "plugin-create": (type: "code" | "form", data: PluginCreationData) => any;
2176
2238
  "tool-toggle": (plugin: PluginInfo, toolId: string, enabled: boolean) => any;
2177
2239
  "update:activeCount": (count: number) => any;
2178
- }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
2179
- onSearch?: ((query: string, tab: "installed" | "market") => any) | undefined;
2240
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
2180
2241
  onRefresh?: ((tab: "installed" | "market") => any) | undefined;
2181
2242
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2182
2243
  "onMarket-category-change"?: ((category: string) => any) | undefined;
@@ -2194,6 +2255,8 @@ searchPlaceholder: string;
2194
2255
  installedPlugins: PluginInfo[];
2195
2256
  marketPlugins: PluginInfo[];
2196
2257
  enableSearch: boolean;
2258
+ installedSearchFn: (query: string, item: PluginInfo) => boolean;
2259
+ marketSearchFn: (query: string, item: PluginInfo) => boolean;
2197
2260
  marketCategoryOptions: MarketCategoryOption_2[];
2198
2261
  marketCategoryPlaceholder: string;
2199
2262
  enableMarketCategoryFilter: boolean;
@@ -2212,25 +2275,25 @@ allowPluginAdd: boolean;
2212
2275
  marketLoading: boolean;
2213
2276
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2214
2277
 
2215
- declare const _default_4: typeof _default_20 & {
2278
+ declare const _default_4: typeof _default_21 & {
2216
2279
  install: typeof install_3;
2217
2280
  };
2218
2281
  export { _default_4 as Conversations }
2219
2282
  export { _default_4 as TrConversations }
2220
2283
 
2221
- declare const _default_5: typeof _default_21 & {
2284
+ declare const _default_5: typeof _default_22 & {
2222
2285
  install: typeof install_4;
2223
2286
  };
2224
2287
  export { _default_5 as DragOverlay }
2225
2288
  export { _default_5 as TrDragOverlay }
2226
2289
 
2227
- declare const _default_6: typeof _default_22 & {
2290
+ declare const _default_6: typeof _default_23 & {
2228
2291
  install: typeof install_5;
2229
2292
  };
2230
2293
  export { _default_6 as DropdownMenu }
2231
2294
  export { _default_6 as TrDropdownMenu }
2232
2295
 
2233
- declare const _default_7: typeof _default_23 & {
2296
+ declare const _default_7: typeof _default_24 & {
2234
2297
  install: typeof install_6;
2235
2298
  };
2236
2299
  export { _default_7 as Feedback }
@@ -2243,7 +2306,7 @@ declare const _default_8: {
2243
2306
  export { _default_8 as History }
2244
2307
  export { _default_8 as TrHistory }
2245
2308
 
2246
- declare const _default_9: typeof _default_24 & {
2309
+ declare const _default_9: typeof _default_25 & {
2247
2310
  install: typeof install_7;
2248
2311
  };
2249
2312
  export { _default_9 as IconButton }
@@ -2537,6 +2600,8 @@ declare const install_11: <T>(app: App<T>) => void;
2537
2600
 
2538
2601
  declare const install_12: <T>(app: App<T>) => void;
2539
2602
 
2603
+ declare const install_13: <T>(app: App<T>) => void;
2604
+
2540
2605
  declare const install_2: <T>(app: App<T>) => void;
2541
2606
 
2542
2607
  declare const install_3: <T>(app: App<T>) => void;
@@ -2575,7 +2640,6 @@ export declare interface MarketCategoryOption {
2575
2640
  }
2576
2641
 
2577
2642
  export declare interface McpServerPickerEmits {
2578
- (e: 'search', query: string, tab: 'installed' | 'market'): void;
2579
2643
  (e: 'market-category-change', category: string): void;
2580
2644
  (e: 'tab-change', activeTab: 'installed' | 'market'): void;
2581
2645
  (e: 'plugin-toggle', plugin: PluginInfo, enabled: boolean): void;
@@ -2593,6 +2657,8 @@ export declare interface McpServerPickerProps {
2593
2657
  marketPlugins?: PluginInfo[];
2594
2658
  searchPlaceholder?: string;
2595
2659
  enableSearch?: boolean;
2660
+ installedSearchFn?: (query: string, item: PluginInfo) => boolean;
2661
+ marketSearchFn?: (query: string, item: PluginInfo) => boolean;
2596
2662
  marketCategoryOptions?: MarketCategoryOption[];
2597
2663
  marketCategoryPlaceholder?: string;
2598
2664
  enableMarketCategoryFilter?: boolean;
@@ -2655,6 +2721,7 @@ export declare interface PluginInfo {
2655
2721
  icon: string;
2656
2722
  description: string;
2657
2723
  enabled: boolean;
2724
+ expanded?: boolean;
2658
2725
  tools: PluginTool[];
2659
2726
  added?: boolean;
2660
2727
  category?: string;
@@ -2685,7 +2752,7 @@ export declare interface PopupConfig {
2685
2752
  };
2686
2753
  }
2687
2754
 
2688
- declare const Prompt: typeof _default_25 & {
2755
+ declare const Prompt: typeof _default_26 & {
2689
2756
  install: typeof installPrompt;
2690
2757
  };
2691
2758
  export { Prompt }
@@ -2716,9 +2783,13 @@ export declare interface PromptProps {
2716
2783
  * 提示徽章,显示在提示项的右上角
2717
2784
  */
2718
2785
  badge?: string | VNode;
2786
+ /**
2787
+ * 提示项大小。默认 medium
2788
+ */
2789
+ size?: 'small' | 'medium' | 'large';
2719
2790
  }
2720
2791
 
2721
- declare const Prompts: typeof _default_26 & {
2792
+ declare const Prompts: typeof _default_27 & {
2722
2793
  install: typeof installPrompts;
2723
2794
  };
2724
2795
  export { Prompts }
@@ -2861,7 +2932,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
2861
2932
 
2862
2933
  export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
2863
2934
 
2864
- declare const SuggestionPillButton: typeof _default_28 & {
2935
+ declare const SuggestionPillButton: typeof _default_29 & {
2865
2936
  install: typeof installPillButton;
2866
2937
  };
2867
2938
  export { SuggestionPillButton }
@@ -3004,6 +3075,25 @@ declare interface TextItem extends BaseTextItem {
3004
3075
  type: 'text';
3005
3076
  }
3006
3077
 
3078
+ export declare interface ThemeProviderProps {
3079
+ /**
3080
+ * 颜色模式(v-model:colorMode),可选值:light、dark、auto,默认值:auto
3081
+ */
3082
+ colorMode?: ColorMode;
3083
+ /**
3084
+ * 应用主题属性选择器的目标元素,默认值:html。主题只会影响 targetElement 下的元素
3085
+ */
3086
+ targetElement?: string;
3087
+ /**
3088
+ * 主题(v-model:theme)
3089
+ */
3090
+ theme?: string;
3091
+ storage?: ThemeStorage;
3092
+ storageKey?: string;
3093
+ }
3094
+
3095
+ export declare type ThemeStorage = Pick<Storage, 'getItem' | 'setItem'>;
3096
+
3007
3097
  /**
3008
3098
  * 组件核心类型定义
3009
3099
  */
@@ -3027,6 +3117,15 @@ export declare type UserTextItem = Omit<TextItem, 'id'> & {
3027
3117
  id?: TextItem['id'];
3028
3118
  };
3029
3119
 
3120
+ export declare const useTheme: () => {
3121
+ theme: Ref<string, string> | undefined;
3122
+ colorMode: Ref<ColorMode, ColorMode> | undefined;
3123
+ resolvedColorMode: ComputedRef<Readonly<"light" | "dark">> | undefined;
3124
+ setTheme: (newTheme: string) => boolean;
3125
+ toggleColorMode: () => boolean;
3126
+ setColorMode: (mode: ColorMode) => boolean;
3127
+ };
3128
+
3030
3129
  /**
3031
3130
  * 拖拽区域指令
3032
3131
  * @param el 元素