@copilotkit/react-core 1.81.0 → 1.82.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-BEcaM4L4.d.mts → copilotkit-C765tOUi.d.mts} +46 -3
  6. package/dist/copilotkit-C765tOUi.d.mts.map +1 -0
  7. package/dist/{copilotkit-BjllYYjw.cjs → copilotkit-CVvbU9lV.cjs} +165 -100
  8. package/dist/copilotkit-CVvbU9lV.cjs.map +1 -0
  9. package/dist/{copilotkit-fKrKqoiP.mjs → copilotkit-DDReN1Px.mjs} +165 -100
  10. package/dist/copilotkit-DDReN1Px.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 +22 -22
  21. package/dist/v2/generative-ui.d.mts +22 -22
  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
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
- const require_MarkdownSurfaces = require('../MarkdownSurfaces-D-OkjUpU.cjs');
4
+ const require_MarkdownSurfaces = require('../MarkdownSurfaces-FF5za2kU.cjs');
5
5
  let react = require("react");
6
6
  react = require_MarkdownSurfaces.__toESM(react);
7
7
  let _copilotkit_shared = require("@copilotkit/shared");
@@ -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
  } | {
@@ -1192,13 +1192,13 @@ declare const standardUI: GenerativeUI<{
1192
1192
  value: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>>;
1193
1193
  }, "strip", zod.ZodTypeAny, {
1194
1194
  label: string;
1195
- value?: string | number | undefined;
1196
1195
  description?: string | undefined;
1196
+ value?: string | number | undefined;
1197
1197
  icon?: string | undefined;
1198
1198
  }, {
1199
1199
  label: string;
1200
- value?: string | number | undefined;
1201
1200
  description?: string | undefined;
1201
+ value?: string | number | undefined;
1202
1202
  icon?: string | undefined;
1203
1203
  }>]>, "many">>;
1204
1204
  direction: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal"]>>;
