@stina/extension-api 0.33.0 → 0.35.0

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.
@@ -124,6 +124,19 @@ declare const ExtensionManifestSchema: z.ZodObject<{
124
124
  style?: Record<string, string>;
125
125
  };
126
126
  }>>;
127
+ groupBy: z.ZodOptional<z.ZodObject<{
128
+ key: z.ZodString;
129
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
130
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ key: string;
133
+ order?: string[] | undefined;
134
+ labels?: Record<string, string> | undefined;
135
+ }, {
136
+ key: string;
137
+ order?: string[] | undefined;
138
+ labels?: Record<string, string> | undefined;
139
+ }>>;
127
140
  }, "strip", z.ZodTypeAny, {
128
141
  kind: "list";
129
142
  listToolId: string;
@@ -149,6 +162,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
149
162
  style?: Record<string, string>;
150
163
  };
151
164
  } | undefined;
165
+ groupBy?: {
166
+ key: string;
167
+ order?: string[] | undefined;
168
+ labels?: Record<string, string> | undefined;
169
+ } | undefined;
152
170
  }, {
153
171
  kind: "list";
154
172
  listToolId: string;
@@ -174,6 +192,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
174
192
  style?: Record<string, string>;
175
193
  };
176
194
  } | undefined;
195
+ groupBy?: {
196
+ key: string;
197
+ order?: string[] | undefined;
198
+ labels?: Record<string, string> | undefined;
199
+ } | undefined;
177
200
  }>, z.ZodObject<{
178
201
  kind: z.ZodLiteral<"component">;
179
202
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -251,6 +274,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
251
274
  style?: Record<string, string>;
252
275
  };
253
276
  } | undefined;
277
+ groupBy?: {
278
+ key: string;
279
+ order?: string[] | undefined;
280
+ labels?: Record<string, string> | undefined;
281
+ } | undefined;
254
282
  } | {
255
283
  content: {
256
284
  [key: string]: unknown;
@@ -293,6 +321,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
293
321
  style?: Record<string, string>;
294
322
  };
295
323
  } | undefined;
