@copilotkit/react-core 1.81.0 → 1.83.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.
Files changed (44) hide show
  1. package/dist/{MarkdownSurfaces-L67964_B.mjs → MarkdownSurfaces-DGpjmPaB.mjs} +11 -2
  2. package/dist/MarkdownSurfaces-DGpjmPaB.mjs.map +1 -0
  3. package/dist/{MarkdownSurfaces-D-OkjUpU.cjs → MarkdownSurfaces-FF5za2kU.cjs} +11 -2
  4. package/dist/MarkdownSurfaces-FF5za2kU.cjs.map +1 -0
  5. package/dist/{copilotkit-BjllYYjw.cjs → copilotkit-BuIuo-Z1.cjs} +165 -100
  6. package/dist/copilotkit-BuIuo-Z1.cjs.map +1 -0
  7. package/dist/{copilotkit-BEcaM4L4.d.mts → copilotkit-C765tOUi.d.mts} +46 -3
  8. package/dist/copilotkit-C765tOUi.d.mts.map +1 -0
  9. package/dist/{copilotkit-fKrKqoiP.mjs → copilotkit-DyxwF9wL.mjs} +165 -100
  10. package/dist/copilotkit-DyxwF9wL.mjs.map +1 -0
  11. package/dist/{copilotkit-D9jIImy9.d.cts → copilotkit-wqaNanhw.d.cts} +46 -3
  12. package/dist/copilotkit-wqaNanhw.d.cts.map +1 -0
  13. package/dist/index.cjs +2 -2
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.mts +1 -1
  16. package/dist/index.mjs +2 -2
  17. package/dist/index.umd.js +12 -3
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/generative-ui.cjs +1 -1
  20. package/dist/v2/generative-ui.d.cts +54 -54
  21. package/dist/v2/generative-ui.d.mts +54 -54
  22. package/dist/v2/generative-ui.mjs +1 -1
  23. package/dist/v2/headless.cjs +10 -1
  24. package/dist/v2/headless.cjs.map +1 -1
  25. package/dist/v2/headless.d.cts +9 -0
  26. package/dist/v2/headless.d.cts.map +1 -1
  27. package/dist/v2/headless.d.mts +9 -0
  28. package/dist/v2/headless.d.mts.map +1 -1
  29. package/dist/v2/headless.mjs +10 -1
  30. package/dist/v2/headless.mjs.map +1 -1
  31. package/dist/v2/index.cjs +2 -2
  32. package/dist/v2/index.css +1 -1
  33. package/dist/v2/index.d.cts +1 -1
  34. package/dist/v2/index.d.mts +1 -1
  35. package/dist/v2/index.mjs +2 -2
  36. package/dist/v2/index.umd.js +173 -99
  37. package/dist/v2/index.umd.js.map +1 -1
  38. package/package.json +8 -8
  39. package/dist/MarkdownSurfaces-D-OkjUpU.cjs.map +0 -1
  40. package/dist/MarkdownSurfaces-L67964_B.mjs.map +0 -1
  41. package/dist/copilotkit-BEcaM4L4.d.mts.map +0 -1
  42. package/dist/copilotkit-BjllYYjw.cjs.map +0 -1
  43. package/dist/copilotkit-D9jIImy9.d.cts.map +0 -1
  44. package/dist/copilotkit-fKrKqoiP.mjs.map +0 -1
