@copilotkit/react-ui 1.8.14 → 1.8.15-next.1
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 +17 -0
- package/dist/{chunk-ALWZ35SI.mjs → chunk-2II3Q27P.mjs} +2 -2
- package/dist/{chunk-5INP2EWU.mjs → chunk-32MUWKL3.mjs} +2 -2
- package/dist/{chunk-JHHEN7N2.mjs → chunk-AQO6IFWX.mjs} +2 -2
- package/dist/{chunk-6VUDBDUN.mjs → chunk-C7OB63U5.mjs} +2 -2
- package/dist/{chunk-ZIRAAZ3G.mjs → chunk-FVVWTADX.mjs} +4 -4
- package/dist/{chunk-SVK5M7PY.mjs → chunk-HEGCXYC3.mjs} +2 -2
- package/dist/{chunk-XMNTLIK5.mjs → chunk-L3GZ7TXC.mjs} +8 -5
- package/dist/chunk-L3GZ7TXC.mjs.map +1 -0
- package/dist/{chunk-IAHSHPRJ.mjs → chunk-RT4HE74K.mjs} +7 -7
- package/dist/chunk-RT4HE74K.mjs.map +1 -0
- package/dist/{chunk-Q3WV6GDO.mjs → chunk-UH2UFL5W.mjs} +2 -2
- package/dist/{chunk-MPZAMNCN.mjs → chunk-UKCPOBQM.mjs} +2 -2
- package/dist/{chunk-UKWBNVMQ.mjs → chunk-ULDQXCED.mjs} +2 -2
- package/dist/{chunk-4WAZSYED.mjs → chunk-VGPQYMKJ.mjs} +7 -7
- package/dist/components/chat/Chat.d.ts +3 -3
- package/dist/components/chat/Chat.js +7 -4
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +7 -7
- package/dist/components/chat/Header.mjs +3 -3
- package/dist/components/chat/Modal.js +7 -4
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +11 -11
- package/dist/components/chat/Popup.js +7 -4
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +12 -12
- package/dist/components/chat/Sidebar.js +7 -4
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +12 -12
- package/dist/components/chat/index.js +7 -4
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +13 -13
- package/dist/components/chat/messages/AssistantMessage.js +7 -4
- package/dist/components/chat/messages/AssistantMessage.js.map +1 -1
- package/dist/components/chat/messages/AssistantMessage.mjs +1 -1
- package/dist/components/chat/messages/RenderActionExecutionMessage.js +7 -4
- 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.js +7 -4
- package/dist/components/chat/messages/RenderAgentStateMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderAgentStateMessage.mjs +2 -2
- package/dist/components/chat/messages/RenderImageMessage.js +7 -4
- package/dist/components/chat/messages/RenderImageMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderImageMessage.mjs +2 -2
- package/dist/components/chat/messages/RenderResultMessage.js +7 -4
- package/dist/components/chat/messages/RenderResultMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderResultMessage.mjs +2 -2
- package/dist/components/chat/messages/RenderTextMessage.js +7 -4
- package/dist/components/chat/messages/RenderTextMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderTextMessage.mjs +2 -2
- package/dist/components/chat/props.d.ts +7 -7
- package/dist/components/chat/props.js.map +1 -1
- package/dist/components/dev-console/console.mjs +2 -2
- package/dist/components/dev-console/index.mjs +2 -2
- package/dist/components/index.js +7 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +13 -13
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/package.json +4 -4
- package/src/components/chat/Chat.tsx +2 -2
- package/src/components/chat/messages/AssistantMessage.tsx +8 -4
- package/src/components/chat/props.ts +7 -7
- package/dist/chunk-IAHSHPRJ.mjs.map +0 -1
- package/dist/chunk-XMNTLIK5.mjs.map +0 -1
- /package/dist/{chunk-ALWZ35SI.mjs.map → chunk-2II3Q27P.mjs.map} +0 -0
- /package/dist/{chunk-5INP2EWU.mjs.map → chunk-32MUWKL3.mjs.map} +0 -0
- /package/dist/{chunk-JHHEN7N2.mjs.map → chunk-AQO6IFWX.mjs.map} +0 -0
- /package/dist/{chunk-6VUDBDUN.mjs.map → chunk-C7OB63U5.mjs.map} +0 -0
- /package/dist/{chunk-ZIRAAZ3G.mjs.map → chunk-FVVWTADX.mjs.map} +0 -0
- /package/dist/{chunk-SVK5M7PY.mjs.map → chunk-HEGCXYC3.mjs.map} +0 -0
- /package/dist/{chunk-Q3WV6GDO.mjs.map → chunk-UH2UFL5W.mjs.map} +0 -0
- /package/dist/{chunk-MPZAMNCN.mjs.map → chunk-UKCPOBQM.mjs.map} +0 -0
- /package/dist/{chunk-UKWBNVMQ.mjs.map → chunk-ULDQXCED.mjs.map} +0 -0
- /package/dist/{chunk-4WAZSYED.mjs.map → chunk-VGPQYMKJ.mjs.map} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotPopup
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-HEGCXYC3.mjs";
|
|
4
|
+
import "../../chunk-FVVWTADX.mjs";
|
|
5
5
|
import "../../chunk-C3GSYRC3.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-UH2UFL5W.mjs";
|
|
7
7
|
import "../../chunk-V7W6IM2V.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-VGPQYMKJ.mjs";
|
|
9
|
+
import "../../chunk-Q5V6S67N.mjs";
|
|
9
10
|
import "../../chunk-6TCUJ3B7.mjs";
|
|
10
11
|
import "../../chunk-KXE2JCUH.mjs";
|
|
11
12
|
import "../../chunk-NRA3CFEE.mjs";
|
|
12
13
|
import "../../chunk-BH6PCAAL.mjs";
|
|
13
|
-
import "../../chunk-Q5V6S67N.mjs";
|
|
14
14
|
import "../../chunk-UFN2VWSR.mjs";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-RT4HE74K.mjs";
|
|
16
|
+
import "../../chunk-UKCPOBQM.mjs";
|
|
17
|
+
import "../../chunk-2II3Q27P.mjs";
|
|
18
|
+
import "../../chunk-ULDQXCED.mjs";
|
|
19
|
+
import "../../chunk-C7OB63U5.mjs";
|
|
20
|
+
import "../../chunk-32MUWKL3.mjs";
|
|
21
|
+
import "../../chunk-L3GZ7TXC.mjs";
|
|
22
22
|
import "../../chunk-HWMFMBJC.mjs";
|
|
23
23
|
import "../../chunk-QGSPTXOV.mjs";
|
|
24
24
|
import "../../chunk-IMBPSLL4.mjs";
|
|
@@ -2040,6 +2040,7 @@ var AssistantMessage = (props) => {
|
|
|
2040
2040
|
onThumbsUp,
|
|
2041
2041
|
onThumbsDown,
|
|
2042
2042
|
isCurrentMessage,
|
|
2043
|
+
rawData,
|
|
2043
2044
|
markdownTagRenderers
|
|
2044
2045
|
} = props;
|
|
2045
2046
|
const [copied, setCopied] = (0, import_react12.useState)(false);
|
|
@@ -2061,13 +2062,15 @@ var AssistantMessage = (props) => {
|
|
|
2061
2062
|
}
|
|
2062
2063
|
};
|
|
2063
2064
|
const handleThumbsUp = () => {
|
|
2064
|
-
|
|
2065
|
-
|
|
2065
|
+
const fullMessage = rawData;
|
|
2066
|
+
if (onThumbsUp && fullMessage) {
|
|
2067
|
+
onThumbsUp(fullMessage);
|
|
2066
2068
|
}
|
|
2067
2069
|
};
|
|
2068
2070
|
const handleThumbsDown = () => {
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
+
const fullMessage = rawData;
|
|
2072
|
+
if (onThumbsDown && fullMessage) {
|
|
2073
|
+
onThumbsDown(fullMessage);
|
|
2071
2074
|
}
|
|
2072
2075
|
};
|
|
2073
2076
|
const LoadingIcon = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: icons.activityIcon });
|