@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.
Files changed (55) hide show
  1. package/CHANGELOG.md +5 -6
  2. package/dist/{chunk-M7MHMZ5O.mjs → chunk-46UJJGXP.mjs} +2 -2
  3. package/dist/{chunk-PNQVKBPN.mjs → chunk-4FIGRRFS.mjs} +2 -2
  4. package/dist/{chunk-PNQVKBPN.mjs.map → chunk-4FIGRRFS.mjs.map} +1 -1
  5. package/dist/{chunk-H7UVF2NY.mjs → chunk-752NGHCE.mjs} +2 -2
  6. package/dist/{chunk-VUK75M5B.mjs → chunk-CVHT5XCA.mjs} +2 -2
  7. package/dist/{chunk-6GBOJUX4.mjs → chunk-DVMTTXGZ.mjs} +3 -3
  8. package/dist/{chunk-ROVHRIKR.mjs → chunk-PNKBFDUI.mjs} +2 -2
  9. package/dist/{chunk-ICGZEGHQ.mjs → chunk-TI7SY2RI.mjs} +13 -4
  10. package/dist/chunk-TI7SY2RI.mjs.map +1 -0
  11. package/dist/components/chat/Chat.js +13 -27
  12. package/dist/components/chat/Chat.js.map +1 -1
  13. package/dist/components/chat/Chat.mjs +4 -4
  14. package/dist/components/chat/Modal.js +13 -27
  15. package/dist/components/chat/Modal.js.map +1 -1
  16. package/dist/components/chat/Modal.mjs +5 -5
  17. package/dist/components/chat/Popup.js +13 -27
  18. package/dist/components/chat/Popup.js.map +1 -1
  19. package/dist/components/chat/Popup.mjs +6 -6
  20. package/dist/components/chat/Sidebar.js +13 -27
  21. package/dist/components/chat/Sidebar.js.map +1 -1
  22. package/dist/components/chat/Sidebar.mjs +6 -6
  23. package/dist/components/chat/index.js +13 -27
  24. package/dist/components/chat/index.js.map +1 -1
  25. package/dist/components/chat/index.mjs +7 -7
  26. package/dist/components/dev-console/console.js +13 -27
  27. package/dist/components/dev-console/console.js.map +1 -1
  28. package/dist/components/dev-console/console.mjs +3 -3
  29. package/dist/components/dev-console/index.js +13 -27
  30. package/dist/components/dev-console/index.js.map +1 -1
  31. package/dist/components/dev-console/index.mjs +3 -3
  32. package/dist/components/dev-console/utils.js +1 -1
  33. package/dist/components/dev-console/utils.js.map +1 -1
  34. package/dist/components/dev-console/utils.mjs +1 -1
  35. package/dist/components/help-modal/index.js +12 -26
  36. package/dist/components/help-modal/index.js.map +1 -1
  37. package/dist/components/help-modal/index.mjs +1 -1
  38. package/dist/components/help-modal/modal.js +12 -26
  39. package/dist/components/help-modal/modal.js.map +1 -1
  40. package/dist/components/help-modal/modal.mjs +1 -1
  41. package/dist/components/index.js +13 -27
  42. package/dist/components/index.js.map +1 -1
  43. package/dist/components/index.mjs +7 -7
  44. package/dist/index.js +13 -27
  45. package/dist/index.js.map +1 -1
  46. package/dist/index.mjs +7 -7
  47. package/package.json +4 -4
  48. package/src/components/dev-console/utils.ts +1 -1
  49. package/src/components/help-modal/modal.tsx +12 -2
  50. package/dist/chunk-ICGZEGHQ.mjs.map +0 -1
  51. /package/dist/{chunk-M7MHMZ5O.mjs.map → chunk-46UJJGXP.mjs.map} +0 -0
  52. /package/dist/{chunk-H7UVF2NY.mjs.map → chunk-752NGHCE.mjs.map} +0 -0
  53. /package/dist/{chunk-VUK75M5B.mjs.map → chunk-CVHT5XCA.mjs.map} +0 -0
  54. /package/dist/{chunk-6GBOJUX4.mjs.map → chunk-DVMTTXGZ.mjs.map} +0 -0
  55. /package/dist/{chunk-ROVHRIKR.mjs.map → chunk-PNKBFDUI.mjs.map} +0 -0
@@ -2,18 +2,18 @@ import "../chunk-MMVDU6DF.mjs";
2
2
  import "../chunk-MRFF7GSQ.mjs";
3
3
  import {
4
4
  CopilotSidebar
5
- } from "../chunk-ROVHRIKR.mjs";
5
+ } from "../chunk-PNKBFDUI.mjs";
6
6
  import "../chunk-WB3YULQ4.mjs";
