@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,19 +1,31 @@
|
|
|
1
1
|
import "../chunk-MMVDU6DF.mjs";
|
|
2
2
|
import "../chunk-SC6JRFAJ.mjs";
|
|
3
|
+
import {
|
|
4
|
+
CopilotSidebar
|
|
5
|
+
} from "../chunk-TSDSBNOS.mjs";
|
|
3
6
|
import "../chunk-WB3YULQ4.mjs";
|
|
4
7
|
import {
|
|
5
8
|
CopilotPopup
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import
|
|
8
|
-
CopilotSidebar
|
|
9
|
-
} from "../chunk-ITDBNJM6.mjs";
|
|
10
|
-
import "../chunk-P2ZW5H55.mjs";
|
|
9
|
+
} from "../chunk-BP3RN6OE.mjs";
|
|
10
|
+
import "../chunk-EQUUN7ZM.mjs";
|
|
11
11
|
import "../chunk-C3GSYRC3.mjs";
|
|
12
|
+
import "../chunk-GVKA7RQQ.mjs";
|
|
13
|
+
import "../chunk-V7W6IM2V.mjs";
|
|
14
|
+
import {
|
|
15
|
+
CopilotDevConsole
|
|
16
|
+
} from "../chunk-SGFUVPDB.mjs";
|
|
17
|
+
import "../chunk-Q5V6S67N.mjs";
|
|
18
|
+
import {
|
|
19
|
+
shouldShowDevConsole
|
|
20
|
+
} from "../chunk-QN7T3GWI.mjs";
|
|
21
|
+
import "../chunk-KXE2JCUH.mjs";
|
|
22
|
+
import "../chunk-NRA3CFEE.mjs";
|
|
23
|
+
import "../chunk-BH6PCAAL.mjs";
|
|
12
24
|
import "../chunk-UFN2VWSR.mjs";
|
|
13
25
|
import {
|
|
14
26
|
CopilotChat
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-4RAYX7ZX.mjs";
|
|
28
|
+
import "../chunk-53CVDVS5.mjs";
|
|
17
29
|
import "../chunk-2II3Q27P.mjs";
|
|
18
30
|
import {
|
|
19
31
|
RenderImageMessage
|
|
@@ -29,34 +41,22 @@ import {
|
|
|
29
41
|
import {
|
|
30
42
|
Suggestions
|
|
31
43
|
} from "../chunk-QGSPTXOV.mjs";
|
|
32
|
-
import
|
|
44
|
+
import {
|
|
45
|
+
Suggestion
|
|
46
|
+
} from "../chunk-IMBPSLL4.mjs";
|
|
47
|
+
import "../chunk-PLHTVHUW.mjs";
|
|
48
|
+
import "../chunk-X3LV7OXQ.mjs";
|
|
49
|
+
import "../chunk-CGEAG65D.mjs";
|
|
33
50
|
import "../chunk-YQFVRDNC.mjs";
|
|
34
51
|
import {
|
|
35
52
|
Markdown
|
|
36
53
|
} from "../chunk-YTXEWDNC.mjs";
|
|
37
54
|
import "../chunk-B3D7U7TJ.mjs";
|
|
38
|
-
import "../chunk-CGEAG65D.mjs";
|
|
39
|
-
import {
|
|
40
|
-
Suggestion
|
|
41
|
-
} from "../chunk-IMBPSLL4.mjs";
|
|
42
|
-
import "../chunk-KENCH7RN.mjs";
|
|
43
|
-
import "../chunk-GVKA7RQQ.mjs";
|
|
44
|
-
import "../chunk-V7W6IM2V.mjs";
|
|
45
|
-
import {
|
|
46
|
-
CopilotDevConsole
|
|
47
|
-
} from "../chunk-SGFUVPDB.mjs";
|
|
48
|
-
import "../chunk-Q5V6S67N.mjs";
|
|
49
|
-
import {
|
|
50
|
-
shouldShowDevConsole
|
|
51
|
-
} from "../chunk-QN7T3GWI.mjs";
|
|
52
|
-
import "../chunk-KXE2JCUH.mjs";
|
|
53
|
-
import "../chunk-NRA3CFEE.mjs";
|
|
54
|
-
import "../chunk-BH6PCAAL.mjs";
|
|
55
55
|
import {
|
|
56
56
|
useChatContext
|
|
57
57
|
} from "../chunk-IEMQ2SQW.mjs";
|
|
58
|
+
import "../chunk-KENCH7RN.mjs";
|
|
58
59
|
import "../chunk-XWG3L6QC.mjs";
|
|
59
|
-
import "../chunk-PLHTVHUW.mjs";
|
|
60
60
|
import "../chunk-54JAUBUJ.mjs";
|
|
61
61
|
import "../chunk-JGMFJZMG.mjs";
|
|
62
62
|
import "../chunk-S5MBUNGN.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;
|