@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,14 +2,14 @@ import {
|
|
|
2
2
|
CopilotChat,
|
|
3
3
|
WrappedCopilotChat,
|
|
4
4
|
useCopilotChatLogic
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-UKCPOBQM.mjs";
|
|
5
|
+
} from "../../chunk-4RAYX7ZX.mjs";
|
|
6
|
+
import "../../chunk-53CVDVS5.mjs";
|
|
8
7
|
import "../../chunk-2II3Q27P.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-HWMFMBJC.mjs";
|
|
8
|
+
import "../../chunk-ULDQXCED.mjs";
|
|
11
9
|
import "../../chunk-C7OB63U5.mjs";
|
|
10
|
+
import "../../chunk-32MUWKL3.mjs";
|
|
12
11
|
import "../../chunk-L3GZ7TXC.mjs";
|
|
12
|
+
import "../../chunk-HWMFMBJC.mjs";
|
|
13
13
|
import "../../chunk-QGSPTXOV.mjs";
|
|
14
14
|
import "../../chunk-IMBPSLL4.mjs";
|
|
15
15
|
import "../../chunk-PLHTVHUW.mjs";
|
|
@@ -2223,9 +2223,12 @@ function RenderActionExecutionMessage(_a) {
|
|
|
2223
2223
|
try {
|
|
2224
2224
|
const toRender = render({
|
|
2225
2225
|
status,
|
|
2226
|
+
// Cast to any as RenderFunctionStatus is a union that can be complex to narrow here
|
|
2226
2227
|
args,
|
|
2227
2228
|
result: actionResult,
|
|
2228
|
-
name: message.name
|
|
2229
|
+
name: message.name,
|
|
2230
|
+
messageId: message.id
|
|
2231
|
+
// Pass messageId for HITL action correlation
|
|
2229
2232
|
});
|
|
2230
2233
|
if (!toRender && status === "complete") {
|
|
2231
2234
|
return null;
|