@copilotkit/react-core 2.0.0-rc.42 → 2.0.0-rc.43

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 (67) hide show
  1. package/dist/{MarkdownRendererContext-BL8ct_3U.d.mts → MarkdownRendererContext-CytkPOAJ.d.mts} +1 -1
  2. package/dist/{MarkdownRendererContext-BL8ct_3U.d.mts.map → MarkdownRendererContext-CytkPOAJ.d.mts.map} +1 -1
  3. package/dist/MarkdownSurfaces-DlYqJkAE.mjs +135 -0
  4. package/dist/MarkdownSurfaces-DlYqJkAE.mjs.map +1 -0
  5. package/dist/MarkdownSurfaces-DytbRzj2.cjs +141 -0
  6. package/dist/MarkdownSurfaces-DytbRzj2.cjs.map +1 -0
  7. package/dist/{MarkdownSurfaces-Byz821bg.mjs → ProviderMarkdown-BZaPDROY.mjs} +6 -132
  8. package/dist/ProviderMarkdown-BZaPDROY.mjs.map +1 -0
  9. package/dist/{MarkdownSurfaces-D2Ck-cbb.cjs → ProviderMarkdown-i_i2osOH.cjs} +4 -136
  10. package/dist/ProviderMarkdown-i_i2osOH.cjs.map +1 -0
  11. package/dist/accessibility-BLK-gE0R.mjs +129 -0
  12. package/dist/accessibility-BLK-gE0R.mjs.map +1 -0
  13. package/dist/accessibility-GnodqxkH.cjs +228 -0
  14. package/dist/accessibility-GnodqxkH.cjs.map +1 -0
  15. package/dist/{chat-Bf0vVdo7.mjs → chat-B1zczXUD.mjs} +21 -145
  16. package/dist/chat-B1zczXUD.mjs.map +1 -0
  17. package/dist/{chat-DgP2N7bD.d.mts → chat-C5XWeO1M.d.mts} +1 -1
  18. package/dist/{chat-DgP2N7bD.d.mts.map → chat-C5XWeO1M.d.mts.map} +1 -1
  19. package/dist/{chat-D3fxo6Ah.cjs → chat-CkFZMo5E.cjs} +29 -234
  20. package/dist/chat-CkFZMo5E.cjs.map +1 -0
  21. package/dist/context.cjs +2 -2
  22. package/dist/context.cjs.map +1 -1
  23. package/dist/context.d.cts +2 -2
  24. package/dist/context.d.mts +2 -2
  25. package/dist/context.mjs +2 -2
  26. package/dist/context.mjs.map +1 -1
  27. package/dist/generative-ui/native.cjs +9 -8
  28. package/dist/generative-ui/native.cjs.map +1 -1
  29. package/dist/generative-ui/native.d.cts.map +1 -1
  30. package/dist/generative-ui/native.d.mts +2 -2
  31. package/dist/generative-ui/native.d.mts.map +1 -1
  32. package/dist/generative-ui/native.mjs +4 -3
  33. package/dist/generative-ui/native.mjs.map +1 -1
  34. package/dist/generative-ui.cjs +11 -5767
  35. package/dist/generative-ui.cjs.map +1 -1
  36. package/dist/generative-ui.d.mts +4 -4
  37. package/dist/generative-ui.mjs +8 -5764
  38. package/dist/generative-ui.mjs.map +1 -1
  39. package/dist/{hooks-BRYonCVu.d.mts → hooks-DqsOIh8A.d.mts} +3 -3
  40. package/dist/{hooks-BRYonCVu.d.mts.map → hooks-DqsOIh8A.d.mts.map} +1 -1
  41. package/dist/index.cjs +180 -683
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.cts +9 -102
  44. package/dist/index.d.cts.map +1 -1
  45. package/dist/index.d.mts +11 -104
  46. package/dist/index.d.mts.map +1 -1
  47. package/dist/index.mjs +64 -409
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/index.umd.js +6132 -797
  50. package/dist/index.umd.js.map +1 -1
  51. package/dist/{refs-BIUfn1wb.cjs → refs-B5Dn59Pn.cjs} +2 -2
  52. package/dist/{refs-BIUfn1wb.cjs.map → refs-B5Dn59Pn.cjs.map} +1 -1
  53. package/dist/{refs-CMrRm3ta.mjs → refs-BW15wX_V.mjs} +1 -1
  54. package/dist/{refs-CMrRm3ta.mjs.map → refs-BW15wX_V.mjs.map} +1 -1
  55. package/dist/standard-CqGTZUZy.cjs +5780 -0
  56. package/dist/standard-CqGTZUZy.cjs.map +1 -0
  57. package/dist/standard-s8jByRiE.mjs +5784 -0
  58. package/dist/standard-s8jByRiE.mjs.map +1 -0
  59. package/dist/{use-generative-ui-root-C12htqbK.cjs → use-generative-ui-root-CIp0ytE6.cjs} +3 -3
  60. package/dist/{use-generative-ui-root-C12htqbK.cjs.map → use-generative-ui-root-CIp0ytE6.cjs.map} +1 -1
  61. package/dist/{use-generative-ui-root-CVgsDy1f.mjs → use-generative-ui-root-oBqPa6uy.mjs} +3 -2
  62. package/dist/{use-generative-ui-root-CVgsDy1f.mjs.map → use-generative-ui-root-oBqPa6uy.mjs.map} +1 -1
  63. package/package.json +7 -10
  64. package/dist/MarkdownSurfaces-Byz821bg.mjs.map +0 -1
  65. package/dist/MarkdownSurfaces-D2Ck-cbb.cjs.map +0 -1
  66. package/dist/chat-Bf0vVdo7.mjs.map +0 -1
  67. package/dist/chat-D3fxo6Ah.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- const require_chat = require('./chat-D3fxo6Ah.cjs');
