@copilotkit/react-core 2.0.0-rc.61 → 2.0.0-rc.62

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.
@@ -172,8 +172,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
172
172
  badge: zod.ZodOptional<zod.ZodObject<{
173
173
  label: zod.ZodString;
174
174
  color: zod.ZodOptional<zod.ZodEnum<{
175
- success: "success";
176
175
  secondary: "secondary";
176
+ success: "success";
177
177
  info: "info";
178
178
  warning: "warning";
179
179
  danger: "danger";
@@ -187,15 +187,15 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
187
187
  label: zod.ZodString;
188
188
  href: zod.ZodOptional<zod.ZodString>;
189
189
  variant: zod.ZodOptional<zod.ZodEnum<{
190
- solid: "solid";
191
- soft: "soft";
192
190
  outline: "outline";
191
+ soft: "soft";
192
+ solid: "solid";
193
193
  ghost: "ghost";
194
194
  }>>;
195
195
  }, zod_v4_core0.$strip>>>;
196
196
  layout: zod.ZodOptional<zod.ZodEnum<{
197
- vertical: "vertical";
198
197
  horizontal: "horizontal";
198
+ vertical: "vertical";
199
199
  }>>;
200
200
  width: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNumber, zod.ZodString]>>;
201
201
  }, zod_v4_core0.$strip>;
@@ -239,11 +239,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
239
239
  md: "md";
240
240
  lg: "lg";
241
241
  xl: "xl";
242
- "2xs": "2xs";
243
- xs: "xs";
244
242
  "2xl": "2xl";
245
243
  "3xl": "3xl";
246
244
  "4xl": "4xl";
245
+ "2xs": "2xs";
246
+ xs: "xs";
247
247
  full: "full";
248
248
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
249
249
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -309,9 +309,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
309
309
  stroke: zod.ZodOptional<zod.ZodString>;
310
310
  strokeWidth: zod.ZodOptional<zod.ZodNumber>;
311
311
  strokeLinecap: zod.ZodOptional<zod.ZodEnum<{
312
- butt: "butt";
313
312
  round: "round";
314
313
  square: "square";
314
+ butt: "butt";
315
315
  }>>;
316
316
  strokeLinejoin: zod.ZodOptional<zod.ZodEnum<{
317
317
  round: "round";
@@ -370,8 +370,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
370
370
  language: zod.ZodOptional<zod.ZodString>;
371
371
  label: zod.ZodOptional<zod.ZodString>;
372
372
  kind: zod.ZodOptional<zod.ZodEnum<{
373
- subtitles: "subtitles";
374
373
  captions: "captions";
374
+ subtitles: "subtitles";
375
375
  descriptions: "descriptions";
376
376
  }>>;
377
377
  }, zod_v4_core0.$strip>>>;
@@ -451,8 +451,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
451
451
  value: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
452
452
  }, zod_v4_core0.$strip>]>>>;
453
453
  direction: zod.ZodOptional<zod.ZodEnum<{
454
- vertical: "vertical";
455
454
  horizontal: "horizontal";
455
+ vertical: "vertical";
456
456
  }>>;
457
457
  align: zod.ZodOptional<zod.ZodEnum<{
458
458
  start: "start";
@@ -502,8 +502,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
502
502
  }, zod_v4_core0.$strip>]>>>;
503
503
  stacked: zod.ZodOptional<zod.ZodBoolean>;
504
504
  layout: zod.ZodOptional<zod.ZodEnum<{
505
- vertical: "vertical";
506
505
  horizontal: "horizontal";
506
+ vertical: "vertical";
507
507
  }>>;
508
508
  yAxis: zod.ZodOptional<zod.ZodObject<{
509
509
  label: zod.ZodOptional<zod.ZodString>;
@@ -647,8 +647,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
647
647
  start: "start";
648
648
  center: "center";
649
649
  end: "end";
650
- stretch: "stretch";
651
650
  baseline: "baseline";
651
+ stretch: "stretch";
652
652
  }>>;
