@copilotkit/react-ui 1.9.2-next.19 → 1.9.2-next.20
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 +20 -0
- package/dist/{chunk-6CM2HBBL.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-MFDPLECB.mjs → chunk-BP3RN6OE.mjs} +2 -2
- package/dist/{chunk-P2ZW5H55.mjs → chunk-EQUUN7ZM.mjs} +6 -6
- package/dist/{chunk-ITDBNJM6.mjs → chunk-TSDSBNOS.mjs} +2 -2
- package/dist/{chunk-2CVOR5KS.mjs → chunk-X3LV7OXQ.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 +7 -7
- package/dist/components/chat/Input.mjs +2 -2
- package/dist/components/chat/Modal.js +4 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +16 -16
- package/dist/components/chat/Popup.js +4 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +17 -17
- package/dist/components/chat/Sidebar.js +4 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +17 -17
- package/dist/components/chat/index.js +4 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +22 -22
- package/dist/components/chat/messages/AssistantMessage.mjs +1 -1
- 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 +2 -2
- package/dist/components/chat/messages/RenderAgentStateMessage.mjs +1 -1
- package/dist/components/chat/messages/RenderImageMessage.mjs +1 -1
- package/dist/components/chat/messages/RenderResultMessage.mjs +1 -1
- package/dist/components/chat/messages/RenderTextMessage.mjs +1 -1
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +26 -26
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -26
- package/package.json +4 -4
- package/src/components/chat/messages/RenderActionExecutionMessage.tsx +4 -2
- package/dist/chunk-UKCPOBQM.mjs.map +0 -1
- /package/dist/{chunk-6CM2HBBL.mjs.map → chunk-4RAYX7ZX.mjs.map} +0 -0
- /package/dist/{chunk-MFDPLECB.mjs.map → chunk-BP3RN6OE.mjs.map} +0 -0
- /package/dist/{chunk-P2ZW5H55.mjs.map → chunk-EQUUN7ZM.mjs.map} +0 -0
- /package/dist/{chunk-ITDBNJM6.mjs.map → chunk-TSDSBNOS.mjs.map} +0 -0
- /package/dist/{chunk-2CVOR5KS.mjs.map → chunk-X3LV7OXQ.mjs.map} +0 -0
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotSidebar
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-TSDSBNOS.mjs";
|
|
4
|
+
import "../../chunk-EQUUN7ZM.mjs";
|
|
5
5
|
import "../../chunk-C3GSYRC3.mjs";
|
|
6
|
+
import "../../chunk-GVKA7RQQ.mjs";
|
|
7
|
+
import "../../chunk-V7W6IM2V.mjs";
|
|
8
|
+
import "../../chunk-SGFUVPDB.mjs";
|
|
9
|
+
import "../../chunk-Q5V6S67N.mjs";
|
|
10
|
+
import "../../chunk-QN7T3GWI.mjs";
|
|
11
|
+
import "../../chunk-KXE2JCUH.mjs";
|
|
12
|
+
import "../../chunk-NRA3CFEE.mjs";
|
|
13
|
+
import "../../chunk-BH6PCAAL.mjs";
|
|
6
14
|
import "../../chunk-UFN2VWSR.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-4RAYX7ZX.mjs";
|
|
16
|
+
import "../../chunk-53CVDVS5.mjs";
|
|
9
17
|
import "../../chunk-2II3Q27P.mjs";
|
|
10
18
|
import "../../chunk-ULDQXCED.mjs";
|
|
11
19
|
import "../../chunk-C7OB63U5.mjs";
|
|
@@ -13,24 +21,16 @@ import "../../chunk-32MUWKL3.mjs";
|
|
|
13
21
|
import "../../chunk-L3GZ7TXC.mjs";
|
|
14
22
|
import "../../chunk-HWMFMBJC.mjs";
|
|
15
23
|
import "../../chunk-QGSPTXOV.mjs";
|
|
16
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-IMBPSLL4.mjs";
|
|
25
|
+
import "../../chunk-PLHTVHUW.mjs";
|
|
26
|
+
import "../../chunk-X3LV7OXQ.mjs";
|
|
27
|
+
import "../../chunk-CGEAG65D.mjs";
|
|
17
28
|
import "../../chunk-YQFVRDNC.mjs";
|
|
18
29
|
import "../../chunk-YTXEWDNC.mjs";
|
|
19
30
|
import "../../chunk-B3D7U7TJ.mjs";
|
|
20
|
-
import "../../chunk-CGEAG65D.mjs";
|
|
21
|
-
import "../../chunk-IMBPSLL4.mjs";
|
|
22
|
-
import "../../chunk-KENCH7RN.mjs";
|
|
23
|
-
import "../../chunk-GVKA7RQQ.mjs";
|
|
24
|
-
import "../../chunk-V7W6IM2V.mjs";
|
|
25
|
-
import "../../chunk-SGFUVPDB.mjs";
|
|
26
|
-
import "../../chunk-Q5V6S67N.mjs";
|
|
27
|
-
import "../../chunk-QN7T3GWI.mjs";
|
|
28
|
-
import "../../chunk-KXE2JCUH.mjs";
|
|
29
|
-
import "../../chunk-NRA3CFEE.mjs";
|
|
30
|
-
import "../../chunk-BH6PCAAL.mjs";
|
|
31
31
|
import "../../chunk-IEMQ2SQW.mjs";
|
|
32
|
+
import "../../chunk-KENCH7RN.mjs";
|
|
32
33
|
import "../../chunk-XWG3L6QC.mjs";
|
|
33
|
-
import "../../chunk-PLHTVHUW.mjs";
|
|
34
34
|
import "../../chunk-54JAUBUJ.mjs";
|
|
35
35
|
import "../../chunk-JGMFJZMG.mjs";
|
|
36
36
|
import "../../chunk-S5MBUNGN.mjs";
|
|
@@ -2234,9 +2234,12 @@ function RenderActionExecutionMessage(_a) {
|
|
|
2234
2234
|
try {
|
|
2235
2235
|
const toRender = render({
|
|
2236
2236
|
status,
|
|
2237
|
+
// Cast to any as RenderFunctionStatus is a union that can be complex to narrow here
|
|
2237
2238
|
args,
|
|
2238
2239
|
result: actionResult,
|
|
2239
|
-
name: message.name
|
|
2240
|
+
name: message.name,
|
|
2241
|
+
messageId: message.id
|
|
2242
|
+
// Pass messageId for HITL action correlation
|
|
2240
2243
|
});
|
|
2241
2244
|
if (!toRender && status === "complete") {
|
|
2242
2245
|
return null;
|