@copilotkit/react-ui 1.4.8-coagents-v0-3.1 → 1.4.8-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 +5 -6
- package/dist/{chunk-M7MHMZ5O.mjs → chunk-46UJJGXP.mjs} +2 -2
- package/dist/{chunk-PNQVKBPN.mjs → chunk-4FIGRRFS.mjs} +2 -2
- package/dist/{chunk-PNQVKBPN.mjs.map → chunk-4FIGRRFS.mjs.map} +1 -1
- package/dist/{chunk-H7UVF2NY.mjs → chunk-752NGHCE.mjs} +2 -2
- package/dist/{chunk-VUK75M5B.mjs → chunk-CVHT5XCA.mjs} +2 -2
- package/dist/{chunk-6GBOJUX4.mjs → chunk-DVMTTXGZ.mjs} +3 -3
- package/dist/{chunk-ROVHRIKR.mjs → chunk-PNKBFDUI.mjs} +2 -2
- package/dist/{chunk-ICGZEGHQ.mjs → chunk-TI7SY2RI.mjs} +13 -4
- package/dist/chunk-TI7SY2RI.mjs.map +1 -0
- package/dist/components/chat/Chat.js +13 -27
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +4 -4
- package/dist/components/chat/Modal.js +13 -27
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +5 -5
- package/dist/components/chat/Popup.js +13 -27
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +6 -6
- package/dist/components/chat/Sidebar.js +13 -27
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +6 -6
- package/dist/components/chat/index.js +13 -27
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +7 -7
- package/dist/components/dev-console/console.js +13 -27
- package/dist/components/dev-console/console.js.map +1 -1
- package/dist/components/dev-console/console.mjs +3 -3
- package/dist/components/dev-console/index.js +13 -27
- package/dist/components/dev-console/index.js.map +1 -1
- package/dist/components/dev-console/index.mjs +3 -3
- package/dist/components/dev-console/utils.js +1 -1
- package/dist/components/dev-console/utils.js.map +1 -1
- package/dist/components/dev-console/utils.mjs +1 -1
- package/dist/components/help-modal/index.js +12 -26
- package/dist/components/help-modal/index.js.map +1 -1
- package/dist/components/help-modal/index.mjs +1 -1
- package/dist/components/help-modal/modal.js +12 -26
- package/dist/components/help-modal/modal.js.map +1 -1
- package/dist/components/help-modal/modal.mjs +1 -1
- package/dist/components/index.js +13 -27
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +7 -7
- package/dist/index.js +13 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/package.json +4 -4
- package/src/components/dev-console/utils.ts +1 -1
- package/src/components/help-modal/modal.tsx +12 -2
- package/dist/chunk-ICGZEGHQ.mjs.map +0 -1
- /package/dist/{chunk-M7MHMZ5O.mjs.map → chunk-46UJJGXP.mjs.map} +0 -0
- /package/dist/{chunk-H7UVF2NY.mjs.map → chunk-752NGHCE.mjs.map} +0 -0
- /package/dist/{chunk-VUK75M5B.mjs.map → chunk-CVHT5XCA.mjs.map} +0 -0
- /package/dist/{chunk-6GBOJUX4.mjs.map → chunk-DVMTTXGZ.mjs.map} +0 -0
- /package/dist/{chunk-ROVHRIKR.mjs.map → chunk-PNKBFDUI.mjs.map} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotPopup
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-CVHT5XCA.mjs";
|
|
4
|
+
import "../../chunk-752NGHCE.mjs";
|
|
5
5
|
import "../../chunk-YAGE7RCE.mjs";
|
|
6
6
|
import "../../chunk-VEC45H6Q.mjs";
|
|
7
7
|
import "../../chunk-RQNJNK2W.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-46UJJGXP.mjs";
|
|
9
9
|
import "../../chunk-6INMITFA.mjs";
|
|
10
10
|
import "../../chunk-RU73BEZM.mjs";
|
|
11
11
|
import "../../chunk-V7W6IM2V.mjs";
|
|
12
12
|
import "../../chunk-OMTPWC7T.mjs";
|
|
13
13
|
import "../../chunk-ZABXREBH.mjs";
|
|
14
14
|
import "../../chunk-RJCZRKTV.mjs";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-DVMTTXGZ.mjs";
|
|
16
|
+
import "../../chunk-4FIGRRFS.mjs";
|
|
17
17
|
import "../../chunk-KXE2JCUH.mjs";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-TI7SY2RI.mjs";
|
|
19
19
|
import "../../chunk-BH6PCAAL.mjs";
|
|
20
20
|
import "../../chunk-OTPAZXVR.mjs";
|
|
21
21
|
import "../../chunk-EMQEEXUB.mjs";
|
|
@@ -1780,7 +1780,7 @@ function logMessages(context) {
|
|
|
1780
1780
|
type: "ActionExecutionMessage",
|
|
1781
1781
|
role: void 0,
|
|
1782
1782
|
name: message.name,
|
|
1783
|
-
scope: message.
|
|
1783
|
+
scope: message.scope,
|
|
1784
1784
|
content: message.arguments
|
|
1785
1785
|
};
|
|
1786
1786
|
} else if (message.isResultMessage()) {
|
|
@@ -1903,30 +1903,6 @@ var import_react9 = require("react");
|
|
|
1903
1903
|
|
|
1904
1904
|
// src/components/help-modal/icons.tsx
|
|
1905
1905
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1906
|
-
var LifeBuoyIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1907
|
-
"svg",
|
|
1908
|
-
{
|
|
1909
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1910
|
-
width: "24",
|
|
1911
|
-
height: "24",
|
|
1912
|
-
viewBox: "0 0 24 24",
|
|
1913
|
-
fill: "none",
|
|
1914
|
-
stroke: "currentColor",
|
|
1915
|
-
strokeWidth: "2",
|
|
1916
|
-
strokeLinecap: "round",
|
|
1917
|
-
strokeLinejoin: "round",
|
|
1918
|
-
className: "icon icon-tabler icons-tabler-outline icon-tabler-lifebuoy",
|
|
1919
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("g", { transform: "translate(0, -1)", children: [
|
|
1920
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
|
|
1921
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" }),
|
|
1922
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
|
|
1923
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M15 15l3.35 3.35" }),
|
|
1924
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 15l-3.35 3.35" }),
|
|
1925
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M5.65 5.65l3.35 3.35" }),
|
|
1926
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M18.35 5.65l-3.35 3.35" })
|
|
1927
|
-
] })
|
|
1928
|
-
}
|
|
1929
|
-
);
|
|
1930
1906
|
var CloseIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1931
1907
|
"svg",
|
|
1932
1908
|
{
|
|
@@ -2017,9 +1993,10 @@ function CopilotKitHelpModal() {
|
|
|
2017
1993
|
"button",
|
|
2018
1994
|
{
|
|
2019
1995
|
onClick: () => setShowHelpModal(true),
|
|
2020
|
-
|
|
1996
|
+
style: { width: "50px", height: "30px", marginRight: "0.25rem" },
|
|
1997
|
+
className: "text-sm p-0 bg-transparent rounded border border-blue-500",
|
|
2021
1998
|
"aria-label": "Open Help",
|
|
2022
|
-
children:
|
|
1999
|
+
children: "Help"
|
|
2023
2000
|
}
|
|
2024
2001
|
);
|
|
2025
2002
|
const submitButtonDisabled = (0, import_react9.useMemo)(
|
|
@@ -2046,6 +2023,15 @@ function CopilotKitHelpModal() {
|
|
|
2046
2023
|
),
|
|
2047
2024
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-full flex mb-6 justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { className: "text-2xl font-bold", children: "Help Options" }) }),
|
|
2048
2025
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "space-y-4 mb-4", children: [
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "block w-full text-center py-2 px-4 bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-150 text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2027
|
+
"a",
|
|
2028
|
+
{
|
|
2029
|
+
href: "https://docs.copilotkit.ai/coagents/troubleshooting/common-issues",
|
|
2030
|
+
target: "_blank",
|
|
2031
|
+
rel: "noopener noreferrer",
|
|
2032
|
+
children: "Visit the Troubleshooting and FAQ section in the docs"
|
|
2033
|
+
}
|
|
2034
|
+
) }),
|
|
2049
2035
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "block w-full text-center py-2 px-4 bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-150 text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2050
2036
|
"a",
|
|
2051
2037
|
{
|