@copilotkit/react-core 1.51.2 → 1.51.3-next.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.
- package/CHANGELOG.md +9 -0
- package/dist/{chunk-4YZA2BZC.mjs → chunk-2VA5EV2P.mjs} +2 -2
- package/dist/{chunk-3V5TOYKW.mjs → chunk-4MLKBZGB.mjs} +2 -2
- package/dist/{chunk-6PUNP7CD.mjs → chunk-BVBFFI7K.mjs} +3 -3
- package/dist/chunk-BVBFFI7K.mjs.map +1 -0
- package/dist/{chunk-LHERIF3L.mjs → chunk-FJEI7IBX.mjs} +2 -2
- package/dist/{chunk-53K6WNJG.mjs → chunk-M7U7RZLU.mjs} +2 -2
- package/dist/{chunk-LSHFN2Y5.mjs → chunk-OBXQSB7S.mjs} +2 -2
- package/dist/{chunk-FQFXYAV7.mjs → chunk-W5BKJN46.mjs} +2 -2
- package/dist/components/copilot-provider/copilotkit-props.d.ts +20 -0
- package/dist/components/copilot-provider/copilotkit-props.js.map +1 -1
- package/dist/components/copilot-provider/copilotkit.mjs +3 -3
- package/dist/components/copilot-provider/index.mjs +3 -3
- package/dist/components/error-boundary/error-boundary.js +2 -2
- package/dist/components/error-boundary/error-boundary.js.map +1 -1
- package/dist/components/error-boundary/error-boundary.mjs +2 -2
- package/dist/components/error-boundary/error-utils.js +2 -12
- package/dist/components/error-boundary/error-utils.js.map +1 -1
- package/dist/components/error-boundary/error-utils.mjs +1 -1
- package/dist/components/index.mjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +4 -4
- package/dist/hooks/use-copilot-chat-headless_c.js +2 -2
- package/dist/hooks/use-copilot-chat-headless_c.js.map +1 -1
- package/dist/hooks/use-copilot-chat-headless_c.mjs +3 -3
- package/dist/hooks/use-copilot-chat.js +2 -2
- package/dist/hooks/use-copilot-chat.js.map +1 -1
- package/dist/hooks/use-copilot-chat.mjs +3 -3
- package/dist/hooks/use-copilot-chat_internal.js +2 -2
- package/dist/hooks/use-copilot-chat_internal.js.map +1 -1
- package/dist/hooks/use-copilot-chat_internal.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/lib/copilot-task.mjs +4 -4
- package/dist/lib/index.mjs +4 -4
- package/jest.config.js +1 -1
- package/package.json +6 -6
- package/src/components/copilot-provider/copilotkit-props.tsx +20 -0
- package/src/components/error-boundary/error-utils.tsx +2 -2
- package/dist/chunk-6PUNP7CD.mjs.map +0 -1
- /package/dist/{chunk-4YZA2BZC.mjs.map → chunk-2VA5EV2P.mjs.map} +0 -0
- /package/dist/{chunk-3V5TOYKW.mjs.map → chunk-4MLKBZGB.mjs.map} +0 -0
- /package/dist/{chunk-LHERIF3L.mjs.map → chunk-FJEI7IBX.mjs.map} +0 -0
- /package/dist/{chunk-53K6WNJG.mjs.map → chunk-M7U7RZLU.mjs.map} +0 -0
- /package/dist/{chunk-LSHFN2Y5.mjs.map → chunk-OBXQSB7S.mjs.map} +0 -0
- /package/dist/{chunk-FQFXYAV7.mjs.map → chunk-W5BKJN46.mjs.map} +0 -0
|
@@ -3,8 +3,8 @@ import "../chunk-SPCZTZCY.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
CopilotKit,
|
|
5
5
|
defaultCopilotContextCategories
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-2VA5EV2P.mjs";
|
|
7
|
+
import "../chunk-FJEI7IBX.mjs";
|
|
8
8
|
import "../chunk-CYDWEPFL.mjs";
|
|
9
9
|
import "../chunk-2IDV5OHF.mjs";
|
|
10
10
|
import "../chunk-HE22TZMF.mjs";
|
|
@@ -12,7 +12,7 @@ import "../chunk-ICIK2BSB.mjs";
|
|
|
12
12
|
import "../chunk-RKTVJRK7.mjs";
|
|
13
13
|
import "../chunk-PMAFHQ7P.mjs";
|
|
14
14
|
import "../chunk-YYN33GSG.mjs";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-BVBFFI7K.mjs";
|
|
16
16
|
import "../chunk-O7ARI5CV.mjs";
|
|
17
17
|
import "../chunk-QNUAXSDP.mjs";
|
|
18
18
|
import "../chunk-NB2FKV2V.mjs";
|
package/dist/hooks/index.js
CHANGED
|
@@ -249,7 +249,7 @@ var ExclamationMarkIcon = ({
|
|
|
249
249
|
);
|
|
250
250
|
|
|
251
251
|
// src/components/error-boundary/error-utils.tsx
|
|
252
|
-
var
|
|
252
|
+
var import_streamdown = require("streamdown");
|
|
253
253
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
254
254
|
function ErrorToast({ errors }) {
|
|
255
255
|
const errorsToRender = errors.map((error, idx) => {
|
|
@@ -280,7 +280,7 @@ function ErrorToast({ errors }) {
|
|
|
280
280
|
]
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
283
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_streamdown.Streamdown, { children: message })
|
|
284
284
|
]
|
|
285
285
|
},
|
|
286
286
|
idx
|