@copilotkit/react-ui 1.8.14 → 1.8.15-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 +8 -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 +14 -14
- 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
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
CopilotChat,
|
|
3
3
|
WrappedCopilotChat,
|
|
4
4
|
useCopilotChatLogic
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-RT4HE74K.mjs";
|
|
6
|
+
import "../../chunk-UKCPOBQM.mjs";
|
|
7
|
+
import "../../chunk-2II3Q27P.mjs";
|
|
8
|
+
import "../../chunk-ULDQXCED.mjs";
|
|
9
|
+
import "../../chunk-C7OB63U5.mjs";
|
|
10
|
+
import "../../chunk-32MUWKL3.mjs";
|
|
11
|
+
import "../../chunk-L3GZ7TXC.mjs";
|
|
12
12
|
import "../../chunk-HWMFMBJC.mjs";
|
|
13
13
|
import "../../chunk-QGSPTXOV.mjs";
|
|
14
14
|
import "../../chunk-IMBPSLL4.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Header
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-UH2UFL5W.mjs";
|
|
4
4
|
import "../../chunk-V7W6IM2V.mjs";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-VGPQYMKJ.mjs";
|
|
6
|
+
import "../../chunk-Q5V6S67N.mjs";
|
|
6
7
|
import "../../chunk-6TCUJ3B7.mjs";
|
|
7
8
|
import "../../chunk-KXE2JCUH.mjs";
|
|
8
9
|
import "../../chunk-NRA3CFEE.mjs";
|
|
9
10
|
import "../../chunk-BH6PCAAL.mjs";
|
|
10
|
-
import "../../chunk-Q5V6S67N.mjs";
|
|
11
11
|
import "../../chunk-IEMQ2SQW.mjs";
|
|
12
12
|
import "../../chunk-XWG3L6QC.mjs";
|
|
13
13
|
import "../../chunk-MRXNTQOX.mjs";
|
|
@@ -2037,6 +2037,7 @@ var AssistantMessage = (props) => {
|
|
|
2037
2037
|
onThumbsUp,
|
|
2038
2038
|
onThumbsDown,
|
|
2039
2039
|
isCurrentMessage,
|
|
2040
|
+
rawData,
|
|
2040
2041
|
markdownTagRenderers
|
|
2041
2042
|
} = props;
|
|
2042
2043
|
const [copied, setCopied] = (0, import_react12.useState)(false);
|
|
@@ -2058,13 +2059,15 @@ var AssistantMessage = (props) => {
|
|
|
2058
2059
|
}
|
|
2059
2060
|
};
|
|
2060
2061
|
const handleThumbsUp = () => {
|
|
2061
|
-
|
|
2062
|
-
|
|
2062
|
+
const fullMessage = rawData;
|
|
2063
|
+
if (onThumbsUp && fullMessage) {
|
|
2064
|
+
onThumbsUp(fullMessage);
|
|
2063
2065
|
}
|
|
2064
2066
|
};
|
|
2065
2067
|
const handleThumbsDown = () => {
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
+
const fullMessage = rawData;
|
|
2069
|
+
if (onThumbsDown && fullMessage) {
|
|
2070
|
+
onThumbsDown(fullMessage);
|
|
2068
2071
|
}
|
|
2069
2072
|
};
|
|
2070
2073
|
const LoadingIcon = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: icons.activityIcon });
|