@copilotkit/react-core 2.0.0-rc.42 → 2.0.0-rc.44
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.
- package/dist/{MarkdownRendererContext-BL8ct_3U.d.mts → MarkdownRendererContext-QFCldfW_.d.cts} +1 -1
- package/dist/{MarkdownRendererContext-BL8ct_3U.d.mts.map → MarkdownRendererContext-QFCldfW_.d.cts.map} +1 -1
- package/dist/{MarkdownRendererContext-C2J_lgqF.d.cts → MarkdownRendererContext-aK63ZFd-.d.mts} +1 -1
- package/dist/{MarkdownRendererContext-C2J_lgqF.d.cts.map → MarkdownRendererContext-aK63ZFd-.d.mts.map} +1 -1
- package/dist/MarkdownSurfaces-Do948N1P.cjs +141 -0
- package/dist/MarkdownSurfaces-Do948N1P.cjs.map +1 -0
- package/dist/MarkdownSurfaces-rtE9wRUP.mjs +135 -0
- package/dist/MarkdownSurfaces-rtE9wRUP.mjs.map +1 -0
- package/dist/{MarkdownSurfaces-D2Ck-cbb.cjs → ProviderMarkdown-D0eI0aPo.cjs} +26 -136
- package/dist/ProviderMarkdown-D0eI0aPo.cjs.map +1 -0
- package/dist/{MarkdownSurfaces-Byz821bg.mjs → ProviderMarkdown-epL7F3Vt.mjs} +22 -132
- package/dist/ProviderMarkdown-epL7F3Vt.mjs.map +1 -0
- package/dist/accessibility-BLK-gE0R.mjs +129 -0
- package/dist/accessibility-BLK-gE0R.mjs.map +1 -0
- package/dist/accessibility-GnodqxkH.cjs +228 -0
- package/dist/accessibility-GnodqxkH.cjs.map +1 -0
- package/dist/{chat-Bf0vVdo7.mjs → chat-B1zczXUD.mjs} +21 -145
- package/dist/chat-B1zczXUD.mjs.map +1 -0
- package/dist/chat-BZ_bvAkg.d.mts +38 -0
- package/dist/chat-BZ_bvAkg.d.mts.map +1 -0
- package/dist/{chat-D3fxo6Ah.cjs → chat-CkFZMo5E.cjs} +29 -234
- package/dist/chat-CkFZMo5E.cjs.map +1 -0
- package/dist/chat-CpZVyF_t.d.cts +38 -0
- package/dist/chat-CpZVyF_t.d.cts.map +1 -0
- package/dist/context.cjs +2 -2
- package/dist/context.cjs.map +1 -1
- package/dist/context.d.cts +2 -2
- package/dist/context.d.mts +2 -2
- package/dist/context.mjs +2 -2
- package/dist/context.mjs.map +1 -1
- package/dist/generative-ui/map.cjs +26 -0
- package/dist/generative-ui/map.cjs.map +1 -0
- package/dist/generative-ui/map.d.cts +23 -0
- package/dist/generative-ui/map.d.cts.map +1 -0
- package/dist/generative-ui/map.d.mts +23 -0
- package/dist/generative-ui/map.d.mts.map +1 -0
- package/dist/generative-ui/map.mjs +24 -0
- package/dist/generative-ui/map.mjs.map +1 -0
- package/dist/generative-ui/native.cjs +9 -8
- package/dist/generative-ui/native.cjs.map +1 -1
- package/dist/generative-ui/native.d.cts +3 -2
- package/dist/generative-ui/native.d.cts.map +1 -1
- package/dist/generative-ui/native.d.mts +3 -2
- package/dist/generative-ui/native.d.mts.map +1 -1
- package/dist/generative-ui/native.mjs +4 -3
- package/dist/generative-ui/native.mjs.map +1 -1
- package/dist/generative-ui.cjs +11 -5767
- package/dist/generative-ui.cjs.map +1 -1
- package/dist/generative-ui.d.cts +5 -4
- package/dist/generative-ui.d.cts.map +1 -1
- package/dist/generative-ui.d.mts +6 -5
- package/dist/generative-ui.d.mts.map +1 -1
- package/dist/generative-ui.mjs +8 -5764
- package/dist/generative-ui.mjs.map +1 -1
- package/dist/{hooks-BRYonCVu.d.mts → hooks-D2H3iL0N.d.mts} +3 -3
- package/dist/{hooks-BRYonCVu.d.mts.map → hooks-D2H3iL0N.d.mts.map} +1 -1
- package/dist/{hooks-2Ur8NQhj.d.cts → hooks-Dy8HeEdr.d.cts} +2 -2
- package/dist/{hooks-2Ur8NQhj.d.cts.map → hooks-Dy8HeEdr.d.cts.map} +1 -1
- package/dist/index.cjs +183 -700
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -103
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +11 -103
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +66 -425
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +6157 -799
- package/dist/index.umd.js.map +1 -1
- package/dist/{refs-BIUfn1wb.cjs → refs-B5Dn59Pn.cjs} +2 -2
- package/dist/{refs-BIUfn1wb.cjs.map → refs-B5Dn59Pn.cjs.map} +1 -1
- package/dist/{refs-CMrRm3ta.mjs → refs-BW15wX_V.mjs} +1 -1
- package/dist/{refs-CMrRm3ta.mjs.map → refs-BW15wX_V.mjs.map} +1 -1
- package/dist/{chat-DgP2N7bD.d.mts → runtime-context-B7f4M85q.d.mts} +21 -39
- package/dist/runtime-context-B7f4M85q.d.mts.map +1 -0
- package/dist/{chat-DtHs4alO.d.cts → runtime-context-CIkZS0ap.d.cts} +21 -39
- package/dist/runtime-context-CIkZS0ap.d.cts.map +1 -0
- package/dist/standard-CSBR4FhM.mjs +5800 -0
- package/dist/standard-CSBR4FhM.mjs.map +1 -0
- package/dist/standard-DBjcBGyd.cjs +5796 -0
- package/dist/standard-DBjcBGyd.cjs.map +1 -0
- package/dist/{use-generative-ui-root-C12htqbK.cjs → use-generative-ui-root-CIp0ytE6.cjs} +3 -3
- package/dist/{use-generative-ui-root-C12htqbK.cjs.map → use-generative-ui-root-CIp0ytE6.cjs.map} +1 -1
- package/dist/{use-generative-ui-root-CVgsDy1f.mjs → use-generative-ui-root-oBqPa6uy.mjs} +3 -2
- package/dist/{use-generative-ui-root-CVgsDy1f.mjs.map → use-generative-ui-root-oBqPa6uy.mjs.map} +1 -1
- package/package.json +14 -10
- package/dist/MarkdownSurfaces-Byz821bg.mjs.map +0 -1
- package/dist/MarkdownSurfaces-D2Ck-cbb.cjs.map +0 -1
- package/dist/chat-Bf0vVdo7.mjs.map +0 -1
- package/dist/chat-D3fxo6Ah.cjs.map +0 -1
- package/dist/chat-DgP2N7bD.d.mts.map +0 -1
- package/dist/chat-DtHs4alO.d.cts.map +0 -1
package/dist/generative-ui.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "./hooks-
|
|
3
|
-
import { t as
|
|
1
|
+
import { C as GenerativeUIFunctionInput, D as createGenerativeUI, E as GenerativeUIStateOf, S as GenerativeUIFunctionDefinition, T as GenerativeUISlotKind, _ as GenerativeUIComponentName, b as GenerativeUIEventDefinition, c as GenerativeUIToolConfig, d as GenerativeUIAccessibility, f as GenerativeUIAriaAttributes, g as GenerativeUIComponentDefinition, h as GenerativeUI, i as GenerativeUIMarkdownConfig, l as useGenerativeUIRuntime, m as CreateGenerativeUIConfig, n as GenerativeUIErrorBoundaryConfig, p as useGenerativeUIAccessibility, r as GenerativeUILibraryLoader, s as GenerativeUITheme, t as GenerativeUIConfig, v as GenerativeUIComponentProps, w as GenerativeUIFunctionName, x as GenerativeUIFunctionArgs } from "./runtime-context-CIkZS0ap.cjs";
|
|
2
|
+
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "./hooks-Dy8HeEdr.cjs";
|
|
3
|
+
import { n as GenerativeUIChatSurfaceProps, t as DefaultGenerativeUIChatCard } from "./chat-CpZVyF_t.cjs";
|
|
4
|
+
import { t as DefaultMarkdownRendererProps } from "./MarkdownRendererContext-QFCldfW_.cjs";
|
|
4
5
|
import { ReactNode } from "react";
|
|
5
6
|
import * as _copilotkit_shared_generative_ui0 from "@copilotkit/shared/generative-ui";
|
|
6
7
|
import { ExportA2UICatalogOptions, GenerativeUIError, GenerativeUIErrorCode, GenerativeUIErrorInfo, GenerativeUIEventHandler, GenerativeUIInvokeResult, GenerativeUIThemeValues, GenerativeUIThemeVariable, GenerativeUIThemeVariables, exportA2UICatalog } from "@copilotkit/shared/generative-ui";
|
|
@@ -2630,5 +2631,5 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2630
2631
|
Tabs: readonly ["selectedIndex"];
|
|
2631
2632
|
}>>;
|
|
2632
2633
|
//#endregion
|
|
2633
|
-
export { type CreateGenerativeUIConfig, DefaultGenerativeUIChatCard, type ExportA2UICatalogOptions, type GenerativeUI, type GenerativeUIAccessibility, type GenerativeUIAriaAttributes, type GenerativeUIChatSurfaceProps, type GenerativeUIComponentDefinition, type GenerativeUIComponentName, type GenerativeUIComponentProps, type GenerativeUIConfig, GenerativeUIError, type GenerativeUIErrorBoundaryConfig, type GenerativeUIErrorCode, type GenerativeUIErrorInfo, type GenerativeUIEventDefinition, type GenerativeUIEventHandler, type GenerativeUIFunctionArgs, type GenerativeUIFunctionDefinition, type GenerativeUIFunctionInput, type GenerativeUIFunctionName, type GenerativeUIInvokeResult, type GenerativeUIMarkdownConfig, type GenerativeUISlotKind, type GenerativeUIStateOf, GenerativeUISurface, type GenerativeUISurfaceProps, type GenerativeUITheme, type GenerativeUIThemeValues, type GenerativeUIThemeVariable, type GenerativeUIThemeVariables, type GenerativeUIToolConfig, MarkdownSurfaces, type MarkdownSurfacesProps, child, childList, createGenerativeUI, exportA2UICatalog, standardUI, useGenerativeUIAccessibility, useGenerativeUIFunction, useGenerativeUIRuntime, useGenerativeUIState };
|
|
2634
|
+
export { type CreateGenerativeUIConfig, DefaultGenerativeUIChatCard, type ExportA2UICatalogOptions, type GenerativeUI, type GenerativeUIAccessibility, type GenerativeUIAriaAttributes, type GenerativeUIChatSurfaceProps, type GenerativeUIComponentDefinition, type GenerativeUIComponentName, type GenerativeUIComponentProps, type GenerativeUIConfig, GenerativeUIError, type GenerativeUIErrorBoundaryConfig, type GenerativeUIErrorCode, type GenerativeUIErrorInfo, type GenerativeUIEventDefinition, type GenerativeUIEventHandler, type GenerativeUIFunctionArgs, type GenerativeUIFunctionDefinition, type GenerativeUIFunctionInput, type GenerativeUIFunctionName, type GenerativeUIInvokeResult, type GenerativeUILibraryLoader, type GenerativeUIMarkdownConfig, type GenerativeUISlotKind, type GenerativeUIStateOf, GenerativeUISurface, type GenerativeUISurfaceProps, type GenerativeUITheme, type GenerativeUIThemeValues, type GenerativeUIThemeVariable, type GenerativeUIThemeVariables, type GenerativeUIToolConfig, MarkdownSurfaces, type MarkdownSurfacesProps, child, childList, createGenerativeUI, exportA2UICatalog, standardUI, useGenerativeUIAccessibility, useGenerativeUIFunction, useGenerativeUIRuntime, useGenerativeUIState };
|
|
2634
2635
|
//# sourceMappingURL=generative-ui.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generative-ui.d.cts","names":[],"sources":["../src/generative-ui/GenerativeUISurface.tsx","../src/generative-ui/markdown/MarkdownSurfaces.tsx","../src/generative-ui/standard/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generative-ui.d.cts","names":[],"sources":["../src/generative-ui/GenerativeUISurface.tsx","../src/generative-ui/markdown/MarkdownSurfaces.tsx","../src/generative-ui/standard/index.ts"],"mappings":";;;;;;;;;;;;UAWU,4BAAA;;EAER,EAAA;;;;;EAKA,WAAA;;EAEA,QAAA,GAAW,SAAA;EACX,SAAA;EAVoC;;;;;;EAiBpC,UAAA;AAAA;;;;AAOF;KAAY,wBAAA,YACC,YAAA,QAAoB,YAAA,SAC7B,4BAAA;EAFgC;;;;EAS5B,EAAA,EAAI,EAAA;EAO4C;;;;;;EAAhD,UAAA,YAAsB,yBAAA,CAA0B,EAAA;AAAA;EAEhD,EAAA;EAAgB,UAAA;AAAA;;;;;;;AAmBxB;;;;;;;;iBAAgB,mBAAA,YACH,YAAA,QAAoB,YAAA,MAAA,CAAA;EAE/B,EAAA;EACA,WAAA;EACA,EAAA;EACA,UAAA;EACA,QAAA;EACA,SAAA;EACA;AAAA,GACC,wBAAA,CAAyB,EAAA,IAAG,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;KCjE1B,aAAA,GAAgB,4BAAA;;;;;;;KAkET,qBAAA,GAAwB,aAAA;EDxE1B,sEC0ER,OAAA;EAEA,SAAA,UD1EA;EC4EA,WAAA;AAAA;;;;;;ADtDF;;;;;;;;;;;;;iBCiKgB,gBAAA,CAAA;EACd,OAAA;EACA,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACF,qBAAA,GAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;;;;;;;ADnMiD;;;;;;;;;;;;cEyC5D,UAAA,EAAU,YAAA,mCAAA,6BAAA;;UAGrB,GAAA,CAAA,SAAA"}
|
package/dist/generative-ui.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "./hooks-
|
|
3
|
-
import { t as
|
|
1
|
+
import { C as GenerativeUIFunctionInput, D as createGenerativeUI, E as GenerativeUIStateOf, S as GenerativeUIFunctionDefinition, T as GenerativeUISlotKind, _ as GenerativeUIComponentName, b as GenerativeUIEventDefinition, c as GenerativeUIToolConfig, d as GenerativeUIAccessibility, f as GenerativeUIAriaAttributes, g as GenerativeUIComponentDefinition, h as GenerativeUI, i as GenerativeUIMarkdownConfig, l as useGenerativeUIRuntime, m as CreateGenerativeUIConfig, n as GenerativeUIErrorBoundaryConfig, p as useGenerativeUIAccessibility, r as GenerativeUILibraryLoader, s as GenerativeUITheme, t as GenerativeUIConfig, v as GenerativeUIComponentProps, w as GenerativeUIFunctionName, x as GenerativeUIFunctionArgs } from "./runtime-context-B7f4M85q.mjs";
|
|
2
|
+
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "./hooks-D2H3iL0N.mjs";
|
|
3
|
+
import { n as GenerativeUIChatSurfaceProps, t as DefaultGenerativeUIChatCard } from "./chat-BZ_bvAkg.mjs";
|
|
4
|
+
import { t as DefaultMarkdownRendererProps } from "./MarkdownRendererContext-aK63ZFd-.mjs";
|
|
4
5
|
import { ReactNode } from "react";
|
|
5
6
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
-
import * as zod from "zod";
|
|
7
7
|
import * as _copilotkit_shared_generative_ui0 from "@copilotkit/shared/generative-ui";
|
|
8
8
|
import { ExportA2UICatalogOptions, GenerativeUIError, GenerativeUIErrorCode, GenerativeUIErrorInfo, GenerativeUIEventHandler, GenerativeUIInvokeResult, GenerativeUIThemeValues, GenerativeUIThemeVariable, GenerativeUIThemeVariables, exportA2UICatalog } from "@copilotkit/shared/generative-ui";
|
|
9
|
+
import * as zod from "zod";
|
|
9
10
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
10
11
|
|
|
11
12
|
//#region src/generative-ui/GenerativeUISurface.d.ts
|
|
@@ -2630,5 +2631,5 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2630
2631
|
Tabs: readonly ["selectedIndex"];
|
|
2631
2632
|
}>>;
|
|
2632
2633
|
//#endregion
|
|
2633
|
-
export { type CreateGenerativeUIConfig, DefaultGenerativeUIChatCard, type ExportA2UICatalogOptions, type GenerativeUI, type GenerativeUIAccessibility, type GenerativeUIAriaAttributes, type GenerativeUIChatSurfaceProps, type GenerativeUIComponentDefinition, type GenerativeUIComponentName, type GenerativeUIComponentProps, type GenerativeUIConfig, GenerativeUIError, type GenerativeUIErrorBoundaryConfig, type GenerativeUIErrorCode, type GenerativeUIErrorInfo, type GenerativeUIEventDefinition, type GenerativeUIEventHandler, type GenerativeUIFunctionArgs, type GenerativeUIFunctionDefinition, type GenerativeUIFunctionInput, type GenerativeUIFunctionName, type GenerativeUIInvokeResult, type GenerativeUIMarkdownConfig, type GenerativeUISlotKind, type GenerativeUIStateOf, GenerativeUISurface, type GenerativeUISurfaceProps, type GenerativeUITheme, type GenerativeUIThemeValues, type GenerativeUIThemeVariable, type GenerativeUIThemeVariables, type GenerativeUIToolConfig, MarkdownSurfaces, type MarkdownSurfacesProps, child, childList, createGenerativeUI, exportA2UICatalog, standardUI, useGenerativeUIAccessibility, useGenerativeUIFunction, useGenerativeUIRuntime, useGenerativeUIState };
|
|
2634
|
+
export { type CreateGenerativeUIConfig, DefaultGenerativeUIChatCard, type ExportA2UICatalogOptions, type GenerativeUI, type GenerativeUIAccessibility, type GenerativeUIAriaAttributes, type GenerativeUIChatSurfaceProps, type GenerativeUIComponentDefinition, type GenerativeUIComponentName, type GenerativeUIComponentProps, type GenerativeUIConfig, GenerativeUIError, type GenerativeUIErrorBoundaryConfig, type GenerativeUIErrorCode, type GenerativeUIErrorInfo, type GenerativeUIEventDefinition, type GenerativeUIEventHandler, type GenerativeUIFunctionArgs, type GenerativeUIFunctionDefinition, type GenerativeUIFunctionInput, type GenerativeUIFunctionName, type GenerativeUIInvokeResult, type GenerativeUILibraryLoader, type GenerativeUIMarkdownConfig, type GenerativeUISlotKind, type GenerativeUIStateOf, GenerativeUISurface, type GenerativeUISurfaceProps, type GenerativeUITheme, type GenerativeUIThemeValues, type GenerativeUIThemeVariable, type GenerativeUIThemeVariables, type GenerativeUIToolConfig, MarkdownSurfaces, type MarkdownSurfacesProps, child, childList, createGenerativeUI, exportA2UICatalog, standardUI, useGenerativeUIAccessibility, useGenerativeUIFunction, useGenerativeUIRuntime, useGenerativeUIState };
|
|
2634
2635
|
//# sourceMappingURL=generative-ui.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generative-ui.d.mts","names":[],"sources":["../src/generative-ui/GenerativeUISurface.tsx","../src/generative-ui/markdown/MarkdownSurfaces.tsx","../src/generative-ui/standard/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generative-ui.d.mts","names":[],"sources":["../src/generative-ui/GenerativeUISurface.tsx","../src/generative-ui/markdown/MarkdownSurfaces.tsx","../src/generative-ui/standard/index.ts"],"mappings":";;;;;;;;;;;;UAWU,4BAAA;;EAER,EAAA;;;;;EAKA,WAAA;;EAEA,QAAA,GAAW,SAAA;EACX,SAAA;EAVoC;;;;;;EAiBpC,UAAA;AAAA;;;;AAOF;KAAY,wBAAA,YACC,YAAA,QAAoB,YAAA,SAC7B,4BAAA;EAFgC;;;;EAS5B,EAAA,EAAI,EAAA;EAO4C;;;;;;EAAhD,UAAA,YAAsB,yBAAA,CAA0B,EAAA;AAAA;EAEhD,EAAA;EAAgB,UAAA;AAAA;;;;;;;AAmBxB;;;;;;;;iBAAgB,mBAAA,YACH,YAAA,QAAoB,YAAA,MAAA,CAAA;EAE/B,EAAA;EACA,WAAA;EACA,EAAA;EACA,UAAA;EACA,QAAA;EACA,SAAA;EACA;AAAA,GACC,wBAAA,CAAyB,EAAA,IAAG,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;KCjE1B,aAAA,GAAgB,4BAAA;;;;;;;KAkET,qBAAA,GAAwB,aAAA;EDxE1B,sEC0ER,OAAA;EAEA,SAAA,UD1EA;EC4EA,WAAA;AAAA;;;;;;ADtDF;;;;;;;;;;;;;iBCiKgB,gBAAA,CAAA;EACd,OAAA;EACA,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACF,qBAAA,GAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;;;;;;;ADnMiD;;;;;;;;;;;;cEyC5D,UAAA,EAAU,YAAA,mCAAA,6BAAA;;UAGrB,GAAA,CAAA,SAAA"}
|