@copilotkit/react-ui 1.3.5 → 1.3.6
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 +12 -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/{chunk-5HHVL5WK.mjs → chunk-Z2UZSN3K.mjs} +2 -2
- package/dist/{chunk-5HHVL5WK.mjs.map → chunk-Z2UZSN3K.mjs.map} +1 -1
- 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/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.js +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.js.map +1 -1
- package/dist/hooks/use-copilot-chat-suggestions.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/package.json +7 -7
- package/src/components/chat/messages/RenderAgentStateMessage.tsx +3 -2
- package/src/hooks/use-copilot-chat-suggestions.tsx +1 -1
- 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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-SPZEI5EN.mjs";
|
|
4
4
|
import "../../chunk-FO7Z5LAL.mjs";
|
|
5
5
|
import "../../chunk-FLV3J3VX.mjs";
|
|
6
6
|
import "../../chunk-YOH25I6N.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HIX4HRWU.mjs";
|
|
8
8
|
import "../../chunk-V7W6IM2V.mjs";
|
|
9
9
|
import "../../chunk-YH2STM73.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-RF3KLUPD.mjs";
|
|
11
11
|
import "../../chunk-GOTHQ665.mjs";
|
|
12
12
|
import "../../chunk-MA5B5ELM.mjs";
|
|
13
13
|
import "../../chunk-WCPLXRZX.mjs";
|
|
@@ -1434,7 +1434,7 @@ function RenderAgentStateMessage(props) {
|
|
|
1434
1434
|
if (message instanceof import_runtime_client_gql6.AgentStateMessage) {
|
|
1435
1435
|
let render;
|
|
1436
1436
|
if (chatComponentsCache.current !== null) {
|
|
1437
|
-
render = chatComponentsCache.current.
|
|
1437
|
+
render = chatComponentsCache.current.coAgentStateRenders[`${message.agentName}-${message.nodeName}`] || chatComponentsCache.current.coAgentStateRenders[`${message.agentName}-global`];
|
|
1438
1438
|
}
|
|
1439
1439
|
if (render) {
|
|
1440
1440
|
if (typeof render === "string") {
|