653
653
  justify: zod.ZodOptional<zod.ZodEnum<{
654
654
  start: "start";
@@ -686,11 +686,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
686
686
  md: "md";
687
687
  lg: "lg";
688
688
  xl: "xl";
689
- "2xs": "2xs";
690
- xs: "xs";
691
689
  "2xl": "2xl";
692
690
  "3xl": "3xl";
693
691
  "4xl": "4xl";
692
+ "2xs": "2xs";
693
+ xs: "xs";
694
694
  full: "full";
695
695
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
696
696
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -723,8 +723,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
723
723
  start: "start";
724
724
  center: "center";
725
725
  end: "end";
726
- stretch: "stretch";
727
726
  baseline: "baseline";
727
+ stretch: "stretch";
728
728
  }>>;
729
729
  justify: zod.ZodOptional<zod.ZodEnum<{
730
730
  start: "start";
@@ -762,11 +762,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
762
762
  md: "md";
763
763
  lg: "lg";
764
764
  xl: "xl";
765
- "2xs": "2xs";
766
- xs: "xs";
767
765
  "2xl": "2xl";
768
766
  "3xl": "3xl";
769
767
  "4xl": "4xl";
768
+ "2xs": "2xs";
769
+ xs: "xs";
770
770
  full: "full";
771
771
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
772
772
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1033,9 +1033,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1033
1033
  }>>;
1034
1034
  pill: zod.ZodOptional<zod.ZodBoolean>;
1035
1035
  variant: zod.ZodOptional<zod.ZodEnum<{
1036
- solid: "solid";
1037
- soft: "soft";
1038
1036
  outline: "outline";
1037
+ soft: "soft";
1038
+ solid: "solid";
1039
1039
  ghost: "ghost";
1040
1040
  }>>;
1041
1041
  disabled: zod.ZodOptional<zod.ZodBoolean>;
@@ -1140,9 +1140,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1140
1140
  sm: "sm";
1141
1141
  md: "md";
1142
1142
  lg: "lg";
1143
+ "3xs": "3xs";
1143
1144
  "2xs": "2xs";
1144
1145
  xs: "xs";
1145
- "3xs": "3xs";
1146
1146
  }>>;
1147
1147
  fontSize: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNumber, zod.ZodString]>>;
1148
1148
  lineHeight: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNumber, zod.ZodString]>>;
@@ -1205,9 +1205,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1205
1205
  sm: "sm";
1206
1206
  md: "md";
1207
1207
  lg: "lg";
1208
+ "3xs": "3xs";
1208
1209
  "2xs": "2xs";
1209
1210
  xs: "xs";
1210
- "3xs": "3xs";
1211
1211
  }>>;
