@copilotkit/react-ui 1.3.5 → 1.3.6-pre-1-3-6.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 +10 -0
- package/dist/{chunk-U7CXOZEV.mjs → chunk-HIX4HRWU.mjs} +2 -2
- package/dist/{chunk-3CQ72Y7E.mjs → chunk-P47XGGRX.mjs} +2 -2
- package/dist/{chunk-N4JRGTUJ.mjs → chunk-RF3KLUPD.mjs} +2 -2
- package/dist/chunk-RF3KLUPD.mjs.map +1 -0
- package/dist/{chunk-P4N6EWUO.mjs → chunk-SPZEI5EN.mjs} +2 -2
- package/dist/{chunk-FRFXYFEH.mjs → chunk-TSQVQAAC.mjs} +2 -2
- package/dist/components/chat/Chat.js +1 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +2 -2
- package/dist/components/chat/Modal.js +1 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +3 -3
- package/dist/components/chat/Popup.js +1 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +4 -4
- package/dist/components/chat/Sidebar.js +1 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +4 -4
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +5 -5
- package/dist/components/chat/messages/RenderAgentStateMessage.js +1 -1
- package/dist/components/chat/messages/RenderAgentStateMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderAgentStateMessage.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +7 -7
- package/src/components/chat/messages/RenderAgentStateMessage.tsx +3 -2
- package/dist/chunk-N4JRGTUJ.mjs.map +0 -1
- /package/dist/{chunk-U7CXOZEV.mjs.map → chunk-HIX4HRWU.mjs.map} +0 -0
- /package/dist/{chunk-3CQ72Y7E.mjs.map → chunk-P47XGGRX.mjs.map} +0 -0
- /package/dist/{chunk-P4N6EWUO.mjs.map → chunk-SPZEI5EN.mjs.map} +0 -0
- /package/dist/{chunk-FRFXYFEH.mjs.map → chunk-TSQVQAAC.mjs.map} +0 -0
|
@@ -2,21 +2,21 @@ import "../chunk-JD7BAH7U.mjs";
|
|
|
2
2
|
import "../chunk-MRFF7GSQ.mjs";
|
|
3
3
|
import {
|
|
4
4
|
CopilotSidebar
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-P47XGGRX.mjs";
|
|
6
6
|
import "../chunk-WB3YULQ4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CopilotPopup
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-TSQVQAAC.mjs";
|
|
10
|
+
import "../chunk-SPZEI5EN.mjs";
|
|
11
11
|
import "../chunk-FO7Z5LAL.mjs";
|
|
12
12
|
import "../chunk-FLV3J3VX.mjs";
|
|
13
13
|
import "../chunk-YOH25I6N.mjs";
|
|
14
14
|
import {
|
|
15
15
|
CopilotChat
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-HIX4HRWU.mjs";
|
|
17
17
|
import "../chunk-V7W6IM2V.mjs";
|
|
18
18
|
import "../chunk-YH2STM73.mjs";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-RF3KLUPD.mjs";
|
|
20
20
|
import "../chunk-GOTHQ665.mjs";
|
|
21
21
|
import "../chunk-MA5B5ELM.mjs";
|
|
22
22
|
import "../chunk-WCPLXRZX.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1439,7 +1439,7 @@ function RenderAgentStateMessage(props) {
|
|
|
1439
1439
|
if (message instanceof import_runtime_client_gql6.AgentStateMessage) {
|
|
1440
1440
|
let render;
|
|
1441
1441
|
if (chatComponentsCache.current !== null) {
|
|
1442
|
-
render = chatComponentsCache.current.
|
|
1442
|
+
render = chatComponentsCache.current.coAgentStateRenders[`${message.agentName}-${message.nodeName}`] || chatComponentsCache.current.coAgentStateRenders[`${message.agentName}-global`];
|
|
1443
1443
|
}
|
|
1444
1444
|
if (render) {
|
|
1445
1445
|
if (typeof render === "string") {
|