@@ -292,15 +292,15 @@ declare const standardUI: GenerativeUI<{
292
292
  domain: zod.ZodOptional<zod.ZodString>;
293
293
  favicon: zod.ZodOptional<zod.ZodBoolean>;
294
294
  }, "strip", zod.ZodTypeAny, {
295
- title: string;
296
295
  href: string;
296
+ title: string;
297
297
  description?: string | undefined;
298
298
  image?: string | undefined;
299
299
  domain?: string | undefined;
300
300
  favicon?: boolean | undefined;
301
301
  }, {
302
- title: string;
303
302
  href: string;
303
+ title: string;
304
304
  description?: string | undefined;
305
305
  image?: string | undefined;
306
306
  domain?: string | undefined;
@@ -324,16 +324,16 @@ declare const standardUI: GenerativeUI<{
324
324
  snippet: zod.ZodOptional<zod.ZodString>;
325
325
  source: zod.ZodOptional<zod.ZodString>;
326
326
  }, "strip", zod.ZodTypeAny, {
327
- title?: string | undefined;
328
327
  label?: string | undefined;
329
328
  url?: string | undefined;
329
+ title?: string | undefined;
330
330
  index?: number | undefined;
331
331
  snippet?: string | undefined;
332
332
  source?: string | undefined;
333
333
  }, {
334
- title?: string | undefined;
335
334
  label?: string | undefined;
336
335
  url?: string | undefined;
336
+ title?: string | undefined;
337
337
  index?: number | undefined;
338
338
  snippet?: string | undefined;
339
339
  source?: string | undefined;
@@ -421,9 +421,9 @@ declare const standardUI: GenerativeUI<{
421
421
  width: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
422
422
  }, "strip", zod.ZodTypeAny, {
423
423
  title: string;
424
- description?: string | undefined;
425
424
  width?: string | number | undefined;
426
425
  layout?: "horizontal" | "vertical" | undefined;
426
+ description?: string | undefined;
427
427
  href?: string | undefined;
428
428
  image?: string | undefined;
429
429
  subtitle?: string | undefined;
@@ -442,9 +442,9 @@ declare const standardUI: GenerativeUI<{
442
442
  }[] | undefined;
443
443
  }, {
444
444
  title: string;
445
- description?: string | undefined;
446
445
  width?: string | number | undefined;
447
446
  layout?: "horizontal" | "vertical" | undefined;
447
+ description?: string | undefined;
448
448
  href?: string | undefined;
449
449
  image?: string | undefined;
450
450
  subtitle?: string | undefined;
@@ -582,7 +582,6 @@ declare const standardUI: GenerativeUI<{
582
582
  }>>;
583
583
  }, "strip", zod.ZodTypeAny, {
584
584
  url: string;
585
- description?: string | undefined;
586
585
  background?: string | undefined;
587
586
  radius?: string | number | {
588
587
  topLeft?: string | undefined;
@@ -599,6 +598,7 @@ declare const standardUI: GenerativeUI<{
599
598
  weight?: number | undefined;
600
599
  aspectRatio?: string | undefined;
601
600
  variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
601
+ description?: string | undefined;
602
602
  lightbox?: boolean | undefined;
603
603
  fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
604
604
  frame?: boolean | undefined;
@@ -613,7 +613,6 @@ declare const standardUI: GenerativeUI<{
613
613
  } | undefined;
614
614
  }, {
615
615
  url: string;
616
- description?: string | undefined;
617
616
  background?: string | undefined;
618
617
  radius?: string | number | {
619
618
  topLeft?: string | undefined;
@@ -630,6 +629,7 @@ declare const standardUI: GenerativeUI<{
630
629
  weight?: number | undefined;
631
630
  aspectRatio?: string | undefined;
632
631
  variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
632
+ description?: string | undefined;
633
633
  lightbox?: boolean | undefined;
634
634
  fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
635
635
  frame?: boolean | undefined;
@@ -963,11 +963,11 @@ declare const standardUI: GenerativeUI<{
963
963
  weight: zod.ZodOptional<zod.ZodNumber>;
964
964
  }, "strip", zod.ZodTypeAny, {
965
965
  url: string;
966
- title?: string | undefined;
967
966
  width?: string | number | undefined;
968
967
  maxWidth?: string | number | undefined;
969
968
  weight?: number | undefined;
970
969
  aspectRatio?: string | undefined;
970
+ title?: string | undefined;
971
971
  posterUrl?: string | undefined;
972
972
  captions?: {
973
973
  url: string;
@@ -977,11 +977,11 @@ declare const standardUI: GenerativeUI<{
977
977
  }[] | undefined;
978
978
  }, {
979
979
  url: string;
980
- title?: string | undefined;
981
980
  width?: string | number | undefined;
982
981
  maxWidth?: string | number | undefined;
983
982
  weight?: number | undefined;
984
983
  aspectRatio?: string | undefined;
984
+ title?: string | undefined;
985
985
  posterUrl?: string | undefined;
986
986
  captions?: {
987
987
  url: string;
@@ -1001,12 +1001,12 @@ declare const standardUI: GenerativeUI<{
1001
1001
  weight: zod.ZodOptional<zod.ZodNumber>;
1002
1002
  }, "strip", zod.ZodTypeAny, {
1003
1003
  url: string;
1004
- description?: string | undefined;
1005
1004
  weight?: number | undefined;
1005
+ description?: string | undefined;
1006
1006
  }, {
1007
1007
  url: string;
1008
- description?: string | undefined;
1009
1008
  weight?: number | undefined;
1009
+ description?: string | undefined;
1010
1010
  }>;
1011
1011
  events: unknown;
1012
1012
  slots: unknown;
@@ -1020,14 +1020,14 @@ declare const standardUI: GenerativeUI<{
1020
1020
  title: zod.ZodOptional<zod.ZodString>;
1021
1021
  }, "strip", zod.ZodTypeAny, {
1022
1022
  html: string;
1023
- title?: string | undefined;
1024
1023
  width?: string | number | undefined;
1025
1024
  height?: string | number | undefined;
1025
+ title?: string | undefined;
1026
1026
  }, {
1027
1027
  html: string;
1028
- title?: string | undefined;
1029
1028
  width?: string | number | undefined;
1030
1029
  height?: string | number | undefined;
1030
+ title?: string | undefined;
1031
1031
  }>;
1032
1032
  events: unknown;
1033
1033
  slots: unknown;
@@ -1043,14 +1043,14 @@ declare const standardUI: GenerativeUI<{
1043
1043
  componentId: zod.ZodOptional<zod.ZodString>;
1044
1044
  }, "strip", zod.ZodTypeAny, {
1045
1045
  label: string;
1046
- componentId?: string | undefined;
1047
1046
  align?: "start" | "center" | "end" | undefined;
1048
1047
  width?: string | number | undefined;
1048
+ componentId?: string | undefined;
1049
1049
  }, {
1050
1050
  label: string;
1051
- componentId?: string | undefined;
1052
1051
  align?: "start" | "center" | "end" | undefined;
1053
1052
  width?: string | number | undefined;
1053
+ componentId?: string | undefined;
1054
1054
  }>, zod.ZodUnion<[zod.ZodObject<{
1055
1055
  componentId: zod.ZodString;
1056
1056
  }, "strip", zod.ZodTypeAny, {
@@ -1072,9 +1072,9 @@ declare const standardUI: GenerativeUI<{
1072
1072
  }, "strip", zod.ZodTypeAny, {
1073
1073
  columns?: (string | {
1074
1074
  label: string;
1075
- componentId?: string | undefined;
1076
1075
  align?: "start" | "center" | "end" | undefined;
1077
1076
  width?: string | number | undefined;
1077
+ componentId?: string | undefined;
1078
1078
  } | {
1079
1079
  componentId: string;
1080
1080
  } | {
@@ -1089,9 +1089,9 @@ declare const standardUI: GenerativeUI<{
1089
1089
  }, {
1090
1090
  columns?: (string | {
1091
1091
  label: string;
1092
- componentId?: string | undefined;
1093
1092
  align?: "start" | "center" | "end" | undefined;
1094
1093
  width?: string | number | undefined;
1094
+ componentId?: string | undefined;
1095
1095
  } | {
1096
1096
  componentId: string;
1097
1097
  } | {
@@ -1274,16 +1274,16 @@ declare const standardUI: GenerativeUI<{
1274
1274
  disabled: zod.ZodOptional<zod.ZodBoolean>;
1275
1275
  }, "strip", zod.ZodTypeAny, {
1276
1276
  value?: string | number | undefined;
1277
- description?: string | undefined;
1278
1277
  label?: string | undefined;
1278
+ description?: string | undefined;
1279
1279
  disabled?: boolean | undefined;
1280
1280
  icon?: string | undefined;
1281
1281
  marker?: string | undefined;
1282
1282
  markerSize?: number | undefined;
1283
1283
  }, {
1284
1284
  value?: string | number | undefined;
1285
- description?: string | undefined;
1286
1285
  label?: string | undefined;
1286
+ description?: string | undefined;
1287
1287
  disabled?: boolean | undefined;
1288
1288
  icon?: string | undefined;
1289
1289
  marker?: string | undefined;
@@ -1354,9 +1354,9 @@ declare const standardUI: GenerativeUI<{
1354
1354
  currency: zod.ZodOptional<zod.ZodString>;
1355
1355
  title: zod.ZodOptional<zod.ZodString>;
1356
1356
  }, "strip", zod.ZodTypeAny, {
1357
- title?: string | undefined;
1358
1357
  height?: number | undefined;
1359
1358
  layout?: "horizontal" | "vertical" | undefined;
1359
+ title?: string | undefined;
1360
1360
  chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
1361
1361
  data?: Record<string, unknown>[] | undefined;
1362
1362
  xKey?: string | undefined;
@@ -1388,9 +1388,9 @@ declare const standardUI: GenerativeUI<{
1388
1388
  currency?: string | undefined;
1389
1389
  format?: "number" | "currency" | "percent" | undefined;
1390
1390
  }, {
1391
- title?: string | undefined;
1392
1391
  height?: number | undefined;
1393
1392
  layout?: "horizontal" | "vertical" | undefined;
1393
+ title?: string | undefined;
1394
1394
  chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
1395
1395
  data?: Record<string, unknown>[] | undefined;
1396
1396
  xKey?: string | undefined;
@@ -1610,14 +1610,14 @@ declare const standardUI: GenerativeUI<{
1610
1610
  maxWidth: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
1611
1611
  weight: zod.ZodOptional<zod.ZodNumber>;
1612
1612
  }, "strip", zod.ZodTypeAny, {
1613
- title?: string | undefined;
1614
1613
  maxWidth?: string | number | undefined;
1615
1614
  weight?: number | undefined;
1615
+ title?: string | undefined;
1616
1616
  open?: boolean | undefined;
1617
1617
  }, {
1618
- title?: string | undefined;
1619
1618
  maxWidth?: string | number | undefined;
1620
1619
  weight?: number | undefined;
1620
+ title?: string | undefined;
1621
1621
  open?: boolean | undefined;
1622
1622
  }>;
1623
1623
  events: unknown;
@@ -2075,7 +2075,6 @@ declare const standardUI: GenerativeUI<{
2075
2075
  mask: zod.ZodOptional<zod.ZodString>;
2076
2076
  }, "strip", zod.ZodTypeAny, {
2077
2077
  value?: string | number | undefined;
2078
- name?: string | undefined;
2079
2078
  weight?: number | undefined;
2080
2079
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2081
2080
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2092,13 +2091,13 @@ declare const standardUI: GenerativeUI<{
2092
2091
  }[] | undefined;
2093
2092
  disabled?: boolean | undefined;
2094
2093
  placeholder?: string | undefined;
2094
+ name?: string | undefined;
2095
2095
  required?: boolean | undefined;
2096
2096
  invalid?: boolean | undefined;
2097
2097
  autoSelect?: boolean | undefined;
2098
2098
  mask?: string | undefined;
2099
2099
  }, {
2100
2100
  value?: string | number | undefined;
2101
- name?: string | undefined;
2102
2101
  weight?: number | undefined;
2103
2102
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2104
2103
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2115,6 +2114,7 @@ declare const standardUI: GenerativeUI<{
2115
2114
  }[] | undefined;
2116
2115
  disabled?: boolean | undefined;
2117
2116
  placeholder?: string | undefined;
2117
+ name?: string | undefined;
2118
2118
  required?: boolean | undefined;
2119
2119
  invalid?: boolean | undefined;
2120
2120
  autoSelect?: boolean | undefined;
@@ -2175,7 +2175,6 @@ declare const standardUI: GenerativeUI<{
2175
2175
  size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
2176
2176
  }, "strip", zod.ZodTypeAny, {
2177
2177
  value?: string | undefined;
2178
- name?: string | undefined;
2179
2178
  weight?: number | undefined;
2180
2179
  rows?: number | undefined;
2181
2180
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2191,13 +2190,13 @@ declare const standardUI: GenerativeUI<{
2191
2190
  }[] | undefined;
2192
2191
  disabled?: boolean | undefined;
2193
2192
  placeholder?: string | undefined;
2193
+ name?: string | undefined;
2194
2194
  required?: boolean | undefined;
2195
2195
  invalid?: boolean | undefined;
2196
2196
  maxRows?: number | undefined;
2197
2197
  autoResize?: boolean | undefined;
2198
2198
  }, {
2199
2199
  value?: string | undefined;
2200
- name?: string | undefined;
2201
2200
  weight?: number | undefined;
2202
2201
  rows?: number | undefined;
2203
2202
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2213,6 +2212,7 @@ declare const standardUI: GenerativeUI<{
2213
2212
  }[] | undefined;
2214
2213
  disabled?: boolean | undefined;
2215
2214
  placeholder?: string | undefined;
2215
+ name?: string | undefined;
2216
2216
  required?: boolean | undefined;
2217
2217
  invalid?: boolean | undefined;
2218
2218
  maxRows?: number | undefined;
@@ -2266,12 +2266,12 @@ declare const standardUI: GenerativeUI<{
2266
2266
  description: zod.ZodOptional<zod.ZodString>;
2267
2267
  }, "strip", zod.ZodTypeAny, {
2268
2268
  value: string;
2269
- description?: string | undefined;
2270
2269
  label?: string | undefined;
2270
+ description?: string | undefined;
2271
2271
  }, {
2272
2272
  value: string;
2273
- description?: string | undefined;
2274
2273
  label?: string | undefined;
2274
+ description?: string | undefined;
2275
2275
  }>]>, "many">>;
2276
2276
  placeholder: zod.ZodOptional<zod.ZodString>;
2277
2277
  label: zod.ZodOptional<zod.ZodString>;
@@ -2289,10 +2289,9 @@ declare const standardUI: GenerativeUI<{
2289
2289
  value?: string | undefined;
2290
2290
  options?: (string | {
2291
2291
  value: string;
2292
- description?: string | undefined;
2293
2292
  label?: string | undefined;
2293
+ description?: string | undefined;
2294
2294
  })[] | undefined;
2295
- name?: string | undefined;
2296
2295
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2297
2296
  block?: boolean | undefined;
2298
2297
  label?: string | undefined;
@@ -2309,6 +2308,7 @@ declare const standardUI: GenerativeUI<{
2309
2308
  disabled?: boolean | undefined;
2310
2309
  icon?: string | undefined;
2311
2310
  placeholder?: string | undefined;
2311
+ name?: string | undefined;
2312
2312
  required?: boolean | undefined;
2313
2313
  clearable?: boolean | undefined;
2314
2314
  clearLabel?: string | undefined;
@@ -2317,10 +2317,9 @@ declare const standardUI: GenerativeUI<{
2317
2317
  value?: string | undefined;
2318
2318
  options?: (string | {
2319
2319
  value: string;
2320
- description?: string | undefined;
2321
2320
  label?: string | undefined;
2321
+ description?: string | undefined;
2322
2322
  })[] | undefined;
2323
- name?: string | undefined;
2324
2323
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2325
2324
  block?: boolean | undefined;
2326
2325
  label?: string | undefined;
@@ -2337,6 +2336,7 @@ declare const standardUI: GenerativeUI<{
2337
2336
  disabled?: boolean | undefined;
2338
2337
  icon?: string | undefined;
2339
2338
  placeholder?: string | undefined;
2339
+ name?: string | undefined;
2340
2340
  required?: boolean | undefined;
2341
2341
  clearable?: boolean | undefined;
2342
2342
  clearLabel?: string | undefined;
@@ -2393,7 +2393,6 @@ declare const standardUI: GenerativeUI<{
2393
2393
  shape: zod.ZodOptional<zod.ZodEnum<["round", "square"]>>;
2394
2394
  }, "strip", zod.ZodTypeAny, {
2395
2395
  value?: boolean | undefined;
2396
- name?: string | undefined;
2397
2396
  weight?: number | undefined;
2398
2397
  label?: string | undefined;
2399
2398
  lineThrough?: boolean | undefined;
@@ -2407,11 +2406,11 @@ declare const standardUI: GenerativeUI<{
2407
2406
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2408
2407
  }[] | undefined;
2409
2408
  disabled?: boolean | undefined;
2409
+ name?: string | undefined;
2410
2410
  required?: boolean | undefined;
2411
2411
  shape?: "round" | "square" | undefined;
2412
2412
  }, {
2413
2413
  value?: boolean | undefined;
2414
- name?: string | undefined;
2415
2414
  weight?: number | undefined;
2416
2415
  label?: string | undefined;
2417
2416
  lineThrough?: boolean | undefined;
@@ -2425,6 +2424,7 @@ declare const standardUI: GenerativeUI<{
2425
2424
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2426
2425
  }[] | undefined;
2427
2426
  disabled?: boolean | undefined;
2427
+ name?: string | undefined;
2428
2428
  required?: boolean | undefined;
2429
2429
  shape?: "round" | "square" | undefined;
2430
2430
  }>;
@@ -2497,12 +2497,12 @@ declare const standardUI: GenerativeUI<{
2497
2497
  description: zod.ZodOptional<zod.ZodString>;
2498
2498
  }, "strip", zod.ZodTypeAny, {
2499
2499
  value: string;
2500
- description?: string | undefined;
2501
2500
  label?: string | undefined;
2501
+ description?: string | undefined;
2502
2502
  }, {
2503
2503
  value: string;
2504
- description?: string | undefined;
2505
2504
  label?: string | undefined;
2505
+ description?: string | undefined;
2506
2506
  }>]>, "many">>;
2507
2507
  label: zod.ZodOptional<zod.ZodString>;
2508
2508
  name: zod.ZodOptional<zod.ZodString>;
@@ -2514,10 +2514,9 @@ declare const standardUI: GenerativeUI<{
2514
2514
  value?: string | undefined;
2515
2515
  options?: (string | {
2516
2516
  value: string;
2517
- description?: string | undefined;
2518
2517
  label?: string | undefined;
2518
+ description?: string | undefined;
2519
2519
  })[] | undefined;
2520
- name?: string | undefined;
2521
2520
  direction?: "col" | "row" | undefined;
2522
2521
  variant?: "list" | "pills" | "cards" | undefined;
2523
2522
  label?: string | undefined;
@@ -2531,15 +2530,15 @@ declare const standardUI: GenerativeUI<{
2531
2530
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2532
2531
  }[] | undefined;
2533
2532
  disabled?: boolean | undefined;
2533
+ name?: string | undefined;
2534
2534
  required?: boolean | undefined;
2535
2535
  }, {
2536
2536
  value?: string | undefined;
2537
2537
  options?: (string | {
2538
2538
  value: string;
2539
- description?: string | undefined;
2540
2539
  label?: string | undefined;
2540
+ description?: string | undefined;
2541
2541
  })[] | undefined;
2542
- name?: string | undefined;
2543
2542
  direction?: "col" | "row" | undefined;
2544
2543
  variant?: "list" | "pills" | "cards" | undefined;
2545
2544
  label?: string | undefined;
@@ -2553,6 +2552,7 @@ declare const standardUI: GenerativeUI<{
2553
2552
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2554
2553
  }[] | undefined;
2555
2554
  disabled?: boolean | undefined;
2555
+ name?: string | undefined;
2556
2556
  required?: boolean | undefined;
2557
2557
  }>;
2558
2558
  events: unknown;
@@ -2619,7 +2619,6 @@ declare const standardUI: GenerativeUI<{
2619
2619
  name: zod.ZodOptional<zod.ZodString>;
2620
2620
  }, "strip", zod.ZodTypeAny, {
2621
2621
  value?: number | undefined;
2622
- name?: string | undefined;
2623
2622
  weight?: number | undefined;
2624
2623
  label?: string | undefined;
2625
2624
  checks?: {
@@ -2632,6 +2631,7 @@ declare const standardUI: GenerativeUI<{
2632
2631
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2633
2632
  }[] | undefined;
2634
2633
  disabled?: boolean | undefined;
2634
+ name?: string | undefined;
2635
2635
  min?: number | undefined;
2636
2636
  max?: number | undefined;
2637
2637
  step?: number | undefined;
@@ -2644,7 +2644,6 @@ declare const standardUI: GenerativeUI<{
2644
2644
  sliderStyle?: "continuous" | "discrete" | undefined;
2645
2645
  }, {
2646
2646
  value?: number | undefined;
2647
- name?: string | undefined;
2648
2647
  weight?: number | undefined;
2649
2648
  label?: string | undefined;
2650
2649
  checks?: {
@@ -2657,6 +2656,7 @@ declare const standardUI: GenerativeUI<{
2657
2656
  }, zod.ZodTypeAny, "passthrough"> | undefined;
2658
2657
  }[] | undefined;
2659
2658
  disabled?: boolean | undefined;
2659
+ name?: string | undefined;
2660
2660
  min?: number | undefined;
2661
2661
  max?: number | undefined;
2662
2662
  step?: number | undefined;
@@ -2716,12 +2716,12 @@ declare const standardUI: GenerativeUI<{
2716
2716
  description: zod.ZodOptional<zod.ZodString>;
2717
2717
  }, "strip", zod.ZodTypeAny, {
2718
2718
  value: string;
2719
- description?: string | undefined;
2720
2719
  label?: string | undefined;
2720
+ description?: string | undefined;
2721
2721
  }, {
2722
2722
  value: string;
2723
- description?: string | undefined;
2724
2723
  label?: string | undefined;
2724
+ description?: string | undefined;
2725
2725
  }>]>, "many">>;
2726
2726
  label: zod.ZodOptional<zod.ZodString>;
2727
2727
  block: zod.ZodOptional<zod.ZodBoolean>;
@@ -2733,8 +2733,8 @@ declare const standardUI: GenerativeUI<{
2733
2733
  value?: string | undefined;
2734
2734
  options?: (string | {
2735
2735
  value: string;
2736
- description?: string | undefined;
2737
2736
  label?: string | undefined;
2737
+ description?: string | undefined;
2738
2738
  })[] | undefined;
2739
2739
  variant?: "solid" | "outline" | "soft" | "ghost" | undefined;
2740
2740
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2755,8 +2755,8 @@ declare const standardUI: GenerativeUI<{
2755
2755
  value?: string | undefined;
2756
2756
  options?: (string | {
2757
2757
  value: string;
2758
- description?: string | undefined;
2759
2758
  label?: string | undefined;
2759
+ description?: string | undefined;
2760
2760
  })[] | undefined;
2761
2761
  variant?: "solid" | "outline" | "soft" | "ghost" | undefined;
2762
2762
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2822,12 +2822,12 @@ declare const standardUI: GenerativeUI<{
2822
2822
  description: zod.ZodOptional<zod.ZodString>;
2823
2823
  }, "strip", zod.ZodTypeAny, {
2824
2824
  value: string;
2825
- description?: string | undefined;
2826
2825
  label?: string | undefined;
2826
+ description?: string | undefined;
2827
2827
  }, {
2828
2828
  value: string;
2829
- description?: string | undefined;
2830
2829
  label?: string | undefined;
2830
+ description?: string | undefined;
2831
2831
  }>]>, "many">>;
2832
2832
  label: zod.ZodOptional<zod.ZodString>;
2833
2833
  variant: zod.ZodOptional<zod.ZodEnum<["multipleSelection", "mutuallyExclusive"]>>;
@@ -2840,8 +2840,8 @@ declare const standardUI: GenerativeUI<{
2840
2840
  value?: string[] | undefined;
2841
2841
  options?: (string | {
2842
2842
  value: string;
2843
- description?: string | undefined;
2844
2843
  label?: string | undefined;
2844
+ description?: string | undefined;
2845
2845
  })[] | undefined;
2846
2846
  weight?: number | undefined;
2847
2847
  variant?: "multipleSelection" | "mutuallyExclusive" | undefined;
@@ -2863,8 +2863,8 @@ declare const standardUI: GenerativeUI<{
2863
2863
  value?: string[] | undefined;
2864
2864
  options?: (string | {
2865
2865
  value: string;
2866
- description?: string | undefined;
2867
2866
  label?: string | undefined;
2867
+ description?: string | undefined;
2868
2868
  })[] | undefined;
2869
2869
  weight?: number | undefined;
2870
2870
  variant?: "multipleSelection" | "mutuallyExclusive" | undefined;
@@ -4777,7 +4777,6 @@ declare const standardUI: GenerativeUI<{
4777
4777
  disableAutoSpacing: zod.ZodOptional<zod.ZodBoolean>;
4778
4778
  }, "strip", zod.ZodTypeAny, {
4779
4779
  url: string;
4780
- description?: string | undefined;
4781
4780
  wrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
4782
4781
  align?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
4783
4782
  justify?: "start" | "center" | "end" | "stretch" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
@@ -4813,11 +4812,11 @@ declare const standardUI: GenerativeUI<{
4813
4812
  maxSize?: string | number | undefined;
4814
4813
  disableAutoSpacing?: boolean | undefined;
4815
4814
  size?: "sm" | "md" | "lg" | undefined;
4815
+ description?: string | undefined;
4816
4816
  href?: string | undefined;
4817
4817
  lightbox?: boolean | undefined;
4818
4818
  }, {
4819
4819
  url: string;
4820
- description?: string | undefined;
4821
4820
  wrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
4822
4821
  align?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
4823
4822
  justify?: "start" | "center" | "end" | "stretch" | "spaceBetween" | "spaceAround" | "spaceEvenly" | undefined;
@@ -4853,6 +4852,7 @@ declare const standardUI: GenerativeUI<{
4853
4852
  maxSize?: string | number | undefined;
4854
4853
  disableAutoSpacing?: boolean | undefined;
4855
4854
  size?: "sm" | "md" | "lg" | undefined;
4855
+ description?: string | undefined;
4856
4856
  href?: string | undefined;
4857
4857
  lightbox?: boolean | undefined;
4858
4858
  }>;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { A as isRecord, I as useKatexStyles, N as createGenerativeUI, P as toJsonSchema, c as DARK_THEME_CSS, d as useGenerativeUIAccessibility, f as wrapperAria, g as GenerativeUINodeContext, h as useManagerVersion, k as GenerativeUIError, l as controlAria, m as useGenerativeUIState, n as DefaultGenerativeUIChatCard, p as useGenerativeUIFunction, s as SurfaceView, t as MarkdownSurfaces, u as namedRole, v as useGenerativeUIRuntime, y as useRequiredGenerativeUIRuntime } from "../MarkdownSurfaces-L67964_B.mjs";
3
+ import { A as isRecord, I as useKatexStyles, N as createGenerativeUI, P as toJsonSchema, c as DARK_THEME_CSS, d as useGenerativeUIAccessibility, f as wrapperAria, g as GenerativeUINodeContext, h as useManagerVersion, k as GenerativeUIError, l as controlAria, m as useGenerativeUIState, n as DefaultGenerativeUIChatCard, p as useGenerativeUIFunction, s as SurfaceView, t as MarkdownSurfaces, u as namedRole, v as useGenerativeUIRuntime, y as useRequiredGenerativeUIRuntime } from "../MarkdownSurfaces-DGpjmPaB.mjs";
4
4
  import React, { Suspense, createContext, isValidElement, memo, useCallback, useContext, useEffect, useId, useInsertionEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
5
5
  import { A2UI_CHILD_LIST_MARK, A2UI_CHILD_LIST_REF, A2UI_COMPONENT_ID_MARK, A2UI_COMPONENT_ID_REF, GENERATIVE_UI_FUNCTIONS, GENERATIVE_UI_MAX_TARGET_COMPONENTS, childRefKind, functionCallers } from "@copilotkit/shared";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -113,7 +113,16 @@ const CopilotChatDefaultLabels = {
113
113
  chatToggleCloseLabel: "Close chat",
114
114
  chatScrollToBottomLabel: "Scroll to bottom",
115
115
  modalHeaderTitle: "CopilotKit Chat",
116
- welcomeMessageText: "How can I help you today?"
116
+ welcomeMessageText: "How can I help you today?",
117
+ reasoningMessageThinkingLabel: "Thinking…",
118
+ chatInputSlashMenuLabel: "Slash commands",
119
+ chatInputSlashMenuEmptyText: "No commands found",
120
+ attachmentRemoveButtonLabel: "Remove attachment",
121
+ attachmentPlayVideoButtonLabel: "Play video",
122
+ attachmentPreviewCloseButtonLabel: "Close preview",
123
+ modalHeaderCloseButtonLabel: "Close",
124
+ modalHeaderThreadsButtonLabel: "Open threads",
125
+ sidebarLabel: "Copilot chat sidebar"
117
126
  };
118
127
  /**
119
128
  * Mobile breakpoint below which the chat modal and the thread-list drawer are