7
7
  import {
8
8
  CopilotPopup
9
- } from "../chunk-VUK75M5B.mjs";
10
- import "../chunk-H7UVF2NY.mjs";
9
+ } from "../chunk-CVHT5XCA.mjs";
10
+ import "../chunk-752NGHCE.mjs";
11
11
  import "../chunk-YAGE7RCE.mjs";
12
12
  import "../chunk-VEC45H6Q.mjs";
13
13
  import "../chunk-RQNJNK2W.mjs";
14
14
  import {
15
15
  CopilotChat
16
- } from "../chunk-M7MHMZ5O.mjs";
16
+ } from "../chunk-46UJJGXP.mjs";
17
17
  import "../chunk-6INMITFA.mjs";
18
18
  import "../chunk-RU73BEZM.mjs";
19
19
  import "../chunk-V7W6IM2V.mjs";
@@ -22,12 +22,12 @@ import "../chunk-ZABXREBH.mjs";
22
22
  import "../chunk-RJCZRKTV.mjs";
23
23
  import {
24
24
  CopilotDevConsole
25
- } from "../chunk-6GBOJUX4.mjs";
25
+ } from "../chunk-DVMTTXGZ.mjs";
26
26
  import {
27
27
  shouldShowDevConsole
28
- } from "../chunk-PNQVKBPN.mjs";
28
+ } from "../chunk-4FIGRRFS.mjs";
29
29
  import "../chunk-KXE2JCUH.mjs";
30
- import "../chunk-ICGZEGHQ.mjs";
30
+ import "../chunk-TI7SY2RI.mjs";
31
31
  import "../chunk-BH6PCAAL.mjs";
32
32
  import "../chunk-OTPAZXVR.mjs";
33
33
  import "../chunk-EMQEEXUB.mjs";
package/dist/index.js CHANGED
@@ -1786,7 +1786,7 @@ function logMessages(context) {
1786
1786
  type: "ActionExecutionMessage",
1787
1787
  role: void 0,
1788
1788
  name: message.name,
1789
- scope: message.parentMessageId,
1789
+ scope: message.scope,
1790
1790
  content: message.arguments
1791
1791
  };
1792
1792
  } else if (message.isResultMessage()) {
@@ -1909,30 +1909,6 @@ var import_react9 = require("react");
1909
1909
 
1910
1910
  // src/components/help-modal/icons.tsx
1911
1911
  var import_jsx_runtime18 = require("react/jsx-runtime");
1912
- var LifeBuoyIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1913
- "svg",
1914
- {
1915
- xmlns: "http://www.w3.org/2000/svg",
1916
- width: "24",
1917
- height: "24",
1918
- viewBox: "0 0 24 24",
1919
- fill: "none",
1920
- stroke: "currentColor",
1921
- strokeWidth: "2",
1922
- strokeLinecap: "round",
1923
- strokeLinejoin: "round",
1924
- className: "icon icon-tabler icons-tabler-outline icon-tabler-lifebuoy",
1925
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("g", { transform: "translate(0, -1)", children: [
1926
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
1927
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" }),
1928
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
1929
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M15 15l3.35 3.35" }),
1930
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M9 15l-3.35 3.35" }),
1931
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M5.65 5.65l3.35 3.35" }),
1932
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M18.35 5.65l-3.35 3.35" })
1933
- ] })
1934
- }
1935
- );
1936
1912
  var CloseIcon2 = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1937
1913
  "svg",
1938
1914
  {
@@ -2023,9 +1999,10 @@ function CopilotKitHelpModal() {
2023
1999
  "button",
2024
2000
  {
2025
2001
  onClick: () => setShowHelpModal(true),
2026
- className: "p-2 bg-transparent rounded-full shadow-lg hover:shadow-xl transition-shadow duration-300 focus:outline-none focus:ring-2 focus:ring-blue-500",
2002
+ style: { width: "50px", height: "30px", marginRight: "0.25rem" },
2003
+ className: "text-sm p-0 bg-transparent rounded border border-blue-500",
2027
2004
  "aria-label": "Open Help",
2028
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(LifeBuoyIcon, {})
2005
+ children: "Help"
2029
2006
  }
2030
2007
  );
2031
2008
  const submitButtonDisabled = (0, import_react9.useMemo)(
@@ -2052,6 +2029,15 @@ function CopilotKitHelpModal() {
2052
2029
  ),
2053
2030
  /* @__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" }) }),
2054
2031
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "space-y-4 mb-4", children: [
2032
+ /* @__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)(
2033
+ "a",
2034
+ {
2035
+ href: "https://docs.copilotkit.ai/coagents/troubleshooting/common-issues",
2036
+ target: "_blank",
2037
+ rel: "noopener noreferrer",
2038
+ children: "Visit the Troubleshooting and FAQ section in the docs"
2039
+ }
2040
+ ) }),
2055
2041
  /* @__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)(
2056
2042
  "a",
2057
2043
  {