@@ -1217,8 +1217,8 @@ declare const standardUI: GenerativeUI<{
1217
1217
  direction?: "horizontal" | "vertical" | undefined;
1218
1218
  items?: (string | {
1219
1219
  label: string;
1220
- value?: string | number | undefined;
1221
1220
  description?: string | undefined;
1221
+ value?: string | number | undefined;
1222
1222
  icon?: string | undefined;
1223
1223
  })[] | undefined;
1224
1224
  marker?: "number" | "none" | "bullet" | "rich" | undefined;
@@ -1232,8 +1232,8 @@ declare const standardUI: GenerativeUI<{
1232
1232
  direction?: "horizontal" | "vertical" | undefined;
1233
1233
  items?: (string | {
1234
1234
  label: string;
1235
- value?: string | number | undefined;
1236
1235
  description?: string | undefined;
1236
+ value?: string | number | undefined;
1237
1237
  icon?: string | undefined;
1238
1238
  })[] | undefined;
1239
1239
  marker?: "number" | "none" | "bullet" | "rich" | undefined;
@@ -1273,16 +1273,16 @@ declare const standardUI: GenerativeUI<{
1273
1273
  markerSize: zod.ZodOptional<zod.ZodNumber>;
1274
1274
  disabled: zod.ZodOptional<zod.ZodBoolean>;
1275
1275
  }, "strip", zod.ZodTypeAny, {
1276
- value?: string | number | undefined;
1277
1276
  description?: string | undefined;
1277
+ value?: string | number | undefined;
1278
1278
  label?: 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
- value?: string | number | undefined;
1285
1284
  description?: string | undefined;
1285
+ value?: string | number | undefined;
1286
1286
  label?: string | undefined;
1287
1287
  disabled?: boolean | undefined;
1288
1288
  icon?: string | undefined;
@@ -2074,8 +2074,8 @@ declare const standardUI: GenerativeUI<{
2074
2074
  autoSelect: zod.ZodOptional<zod.ZodBoolean>;
2075
2075
  mask: zod.ZodOptional<zod.ZodString>;
2076
2076
  }, "strip", zod.ZodTypeAny, {
2077
- value?: string | number | undefined;
2078
2077
  name?: string | undefined;
2078
+ value?: string | number | undefined;
2079
2079
  weight?: number | undefined;
2080
2080
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2081
2081
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2097,8 +2097,8 @@ declare const standardUI: GenerativeUI<{
2097
2097
  autoSelect?: boolean | undefined;
2098
2098
  mask?: string | undefined;
2099
2099
  }, {
2100
- value?: string | number | undefined;
2101
2100
  name?: string | undefined;
2101
+ value?: string | number | undefined;
2102
2102
  weight?: number | undefined;
2103
2103
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2104
2104
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2174,8 +2174,8 @@ declare const standardUI: GenerativeUI<{
2174
2174
  invalid: zod.ZodOptional<zod.ZodBoolean>;
2175
2175
  size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
2176
2176
  }, "strip", zod.ZodTypeAny, {
2177
- value?: string | undefined;
2178
2177
  name?: string | undefined;
2178
+ value?: string | undefined;
2179
2179
  weight?: number | undefined;
2180
2180
  rows?: number | undefined;
2181
2181
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2196,8 +2196,8 @@ declare const standardUI: GenerativeUI<{
2196
2196
  maxRows?: number | undefined;
2197
2197
  autoResize?: boolean | undefined;
2198
2198
  }, {
2199
- value?: string | undefined;
2200
2199
  name?: string | undefined;
2200
+ value?: string | undefined;
2201
2201
  weight?: number | undefined;
2202
2202
  rows?: number | undefined;
2203
2203
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2286,13 +2286,13 @@ declare const standardUI: GenerativeUI<{
2286
2286
  size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
2287
2287
  pill: zod.ZodOptional<zod.ZodBoolean>;
2288
2288
  }, "strip", zod.ZodTypeAny, {
2289
+ name?: string | undefined;
2289
2290
  value?: string | undefined;
2290
2291
  options?: (string | {
2291
2292
  value: string;
2292
2293
  description?: string | undefined;
2293
2294
  label?: string | undefined;
2294
2295
  })[] | undefined;
2295
- name?: string | undefined;
2296
2296
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2297
2297
  block?: boolean | undefined;
2298
2298
  label?: string | undefined;
@@ -2314,13 +2314,13 @@ declare const standardUI: GenerativeUI<{
2314
2314
  clearLabel?: string | undefined;
2315
2315
  searchable?: boolean | undefined;
2316
2316
  }, {
2317
+ name?: string | undefined;
2317
2318
  value?: string | undefined;
2318
2319
  options?: (string | {
2319
2320
  value: string;
2320
2321
  description?: string | undefined;
2321
2322
  label?: string | undefined;
2322
2323
  })[] | undefined;
2323
- name?: string | undefined;
2324
2324
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2325
2325
  block?: boolean | undefined;
2326
2326
  label?: string | undefined;
@@ -2392,8 +2392,8 @@ declare const standardUI: GenerativeUI<{
2392
2392
  lineThrough: zod.ZodOptional<zod.ZodBoolean>;
2393
2393
  shape: zod.ZodOptional<zod.ZodEnum<["round", "square"]>>;
2394
2394
  }, "strip", zod.ZodTypeAny, {
2395
- value?: boolean | undefined;
2396
2395
  name?: string | undefined;
2396
+ value?: boolean | undefined;
2397
2397
  weight?: number | undefined;
2398
2398
  label?: string | undefined;
2399
2399
  lineThrough?: boolean | undefined;
@@ -2410,8 +2410,8 @@ declare const standardUI: GenerativeUI<{
2410
2410
  required?: boolean | undefined;
2411
2411
  shape?: "round" | "square" | undefined;
2412
2412
  }, {
2413
- value?: boolean | undefined;
2414
2413
  name?: string | undefined;
2414
+ value?: boolean | undefined;
2415
2415
  weight?: number | undefined;
2416
2416
  label?: string | undefined;
2417
2417
  lineThrough?: boolean | undefined;
@@ -2511,13 +2511,13 @@ declare const standardUI: GenerativeUI<{
2511
2511
  disabled: zod.ZodOptional<zod.ZodBoolean>;
2512
2512
  required: zod.ZodOptional<zod.ZodBoolean>;
2513
2513
  }, "strip", zod.ZodTypeAny, {
2514
+ name?: string | undefined;
2514
2515
  value?: string | undefined;
2515
2516
  options?: (string | {
2516
2517
  value: string;
2517
2518
  description?: string | undefined;
2518
2519
  label?: string | undefined;
2519
2520
  })[] | undefined;
2520
- name?: string | undefined;
2521
2521
  direction?: "col" | "row" | undefined;
2522
2522
  variant?: "list" | "pills" | "cards" | undefined;
2523
2523
  label?: string | undefined;
@@ -2533,13 +2533,13 @@ declare const standardUI: GenerativeUI<{
2533
2533
  disabled?: boolean | undefined;
2534
2534
  required?: boolean | undefined;
2535
2535
  }, {
2536
+ name?: string | undefined;
2536
2537
  value?: string | undefined;
2537
2538
  options?: (string | {
2538
2539
  value: string;
2539
2540
  description?: string | undefined;
2540
2541
  label?: string | undefined;
2541
2542
  })[] | undefined;
2542
- name?: string | undefined;
2543
2543
  direction?: "col" | "row" | undefined;
2544
2544
  variant?: "list" | "pills" | "cards" | undefined;
2545
2545
  label?: string | undefined;
@@ -2618,8 +2618,8 @@ declare const standardUI: GenerativeUI<{
2618
2618
  disabled: zod.ZodOptional<zod.ZodBoolean>;
2619
2619
  name: zod.ZodOptional<zod.ZodString>;
2620
2620
  }, "strip", zod.ZodTypeAny, {
2621
- value?: number | undefined;
2622
2621
  name?: string | undefined;
2622
+ value?: number | undefined;
2623
2623
  weight?: number | undefined;
2624
2624
  label?: string | undefined;
2625
2625
  checks?: {
@@ -2643,8 +2643,8 @@ declare const standardUI: GenerativeUI<{
2643
2643
  }[] | undefined;
2644
2644
  sliderStyle?: "continuous" | "discrete" | undefined;
2645
2645
  }, {
2646
- value?: number | undefined;
2647
2646
  name?: string | undefined;
2647
+ value?: number | undefined;
2648
2648
  weight?: number | undefined;
2649
2649
  label?: string | undefined;
2650
2650
  checks?: {
@@ -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
  } | {
@@ -1192,13 +1192,13 @@ declare const standardUI: GenerativeUI<{
1192
1192
  value: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>>;
1193
1193
  }, "strip", zod.ZodTypeAny, {
1194
1194
  label: string;
1195
- value?: string | number | undefined;
1196
1195
  description?: string | undefined;
1196
+ value?: string | number | undefined;
1197
1197
  icon?: string | undefined;
1198
1198
  }, {
1199
1199
  label: string;
1200
- value?: string | number | undefined;
1201
1200
  description?: string | undefined;
1201
+ value?: string | number | undefined;
1202
1202
  icon?: string | undefined;
1203
1203
  }>]>, "many">>;
1204
1204
  direction: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal"]>>;
@@ -1217,8 +1217,8 @@ declare const standardUI: GenerativeUI<{
1217
1217
  direction?: "horizontal" | "vertical" | undefined;
1218
1218
  items?: (string | {
1219
1219
  label: string;
1220
- value?: string | number | undefined;
1221
1220
  description?: string | undefined;
1221
+ value?: string | number | undefined;
1222
1222
  icon?: string | undefined;
1223
1223
  })[] | undefined;
1224
1224
  marker?: "number" | "none" | "bullet" | "rich" | undefined;
@@ -1232,8 +1232,8 @@ declare const standardUI: GenerativeUI<{
1232
1232
  direction?: "horizontal" | "vertical" | undefined;
1233
1233
  items?: (string | {
1234
1234
  label: string;
1235
- value?: string | number | undefined;
1236
1235
  description?: string | undefined;
1236
+ value?: string | number | undefined;
1237
1237
  icon?: string | undefined;
1238
1238
  })[] | undefined;
1239
1239
  marker?: "number" | "none" | "bullet" | "rich" | undefined;
@@ -1273,16 +1273,16 @@ declare const standardUI: GenerativeUI<{
1273
1273
  markerSize: zod.ZodOptional<zod.ZodNumber>;
1274
1274
  disabled: zod.ZodOptional<zod.ZodBoolean>;
1275
1275
  }, "strip", zod.ZodTypeAny, {
1276
- value?: string | number | undefined;
1277
1276
  description?: string | undefined;
1277
+ value?: string | number | undefined;
1278
1278
  label?: 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
- value?: string | number | undefined;
1285
1284
  description?: string | undefined;
1285
+ value?: string | number | undefined;
1286
1286
  label?: string | undefined;
1287
1287
  disabled?: boolean | undefined;
1288
1288
  icon?: string | undefined;
@@ -2074,8 +2074,8 @@ declare const standardUI: GenerativeUI<{
2074
2074
  autoSelect: zod.ZodOptional<zod.ZodBoolean>;
2075
2075
  mask: zod.ZodOptional<zod.ZodString>;
2076
2076
  }, "strip", zod.ZodTypeAny, {
2077
- value?: string | number | undefined;
2078
2077
  name?: string | undefined;
2078
+ value?: string | number | undefined;
2079
2079
  weight?: number | undefined;
2080
2080
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2081
2081
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2097,8 +2097,8 @@ declare const standardUI: GenerativeUI<{
2097
2097
  autoSelect?: boolean | undefined;
2098
2098
  mask?: string | undefined;
2099
2099
  }, {
2100
- value?: string | number | undefined;
2101
2100
  name?: string | undefined;
2101
+ value?: string | number | undefined;
2102
2102
  weight?: number | undefined;
2103
2103
  variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
2104
2104
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2174,8 +2174,8 @@ declare const standardUI: GenerativeUI<{
2174
2174
  invalid: zod.ZodOptional<zod.ZodBoolean>;
2175
2175
  size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
2176
2176
  }, "strip", zod.ZodTypeAny, {
2177
- value?: string | undefined;
2178
2177
  name?: string | undefined;
2178
+ value?: string | undefined;
2179
2179
  weight?: number | undefined;
2180
2180
  rows?: number | undefined;
2181
2181
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2196,8 +2196,8 @@ declare const standardUI: GenerativeUI<{
2196
2196
  maxRows?: number | undefined;
2197
2197
  autoResize?: boolean | undefined;
2198
2198
  }, {
2199
- value?: string | undefined;
2200
2199
  name?: string | undefined;
2200
+ value?: string | undefined;
2201
2201
  weight?: number | undefined;
2202
2202
  rows?: number | undefined;
2203
2203
  size?: "sm" | "md" | "lg" | "xl" | undefined;
@@ -2286,13 +2286,13 @@ declare const standardUI: GenerativeUI<{
2286
2286
  size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
2287
2287
  pill: zod.ZodOptional<zod.ZodBoolean>;
2288
2288
  }, "strip", zod.ZodTypeAny, {
2289
+ name?: string | undefined;
2289
2290
  value?: string | undefined;
2290
2291
  options?: (string | {
2291
2292
  value: string;
2292
2293
  description?: string | undefined;
2293
2294
  label?: string | undefined;
2294
2295
  })[] | undefined;
2295
- name?: string | undefined;
2296
2296
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2297
2297
  block?: boolean | undefined;
2298
2298
  label?: string | undefined;
@@ -2314,13 +2314,13 @@ declare const standardUI: GenerativeUI<{
2314
2314
  clearLabel?: string | undefined;
2315
2315
  searchable?: boolean | undefined;
2316
2316
  }, {
2317
+ name?: string | undefined;
2317
2318
  value?: string | undefined;
2318
2319
  options?: (string | {
2319
2320
  value: string;
2320
2321
  description?: string | undefined;
2321
2322
  label?: string | undefined;
2322
2323
  })[] | undefined;
2323
- name?: string | undefined;
2324
2324
  size?: "sm" | "md" | "lg" | "xl" | undefined;
2325
2325
  block?: boolean | undefined;
2326
2326
  label?: string | undefined;
@@ -2392,8 +2392,8 @@ declare const standardUI: GenerativeUI<{
2392
2392
  lineThrough: zod.ZodOptional<zod.ZodBoolean>;
2393
2393
  shape: zod.ZodOptional<zod.ZodEnum<["round", "square"]>>;
2394
2394
  }, "strip", zod.ZodTypeAny, {
2395
- value?: boolean | undefined;
2396
2395
  name?: string | undefined;
2396
+ value?: boolean | undefined;
2397
2397
  weight?: number | undefined;
2398
2398
  label?: string | undefined;
2399
2399
  lineThrough?: boolean | undefined;
@@ -2410,8 +2410,8 @@ declare const standardUI: GenerativeUI<{
2410
2410
  required?: boolean | undefined;
2411
2411
  shape?: "round" | "square" | undefined;
2412
2412
  }, {
2413
- value?: boolean | undefined;
2414
2413
  name?: string | undefined;
2414
+ value?: boolean | undefined;
2415
2415
  weight?: number | undefined;
2416
2416
  label?: string | undefined;
2417
2417
  lineThrough?: boolean | undefined;
@@ -2511,13 +2511,13 @@ declare const standardUI: GenerativeUI<{
2511
2511
  disabled: zod.ZodOptional<zod.ZodBoolean>;
2512
2512
  required: zod.ZodOptional<zod.ZodBoolean>;
2513
2513
  }, "strip", zod.ZodTypeAny, {
2514
+ name?: string | undefined;
2514
2515
  value?: string | undefined;
2515
2516
  options?: (string | {
2516
2517
  value: string;
2517
2518
  description?: string | undefined;
2518
2519
  label?: string | undefined;
2519
2520
  })[] | undefined;
2520
- name?: string | undefined;
2521
2521
  direction?: "col" | "row" | undefined;
2522
2522
  variant?: "list" | "pills" | "cards" | undefined;
2523
2523
  label?: string | undefined;
@@ -2533,13 +2533,13 @@ declare const standardUI: GenerativeUI<{
2533
2533
  disabled?: boolean | undefined;
2534
2534
  required?: boolean | undefined;
2535
2535
  }, {
2536
+ name?: string | undefined;
2536
2537
  value?: string | undefined;
2537
2538
  options?: (string | {
2538
2539
  value: string;
2539
2540
  description?: string | undefined;
2540
2541
  label?: string | undefined;
2541
2542
  })[] | undefined;
2542
- name?: string | undefined;
2543
2543
  direction?: "col" | "row" | undefined;
2544
2544
  variant?: "list" | "pills" | "cards" | undefined;
2545
2545
  label?: string | undefined;
@@ -2618,8 +2618,8 @@ declare const standardUI: GenerativeUI<{
2618
2618
  disabled: zod.ZodOptional<zod.ZodBoolean>;
2619
2619
  name: zod.ZodOptional<zod.ZodString>;
2620
2620
  }, "strip", zod.ZodTypeAny, {
2621
- value?: number | undefined;
2622
2621
  name?: string | undefined;
2622
+ value?: number | undefined;
2623
2623
  weight?: number | undefined;
2624
2624
  label?: string | undefined;
2625
2625
  checks?: {
@@ -2643,8 +2643,8 @@ declare const standardUI: GenerativeUI<{
2643
2643
  }[] | undefined;
2644
2644
  sliderStyle?: "continuous" | "discrete" | undefined;
2645
2645
  }, {
2646
- value?: number | undefined;
2647
2646
  name?: string | undefined;
2647
+ value?: number | undefined;
2648
2648
  weight?: number | undefined;
2649
2649
  label?: string | undefined;
2650
2650
  checks?: {
@@ -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