324
+ groupBy?: {
325
+ key: string;
326
+ order?: string[] | undefined;
327
+ labels?: Record<string, string> | undefined;
328
+ } | undefined;
296
329
  } | {
297
330
  content: {
298
331
  [key: string]: unknown;
@@ -508,16 +541,16 @@ declare const ExtensionManifestSchema: z.ZodObject<{
508
541
  id: string;
509
542
  title?: string | undefined;
510
543
  text?: string | undefined;
544
+ order?: number | undefined;
511
545
  section?: "system" | "behavior" | "tools" | undefined;
512
546
  i18n?: Record<string, string> | undefined;
513
- order?: number | undefined;
514
547
  }, {
515
548
  id: string;
516
549
  title?: string | undefined;
517
550
  text?: string | undefined;
551
+ order?: number | undefined;
518
552
  section?: "system" | "behavior" | "tools" | undefined;
519
553
  i18n?: Record<string, string> | undefined;
520
- order?: number | undefined;
521
554
  }>, "many">>;
522
555
  storage: z.ZodOptional<z.ZodObject<{
523
556
  collections: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -573,6 +606,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
573
606
  style?: Record<string, string>;
574
607
  };
575
608
  } | undefined;
609
+ groupBy?: {
610
+ key: string;
611
+ order?: string[] | undefined;
612
+ labels?: Record<string, string> | undefined;
613
+ } | undefined;
576
614
  } | {
577
615
  content: {
578
616
  [key: string]: unknown;
@@ -631,9 +669,9 @@ declare const ExtensionManifestSchema: z.ZodObject<{
631
669
  id: string;
632
670
  title?: string | undefined;
633
671
  text?: string | undefined;
672
+ order?: number | undefined;
634
673
  section?: "system" | "behavior" | "tools" | undefined;
635
674
  i18n?: Record<string, string> | undefined;
636
- order?: number | undefined;
637
675
  }[] | undefined;
638
676
  storage?: {
639
677
  collections: Record<string, {
@@ -677,6 +715,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
677
715
  style?: Record<string, string>;
678
716
  };
679
717
  } | undefined;
718
+ groupBy?: {
719
+ key: string;
720
+ order?: string[] | undefined;
721
+ labels?: Record<string, string> | undefined;
722
+ } | undefined;
680
723
  } | {
681
724
  content: {
682
725
  [key: string]: unknown;
@@ -735,9 +778,9 @@ declare const ExtensionManifestSchema: z.ZodObject<{
735
778
  id: string;
736
779
  title?: string | undefined;
737
780
  text?: string | undefined;
781
+ order?: number | undefined;
738
782
  section?: "system" | "behavior" | "tools" | undefined;
739
783
  i18n?: Record<string, string> | undefined;
740
- order?: number | undefined;
741
784
  }[] | undefined;
742
785
  storage?: {
743
786
  collections: Record<string, {
@@ -799,6 +842,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
799
842
  style?: Record<string, string>;
800
843
  };
801
844
  } | undefined;
845
+ groupBy?: {
846
+ key: string;
847
+ order?: string[] | undefined;
848
+ labels?: Record<string, string> | undefined;
849
+ } | undefined;
802
850
  } | {
803
851
  content: {
804
852
  [key: string]: unknown;
@@ -857,9 +905,9 @@ declare const ExtensionManifestSchema: z.ZodObject<{
857
905
  id: string;
858
906
  title?: string | undefined;
859
907
  text?: string | undefined;
908
+ order?: number | undefined;
860
909
  section?: "system" | "behavior" | "tools" | undefined;
861
910
  i18n?: Record<string, string> | undefined;
862
- order?: number | undefined;
863
911
  }[] | undefined;
864
912
  storage?: {
865
913
  collections: Record<string, {
@@ -921,6 +969,11 @@ declare const ExtensionManifestSchema: z.ZodObject<{
921
969
  style?: Record<string, string>;
922
970
  };
923
971
  } | undefined;
972
+ groupBy?: {
973
+ key: string;
974
+ order?: string[] | undefined;
975
+ labels?: Record<string, string> | undefined;
976
+ } | undefined;
924
977
  } | {
925
978
  content: {
926
979
  [key: string]: unknown;
@@ -979,9 +1032,9 @@ declare const ExtensionManifestSchema: z.ZodObject<{
979
1032
  id: string;
980
1033
  title?: string | undefined;
981
1034
  text?: string | undefined;
1035
+ order?: number | undefined;
982
1036
  section?: "system" | "behavior" | "tools" | undefined;
983
1037
  i18n?: Record<string, string> | undefined;
984
- order?: number | undefined;
985
1038
  }[] | undefined;
986
1039
  storage?: {
987
1040
  collections: Record<string, {
@@ -1098,6 +1151,22 @@ declare const ToolSettingsActionDataSourceSchema: z.ZodObject<{
1098
1151
  params?: Record<string, unknown> | undefined;
1099
1152
  refreshOn?: string[] | undefined;
1100
1153
  }>;
1154
+ /**
1155
+ * Grouping configuration for a list view
1156
+ */
1157
+ declare const ToolSettingsListGroupBySchema: z.ZodObject<{
1158
+ key: z.ZodString;
1159
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1160
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ key: string;
1163
+ order?: string[] | undefined;
1164
+ labels?: Record<string, string> | undefined;
1165
+ }, {
1166
+ key: string;
1167
+ order?: string[] | undefined;
1168
+ labels?: Record<string, string> | undefined;
1169
+ }>;
1101
1170
  /**
1102
1171
  * List view backed by tools
1103
1172
  */
@@ -1156,6 +1225,19 @@ declare const ToolSettingsListViewSchema: z.ZodObject<{
1156
1225
  style?: Record<string, string>;
1157
1226
  };
1158
1227
  }>>;
1228
+ groupBy: z.ZodOptional<z.ZodObject<{
1229
+ key: z.ZodString;
1230
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1231
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1232
+ }, "strip", z.ZodTypeAny, {
1233
+ key: string;
1234
+ order?: string[] | undefined;
1235
+ labels?: Record<string, string> | undefined;
1236
+ }, {
1237
+ key: string;
1238
+ order?: string[] | undefined;
1239
+ labels?: Record<string, string> | undefined;
1240
+ }>>;
1159
1241
  }, "strip", z.ZodTypeAny, {
1160
1242
  kind: "list";
1161
1243
  listToolId: string;
@@ -1181,6 +1263,11 @@ declare const ToolSettingsListViewSchema: z.ZodObject<{
1181
1263
  style?: Record<string, string>;
1182
1264
  };
1183
1265
  } | undefined;
1266
+ groupBy?: {
1267
+ key: string;
1268
+ order?: string[] | undefined;
1269
+ labels?: Record<string, string> | undefined;
1270
+ } | undefined;
1184
1271
  }, {
1185
1272
  kind: "list";
1186
1273
  listToolId: string;
@@ -1206,6 +1293,11 @@ declare const ToolSettingsListViewSchema: z.ZodObject<{
1206
1293
  style?: Record<string, string>;
1207
1294
  };
1208
1295
  } | undefined;
1296
+ groupBy?: {
1297
+ key: string;
1298
+ order?: string[] | undefined;
1299
+ labels?: Record<string, string> | undefined;
1300
+ } | undefined;
1209
1301
  }>;
1210
1302
  /**
1211
1303
  * Component-based tool settings view
@@ -1317,6 +1409,19 @@ declare const ToolSettingsViewSchema: z.ZodUnion<[z.ZodObject<{
1317
1409
  style?: Record<string, string>;
1318
1410
  };
1319
1411
  }>>;
1412
+ groupBy: z.ZodOptional<z.ZodObject<{
1413
+ key: z.ZodString;
1414
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1415
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ key: string;
1418
+ order?: string[] | undefined;
1419
+ labels?: Record<string, string> | undefined;
1420
+ }, {
1421
+ key: string;
1422
+ order?: string[] | undefined;
1423
+ labels?: Record<string, string> | undefined;
1424
+ }>>;
1320
1425
  }, "strip", z.ZodTypeAny, {
1321
1426
  kind: "list";
1322
1427
  listToolId: string;
@@ -1342,6 +1447,11 @@ declare const ToolSettingsViewSchema: z.ZodUnion<[z.ZodObject<{
1342
1447
  style?: Record<string, string>;
1343
1448
  };
1344
1449
  } | undefined;
1450
+ groupBy?: {
1451
+ key: string;
1452
+ order?: string[] | undefined;
1453
+ labels?: Record<string, string> | undefined;
1454
+ } | undefined;
1345
1455
  }, {
1346
1456
  kind: "list";
1347
1457
  listToolId: string;
@@ -1367,6 +1477,11 @@ declare const ToolSettingsViewSchema: z.ZodUnion<[z.ZodObject<{
1367
1477
  style?: Record<string, string>;
1368
1478
  };
1369
1479
  } | undefined;
1480
+ groupBy?: {
1481
+ key: string;
1482
+ order?: string[] | undefined;
1483
+ labels?: Record<string, string> | undefined;
1484
+ } | undefined;
1370
1485
  }>, z.ZodObject<{
1371
1486
  kind: z.ZodLiteral<"component">;
1372
1487
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1478,6 +1593,19 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
1478
1593
  style?: Record<string, string>;
1479
1594
  };
1480
1595
  }>>;
1596
+ groupBy: z.ZodOptional<z.ZodObject<{
1597
+ key: z.ZodString;
1598
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1599
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1600
+ }, "strip", z.ZodTypeAny, {
1601
+ key: string;
1602
+ order?: string[] | undefined;
1603
+ labels?: Record<string, string> | undefined;
1604
+ }, {
1605
+ key: string;
1606
+ order?: string[] | undefined;
1607
+ labels?: Record<string, string> | undefined;
1608
+ }>>;
1481
1609
  }, "strip", z.ZodTypeAny, {
1482
1610
  kind: "list";
1483
1611
  listToolId: string;
@@ -1503,6 +1631,11 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
1503
1631
  style?: Record<string, string>;
1504
1632
  };
1505
1633
  } | undefined;
1634
+ groupBy?: {
1635
+ key: string;
1636
+ order?: string[] | undefined;
1637
+ labels?: Record<string, string> | undefined;
1638
+ } | undefined;
1506
1639
  }, {
1507
1640
  kind: "list";
1508
1641
  listToolId: string;
@@ -1528,6 +1661,11 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
1528
1661
  style?: Record<string, string>;
1529
1662
  };
1530
1663
  } | undefined;
1664
+ groupBy?: {
1665
+ key: string;
1666
+ order?: string[] | undefined;
1667
+ labels?: Record<string, string> | undefined;
1668
+ } | undefined;
1531
1669
  }>, z.ZodObject<{
1532
1670
  kind: z.ZodLiteral<"component">;
1533
1671
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1605,6 +1743,11 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
1605
1743
  style?: Record<string, string>;
1606
1744
  };
1607
1745
  } | undefined;
1746
+ groupBy?: {
1747
+ key: string;
1748
+ order?: string[] | undefined;
1749
+ labels?: Record<string, string> | undefined;
1750
+ } | undefined;
1608
1751
  } | {
1609
1752
  content: {
1610
1753
  [key: string]: unknown;
@@ -1647,6 +1790,11 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
1647
1790
  style?: Record<string, string>;
1648
1791
  };
1649
1792
  } | undefined;
1793
+ groupBy?: {
1794
+ key: string;
1795
+ order?: string[] | undefined;
1796
+ labels?: Record<string, string> | undefined;
1797
+ } | undefined;
1650
1798
  } | {
1651
1799
  content: {
1652
1800
  [key: string]: unknown;
@@ -2043,16 +2191,16 @@ declare const PromptContributionSchema: z.ZodObject<{
2043
2191
  id: string;
2044
2192
  title?: string | undefined;
2045
2193
  text?: string | undefined;
2194
+ order?: number | undefined;
2046
2195
  section?: "system" | "behavior" | "tools" | undefined;
2047
2196
  i18n?: Record<string, string> | undefined;
2048
- order?: number | undefined;
2049
2197
  }, {
2050
2198
  id: string;
2051
2199
  title?: string | undefined;
2052
2200
  text?: string | undefined;
2201
+ order?: number | undefined;
2053
2202
  section?: "system" | "behavior" | "tools" | undefined;
2054
2203
  i18n?: Record<string, string> | undefined;
2055
- order?: number | undefined;
2056
2204
  }>;
2057
2205
  /**
2058
2206
  * Extension contributions
@@ -2117,6 +2265,19 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2117
2265
  style?: Record<string, string>;
2118
2266
  };
2119
2267
  }>>;
2268
+ groupBy: z.ZodOptional<z.ZodObject<{
2269
+ key: z.ZodString;
2270
+ order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2271
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2272
+ }, "strip", z.ZodTypeAny, {
2273
+ key: string;
2274
+ order?: string[] | undefined;
2275
+ labels?: Record<string, string> | undefined;
2276
+ }, {
2277
+ key: string;
2278
+ order?: string[] | undefined;
2279
+ labels?: Record<string, string> | undefined;
2280
+ }>>;
2120
2281
  }, "strip", z.ZodTypeAny, {
2121
2282
  kind: "list";
2122
2283
  listToolId: string;
@@ -2142,6 +2303,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2142
2303
  style?: Record<string, string>;
2143
2304
  };
2144
2305
  } | undefined;
2306
+ groupBy?: {
2307
+ key: string;
2308
+ order?: string[] | undefined;
2309
+ labels?: Record<string, string> | undefined;
2310
+ } | undefined;
2145
2311
  }, {
2146
2312
  kind: "list";
2147
2313
  listToolId: string;
@@ -2167,6 +2333,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2167
2333
  style?: Record<string, string>;
2168
2334
  };
2169
2335
  } | undefined;
2336
+ groupBy?: {
2337
+ key: string;
2338
+ order?: string[] | undefined;
2339
+ labels?: Record<string, string> | undefined;
2340
+ } | undefined;
2170
2341
  }>, z.ZodObject<{
2171
2342
  kind: z.ZodLiteral<"component">;
2172
2343
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2244,6 +2415,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2244
2415
  style?: Record<string, string>;
2245
2416
  };
2246
2417
  } | undefined;
2418
+ groupBy?: {
2419
+ key: string;
2420
+ order?: string[] | undefined;
2421
+ labels?: Record<string, string> | undefined;
2422
+ } | undefined;
2247
2423
  } | {
2248
2424
  content: {
2249
2425
  [key: string]: unknown;
@@ -2286,6 +2462,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2286
2462
  style?: Record<string, string>;
2287
2463
  };
2288
2464
  } | undefined;
2465
+ groupBy?: {
2466
+ key: string;
2467
+ order?: string[] | undefined;
2468
+ labels?: Record<string, string> | undefined;
2469
+ } | undefined;
2289
2470
  } | {
2290
2471
  content: {
2291
2472
  [key: string]: unknown;
@@ -2501,16 +2682,16 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2501
2682
  id: string;
2502
2683
  title?: string | undefined;
2503
2684
  text?: string | undefined;
2685
+ order?: number | undefined;
2504
2686
  section?: "system" | "behavior" | "tools" | undefined;
2505
2687
  i18n?: Record<string, string> | undefined;
2506
- order?: number | undefined;
2507
2688
  }, {
2508
2689
  id: string;
2509
2690
  title?: string | undefined;
2510
2691
  text?: string | undefined;
2692
+ order?: number | undefined;
2511
2693
  section?: "system" | "behavior" | "tools" | undefined;
2512
2694
  i18n?: Record<string, string> | undefined;
2513
- order?: number | undefined;
2514
2695
  }>, "many">>;
2515
2696
  storage: z.ZodOptional<z.ZodObject<{
2516
2697
  collections: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2566,6 +2747,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2566
2747
  style?: Record<string, string>;
2567
2748
  };
2568
2749
  } | undefined;
2750
+ groupBy?: {
2751
+ key: string;
2752
+ order?: string[] | undefined;
2753
+ labels?: Record<string, string> | undefined;
2754
+ } | undefined;
2569
2755
  } | {
2570
2756
  content: {
2571
2757
  [key: string]: unknown;
@@ -2624,9 +2810,9 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2624
2810
  id: string;
2625
2811
  title?: string | undefined;
2626
2812
  text?: string | undefined;
2813
+ order?: number | undefined;
2627
2814
  section?: "system" | "behavior" | "tools" | undefined;
2628
2815
  i18n?: Record<string, string> | undefined;
2629
- order?: number | undefined;
2630
2816
  }[] | undefined;
2631
2817
  storage?: {
2632
2818
  collections: Record<string, {
@@ -2670,6 +2856,11 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2670
2856
  style?: Record<string, string>;
2671
2857
  };
2672
2858
  } | undefined;
2859
+ groupBy?: {
2860
+ key: string;
2861
+ order?: string[] | undefined;
2862
+ labels?: Record<string, string> | undefined;
2863
+ } | undefined;
2673
2864
  } | {
2674
2865
  content: {
2675
2866
  [key: string]: unknown;
@@ -2728,9 +2919,9 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2728
2919
  id: string;
2729
2920
  title?: string | undefined;
2730
2921
  text?: string | undefined;
2922
+ order?: number | undefined;
2731
2923
  section?: "system" | "behavior" | "tools" | undefined;
2732
2924
  i18n?: Record<string, string> | undefined;
2733
- order?: number | undefined;
2734
2925
  }[] | undefined;
2735
2926
  storage?: {
2736
2927
  collections: Record<string, {
@@ -2742,6 +2933,7 @@ type LocalizedString = z.infer<typeof LocalizedStringSchema>;
2742
2933
  type ToolSettingsListMapping = z.infer<typeof ToolSettingsListMappingSchema>;
2743
2934
  type ToolSettingsActionDataSource = z.infer<typeof ToolSettingsActionDataSourceSchema>;
2744
2935
  type ToolSettingsListView = z.infer<typeof ToolSettingsListViewSchema>;
2936
+ type ToolSettingsListGroupBy = z.infer<typeof ToolSettingsListGroupBySchema>;
2745
2937
  type ToolSettingsComponentView = z.infer<typeof ToolSettingsComponentViewSchema>;
2746
2938
  type ToolSettingsView = z.infer<typeof ToolSettingsViewSchema>;
2747
2939
  type ToolSettingsViewDefinition = z.infer<typeof ToolSettingsViewDefinitionSchema>;
@@ -4671,4 +4863,4 @@ type FrameVariant = z.infer<typeof FrameVariantSchema>;
4671
4863
  type FrameProps = z.infer<typeof FramePropsSchema>;
4672
4864
  type ListProps = z.infer<typeof ListPropsSchema>;
4673
4865
 
4674
- export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, type CapabilityPermission, CapabilityPermissionSchema, type CheckboxProps, CheckboxPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, isValidPermission };
4866
+ export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, type CapabilityPermission, CapabilityPermissionSchema, type CheckboxProps, CheckboxPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, isValidPermission };
@@ -409,6 +409,11 @@ var ToolSettingsActionDataSourceSchema = z3.object({
409
409
  params: z3.record(z3.unknown()).optional().describe("Parameters to pass to the action"),
410
410
  refreshOn: z3.array(z3.string()).optional().describe("Event names that trigger refresh")
411
411
  }).describe("Action-based data source");
412
+ var ToolSettingsListGroupBySchema = z3.object({
413
+ key: z3.string().describe("Key in each item used to determine group membership"),
414
+ order: z3.array(z3.string()).optional().describe("Explicit ordering of group values; unlisted groups appear afterwards alphabetically"),
415
+ labels: z3.record(z3.string()).optional().describe("Human-friendly labels per group value (rendered as section headers)")
416
+ }).describe("List view grouping configuration");
412
417
  var ToolSettingsListViewSchema = z3.object({
413
418
  kind: z3.literal("list").describe("View kind"),
414
419
  listToolId: z3.string().describe("Tool ID for listing items"),
@@ -422,7 +427,10 @@ var ToolSettingsListViewSchema = z3.object({
422
427
  listParams: z3.record(z3.unknown()).optional().describe("Static params for list tool"),
423
428
  editView: z3.object({
424
429
  content: ExtensionComponentDataSchema.describe("Root component for the create/edit modal")
425
- }).optional().describe("Component-tree create/edit form bound to $item.<key>")
430
+ }).optional().describe("Component-tree create/edit form bound to $item.<key>"),
431
+ groupBy: ToolSettingsListGroupBySchema.optional().describe(
432
+ "Optional grouping configuration; when set, items are visually grouped by this field"
433
+ )
426
434
  }).describe("List view backed by tools");
427
435
  var ToolSettingsComponentViewSchema = z3.object({
428
436
  kind: z3.literal("component").describe("View kind"),
@@ -590,6 +598,7 @@ export {
590
598
  ToolDefinitionSchema,
591
599
  ToolSettingsActionDataSourceSchema,
592
600
  ToolSettingsComponentViewSchema,
601
+ ToolSettingsListGroupBySchema,
593
602
  ToolSettingsListMappingSchema,
594
603
  ToolSettingsListViewSchema,
595
604
  ToolSettingsViewDefinitionSchema,