1
+ const require_accessibility = require('./accessibility-GnodqxkH.cjs');
2
2
  let _copilotkit_shared_generative_ui = require("@copilotkit/shared/generative-ui");
3
3
 
4
4
  //#region src/generative-ui/refs.ts
@@ -40,4 +40,4 @@ Object.defineProperty(exports, 'childList', {
40
40
  return childList;
41
41
  }
42
42
  });
43
- //# sourceMappingURL=refs-BIUfn1wb.cjs.map
43
+ //# sourceMappingURL=refs-B5Dn59Pn.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"refs-BIUfn1wb.cjs","names":[],"sources":["../src/generative-ui/refs.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n child as sharedChild,\n childList as sharedChildList,\n} from \"@copilotkit/shared/generative-ui\";\n\n/**\n * One component id. The component receives the rendered child. Pass the\n * description here, not with `.describe()`, which would replace the mark.\n *\n * @example\n * ```ts\n * const tabsSchema = z.object({\n * tabs: z.array(z.object({ title: z.string(), child: child() })),\n * });\n * // The component gets `tabs: { title: string; child: ReactNode }[]`.\n * ```\n */\nexport function child(description?: string) {\n return sharedChild<ReactNode>(description);\n}\n\n/**\n * A list of component ids, or a template `{ componentId, path }` that\n * repeats one component for each item of the list at `path`. The\n * component receives the rendered children. Pass the description here,\n * not with `.describe()`.\n */\nexport function childList(description?: string) {\n return sharedChildList<ReactNode>(description);\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAkBA,SAAgB,MAAM,aAAsB;AAC1C,oDAA8B,YAAY;;;;;;;;AAS5C,SAAgB,UAAU,aAAsB;AAC9C,wDAAkC,YAAY"}
1
+ {"version":3,"file":"refs-B5Dn59Pn.cjs","names":[],"sources":["../src/generative-ui/refs.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n child as sharedChild,\n childList as sharedChildList,\n} from \"@copilotkit/shared/generative-ui\";\n\n/**\n * One component id. The component receives the rendered child. Pass the\n * description here, not with `.describe()`, which would replace the mark.\n *\n * @example\n * ```ts\n * const tabsSchema = z.object({\n * tabs: z.array(z.object({ title: z.string(), child: child() })),\n * });\n * // The component gets `tabs: { title: string; child: ReactNode }[]`.\n * ```\n */\nexport function child(description?: string) {\n return sharedChild<ReactNode>(description);\n}\n\n/**\n * A list of component ids, or a template `{ componentId, path }` that\n * repeats one component for each item of the list at `path`. The\n * component receives the rendered children. Pass the description here,\n * not with `.describe()`.\n */\nexport function childList(description?: string) {\n return sharedChildList<ReactNode>(description);\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAkBA,SAAgB,MAAM,aAAsB;AAC1C,oDAA8B,YAAY;;;;;;;;AAS5C,SAAgB,UAAU,aAAsB;AAC9C,wDAAkC,YAAY"}
@@ -28,4 +28,4 @@ function childList$1(description) {
28
28
 
29
29
  //#endregion
30
30
  export { childList$1 as n, child$1 as t };
31
- //# sourceMappingURL=refs-CMrRm3ta.mjs.map
31
+ //# sourceMappingURL=refs-BW15wX_V.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"refs-CMrRm3ta.mjs","names":["child","sharedChild","childList","sharedChildList"],"sources":["../src/generative-ui/refs.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n child as sharedChild,\n childList as sharedChildList,\n} from \"@copilotkit/shared/generative-ui\";\n\n/**\n * One component id. The component receives the rendered child. Pass the\n * description here, not with `.describe()`, which would replace the mark.\n *\n * @example\n * ```ts\n * const tabsSchema = z.object({\n * tabs: z.array(z.object({ title: z.string(), child: child() })),\n * });\n * // The component gets `tabs: { title: string; child: ReactNode }[]`.\n * ```\n */\nexport function child(description?: string) {\n return sharedChild<ReactNode>(description);\n}\n\n/**\n * A list of component ids, or a template `{ componentId, path }` that\n * repeats one component for each item of the list at `path`. The\n * component receives the rendered children. Pass the description here,\n * not with `.describe()`.\n */\nexport function childList(description?: string) {\n return sharedChildList<ReactNode>(description);\n}\n"],"mappings":";;;;;;;;;;;;;;;AAkBA,SAAgBA,QAAM,aAAsB;AAC1C,QAAOC,MAAuB,YAAY;;;;;;;;AAS5C,SAAgBC,YAAU,aAAsB;AAC9C,QAAOC,UAA2B,YAAY"}
1
+ {"version":3,"file":"refs-BW15wX_V.mjs","names":["child","sharedChild","childList","sharedChildList"],"sources":["../src/generative-ui/refs.ts"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n child as sharedChild,\n childList as sharedChildList,\n} from \"@copilotkit/shared/generative-ui\";\n\n/**\n * One component id. The component receives the rendered child. Pass the\n * description here, not with `.describe()`, which would replace the mark.\n *\n * @example\n * ```ts\n * const tabsSchema = z.object({\n * tabs: z.array(z.object({ title: z.string(), child: child() })),\n * });\n * // The component gets `tabs: { title: string; child: ReactNode }[]`.\n * ```\n */\nexport function child(description?: string) {\n return sharedChild<ReactNode>(description);\n}\n\n/**\n * A list of component ids, or a template `{ componentId, path }` that\n * repeats one component for each item of the list at `path`. The\n * component receives the rendered children. Pass the description here,\n * not with `.describe()`.\n */\nexport function childList(description?: string) {\n return sharedChildList<ReactNode>(description);\n}\n"],"mappings":";;;;;;;;;;;;;;;AAkBA,SAAgBA,QAAM,aAAsB;AAC1C,QAAOC,MAAuB,YAAY;;;;;;;;AAS5C,SAAgBC,YAAU,aAAsB;AAC9C,QAAOC,UAA2B,YAAY"}