1212
1212
  fontWeight: zod.ZodOptional<zod.ZodEnum<{
1213
1213
  normal: "normal";
@@ -1244,8 +1244,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1244
1244
  Badge: zod.ZodObject<{
1245
1245
  label: zod.ZodString;
1246
1246
  color: zod.ZodOptional<zod.ZodEnum<{
1247
- success: "success";
1248
1247
  secondary: "secondary";
1248
+ success: "success";
1249
1249
  info: "info";
1250
1250
  warning: "warning";
1251
1251
  danger: "danger";
@@ -1258,9 +1258,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1258
1258
  }>>;
1259
1259
  pill: zod.ZodOptional<zod.ZodBoolean>;
1260
1260
  variant: zod.ZodOptional<zod.ZodEnum<{
1261
- solid: "solid";
1262
- soft: "soft";
1263
1261
  outline: "outline";
1262
+ soft: "soft";
1263
+ solid: "solid";
1264
1264
  }>>;
1265
1265
  fontWeight: zod.ZodOptional<zod.ZodEnum<{
1266
1266
  normal: "normal";
@@ -1292,9 +1292,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1292
1292
  sm: "sm";
1293
1293
  md: "md";
1294
1294
  lg: "lg";
1295
+ "3xs": "3xs";
1295
1296
  "2xs": "2xs";
1296
1297
  xs: "xs";
1297
- "3xs": "3xs";
1298
1298
  }>>;
1299
1299
  lineThrough: zod.ZodOptional<zod.ZodBoolean>;
1300
1300
  color: zod.ZodOptional<zod.ZodString>;
@@ -1330,8 +1330,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1330
1330
  start: "start";
1331
1331
  center: "center";
1332
1332
  end: "end";
1333
- stretch: "stretch";
1334
1333
  baseline: "baseline";
1334
+ stretch: "stretch";
1335
1335
  }>>;
1336
1336
  justify: zod.ZodOptional<zod.ZodEnum<{
1337
1337
  start: "start";
@@ -1369,11 +1369,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1369
1369
  md: "md";
1370
1370
  lg: "lg";
1371
1371
  xl: "xl";
1372
- "2xs": "2xs";
1373
- xs: "xs";
1374
1372
  "2xl": "2xl";
1375
1373
  "3xl": "3xl";
1376
1374
  "4xl": "4xl";
1375
+ "2xs": "2xs";
1376
+ xs: "xs";
1377
1377
  full: "full";
1378
1378
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1379
1379
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1405,8 +1405,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1405
1405
  start: "start";
1406
1406
  center: "center";
1407
1407
  end: "end";
1408
- stretch: "stretch";
1409
1408
  baseline: "baseline";
1409
+ stretch: "stretch";
1410
1410
  }>>;
1411
1411
  justify: zod.ZodOptional<zod.ZodEnum<{
1412
1412
  start: "start";
@@ -1444,11 +1444,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1444
1444
  md: "md";
1445
1445
  lg: "lg";
1446
1446
  xl: "xl";
1447
- "2xs": "2xs";
1448
- xs: "xs";
1449
1447
  "2xl": "2xl";
1450
1448
  "3xl": "3xl";
1451
1449
  "4xl": "4xl";
1450
+ "2xs": "2xs";
1451
+ xs: "xs";
1452
1452
  full: "full";
1453
1453
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1454
1454
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1480,8 +1480,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1480
1480
  start: "start";
1481
1481
  center: "center";
1482
1482
  end: "end";
1483
- stretch: "stretch";
1484
1483
  baseline: "baseline";
1484
+ stretch: "stretch";
1485
1485
  }>>;
1486
1486
  justify: zod.ZodOptional<zod.ZodEnum<{
1487
1487
  start: "start";
@@ -1519,11 +1519,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1519
1519
  md: "md";
1520
1520
  lg: "lg";
1521
1521
  xl: "xl";
1522
- "2xs": "2xs";
1523
- xs: "xs";
1524
1522
  "2xl": "2xl";
1525
1523
  "3xl": "3xl";
1526
1524
  "4xl": "4xl";
1525
+ "2xs": "2xs";
1526
+ xs: "xs";
1527
1527
  full: "full";
1528
1528
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1529
1529
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1558,8 +1558,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1558
1558
  start: "start";
1559
1559
  center: "center";
1560
1560
  end: "end";
1561
- stretch: "stretch";
1562
1561
  baseline: "baseline";
1562
+ stretch: "stretch";
1563
1563
  }>>;
1564
1564
  justify: zod.ZodOptional<zod.ZodEnum<{
1565
1565
  start: "start";
@@ -1597,11 +1597,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1597
1597
  md: "md";
1598
1598
  lg: "lg";
1599
1599
  xl: "xl";
1600
- "2xs": "2xs";
1601
- xs: "xs";
1602
1600
  "2xl": "2xl";
1603
1601
  "3xl": "3xl";
1604
1602
  "4xl": "4xl";
1603
+ "2xs": "2xs";
1604
+ xs: "xs";
1605
1605
  full: "full";
1606
1606
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1607
1607
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1635,8 +1635,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1635
1635
  start: "start";
1636
1636
  center: "center";
1637
1637
  end: "end";
1638
- stretch: "stretch";
1639
1638
  baseline: "baseline";
1639
+ stretch: "stretch";
1640
1640
  }>>;
1641
1641
  justify: zod.ZodOptional<zod.ZodEnum<{
1642
1642
  start: "start";
@@ -1674,11 +1674,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1674
1674
  md: "md";
1675
1675
  lg: "lg";
1676
1676
  xl: "xl";
1677
- "2xs": "2xs";
1678
- xs: "xs";
1679
1677
  "2xl": "2xl";
1680
1678
  "3xl": "3xl";
1681
1679
  "4xl": "4xl";
1680
+ "2xs": "2xs";
1681
+ xs: "xs";
1682
1682
  full: "full";
1683
1683
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1684
1684
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1708,9 +1708,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1708
1708
  Card: zod.ZodObject<{
1709
1709
  variant: zod.ZodOptional<zod.ZodEnum<{
1710
1710
  default: "default";
1711
- soft: "soft";
1712
1711
  outline: "outline";
1713
1712
  section: "section";
1713
+ soft: "soft";
1714
1714
  elevated: "elevated";
1715
1715
  transparent: "transparent";
1716
1716
  }>>;
@@ -1728,8 +1728,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1728
1728
  start: "start";
1729
1729
  center: "center";
1730
1730
  end: "end";
1731
- stretch: "stretch";
1732
1731
  baseline: "baseline";
1732
+ stretch: "stretch";
1733
1733
  }>>;
1734
1734
  justify: zod.ZodOptional<zod.ZodEnum<{
1735
1735
  start: "start";
@@ -1767,11 +1767,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1767
1767
  md: "md";
1768
1768
  lg: "lg";
1769
1769
  xl: "xl";
1770
- "2xs": "2xs";
1771
- xs: "xs";
1772
1770
  "2xl": "2xl";
1773
1771
  "3xl": "3xl";
1774
1772
  "4xl": "4xl";
1773
+ "2xs": "2xs";
1774
+ xs: "xs";
1775
1775
  full: "full";
1776
1776
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1777
1777
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1809,8 +1809,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1809
1809
  start: "start";
1810
1810
  center: "center";
1811
1811
  end: "end";
1812
- stretch: "stretch";
1813
1812
  baseline: "baseline";
1813
+ stretch: "stretch";
1814
1814
  }>>;
1815
1815
  justify: zod.ZodOptional<zod.ZodEnum<{
1816
1816
  start: "start";
@@ -1848,11 +1848,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1848
1848
  md: "md";
1849
1849
  lg: "lg";
1850
1850
  xl: "xl";
1851
- "2xs": "2xs";
1852
- xs: "xs";
1853
1851
  "2xl": "2xl";
1854
1852
  "3xl": "3xl";
1855
1853
  "4xl": "4xl";
1854
+ "2xs": "2xs";
1855
+ xs: "xs";
1856
1856
  full: "full";
1857
1857
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1858
1858
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1891,8 +1891,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1891
1891
  start: "start";
1892
1892
  center: "center";
1893
1893
  end: "end";
1894
- stretch: "stretch";
1895
1894
  baseline: "baseline";
1895
+ stretch: "stretch";
1896
1896
  }>>;
1897
1897
  justify: zod.ZodOptional<zod.ZodEnum<{
1898
1898
  start: "start";
@@ -1930,11 +1930,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1930
1930
  md: "md";
1931
1931
  lg: "lg";
1932
1932
  xl: "xl";
1933
- "2xs": "2xs";
1934
- xs: "xs";
1935
1933
  "2xl": "2xl";
1936
1934
  "3xl": "3xl";
1937
1935
  "4xl": "4xl";
1936
+ "2xs": "2xs";
1937
+ xs: "xs";
1938
1938
  full: "full";
1939
1939
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
1940
1940
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -1981,8 +1981,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
1981
1981
  start: "start";
1982
1982
  center: "center";
1983
1983
  end: "end";
1984
- stretch: "stretch";
1985
1984
  baseline: "baseline";
1985
+ stretch: "stretch";
1986
1986
  }>>;
1987
1987
  justify: zod.ZodOptional<zod.ZodEnum<{
1988
1988
  start: "start";
@@ -2020,11 +2020,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2020
2020
  md: "md";
2021
2021
  lg: "lg";
2022
2022
  xl: "xl";
2023
- "2xs": "2xs";
2024
- xs: "xs";
2025
2023
  "2xl": "2xl";
2026
2024
  "3xl": "3xl";
2027
2025
  "4xl": "4xl";
2026
+ "2xs": "2xs";
2027
+ xs: "xs";
2028
2028
  full: "full";
2029
2029
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
2030
2030
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -2056,8 +2056,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2056
2056
  start: "start";
2057
2057
  center: "center";
2058
2058
  end: "end";
2059
- stretch: "stretch";
2060
2059
  baseline: "baseline";
2060
+ stretch: "stretch";
2061
2061
  }>>;
2062
2062
  justify: zod.ZodOptional<zod.ZodEnum<{
2063
2063
  start: "start";
@@ -2095,11 +2095,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2095
2095
  md: "md";
2096
2096
  lg: "lg";
2097
2097
  xl: "xl";
2098
- "2xs": "2xs";
2099
- xs: "xs";
2100
2098
  "2xl": "2xl";
2101
2099
  "3xl": "3xl";
2102
2100
  "4xl": "4xl";
2101
+ "2xs": "2xs";
2102
+ xs: "xs";
2103
2103
  full: "full";
2104
2104
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
2105
2105
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -2141,8 +2141,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2141
2141
  start: "start";
2142
2142
  center: "center";
2143
2143
  end: "end";
2144
- stretch: "stretch";
2145
2144
  baseline: "baseline";
2145
+ stretch: "stretch";
2146
2146
  }>>;
2147
2147
  justify: zod.ZodOptional<zod.ZodEnum<{
2148
2148
  start: "start";
@@ -2180,11 +2180,11 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2180
2180
  md: "md";
2181
2181
  lg: "lg";
2182
2182
  xl: "xl";
2183
- "2xs": "2xs";
2184
- xs: "xs";
2185
2183
  "2xl": "2xl";
2186
2184
  "3xl": "3xl";
2187
2185
  "4xl": "4xl";
2186
+ "2xs": "2xs";
2187
+ xs: "xs";
2188
2188
  full: "full";
2189
2189
  }>, zod.ZodNumber, zod.ZodString, zod.ZodObject<{
2190
2190
  topLeft: zod.ZodOptional<zod.ZodString>;
@@ -2215,8 +2215,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
2215
2215
  }, zod_v4_core0.$strip>;
2216
2216
  Divider: zod.ZodObject<{
2217
2217
  axis: zod.ZodOptional<zod.ZodEnum<{
2218
- vertical: "vertical";
2219
2218
  horizontal: "horizontal";
2219
+ vertical: "vertical";
2220
2220
  }>>;
2221
2221
  weight: zod.ZodOptional<zod.ZodNumber>;
2222
2222
  color: zod.ZodOptional<zod.ZodEnum<{
package/dist/headless.cjs CHANGED
@@ -272,6 +272,11 @@ const ALL_UPDATES = [
272
272
  UseAgentUpdate.OnStateChanged,
273
273
  UseAgentUpdate.OnRunStatusChanged
274
274
  ];
275
+ /**
276
+ * Returns the selected agent and its readiness, subscribing to agent updates.
277
+ * Uses a shared agent by default, or a private proxy when `agentId`,
278
+ * `runtimeAgentId`, and `threadId` are supplied together.
279
+ */
275
280
  function useAgent({ agentId, threadId, runtimeAgentId, updates, throttleMs } = {}) {
276
281
  (0, _copilotkit_core.ɵvalidateAgentBinding)({
277
282
  agentId,