@copilotkit/react-ui 1.9.2-next.9 → 1.9.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 +198 -0
- package/dist/{chunk-L3FOHIRY.mjs → chunk-32MUWKL3.mjs} +4 -4
- package/dist/{chunk-G7XA6Y5L.mjs → chunk-4RAYX7ZX.mjs} +9 -9
- package/dist/{chunk-UKCPOBQM.mjs → chunk-53CVDVS5.mjs} +5 -2
- package/dist/chunk-53CVDVS5.mjs.map +1 -0
- package/dist/{chunk-262QGCYV.mjs → chunk-BP3RN6OE.mjs} +2 -2
- package/dist/{chunk-5C6F3K74.mjs → chunk-EQUUN7ZM.mjs} +5 -5
- package/dist/{chunk-6BCM2S6U.mjs → chunk-TSDSBNOS.mjs} +2 -2
- package/dist/{chunk-QJLE53FG.mjs → chunk-ULDQXCED.mjs} +4 -4
- package/dist/components/chat/Chat.js +4 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +5 -5
- package/dist/components/chat/Modal.js +4 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +6 -6
- package/dist/components/chat/Popup.js +4 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +7 -7
- package/dist/components/chat/Sidebar.js +4 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +7 -7
- package/dist/components/chat/index.js +4 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +10 -10
- package/dist/components/chat/messages/RenderActionExecutionMessage.js +4 -1
- package/dist/components/chat/messages/RenderActionExecutionMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderActionExecutionMessage.mjs +1 -1
- package/dist/components/chat/messages/RenderImageMessage.mjs +2 -2
- package/dist/components/chat/messages/RenderTextMessage.mjs +2 -2
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/package.json +6 -6
- package/src/components/chat/messages/RenderActionExecutionMessage.tsx +4 -2
- package/dist/chunk-UKCPOBQM.mjs.map +0 -1
- /package/dist/{chunk-L3FOHIRY.mjs.map → chunk-32MUWKL3.mjs.map} +0 -0
- /package/dist/{chunk-G7XA6Y5L.mjs.map → chunk-4RAYX7ZX.mjs.map} +0 -0
- /package/dist/{chunk-262QGCYV.mjs.map → chunk-BP3RN6OE.mjs.map} +0 -0
- /package/dist/{chunk-5C6F3K74.mjs.map → chunk-EQUUN7ZM.mjs.map} +0 -0
- /package/dist/{chunk-6BCM2S6U.mjs.map → chunk-TSDSBNOS.mjs.map} +0 -0
- /package/dist/{chunk-QJLE53FG.mjs.map → chunk-ULDQXCED.mjs.map} +0 -0
|
@@ -2,12 +2,12 @@ import "../chunk-MMVDU6DF.mjs";
|
|
|
2
2
|
import "../chunk-SC6JRFAJ.mjs";
|
|
3
3
|
import {
|
|
4
4
|
CopilotSidebar
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TSDSBNOS.mjs";
|
|
6
6
|
import "../chunk-WB3YULQ4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CopilotPopup
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-BP3RN6OE.mjs";
|
|
10
|
+
import "../chunk-EQUUN7ZM.mjs";
|
|
11
11
|
import "../chunk-C3GSYRC3.mjs";
|
|
12
12
|
import "../chunk-GVKA7RQQ.mjs";
|
|
13
13
|
import "../chunk-V7W6IM2V.mjs";
|
|
@@ -24,20 +24,20 @@ import "../chunk-BH6PCAAL.mjs";
|
|
|
24
24
|
import "../chunk-UFN2VWSR.mjs";
|
|
25
25
|
import {
|
|
26
26
|
CopilotChat
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-UKCPOBQM.mjs";
|
|
27
|
+
} from "../chunk-4RAYX7ZX.mjs";
|
|
28
|
+
import "../chunk-53CVDVS5.mjs";
|
|
30
29
|
import "../chunk-2II3Q27P.mjs";
|
|
31
30
|
import {
|
|
32
31
|
RenderImageMessage
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import {
|
|
35
|
-
UserMessage
|
|
36
|
-
} from "../chunk-HWMFMBJC.mjs";
|
|
32
|
+
} from "../chunk-ULDQXCED.mjs";
|
|
37
33
|
import "../chunk-C7OB63U5.mjs";
|
|
34
|
+
import "../chunk-32MUWKL3.mjs";
|
|
38
35
|
import {
|
|
39
36
|
AssistantMessage
|
|
40
37
|
} from "../chunk-L3GZ7TXC.mjs";
|
|
38
|
+
import {
|
|
39
|
+
UserMessage
|
|
40
|
+
} from "../chunk-HWMFMBJC.mjs";
|
|
41
41
|
import {
|
|
42
42
|
Suggestions
|
|
43
43
|
} from "../chunk-QGSPTXOV.mjs";
|
package/dist/index.js
CHANGED
|
@@ -2238,9 +2238,12 @@ function RenderActionExecutionMessage(_a) {
|
|
|
2238
2238
|
try {
|
|
2239
2239
|
const toRender = render({
|
|
2240
2240
|
status,
|
|
2241
|
+
// Cast to any as RenderFunctionStatus is a union that can be complex to narrow here
|
|
2241
2242
|
args,
|
|
2242
2243
|
result: actionResult,
|
|
2243
|
-
name: message.name
|
|
2244
|
+
name: message.name,
|
|
2245
|
+
messageId: message.id
|
|
2246
|
+
// Pass messageId for HITL action correlation
|
|
2244
2247
|
});
|
|
2245
2248
|
if (!toRender && status === "complete") {
|
|
2246
2249
|
return null;
|