@copilotkit/react-core 0.0.0-0.0.0-max-changeset-10101010101010-20260109191632
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 +4188 -0
- package/LICENSE +21 -0
- package/README.md +141 -0
- package/dist/chunk-2IDV5OHF.mjs +11 -0
- package/dist/chunk-2IDV5OHF.mjs.map +1 -0
- package/dist/chunk-336QEM3A.mjs +349 -0
- package/dist/chunk-336QEM3A.mjs.map +1 -0
- package/dist/chunk-36KQV2NA.mjs +1 -0
- package/dist/chunk-36KQV2NA.mjs.map +1 -0
- package/dist/chunk-3MHWEKFN.mjs +759 -0
- package/dist/chunk-3MHWEKFN.mjs.map +1 -0
- package/dist/chunk-4CEQJ2X6.mjs +31 -0
- package/dist/chunk-4CEQJ2X6.mjs.map +1 -0
- package/dist/chunk-4RRMC7L2.mjs +32 -0
- package/dist/chunk-4RRMC7L2.mjs.map +1 -0
- package/dist/chunk-6ESSSQ7Q.mjs +134 -0
- package/dist/chunk-6ESSSQ7Q.mjs.map +1 -0
- package/dist/chunk-6PUNP7CD.mjs +102 -0
- package/dist/chunk-6PUNP7CD.mjs.map +1 -0
- package/dist/chunk-6YOKPWQ7.mjs +1 -0
- package/dist/chunk-6YOKPWQ7.mjs.map +1 -0
- package/dist/chunk-6ZLPNY7X.mjs +225 -0
- package/dist/chunk-6ZLPNY7X.mjs.map +1 -0
- package/dist/chunk-7DTB7S5V.mjs +83 -0
- package/dist/chunk-7DTB7S5V.mjs.map +1 -0
- package/dist/chunk-7IBF6RBW.mjs +23 -0
- package/dist/chunk-7IBF6RBW.mjs.map +1 -0
- package/dist/chunk-7X3E6GHT.mjs +83 -0
- package/dist/chunk-7X3E6GHT.mjs.map +1 -0
- package/dist/chunk-A6NKSGH3.mjs +1 -0
- package/dist/chunk-A6NKSGH3.mjs.map +1 -0
- package/dist/chunk-ABWT4DRT.mjs +24 -0
- package/dist/chunk-ABWT4DRT.mjs.map +1 -0
- package/dist/chunk-AFNWX62Q.mjs +110 -0
- package/dist/chunk-AFNWX62Q.mjs.map +1 -0
- package/dist/chunk-BUSWSDYO.mjs +17 -0
- package/dist/chunk-BUSWSDYO.mjs.map +1 -0
- package/dist/chunk-CDUIA2WM.mjs +60 -0
- package/dist/chunk-CDUIA2WM.mjs.map +1 -0
- package/dist/chunk-CYDWEPFL.mjs +1 -0
- package/dist/chunk-CYDWEPFL.mjs.map +1 -0
- package/dist/chunk-DMLQZG75.mjs +25 -0
- package/dist/chunk-DMLQZG75.mjs.map +1 -0
- package/dist/chunk-E7SE25ZU.mjs +59 -0
- package/dist/chunk-E7SE25ZU.mjs.map +1 -0
- package/dist/chunk-EFL5OBKN.mjs +310 -0
- package/dist/chunk-EFL5OBKN.mjs.map +1 -0
- package/dist/chunk-F555TVE4.mjs +33 -0
- package/dist/chunk-F555TVE4.mjs.map +1 -0
- package/dist/chunk-FD6FGKYY.mjs +1 -0
- package/dist/chunk-FD6FGKYY.mjs.map +1 -0
- package/dist/chunk-FDOMAPJY.mjs +59 -0
- package/dist/chunk-FDOMAPJY.mjs.map +1 -0
- package/dist/chunk-GJOR3RI6.mjs +120 -0
- package/dist/chunk-GJOR3RI6.mjs.map +1 -0
- package/dist/chunk-GPEJNVE5.mjs +80 -0
- package/dist/chunk-GPEJNVE5.mjs.map +1 -0
- package/dist/chunk-HM6ON7AM.mjs +86 -0
- package/dist/chunk-HM6ON7AM.mjs.map +1 -0
- package/dist/chunk-I76HKHPJ.mjs +32 -0
- package/dist/chunk-I76HKHPJ.mjs.map +1 -0
- package/dist/chunk-ICIK2BSB.mjs +17 -0
- package/dist/chunk-ICIK2BSB.mjs.map +1 -0
- package/dist/chunk-JD7BAH7U.mjs +1 -0
- package/dist/chunk-JD7BAH7U.mjs.map +1 -0
- package/dist/chunk-LUGEI4YQ.mjs +1 -0
- package/dist/chunk-LUGEI4YQ.mjs.map +1 -0
- package/dist/chunk-N7FZFIWO.mjs +551 -0
- package/dist/chunk-N7FZFIWO.mjs.map +1 -0
- package/dist/chunk-NB2FKV2V.mjs +1 -0
- package/dist/chunk-NB2FKV2V.mjs.map +1 -0
- package/dist/chunk-NBK4KBLX.mjs +54 -0
- package/dist/chunk-NBK4KBLX.mjs.map +1 -0
- package/dist/chunk-O7ARI5CV.mjs +31 -0
- package/dist/chunk-O7ARI5CV.mjs.map +1 -0
- package/dist/chunk-P2YEE2ZI.mjs +36 -0
- package/dist/chunk-P2YEE2ZI.mjs.map +1 -0
- package/dist/chunk-PIF5KJYI.mjs +103 -0
- package/dist/chunk-PIF5KJYI.mjs.map +1 -0
- package/dist/chunk-PMAFHQ7P.mjs +65 -0
- package/dist/chunk-PMAFHQ7P.mjs.map +1 -0
- package/dist/chunk-QNUAXSDP.mjs +166 -0
- package/dist/chunk-QNUAXSDP.mjs.map +1 -0
- package/dist/chunk-RKTVJRK7.mjs +143 -0
- package/dist/chunk-RKTVJRK7.mjs.map +1 -0
- package/dist/chunk-SKC7AJIV.mjs +61 -0
- package/dist/chunk-SKC7AJIV.mjs.map +1 -0
- package/dist/chunk-SPCZTZCY.mjs +1 -0
- package/dist/chunk-SPCZTZCY.mjs.map +1 -0
- package/dist/chunk-SQDOUMPZ.mjs +125 -0
- package/dist/chunk-SQDOUMPZ.mjs.map +1 -0
- package/dist/chunk-WF65O6HX.mjs +66 -0
- package/dist/chunk-WF65O6HX.mjs.map +1 -0
- package/dist/chunk-XDFVCQD3.mjs +27 -0
- package/dist/chunk-XDFVCQD3.mjs.map +1 -0
- package/dist/chunk-YJ2KZDZJ.mjs +186 -0
- package/dist/chunk-YJ2KZDZJ.mjs.map +1 -0
- package/dist/chunk-YTQHRJUA.mjs +86 -0
- package/dist/chunk-YTQHRJUA.mjs.map +1 -0
- package/dist/chunk-YYN33GSG.mjs +73 -0
- package/dist/chunk-YYN33GSG.mjs.map +1 -0
- package/dist/chunk-Z6JV2LRY.mjs +37 -0
- package/dist/chunk-Z6JV2LRY.mjs.map +1 -0
- package/dist/chunk-ZVF5Q6IH.mjs +29 -0
- package/dist/chunk-ZVF5Q6IH.mjs.map +1 -0
- package/dist/chunk-ZYTXB6HH.mjs +151 -0
- package/dist/chunk-ZYTXB6HH.mjs.map +1 -0
- package/dist/components/CopilotListeners.d.ts +3 -0
- package/dist/components/CopilotListeners.js +101 -0
- package/dist/components/CopilotListeners.js.map +1 -0
- package/dist/components/CopilotListeners.mjs +9 -0
- package/dist/components/CopilotListeners.mjs.map +1 -0
- package/dist/components/copilot-provider/copilot-messages.d.ts +24 -0
- package/dist/components/copilot-provider/copilot-messages.js +351 -0
- package/dist/components/copilot-provider/copilot-messages.js.map +1 -0
- package/dist/components/copilot-provider/copilot-messages.mjs +16 -0
- package/dist/components/copilot-provider/copilot-messages.mjs.map +1 -0
- package/dist/components/copilot-provider/copilotkit-props.d.ts +160 -0
- package/dist/components/copilot-provider/copilotkit-props.js +19 -0
- package/dist/components/copilot-provider/copilotkit-props.js.map +1 -0
- package/dist/components/copilot-provider/copilotkit-props.mjs +1 -0
- package/dist/components/copilot-provider/copilotkit-props.mjs.map +1 -0
- package/dist/components/copilot-provider/copilotkit.d.ts +19 -0
- package/dist/components/copilot-provider/copilotkit.js +1960 -0
- package/dist/components/copilot-provider/copilotkit.js.map +1 -0
- package/dist/components/copilot-provider/copilotkit.mjs +31 -0
- package/dist/components/copilot-provider/copilotkit.mjs.map +1 -0
- package/dist/components/copilot-provider/index.d.ts +14 -0
- package/dist/components/copilot-provider/index.js +1960 -0
- package/dist/components/copilot-provider/index.js.map +1 -0
- package/dist/components/copilot-provider/index.mjs +30 -0
- package/dist/components/copilot-provider/index.mjs.map +1 -0
- package/dist/components/dev-console/console-trigger.d.ts +8 -0
- package/dist/components/dev-console/console-trigger.js +1202 -0
- package/dist/components/dev-console/console-trigger.js.map +1 -0
- package/dist/components/dev-console/console-trigger.mjs +233 -0
- package/dist/components/dev-console/console-trigger.mjs.map +1 -0
- package/dist/components/dev-console/developer-console-modal.d.ts +10 -0
- package/dist/components/dev-console/developer-console-modal.js +987 -0
- package/dist/components/dev-console/developer-console-modal.js.map +1 -0
- package/dist/components/dev-console/developer-console-modal.mjs +12 -0
- package/dist/components/dev-console/developer-console-modal.mjs.map +1 -0
- package/dist/components/dev-console/icons.d.ts +9 -0
- package/dist/components/dev-console/icons.js +131 -0
- package/dist/components/dev-console/icons.js.map +1 -0
- package/dist/components/dev-console/icons.mjs +16 -0
- package/dist/components/dev-console/icons.mjs.map +1 -0
- package/dist/components/error-boundary/error-boundary.d.ts +31 -0
- package/dist/components/error-boundary/error-boundary.js +500 -0
- package/dist/components/error-boundary/error-boundary.js.map +1 -0
- package/dist/components/error-boundary/error-boundary.mjs +15 -0
- package/dist/components/error-boundary/error-boundary.mjs.map +1 -0
- package/dist/components/error-boundary/error-utils.d.ts +11 -0
- package/dist/components/error-boundary/error-utils.js +190 -0
- package/dist/components/error-boundary/error-utils.js.map +1 -0
- package/dist/components/error-boundary/error-utils.mjs +14 -0
- package/dist/components/error-boundary/error-utils.mjs.map +1 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.js +1960 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +31 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/toast/exclamation-mark-icon.d.ts +9 -0
- package/dist/components/toast/exclamation-mark-icon.js +55 -0
- package/dist/components/toast/exclamation-mark-icon.js.map +1 -0
- package/dist/components/toast/exclamation-mark-icon.mjs +8 -0
- package/dist/components/toast/exclamation-mark-icon.mjs.map +1 -0
- package/dist/components/toast/toast-provider.d.ts +27 -0
- package/dist/components/toast/toast-provider.js +347 -0
- package/dist/components/toast/toast-provider.js.map +1 -0
- package/dist/components/toast/toast-provider.mjs +10 -0
- package/dist/components/toast/toast-provider.mjs.map +1 -0
- package/dist/components/usage-banner.d.ts +29 -0
- package/dist/components/usage-banner.js +247 -0
- package/dist/components/usage-banner.js.map +1 -0
- package/dist/components/usage-banner.mjs +12 -0
- package/dist/components/usage-banner.mjs.map +1 -0
- package/dist/context/coagent-state-renders-context.d.ts +24 -0
- package/dist/context/coagent-state-renders-context.js +91 -0
- package/dist/context/coagent-state-renders-context.js.map +1 -0
- package/dist/context/coagent-state-renders-context.mjs +12 -0
- package/dist/context/coagent-state-renders-context.mjs.map +1 -0
- package/dist/context/copilot-context.d.ts +10 -0
- package/dist/context/copilot-context.js +161 -0
- package/dist/context/copilot-context.js.map +1 -0
- package/dist/context/copilot-context.mjs +10 -0
- package/dist/context/copilot-context.mjs.map +1 -0
- package/dist/context/copilot-messages-context.d.ts +18 -0
- package/dist/context/copilot-messages-context.js +60 -0
- package/dist/context/copilot-messages-context.js.map +1 -0
- package/dist/context/copilot-messages-context.mjs +10 -0
- package/dist/context/copilot-messages-context.mjs.map +1 -0
- package/dist/context/index.d.ts +15 -0
- package/dist/context/index.js +285 -0
- package/dist/context/index.js.map +1 -0
- package/dist/context/index.mjs +33 -0
- package/dist/context/index.mjs.map +1 -0
- package/dist/context/threads-context.d.ts +16 -0
- package/dist/context/threads-context.js +59 -0
- package/dist/context/threads-context.js.map +1 -0
- package/dist/context/threads-context.mjs +12 -0
- package/dist/context/threads-context.mjs.map +1 -0
- package/dist/copilot-context-ec77e921.d.ts +209 -0
- package/dist/hooks/index.d.ts +33 -0
- package/dist/hooks/index.js +1774 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +91 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/hooks/use-agent-nodename.d.ts +3 -0
- package/dist/hooks/use-agent-nodename.js +56 -0
- package/dist/hooks/use-agent-nodename.js.map +1 -0
- package/dist/hooks/use-agent-nodename.mjs +8 -0
- package/dist/hooks/use-agent-nodename.mjs.map +1 -0
- package/dist/hooks/use-coagent-state-render-bridge.d.ts +100 -0
- package/dist/hooks/use-coagent-state-render-bridge.js +214 -0
- package/dist/hooks/use-coagent-state-render-bridge.js.map +1 -0
- package/dist/hooks/use-coagent-state-render-bridge.mjs +15 -0
- package/dist/hooks/use-coagent-state-render-bridge.mjs.map +1 -0
- package/dist/hooks/use-coagent-state-render.d.ts +55 -0
- package/dist/hooks/use-coagent-state-render.js +255 -0
- package/dist/hooks/use-coagent-state-render.js.map +1 -0
- package/dist/hooks/use-coagent-state-render.mjs +11 -0
- package/dist/hooks/use-coagent-state-render.mjs.map +1 -0
- package/dist/hooks/use-coagent.d.ts +192 -0
- package/dist/hooks/use-coagent.js +233 -0
- package/dist/hooks/use-coagent.js.map +1 -0
- package/dist/hooks/use-coagent.mjs +9 -0
- package/dist/hooks/use-coagent.mjs.map +1 -0
- package/dist/hooks/use-configure-chat-suggestions.d.ts +36 -0
- package/dist/hooks/use-configure-chat-suggestions.js +79 -0
- package/dist/hooks/use-configure-chat-suggestions.js.map +1 -0
- package/dist/hooks/use-configure-chat-suggestions.mjs +47 -0
- package/dist/hooks/use-configure-chat-suggestions.mjs.map +1 -0
- package/dist/hooks/use-copilot-action.d.ts +103 -0
- package/dist/hooks/use-copilot-action.js +295 -0
- package/dist/hooks/use-copilot-action.js.map +1 -0
- package/dist/hooks/use-copilot-action.mjs +11 -0
- package/dist/hooks/use-copilot-action.mjs.map +1 -0
- package/dist/hooks/use-copilot-additional-instructions.d.ts +26 -0
- package/dist/hooks/use-copilot-additional-instructions.js +177 -0
- package/dist/hooks/use-copilot-additional-instructions.js.map +1 -0
- package/dist/hooks/use-copilot-additional-instructions.mjs +9 -0
- package/dist/hooks/use-copilot-additional-instructions.mjs.map +1 -0
- package/dist/hooks/use-copilot-authenticated-action.d.ts +18 -0
- package/dist/hooks/use-copilot-authenticated-action.js +462 -0
- package/dist/hooks/use-copilot-authenticated-action.js.map +1 -0
- package/dist/hooks/use-copilot-authenticated-action.mjs +13 -0
- package/dist/hooks/use-copilot-authenticated-action.mjs.map +1 -0
- package/dist/hooks/use-copilot-chat-headless_c.d.ts +25 -0
- package/dist/hooks/use-copilot-chat-headless_c.js +1044 -0
- package/dist/hooks/use-copilot-chat-headless_c.js.map +1 -0
- package/dist/hooks/use-copilot-chat-headless_c.mjs +24 -0
- package/dist/hooks/use-copilot-chat-headless_c.mjs.map +1 -0
- package/dist/hooks/use-copilot-chat-suggestions.d.ts +35 -0
- package/dist/hooks/use-copilot-chat-suggestions.js +60 -0
- package/dist/hooks/use-copilot-chat-suggestions.js.map +1 -0
- package/dist/hooks/use-copilot-chat-suggestions.mjs +8 -0
- package/dist/hooks/use-copilot-chat-suggestions.mjs.map +1 -0
- package/dist/hooks/use-copilot-chat.d.ts +92 -0
- package/dist/hooks/use-copilot-chat.js +978 -0
- package/dist/hooks/use-copilot-chat.js.map +1 -0
- package/dist/hooks/use-copilot-chat.mjs +21 -0
- package/dist/hooks/use-copilot-chat.mjs.map +1 -0
- package/dist/hooks/use-copilot-chat_internal.d.ts +244 -0
- package/dist/hooks/use-copilot-chat_internal.js +976 -0
- package/dist/hooks/use-copilot-chat_internal.js.map +1 -0
- package/dist/hooks/use-copilot-chat_internal.mjs +22 -0
- package/dist/hooks/use-copilot-chat_internal.mjs.map +1 -0
- package/dist/hooks/use-copilot-readable.d.ts +37 -0
- package/dist/hooks/use-copilot-readable.js +61 -0
- package/dist/hooks/use-copilot-readable.js.map +1 -0
- package/dist/hooks/use-copilot-readable.mjs +8 -0
- package/dist/hooks/use-copilot-readable.mjs.map +1 -0
- package/dist/hooks/use-copilot-runtime-client.d.ts +10 -0
- package/dist/hooks/use-copilot-runtime-client.js +203 -0
- package/dist/hooks/use-copilot-runtime-client.js.map +1 -0
- package/dist/hooks/use-copilot-runtime-client.mjs +9 -0
- package/dist/hooks/use-copilot-runtime-client.mjs.map +1 -0
- package/dist/hooks/use-default-tool.d.ts +8 -0
- package/dist/hooks/use-default-tool.js +302 -0
- package/dist/hooks/use-default-tool.js.map +1 -0
- package/dist/hooks/use-default-tool.mjs +12 -0
- package/dist/hooks/use-default-tool.mjs.map +1 -0
- package/dist/hooks/use-flat-category-store.d.ts +9 -0
- package/dist/hooks/use-flat-category-store.js +93 -0
- package/dist/hooks/use-flat-category-store.js.map +1 -0
- package/dist/hooks/use-flat-category-store.mjs +8 -0
- package/dist/hooks/use-flat-category-store.mjs.map +1 -0
- package/dist/hooks/use-frontend-tool.d.ts +11 -0
- package/dist/hooks/use-frontend-tool.js +104 -0
- package/dist/hooks/use-frontend-tool.js.map +1 -0
- package/dist/hooks/use-frontend-tool.mjs +8 -0
- package/dist/hooks/use-frontend-tool.mjs.map +1 -0
- package/dist/hooks/use-human-in-the-loop.d.ts +13 -0
- package/dist/hooks/use-human-in-the-loop.js +122 -0
- package/dist/hooks/use-human-in-the-loop.js.map +1 -0
- package/dist/hooks/use-human-in-the-loop.mjs +8 -0
- package/dist/hooks/use-human-in-the-loop.mjs.map +1 -0
- package/dist/hooks/use-langgraph-interrupt-render.d.ts +6 -0
- package/dist/hooks/use-langgraph-interrupt-render.js +318 -0
- package/dist/hooks/use-langgraph-interrupt-render.js.map +1 -0
- package/dist/hooks/use-langgraph-interrupt-render.mjs +14 -0
- package/dist/hooks/use-langgraph-interrupt-render.mjs.map +1 -0
- package/dist/hooks/use-langgraph-interrupt.d.ts +14 -0
- package/dist/hooks/use-langgraph-interrupt.js +201 -0
- package/dist/hooks/use-langgraph-interrupt.js.map +1 -0
- package/dist/hooks/use-langgraph-interrupt.mjs +10 -0
- package/dist/hooks/use-langgraph-interrupt.mjs.map +1 -0
- package/dist/hooks/use-lazy-tool-renderer.d.ts +6 -0
- package/dist/hooks/use-lazy-tool-renderer.js +53 -0
- package/dist/hooks/use-lazy-tool-renderer.js.map +1 -0
- package/dist/hooks/use-lazy-tool-renderer.mjs +8 -0
- package/dist/hooks/use-lazy-tool-renderer.mjs.map +1 -0
- package/dist/hooks/use-make-copilot-document-readable.d.ts +12 -0
- package/dist/hooks/use-make-copilot-document-readable.js +176 -0
- package/dist/hooks/use-make-copilot-document-readable.js.map +1 -0
- package/dist/hooks/use-make-copilot-document-readable.mjs +9 -0
- package/dist/hooks/use-make-copilot-document-readable.mjs.map +1 -0
- package/dist/hooks/use-render-tool-call.d.ts +12 -0
- package/dist/hooks/use-render-tool-call.js +90 -0
- package/dist/hooks/use-render-tool-call.js.map +1 -0
- package/dist/hooks/use-render-tool-call.mjs +8 -0
- package/dist/hooks/use-render-tool-call.mjs.map +1 -0
- package/dist/hooks/use-tree.d.ts +19 -0
- package/dist/hooks/use-tree.js +175 -0
- package/dist/hooks/use-tree.js.map +1 -0
- package/dist/hooks/use-tree.mjs +8 -0
- package/dist/hooks/use-tree.mjs.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +3528 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +149 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/copilot-task.d.ts +97 -0
- package/dist/lib/copilot-task.js +194 -0
- package/dist/lib/copilot-task.js.map +1 -0
- package/dist/lib/copilot-task.mjs +31 -0
- package/dist/lib/copilot-task.mjs.map +1 -0
- package/dist/lib/index.d.ts +11 -0
- package/dist/lib/index.js +196 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/index.mjs +32 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/lib/status-checker.d.ts +17 -0
- package/dist/lib/status-checker.js +102 -0
- package/dist/lib/status-checker.js.map +1 -0
- package/dist/lib/status-checker.mjs +8 -0
- package/dist/lib/status-checker.mjs.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/setupTests.js +26 -0
- package/dist/setupTests.js.map +1 -0
- package/dist/setupTests.mjs +24 -0
- package/dist/setupTests.mjs.map +1 -0
- package/dist/types/chat-suggestion-configuration.d.ts +22 -0
- package/dist/types/chat-suggestion-configuration.js +19 -0
- package/dist/types/chat-suggestion-configuration.js.map +1 -0
- package/dist/types/chat-suggestion-configuration.mjs +1 -0
- package/dist/types/chat-suggestion-configuration.mjs.map +1 -0
- package/dist/types/coagent-action.d.ts +29 -0
- package/dist/types/coagent-action.js +19 -0
- package/dist/types/coagent-action.js.map +1 -0
- package/dist/types/coagent-action.mjs +1 -0
- package/dist/types/coagent-action.mjs.map +1 -0
- package/dist/types/coagent-state.d.ts +15 -0
- package/dist/types/coagent-state.js +19 -0
- package/dist/types/coagent-state.js.map +1 -0
- package/dist/types/coagent-state.mjs +1 -0
- package/dist/types/coagent-state.mjs.map +1 -0
- package/dist/types/crew.d.ts +79 -0
- package/dist/types/crew.js +19 -0
- package/dist/types/crew.js.map +1 -0
- package/dist/types/crew.mjs +2 -0
- package/dist/types/crew.mjs.map +1 -0
- package/dist/types/document-pointer.d.ts +9 -0
- package/dist/types/document-pointer.js +19 -0
- package/dist/types/document-pointer.js.map +1 -0
- package/dist/types/document-pointer.mjs +1 -0
- package/dist/types/document-pointer.mjs.map +1 -0
- package/dist/types/frontend-action.d.ts +127 -0
- package/dist/types/frontend-action.js +53 -0
- package/dist/types/frontend-action.js.map +1 -0
- package/dist/types/frontend-action.mjs +8 -0
- package/dist/types/frontend-action.mjs.map +1 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.js +19 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +4 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/types/interrupt-action.d.ts +10 -0
- package/dist/types/interrupt-action.js +19 -0
- package/dist/types/interrupt-action.js.map +1 -0
- package/dist/types/interrupt-action.mjs +2 -0
- package/dist/types/interrupt-action.mjs.map +1 -0
- package/dist/types/system-message.d.ts +3 -0
- package/dist/types/system-message.js +19 -0
- package/dist/types/system-message.js.map +1 -0
- package/dist/types/system-message.mjs +1 -0
- package/dist/types/system-message.mjs.map +1 -0
- package/dist/utils/dev-console.d.ts +3 -0
- package/dist/utils/dev-console.js +41 -0
- package/dist/utils/dev-console.js.map +1 -0
- package/dist/utils/dev-console.mjs +8 -0
- package/dist/utils/dev-console.mjs.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +52 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +13 -0
- package/dist/utils/index.mjs.map +1 -0
- package/dist/utils/suggestions-constants.d.ts +9 -0
- package/dist/utils/suggestions-constants.js +35 -0
- package/dist/utils/suggestions-constants.js.map +1 -0
- package/dist/utils/suggestions-constants.mjs +8 -0
- package/dist/utils/suggestions-constants.mjs.map +1 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.js +19 -0
- package/dist/utils/utils.js.map +1 -0
- package/dist/utils/utils.mjs +1 -0
- package/dist/utils/utils.mjs.map +1 -0
- package/dist/v2/index.css +4 -0
- package/dist/v2/index.css.map +1 -0
- package/dist/v2/index.d.ts +2 -0
- package/dist/v2/index.js +27 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v2/index.mjs +6 -0
- package/dist/v2/index.mjs.map +1 -0
- package/jest.config.js +25 -0
- package/package.json +92 -0
- package/src/components/CopilotListeners.tsx +81 -0
- package/src/components/copilot-provider/__tests__/copilotkit-error.test.tsx +75 -0
- package/src/components/copilot-provider/copilot-messages.tsx +274 -0
- package/src/components/copilot-provider/copilotkit-props.tsx +169 -0
- package/src/components/copilot-provider/copilotkit.tsx +671 -0
- package/src/components/copilot-provider/index.ts +3 -0
- package/src/components/dev-console/console-trigger.tsx +254 -0
- package/src/components/dev-console/developer-console-modal.tsx +866 -0
- package/src/components/dev-console/icons.tsx +101 -0
- package/src/components/error-boundary/error-boundary.tsx +91 -0
- package/src/components/error-boundary/error-utils.tsx +100 -0
- package/src/components/index.ts +1 -0
- package/src/components/toast/exclamation-mark-icon.tsx +27 -0
- package/src/components/toast/toast-provider.tsx +363 -0
- package/src/components/usage-banner.tsx +259 -0
- package/src/context/coagent-state-renders-context.tsx +76 -0
- package/src/context/copilot-context.tsx +332 -0
- package/src/context/copilot-messages-context.tsx +35 -0
- package/src/context/index.ts +16 -0
- package/src/context/threads-context.tsx +41 -0
- package/src/hooks/__tests__/use-coagent-config.test.ts +351 -0
- package/src/hooks/index.ts +34 -0
- package/src/hooks/use-agent-nodename.ts +30 -0
- package/src/hooks/use-coagent-state-render-bridge.tsx +293 -0
- package/src/hooks/use-coagent-state-render.ts +152 -0
- package/src/hooks/use-coagent.ts +366 -0
- package/src/hooks/use-configure-chat-suggestions.tsx +86 -0
- package/src/hooks/use-copilot-action.ts +236 -0
- package/src/hooks/use-copilot-additional-instructions.ts +85 -0
- package/src/hooks/use-copilot-authenticated-action.ts +70 -0
- package/src/hooks/use-copilot-chat-headless_c.ts +258 -0
- package/src/hooks/use-copilot-chat-suggestions.tsx +124 -0
- package/src/hooks/use-copilot-chat.ts +130 -0
- package/src/hooks/use-copilot-chat_internal.ts +696 -0
- package/src/hooks/use-copilot-readable.ts +135 -0
- package/src/hooks/use-copilot-runtime-client.ts +164 -0
- package/src/hooks/use-default-tool.ts +7 -0
- package/src/hooks/use-flat-category-store.ts +105 -0
- package/src/hooks/use-frontend-tool.ts +96 -0
- package/src/hooks/use-human-in-the-loop.ts +122 -0
- package/src/hooks/use-langgraph-interrupt-render.ts +136 -0
- package/src/hooks/use-langgraph-interrupt.ts +36 -0
- package/src/hooks/use-lazy-tool-renderer.tsx +30 -0
- package/src/hooks/use-make-copilot-document-readable.ts +30 -0
- package/src/hooks/use-render-tool-call.ts +80 -0
- package/src/hooks/use-tree.ts +207 -0
- package/src/index.tsx +7 -0
- package/src/lib/copilot-task.ts +201 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/status-checker.ts +64 -0
- package/src/setupTests.ts +26 -0
- package/src/types/chat-suggestion-configuration.ts +23 -0
- package/src/types/coagent-action.ts +31 -0
- package/src/types/coagent-state.ts +13 -0
- package/src/types/crew.ts +89 -0
- package/src/types/document-pointer.ts +7 -0
- package/src/types/frontend-action.ts +202 -0
- package/src/types/index.ts +17 -0
- package/src/types/interrupt-action.ts +43 -0
- package/src/types/system-message.ts +4 -0
- package/src/utils/dev-console.ts +19 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/suggestions-constants.ts +8 -0
- package/src/utils/utils.test.ts +7 -0
- package/src/utils/utils.ts +8 -0
- package/src/v2/index.css +1 -0
- package/src/v2/index.ts +4 -0
- package/tsconfig.json +8 -0
- package/tsup.config.ts +16 -0
- package/typedoc.json +4 -0
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CheckIcon,
|
|
3
|
+
CopilotKitIcon,
|
|
4
|
+
ExclamationMarkTriangleIcon
|
|
5
|
+
} from "./chunk-PIF5KJYI.mjs";
|
|
6
|
+
import {
|
|
7
|
+
useCopilotMessagesContext
|
|
8
|
+
} from "./chunk-DMLQZG75.mjs";
|
|
9
|
+
import {
|
|
10
|
+
useCopilotContext
|
|
11
|
+
} from "./chunk-AFNWX62Q.mjs";
|
|
12
|
+
|
|
13
|
+
// src/components/dev-console/developer-console-modal.tsx
|
|
14
|
+
import { COPILOTKIT_VERSION } from "@copilotkit/shared";
|
|
15
|
+
import { useEffect, useState } from "react";
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
function DeveloperConsoleModal({ isOpen, onClose, hasApiKey }) {
|
|
18
|
+
const context = useCopilotContext();
|
|
19
|
+
const messagesContext = useCopilotMessagesContext();
|
|
20
|
+
const [activeTab, setActiveTab] = useState("actions");
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
const handleEscape = (e) => {
|
|
23
|
+
if (e.key === "Escape") {
|
|
24
|
+
onClose();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
if (isOpen) {
|
|
28
|
+
document.addEventListener("keydown", handleEscape);
|
|
29
|
+
document.body.style.overflow = "hidden";
|
|
30
|
+
}
|
|
31
|
+
return () => {
|
|
32
|
+
document.removeEventListener("keydown", handleEscape);
|
|
33
|
+
document.body.style.overflow = "unset";
|
|
34
|
+
};
|
|
35
|
+
}, [isOpen, onClose]);
|
|
36
|
+
if (!isOpen)
|
|
37
|
+
return null;
|
|
38
|
+
const displayContext = hasApiKey ? context : {
|
|
39
|
+
actions: {
|
|
40
|
+
search_web: { name: "search_web", description: "Search the web for information" },
|
|
41
|
+
send_email: { name: "send_email", description: "Send an email to a contact" },
|
|
42
|
+
create_document: { name: "create_document", description: "Create a new document" },
|
|
43
|
+
analyze_code: {
|
|
44
|
+
name: "analyze_code",
|
|
45
|
+
description: "Analyze code for issues and improvements"
|
|
46
|
+
},
|
|
47
|
+
generate_tests: {
|
|
48
|
+
name: "generate_tests",
|
|
49
|
+
description: "Generate unit tests for functions"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
getAllContext: () => [
|
|
53
|
+
{
|
|
54
|
+
content: "User preferences: dark mode enabled, TypeScript preferred",
|
|
55
|
+
metadata: { source: "settings" }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
content: "Current project: Building a React application with CopilotKit",
|
|
59
|
+
metadata: { source: "project" }
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
content: "Recent activity: Implemented authentication system",
|
|
63
|
+
metadata: { source: "activity" }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
content: "Development environment: VS Code, Node.js 18, React 18",
|
|
67
|
+
metadata: { source: "environment" }
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
coagentStates: {
|
|
71
|
+
"main-agent": { status: "active", lastUpdate: Date.now() },
|
|
72
|
+
"code-assistant": { status: "active", lastUpdate: Date.now() - 15e3 },
|
|
73
|
+
"search-agent": { status: "idle", lastUpdate: Date.now() - 6e4 }
|
|
74
|
+
},
|
|
75
|
+
getDocumentsContext: () => [
|
|
76
|
+
{
|
|
77
|
+
content: "README.md: Project setup and installation instructions",
|
|
78
|
+
metadata: { type: "documentation" }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
content: "API Documentation: CopilotKit integration guide",
|
|
82
|
+
metadata: { type: "documentation" }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
content: "package.json: Project dependencies and scripts",
|
|
86
|
+
metadata: { type: "configuration" }
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
};
|
|
90
|
+
const displayMessagesContext = hasApiKey ? messagesContext : {
|
|
91
|
+
messages: [
|
|
92
|
+
{
|
|
93
|
+
id: "1",
|
|
94
|
+
role: "user",
|
|
95
|
+
content: "Help me implement a todo list with drag and drop functionality"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: "2",
|
|
99
|
+
role: "assistant",
|
|
100
|
+
content: "I'll help you create a todo list with drag and drop. Let me start by setting up the basic components and then add the drag and drop functionality using React DnD."
|
|
101
|
+
},
|
|
102
|
+
{ id: "3", role: "user", content: "Can you also add priority levels and due dates?" },
|
|
103
|
+
{
|
|
104
|
+
id: "4",
|
|
105
|
+
role: "assistant",
|
|
106
|
+
content: "Absolutely! I'll enhance the todo items with priority levels (high, medium, low) and due date functionality. This will make your todo list much more powerful for task management."
|
|
107
|
+
},
|
|
108
|
+
{ id: "5", role: "user", content: "Perfect! How about adding categories or tags?" }
|
|
109
|
+
]
|
|
110
|
+
};
|
|
111
|
+
return /* @__PURE__ */ jsx(
|
|
112
|
+
"div",
|
|
113
|
+
{
|
|
114
|
+
style: {
|
|
115
|
+
position: "fixed",
|
|
116
|
+
top: 0,
|
|
117
|
+
left: 0,
|
|
118
|
+
right: 0,
|
|
119
|
+
bottom: 0,
|
|
120
|
+
zIndex: 9999,
|
|
121
|
+
backgroundColor: "rgba(0, 0, 0, 0.3)",
|
|
122
|
+
display: "flex",
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
justifyContent: "center",
|
|
125
|
+
padding: "16px"
|
|
126
|
+
},
|
|
127
|
+
onClick: onClose,
|
|
128
|
+
children: /* @__PURE__ */ jsxs(
|
|
129
|
+
"div",
|
|
130
|
+
{
|
|
131
|
+
style: {
|
|
132
|
+
width: "1152px",
|
|
133
|
+
maxWidth: "95vw",
|
|
134
|
+
height: "80vh",
|
|
135
|
+
backgroundColor: "white",
|
|
136
|
+
borderRadius: "12px",
|
|
137
|
+
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
138
|
+
display: "flex",
|
|
139
|
+
flexDirection: "column",
|
|
140
|
+
overflow: "hidden",
|
|
141
|
+
position: "relative"
|
|
142
|
+
},
|
|
143
|
+
onClick: (e) => e.stopPropagation(),
|
|
144
|
+
children: [
|
|
145
|
+
/* @__PURE__ */ jsxs(
|
|
146
|
+
"div",
|
|
147
|
+
{
|
|
148
|
+
style: {
|
|
149
|
+
display: "flex",
|
|
150
|
+
alignItems: "center",
|
|
151
|
+
justifyContent: "space-between",
|
|
152
|
+
padding: "24px",
|
|
153
|
+
borderBottom: "1px solid #e5e7eb",
|
|
154
|
+
minHeight: "73px",
|
|
155
|
+
flexShrink: 0,
|
|
156
|
+
filter: !hasApiKey ? "blur(0.3px)" : "none",
|
|
157
|
+
opacity: !hasApiKey ? 0.95 : 1
|
|
158
|
+
},
|
|
159
|
+
children: [
|
|
160
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
161
|
+
/* @__PURE__ */ jsx(CopilotKitIcon, {}),
|
|
162
|
+
/* @__PURE__ */ jsx(
|
|
163
|
+
"h1",
|
|
164
|
+
{
|
|
165
|
+
style: {
|
|
166
|
+
fontWeight: "bold",
|
|
167
|
+
fontSize: "20px",
|
|
168
|
+
color: "#1f2937",
|
|
169
|
+
margin: 0
|
|
170
|
+
},
|
|
171
|
+
children: "Inspector"
|
|
172
|
+
}
|
|
173
|
+
),
|
|
174
|
+
/* @__PURE__ */ jsxs(
|
|
175
|
+
"span",
|
|
176
|
+
{
|
|
177
|
+
style: {
|
|
178
|
+
fontSize: "14px",
|
|
179
|
+
color: "#6b7280",
|
|
180
|
+
backgroundColor: "#f3f4f6",
|
|
181
|
+
padding: "4px 8px",
|
|
182
|
+
borderRadius: "4px"
|
|
183
|
+
},
|
|
184
|
+
children: [
|
|
185
|
+
"v",
|
|
186
|
+
COPILOTKIT_VERSION
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
)
|
|
190
|
+
] }),
|
|
191
|
+
/* @__PURE__ */ jsx(
|
|
192
|
+
"button",
|
|
193
|
+
{
|
|
194
|
+
onClick: onClose,
|
|
195
|
+
style: {
|
|
196
|
+
color: "#9ca3af",
|
|
197
|
+
fontSize: "24px",
|
|
198
|
+
fontWeight: "300",
|
|
199
|
+
border: "none",
|
|
200
|
+
background: "none",
|
|
201
|
+
cursor: "pointer",
|
|
202
|
+
padding: "4px"
|
|
203
|
+
},
|
|
204
|
+
onMouseEnter: (e) => e.currentTarget.style.color = "#4b5563",
|
|
205
|
+
onMouseLeave: (e) => e.currentTarget.style.color = "#9ca3af",
|
|
206
|
+
children: "\xD7"
|
|
207
|
+
}
|
|
208
|
+
)
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
),
|
|
212
|
+
/* @__PURE__ */ jsx(
|
|
213
|
+
"div",
|
|
214
|
+
{
|
|
215
|
+
style: {
|
|
216
|
+
display: "flex",
|
|
217
|
+
borderBottom: "1px solid #e5e7eb",
|
|
218
|
+
backgroundColor: "#f9fafb",
|
|
219
|
+
minHeight: "50px",
|
|
220
|
+
flexShrink: 0,
|
|
221
|
+
filter: !hasApiKey ? "blur(0.3px)" : "none",
|
|
222
|
+
opacity: !hasApiKey ? 0.9 : 1
|
|
223
|
+
},
|
|
224
|
+
children: [
|
|
225
|
+
{ id: "actions", label: "Actions", count: Object.keys(displayContext.actions).length },
|
|
226
|
+
{ id: "readables", label: "Readables", count: displayContext.getAllContext().length },
|
|
227
|
+
{
|
|
228
|
+
id: "agent",
|
|
229
|
+
label: "Agent Status",
|
|
230
|
+
count: Object.keys(displayContext.coagentStates).length
|
|
231
|
+
},
|
|
232
|
+
{ id: "messages", label: "Messages", count: displayMessagesContext.messages.length },
|
|
233
|
+
{
|
|
234
|
+
id: "context",
|
|
235
|
+
label: "Context",
|
|
236
|
+
count: displayContext.getDocumentsContext([]).length
|
|
237
|
+
}
|
|
238
|
+
].map((tab) => /* @__PURE__ */ jsxs(
|
|
239
|
+
"button",
|
|
240
|
+
{
|
|
241
|
+
onClick: () => setActiveTab(tab.id),
|
|
242
|
+
style: {
|
|
243
|
+
padding: "12px 24px",
|
|
244
|
+
fontSize: "14px",
|
|
245
|
+
fontWeight: "500",
|
|
246
|
+
border: "none",
|
|
247
|
+
cursor: "pointer",
|
|
248
|
+
backgroundColor: activeTab === tab.id ? "white" : "transparent",
|
|
249
|
+
color: activeTab === tab.id ? "#2563eb" : "#6b7280",
|
|
250
|
+
borderBottom: activeTab === tab.id ? "2px solid #2563eb" : "none",
|
|
251
|
+
transition: "all 0.2s"
|
|
252
|
+
},
|
|
253
|
+
onMouseEnter: (e) => {
|
|
254
|
+
if (activeTab !== tab.id) {
|
|
255
|
+
e.currentTarget.style.color = "#1f2937";
|
|
256
|
+
e.currentTarget.style.backgroundColor = "#f3f4f6";
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
onMouseLeave: (e) => {
|
|
260
|
+
if (activeTab !== tab.id) {
|
|
261
|
+
e.currentTarget.style.color = "#6b7280";
|
|
262
|
+
e.currentTarget.style.backgroundColor = "transparent";
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
children: [
|
|
266
|
+
tab.label,
|
|
267
|
+
tab.count > 0 && /* @__PURE__ */ jsx(
|
|
268
|
+
"span",
|
|
269
|
+
{
|
|
270
|
+
style: {
|
|
271
|
+
marginLeft: "8px",
|
|
272
|
+
backgroundColor: "#e5e7eb",
|
|
273
|
+
color: "#374151",
|
|
274
|
+
padding: "2px 8px",
|
|
275
|
+
borderRadius: "9999px",
|
|
276
|
+
fontSize: "12px"
|
|
277
|
+
},
|
|
278
|
+
children: tab.count
|
|
279
|
+
}
|
|
280
|
+
)
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
tab.id
|
|
284
|
+
))
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
/* @__PURE__ */ jsxs(
|
|
288
|
+
"div",
|
|
289
|
+
{
|
|
290
|
+
style: {
|
|
291
|
+
height: "calc(100% - 142px)",
|
|
292
|
+
overflow: "auto",
|
|
293
|
+
padding: "24px",
|
|
294
|
+
backgroundColor: "#f9fafb",
|
|
295
|
+
filter: !hasApiKey ? "blur(0.3px)" : "none",
|
|
296
|
+
opacity: !hasApiKey ? 0.85 : 1
|
|
297
|
+
},
|
|
298
|
+
children: [
|
|
299
|
+
activeTab === "actions" && /* @__PURE__ */ jsx(ActionsTab, { context: displayContext }),
|
|
300
|
+
activeTab === "readables" && /* @__PURE__ */ jsx(ReadablesTab, { context: displayContext }),
|
|
301
|
+
activeTab === "agent" && /* @__PURE__ */ jsx(AgentStatusTab, { context: displayContext }),
|
|
302
|
+
activeTab === "messages" && /* @__PURE__ */ jsx(MessagesTab, { messagesContext: displayMessagesContext }),
|
|
303
|
+
activeTab === "context" && /* @__PURE__ */ jsx(ContextTab, { context: displayContext })
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ jsxs(
|
|
308
|
+
"div",
|
|
309
|
+
{
|
|
310
|
+
style: {
|
|
311
|
+
padding: "16px 24px",
|
|
312
|
+
borderTop: "1px solid #e5e7eb",
|
|
313
|
+
backgroundColor: "white",
|
|
314
|
+
display: "flex",
|
|
315
|
+
justifyContent: "space-between",
|
|
316
|
+
alignItems: "center",
|
|
317
|
+
minHeight: "57px",
|
|
318
|
+
flexShrink: 0,
|
|
319
|
+
filter: !hasApiKey ? "blur(0.3px)" : "none",
|
|
320
|
+
opacity: !hasApiKey ? 0.9 : 1
|
|
321
|
+
},
|
|
322
|
+
children: [
|
|
323
|
+
/* @__PURE__ */ jsx("div", { style: { fontSize: "14px", color: "#6b7280" }, children: /* @__PURE__ */ jsx(
|
|
324
|
+
"a",
|
|
325
|
+
{
|
|
326
|
+
href: "https://github.com/CopilotKit/CopilotKit/issues",
|
|
327
|
+
target: "_blank",
|
|
328
|
+
rel: "noopener noreferrer",
|
|
329
|
+
style: { color: "#2563eb", textDecoration: "none" },
|
|
330
|
+
onMouseEnter: (e) => e.currentTarget.style.textDecoration = "underline",
|
|
331
|
+
onMouseLeave: (e) => e.currentTarget.style.textDecoration = "none",
|
|
332
|
+
children: "Report an issue"
|
|
333
|
+
}
|
|
334
|
+
) }),
|
|
335
|
+
/* @__PURE__ */ jsx("div", { style: { fontSize: "14px", color: "#6b7280" }, children: /* @__PURE__ */ jsx(
|
|
336
|
+
"a",
|
|
337
|
+
{
|
|
338
|
+
href: "https://mcp.copilotkit.ai/",
|
|
339
|
+
target: "_blank",
|
|
340
|
+
rel: "noopener noreferrer",
|
|
341
|
+
style: { color: "#2563eb", textDecoration: "none" },
|
|
342
|
+
onMouseEnter: (e) => e.currentTarget.style.textDecoration = "underline",
|
|
343
|
+
onMouseLeave: (e) => e.currentTarget.style.textDecoration = "none",
|
|
344
|
+
children: "Add MCP Server \u2192"
|
|
345
|
+
}
|
|
346
|
+
) })
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
),
|
|
350
|
+
!hasApiKey && /* @__PURE__ */ jsx(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
style: {
|
|
354
|
+
position: "absolute",
|
|
355
|
+
top: 0,
|
|
356
|
+
left: 0,
|
|
357
|
+
right: 0,
|
|
358
|
+
bottom: 0,
|
|
359
|
+
backgroundColor: "rgba(255, 255, 255, 0.2)",
|
|
360
|
+
backdropFilter: "blur(2px)",
|
|
361
|
+
WebkitBackdropFilter: "blur(2px)",
|
|
362
|
+
display: "flex",
|
|
363
|
+
alignItems: "center",
|
|
364
|
+
justifyContent: "center",
|
|
365
|
+
borderRadius: "12px",
|
|
366
|
+
zIndex: 10
|
|
367
|
+
},
|
|
368
|
+
onClick: (e) => e.stopPropagation(),
|
|
369
|
+
children: /* @__PURE__ */ jsxs(
|
|
370
|
+
"button",
|
|
371
|
+
{
|
|
372
|
+
onClick: () => window.open("https://cloud.copilotkit.ai/sign-in", "_blank"),
|
|
373
|
+
style: {
|
|
374
|
+
// Following button system specifications
|
|
375
|
+
height: "48px",
|
|
376
|
+
padding: "12px 24px",
|
|
377
|
+
backgroundColor: "#030507",
|
|
378
|
+
// textPrimary token
|
|
379
|
+
color: "#FFFFFF",
|
|
380
|
+
borderRadius: "12px",
|
|
381
|
+
// Medium radius token
|
|
382
|
+
border: "none",
|
|
383
|
+
cursor: "pointer",
|
|
384
|
+
fontSize: "14px",
|
|
385
|
+
// Medium Semi Bold typography
|
|
386
|
+
fontWeight: "600",
|
|
387
|
+
fontFamily: "'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
388
|
+
lineHeight: "22px",
|
|
389
|
+
boxShadow: "0 4px 16px rgba(3, 5, 7, 0.2), 0 1px 3px rgba(3, 5, 7, 0.1)",
|
|
390
|
+
transition: "all 200ms ease",
|
|
391
|
+
// 200ms ease as per specs
|
|
392
|
+
display: "inline-flex",
|
|
393
|
+
alignItems: "center",
|
|
394
|
+
gap: "8px",
|
|
395
|
+
textTransform: "uppercase",
|
|
396
|
+
letterSpacing: "0.5px"
|
|
397
|
+
},
|
|
398
|
+
onMouseEnter: (e) => {
|
|
399
|
+
e.currentTarget.style.backgroundColor = "#575758";
|
|
400
|
+
e.currentTarget.style.transform = "translateY(-1px)";
|
|
401
|
+
e.currentTarget.style.boxShadow = "0 6px 20px rgba(3, 5, 7, 0.25), 0 2px 4px rgba(3, 5, 7, 0.15)";
|
|
402
|
+
},
|
|
403
|
+
onMouseLeave: (e) => {
|
|
404
|
+
e.currentTarget.style.backgroundColor = "#030507";
|
|
405
|
+
e.currentTarget.style.transform = "translateY(0)";
|
|
406
|
+
e.currentTarget.style.boxShadow = "0 4px 16px rgba(3, 5, 7, 0.2), 0 1px 3px rgba(3, 5, 7, 0.1)";
|
|
407
|
+
},
|
|
408
|
+
onMouseDown: (e) => {
|
|
409
|
+
e.currentTarget.style.backgroundColor = "#858589";
|
|
410
|
+
e.currentTarget.style.transform = "translateY(0)";
|
|
411
|
+
},
|
|
412
|
+
onMouseUp: (e) => {
|
|
413
|
+
e.currentTarget.style.backgroundColor = "#575758";
|
|
414
|
+
e.currentTarget.style.transform = "translateY(-1px)";
|
|
415
|
+
},
|
|
416
|
+
onFocus: (e) => {
|
|
417
|
+
e.currentTarget.style.outline = "2px solid #BEC9FF";
|
|
418
|
+
e.currentTarget.style.outlineOffset = "2px";
|
|
419
|
+
},
|
|
420
|
+
onBlur: (e) => {
|
|
421
|
+
e.currentTarget.style.outline = "none";
|
|
422
|
+
},
|
|
423
|
+
children: [
|
|
424
|
+
"Get License Key",
|
|
425
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "16px", marginLeft: "-4px" }, children: "\u2192" })
|
|
426
|
+
]
|
|
427
|
+
}
|
|
428
|
+
)
|
|
429
|
+
}
|
|
430
|
+
)
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
)
|
|
434
|
+
}
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
function ActionsTab({ context }) {
|
|
438
|
+
const actions = Object.values(context.actions);
|
|
439
|
+
if (actions.length === 0) {
|
|
440
|
+
return /* @__PURE__ */ jsxs("div", { style: { textAlign: "center", padding: "48px 0", color: "#6b7280" }, children: [
|
|
441
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "18px", margin: "0 0 8px 0" }, children: "No actions available" }),
|
|
442
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", margin: 0 }, children: "Actions will appear here when registered" })
|
|
443
|
+
] });
|
|
444
|
+
}
|
|
445
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: actions.map((action, index) => /* @__PURE__ */ jsx(
|
|
446
|
+
"div",
|
|
447
|
+
{
|
|
448
|
+
style: {
|
|
449
|
+
backgroundColor: "white",
|
|
450
|
+
padding: "16px",
|
|
451
|
+
borderRadius: "8px",
|
|
452
|
+
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
453
|
+
border: "1px solid #e5e7eb"
|
|
454
|
+
},
|
|
455
|
+
children: /* @__PURE__ */ jsxs(
|
|
456
|
+
"div",
|
|
457
|
+
{
|
|
458
|
+
style: { display: "flex", alignItems: "flex-start", justifyContent: "space-between" },
|
|
459
|
+
children: [
|
|
460
|
+
/* @__PURE__ */ jsxs("div", { style: { flex: 1 }, children: [
|
|
461
|
+
/* @__PURE__ */ jsx("h3", { style: { fontWeight: "600", color: "#1f2937", margin: "0 0 4px 0" }, children: action.name }),
|
|
462
|
+
action.description && /* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: "#4b5563", margin: "0 0 12px 0" }, children: action.description }),
|
|
463
|
+
action.parameters && action.parameters.length > 0 && /* @__PURE__ */ jsxs("div", { style: { marginTop: "12px" }, children: [
|
|
464
|
+
/* @__PURE__ */ jsx(
|
|
465
|
+
"p",
|
|
466
|
+
{
|
|
467
|
+
style: {
|
|
468
|
+
fontSize: "12px",
|
|
469
|
+
fontWeight: "500",
|
|
470
|
+
color: "#6b7280",
|
|
471
|
+
textTransform: "uppercase",
|
|
472
|
+
margin: "0 0 4px 0"
|
|
473
|
+
},
|
|
474
|
+
children: "Parameters:"
|
|
475
|
+
}
|
|
476
|
+
),
|
|
477
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: action.parameters.map((param, pIndex) => /* @__PURE__ */ jsxs("div", { style: { fontSize: "14px" }, children: [
|
|
478
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: "monospace", color: "#374151" }, children: param.name }),
|
|
479
|
+
param.required && /* @__PURE__ */ jsx("span", { style: { marginLeft: "4px", fontSize: "12px", color: "#ef4444" }, children: "*required" }),
|
|
480
|
+
param.type && /* @__PURE__ */ jsxs("span", { style: { marginLeft: "8px", fontSize: "12px", color: "#6b7280" }, children: [
|
|
481
|
+
"(",
|
|
482
|
+
param.type,
|
|
483
|
+
")"
|
|
484
|
+
] })
|
|
485
|
+
] }, pIndex)) })
|
|
486
|
+
] })
|
|
487
|
+
] }),
|
|
488
|
+
/* @__PURE__ */ jsx("div", { style: { marginLeft: "16px" }, children: action.status === "available" ? /* @__PURE__ */ jsx(CheckIcon, {}) : /* @__PURE__ */ jsx(ExclamationMarkTriangleIcon, {}) })
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
)
|
|
492
|
+
},
|
|
493
|
+
index
|
|
494
|
+
)) });
|
|
495
|
+
}
|
|
496
|
+
function ReadablesTab({ context }) {
|
|
497
|
+
const readables = context.getAllContext();
|
|
498
|
+
if (readables.length === 0) {
|
|
499
|
+
return /* @__PURE__ */ jsxs("div", { style: { textAlign: "center", padding: "48px 0", color: "#6b7280" }, children: [
|
|
500
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "18px", margin: "0 0 8px 0" }, children: "No readable context available" }),
|
|
501
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", margin: 0 }, children: "Readable context will appear here when provided" })
|
|
502
|
+
] });
|
|
503
|
+
}
|
|
504
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: readables.map((readable, index) => /* @__PURE__ */ jsx(
|
|
505
|
+
"div",
|
|
506
|
+
{
|
|
507
|
+
style: {
|
|
508
|
+
backgroundColor: "white",
|
|
509
|
+
padding: "16px",
|
|
510
|
+
borderRadius: "8px",
|
|
511
|
+
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
512
|
+
border: "1px solid #e5e7eb"
|
|
513
|
+
},
|
|
514
|
+
children: /* @__PURE__ */ jsx(
|
|
515
|
+
"div",
|
|
516
|
+
{
|
|
517
|
+
style: { display: "flex", alignItems: "flex-start", justifyContent: "space-between" },
|
|
518
|
+
children: /* @__PURE__ */ jsxs("div", { style: { flex: 1 }, children: [
|
|
519
|
+
/* @__PURE__ */ jsx("h3", { style: { fontWeight: "600", color: "#1f2937", margin: "0 0 4px 0" }, children: readable.name || `Readable ${index + 1}` }),
|
|
520
|
+
readable.description && /* @__PURE__ */ jsx("p", { style: { fontSize: "14px", color: "#4b5563", margin: "0 0 12px 0" }, children: readable.description }),
|
|
521
|
+
readable.value && /* @__PURE__ */ jsx(
|
|
522
|
+
"pre",
|
|
523
|
+
{
|
|
524
|
+
style: {
|
|
525
|
+
marginTop: "12px",
|
|
526
|
+
padding: "8px",
|
|
527
|
+
backgroundColor: "#f9fafb",
|
|
528
|
+
borderRadius: "4px",
|
|
529
|
+
fontSize: "12px",
|
|
530
|
+
overflowX: "auto",
|
|
531
|
+
margin: "12px 0 0 0"
|
|
532
|
+
},
|
|
533
|
+
children: JSON.stringify(readable.value, null, 2)
|
|
534
|
+
}
|
|
535
|
+
)
|
|
536
|
+
] })
|
|
537
|
+
}
|
|
538
|
+
)
|
|
539
|
+
},
|
|
540
|
+
index
|
|
541
|
+
)) });
|
|
542
|
+
}
|
|
543
|
+
function AgentStatusTab({ context }) {
|
|
544
|
+
const agentStates = context.coagentStates || {};
|
|
545
|
+
const agentStateEntries = Object.entries(agentStates);
|
|
546
|
+
if (agentStateEntries.length === 0) {
|
|
547
|
+
return /* @__PURE__ */ jsxs("div", { style: { textAlign: "center", padding: "48px 0", color: "#6b7280" }, children: [
|
|
548
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "18px", margin: "0 0 8px 0" }, children: "No agent states available" }),
|
|
549
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", margin: 0 }, children: "Agent states will appear here when agents are active" })
|
|
550
|
+
] });
|
|
551
|
+
}
|
|
552
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "24px" }, children: agentStateEntries.map(([agentName, state]) => /* @__PURE__ */ jsxs(
|
|
553
|
+
"div",
|
|
554
|
+
{
|
|
555
|
+
style: {
|
|
556
|
+
backgroundColor: "white",
|
|
557
|
+
padding: "24px",
|
|
558
|
+
borderRadius: "8px",
|
|
559
|
+
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
560
|
+
border: "1px solid #e5e7eb"
|
|
561
|
+
},
|
|
562
|
+
children: [
|
|
563
|
+
/* @__PURE__ */ jsxs(
|
|
564
|
+
"div",
|
|
565
|
+
{
|
|
566
|
+
style: {
|
|
567
|
+
display: "flex",
|
|
568
|
+
alignItems: "center",
|
|
569
|
+
justifyContent: "space-between",
|
|
570
|
+
marginBottom: "16px"
|
|
571
|
+
},
|
|
572
|
+
children: [
|
|
573
|
+
/* @__PURE__ */ jsx("h3", { style: { fontWeight: "600", fontSize: "18px", color: "#1f2937", margin: 0 }, children: agentName }),
|
|
574
|
+
/* @__PURE__ */ jsx(
|
|
575
|
+
"span",
|
|
576
|
+
{
|
|
577
|
+
style: {
|
|
578
|
+
padding: "4px 12px",
|
|
579
|
+
borderRadius: "9999px",
|
|
580
|
+
fontSize: "12px",
|
|
581
|
+
fontWeight: "500",
|
|
582
|
+
backgroundColor: state.status === "running" ? "#dcfce7" : state.status === "complete" ? "#dbeafe" : "#f3f4f6",
|
|
583
|
+
color: state.status === "running" ? "#166534" : state.status === "complete" ? "#1e40af" : "#1f2937"
|
|
584
|
+
},
|
|
585
|
+
children: state.status || "idle"
|
|
586
|
+
}
|
|
587
|
+
)
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
),
|
|
591
|
+
state.state && /* @__PURE__ */ jsxs("div", { style: { marginBottom: "12px" }, children: [
|
|
592
|
+
/* @__PURE__ */ jsx(
|
|
593
|
+
"p",
|
|
594
|
+
{
|
|
595
|
+
style: {
|
|
596
|
+
fontSize: "12px",
|
|
597
|
+
fontWeight: "500",
|
|
598
|
+
color: "#6b7280",
|
|
599
|
+
textTransform: "uppercase",
|
|
600
|
+
margin: "0 0 4px 0"
|
|
601
|
+
},
|
|
602
|
+
children: "Current State:"
|
|
603
|
+
}
|
|
604
|
+
),
|
|
605
|
+
/* @__PURE__ */ jsx(
|
|
606
|
+
"pre",
|
|
607
|
+
{
|
|
608
|
+
style: {
|
|
609
|
+
padding: "12px",
|
|
610
|
+
backgroundColor: "#f9fafb",
|
|
611
|
+
borderRadius: "4px",
|
|
612
|
+
fontSize: "12px",
|
|
613
|
+
overflowX: "auto",
|
|
614
|
+
margin: 0
|
|
615
|
+
},
|
|
616
|
+
children: JSON.stringify(state.state, null, 2)
|
|
617
|
+
}
|
|
618
|
+
)
|
|
619
|
+
] }),
|
|
620
|
+
state.running && /* @__PURE__ */ jsxs(
|
|
621
|
+
"div",
|
|
622
|
+
{
|
|
623
|
+
style: {
|
|
624
|
+
marginTop: "16px",
|
|
625
|
+
display: "flex",
|
|
626
|
+
alignItems: "center",
|
|
627
|
+
fontSize: "14px",
|
|
628
|
+
color: "#4b5563"
|
|
629
|
+
},
|
|
630
|
+
children: [
|
|
631
|
+
/* @__PURE__ */ jsx("div", { style: { marginRight: "8px" }, children: /* @__PURE__ */ jsxs(
|
|
632
|
+
"svg",
|
|
633
|
+
{
|
|
634
|
+
width: "16",
|
|
635
|
+
height: "16",
|
|
636
|
+
viewBox: "0 0 16 16",
|
|
637
|
+
style: { animation: "spin 1s linear infinite" },
|
|
638
|
+
children: [
|
|
639
|
+
/* @__PURE__ */ jsx("style", { children: `@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }` }),
|
|
640
|
+
/* @__PURE__ */ jsx(
|
|
641
|
+
"circle",
|
|
642
|
+
{
|
|
643
|
+
cx: "8",
|
|
644
|
+
cy: "8",
|
|
645
|
+
r: "6",
|
|
646
|
+
fill: "none",
|
|
647
|
+
stroke: "#4b5563",
|
|
648
|
+
strokeWidth: "2",
|
|
649
|
+
strokeDasharray: "9 3"
|
|
650
|
+
}
|
|
651
|
+
)
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
) }),
|
|
655
|
+
/* @__PURE__ */ jsx("span", { children: "Agent is currently running..." })
|
|
656
|
+
]
|
|
657
|
+
}
|
|
658
|
+
)
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
agentName
|
|
662
|
+
)) });
|
|
663
|
+
}
|
|
664
|
+
function MessagesTab({ messagesContext }) {
|
|
665
|
+
const messages = messagesContext.messages || [];
|
|
666
|
+
if (messages.length === 0) {
|
|
667
|
+
return /* @__PURE__ */ jsxs("div", { style: { textAlign: "center", padding: "48px 0", color: "#6b7280" }, children: [
|
|
668
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "18px", margin: "0 0 8px 0" }, children: "No messages yet" }),
|
|
669
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", margin: 0 }, children: "Messages will appear here as the conversation progresses" })
|
|
670
|
+
] });
|
|
671
|
+
}
|
|
672
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: messages.map((message, index) => /* @__PURE__ */ jsxs(
|
|
673
|
+
"div",
|
|
674
|
+
{
|
|
675
|
+
style: {
|
|
676
|
+
padding: "16px",
|
|
677
|
+
borderRadius: "8px",
|
|
678
|
+
backgroundColor: message.role === "user" ? "#eff6ff" : message.role === "assistant" ? "#f9fafb" : "#fefce8",
|
|
679
|
+
border: `1px solid ${message.role === "user" ? "#c7d2fe" : message.role === "assistant" ? "#e5e7eb" : "#fde047"}`,
|
|
680
|
+
marginLeft: message.role === "user" ? "48px" : "0",
|
|
681
|
+
marginRight: message.role === "assistant" ? "48px" : "0"
|
|
682
|
+
},
|
|
683
|
+
children: [
|
|
684
|
+
/* @__PURE__ */ jsxs(
|
|
685
|
+
"div",
|
|
686
|
+
{
|
|
687
|
+
style: {
|
|
688
|
+
display: "flex",
|
|
689
|
+
alignItems: "flex-start",
|
|
690
|
+
justifyContent: "space-between",
|
|
691
|
+
marginBottom: "8px"
|
|
692
|
+
},
|
|
693
|
+
children: [
|
|
694
|
+
/* @__PURE__ */ jsx(
|
|
695
|
+
"span",
|
|
696
|
+
{
|
|
697
|
+
style: {
|
|
698
|
+
fontWeight: "500",
|
|
699
|
+
fontSize: "14px",
|
|
700
|
+
color: "#374151",
|
|
701
|
+
textTransform: "capitalize"
|
|
702
|
+
},
|
|
703
|
+
children: message.role || "system"
|
|
704
|
+
}
|
|
705
|
+
),
|
|
706
|
+
message.timestamp && /* @__PURE__ */ jsx("span", { style: { fontSize: "12px", color: "#6b7280" }, children: new Date(message.timestamp).toLocaleTimeString() })
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
),
|
|
710
|
+
/* @__PURE__ */ jsx("div", { style: { fontSize: "14px", color: "#1f2937", whiteSpace: "pre-wrap" }, children: message.content || "" })
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
index
|
|
714
|
+
)) });
|
|
715
|
+
}
|
|
716
|
+
function ContextTab({ context }) {
|
|
717
|
+
const documents = context.getDocumentsContext([]);
|
|
718
|
+
if (documents.length === 0) {
|
|
719
|
+
return /* @__PURE__ */ jsxs("div", { style: { textAlign: "center", padding: "48px 0", color: "#6b7280" }, children: [
|
|
720
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "18px", margin: "0 0 8px 0" }, children: "No document context available" }),
|
|
721
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "14px", margin: 0 }, children: "Document context will appear here when provided" })
|
|
722
|
+
] });
|
|
723
|
+
}
|
|
724
|
+
return /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "16px" }, children: documents.map((doc, index) => /* @__PURE__ */ jsxs(
|
|
725
|
+
"div",
|
|
726
|
+
{
|
|
727
|
+
style: {
|
|
728
|
+
backgroundColor: "white",
|
|
729
|
+
padding: "16px",
|
|
730
|
+
borderRadius: "8px",
|
|
731
|
+
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
732
|
+
border: "1px solid #e5e7eb"
|
|
733
|
+
},
|
|
734
|
+
children: [
|
|
735
|
+
/* @__PURE__ */ jsx("h3", { style: { fontWeight: "600", color: "#1f2937", margin: "0 0 8px 0" }, children: doc.name || `Document ${index + 1}` }),
|
|
736
|
+
doc.content && /* @__PURE__ */ jsx(
|
|
737
|
+
"pre",
|
|
738
|
+
{
|
|
739
|
+
style: {
|
|
740
|
+
padding: "12px",
|
|
741
|
+
backgroundColor: "#f9fafb",
|
|
742
|
+
borderRadius: "4px",
|
|
743
|
+
fontSize: "12px",
|
|
744
|
+
overflowX: "auto",
|
|
745
|
+
margin: 0
|
|
746
|
+
},
|
|
747
|
+
children: doc.content
|
|
748
|
+
}
|
|
749
|
+
)
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
index
|
|
753
|
+
)) });
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export {
|
|
757
|
+
DeveloperConsoleModal
|
|
758
|
+
};
|
|
759
|
+
//# sourceMappingURL=chunk-3MHWEKFN.mjs.map
|