@copilotkit/react-ui 1.10.5-next.7 → 1.10.5-next.8
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 +9 -0
- package/dist/{chunk-YO63WHVQ.mjs → chunk-2LIO4Z3E.mjs} +2 -2
- package/dist/{chunk-X477GDGZ.mjs → chunk-3QYTKBWC.mjs} +2 -2
- package/dist/{chunk-LJAYSRCB.mjs → chunk-5XLGXUQI.mjs} +2 -2
- package/dist/{chunk-AUCJZBT5.mjs → chunk-DSNTTAJX.mjs} +4 -4
- package/dist/{chunk-B5IFB5YJ.mjs → chunk-IK2BPURM.mjs} +14 -3
- package/dist/chunk-IK2BPURM.mjs.map +1 -0
- package/dist/{chunk-SNFHUE5S.mjs → chunk-JZ3RFQQ6.mjs} +2 -2
- package/dist/{chunk-WOYNUDPM.mjs → chunk-K2FLPUR5.mjs} +4 -4
- package/dist/{chunk-73V4ZLAN.mjs → chunk-QPONDGDJ.mjs} +2 -2
- package/dist/{chunk-53C3S7R3.mjs → chunk-SDQTGCT2.mjs} +2 -2
- package/dist/{chunk-EELILZTD.mjs → chunk-W7ONZTSW.mjs} +2 -2
- package/dist/components/chat/Chat.d.ts +10 -10
- package/dist/components/chat/Chat.js +12 -1
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +7 -7
- package/dist/components/chat/CodeBlock.js +12 -1
- package/dist/components/chat/CodeBlock.js.map +1 -1
- package/dist/components/chat/CodeBlock.mjs +1 -1
- package/dist/components/chat/Markdown.js +12 -1
- package/dist/components/chat/Markdown.js.map +1 -1
- package/dist/components/chat/Markdown.mjs +2 -2
- package/dist/components/chat/Messages.js +12 -1
- package/dist/components/chat/Messages.js.map +1 -1
- package/dist/components/chat/Messages.mjs +6 -6
- package/dist/components/chat/Modal.d.ts +1 -1
- package/dist/components/chat/Modal.js +12 -1
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +8 -8
- package/dist/components/chat/Popup.d.ts +1 -1
- package/dist/components/chat/Popup.js +12 -1
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +9 -9
- package/dist/components/chat/Sidebar.d.ts +1 -1
- package/dist/components/chat/Sidebar.js +12 -1
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +9 -9
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.js +12 -1
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +10 -10
- package/dist/components/chat/messages/AssistantMessage.js +12 -1
- package/dist/components/chat/messages/AssistantMessage.js.map +1 -1
- package/dist/components/chat/messages/AssistantMessage.mjs +3 -3
- package/dist/components/chat/messages/ErrorMessage.js +12 -1
- package/dist/components/chat/messages/ErrorMessage.js.map +1 -1
- package/dist/components/chat/messages/ErrorMessage.mjs +2 -2
- package/dist/components/chat/messages/LegacyRenderMessage.js +12 -1
- package/dist/components/chat/messages/LegacyRenderMessage.js.map +1 -1
- package/dist/components/chat/messages/LegacyRenderMessage.mjs +5 -5
- package/dist/components/chat/messages/RenderMessage.js +12 -1
- package/dist/components/chat/messages/RenderMessage.js.map +1 -1
- package/dist/components/chat/messages/RenderMessage.mjs +4 -4
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +12 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/package.json +4 -4
- package/src/components/chat/CodeBlock.tsx +14 -2
- package/dist/chunk-B5IFB5YJ.mjs.map +0 -1
- /package/dist/{chunk-YO63WHVQ.mjs.map → chunk-2LIO4Z3E.mjs.map} +0 -0
- /package/dist/{chunk-X477GDGZ.mjs.map → chunk-3QYTKBWC.mjs.map} +0 -0
- /package/dist/{chunk-LJAYSRCB.mjs.map → chunk-5XLGXUQI.mjs.map} +0 -0
- /package/dist/{chunk-AUCJZBT5.mjs.map → chunk-DSNTTAJX.mjs.map} +0 -0
- /package/dist/{chunk-SNFHUE5S.mjs.map → chunk-JZ3RFQQ6.mjs.map} +0 -0
- /package/dist/{chunk-WOYNUDPM.mjs.map → chunk-K2FLPUR5.mjs.map} +0 -0
- /package/dist/{chunk-73V4ZLAN.mjs.map → chunk-QPONDGDJ.mjs.map} +0 -0
- /package/dist/{chunk-53C3S7R3.mjs.map → chunk-SDQTGCT2.mjs.map} +0 -0
- /package/dist/{chunk-EELILZTD.mjs.map → chunk-W7ONZTSW.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
+
## 1.10.5-next.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c2de25d: - fix: refrain from using prismjs for syntax highlighting on older browsers
|
|
8
|
+
- @copilotkit/react-core@1.10.5-next.8
|
|
9
|
+
- @copilotkit/runtime-client-gql@1.10.5-next.8
|
|
10
|
+
- @copilotkit/shared@1.10.5-next.8
|
|
11
|
+
|
|
3
12
|
## 1.10.5-next.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RenderMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5XLGXUQI.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/chat/messages/LegacyRenderMessage.tsx
|
|
6
6
|
import { aguiToGQL } from "@copilotkit/runtime-client-gql";
|
|
@@ -123,4 +123,4 @@ var LegacyRenderMessage = ({
|
|
|
123
123
|
export {
|
|
124
124
|
LegacyRenderMessage
|
|
125
125
|
};
|
|
126
|
-
//# sourceMappingURL=chunk-
|
|
126
|
+
//# sourceMappingURL=chunk-2LIO4Z3E.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Markdown
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JZ3RFQQ6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useChatContext
|
|
6
6
|
} from "./chunk-IEMQ2SQW.mjs";
|
|
@@ -110,4 +110,4 @@ var AssistantMessage = (props) => {
|
|
|
110
110
|
export {
|
|
111
111
|
AssistantMessage
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-3QYTKBWC.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AssistantMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3QYTKBWC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ImageRenderer
|
|
6
6
|
} from "./chunk-DBKRAOH7.mjs";
|
|
@@ -73,4 +73,4 @@ function RenderMessage(_a) {
|
|
|
73
73
|
export {
|
|
74
74
|
RenderMessage
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-5XLGXUQI.mjs.map
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./chunk-UFN2VWSR.mjs";
|
|
10
10
|
import {
|
|
11
11
|
CopilotChat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K2FLPUR5.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Input
|
|
15
15
|
} from "./chunk-DTRPPNSA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Messages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W7ONZTSW.mjs";
|
|
19
19
|
import {
|
|
20
20
|
AssistantMessage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3QYTKBWC.mjs";
|
|
22
22
|
import {
|
|
23
23
|
UserMessage
|
|
24
24
|
} from "./chunk-VVL6JFCJ.mjs";
|
|
@@ -219,4 +219,4 @@ var CopilotModal = (_a) => {
|
|
|
219
219
|
export {
|
|
220
220
|
CopilotModal
|
|
221
221
|
};
|
|
222
|
-
//# sourceMappingURL=chunk-
|
|
222
|
+
//# sourceMappingURL=chunk-DSNTTAJX.mjs.map
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-54JAUBUJ.mjs";
|
|
9
9
|
|
|
10
10
|
// src/components/chat/CodeBlock.tsx
|
|
11
|
-
import { memo } from "react";
|
|
12
|
-
import { Prism
|
|
11
|
+
import { memo, useEffect, useState } from "react";
|
|
12
|
+
import { Prism, Light } from "react-syntax-highlighter";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
var programmingLanguages = {
|
|
15
15
|
javascript: ".js",
|
|
@@ -47,6 +47,17 @@ var generateRandomString = (length, lowercase = false) => {
|
|
|
47
47
|
};
|
|
48
48
|
var CodeBlock = memo(({ language, value }) => {
|
|
49
49
|
const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2e3 });
|
|
50
|
+
const [SyntaxHighlighter, setSyntaxHighlighter] = useState(
|
|
51
|
+
() => Light
|
|
52
|
+
);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
try {
|
|
55
|
+
new RegExp("(?<=#)\\w+");
|
|
56
|
+
setSyntaxHighlighter(() => Prism);
|
|
57
|
+
} catch (e) {
|
|
58
|
+
setSyntaxHighlighter(() => Light);
|
|
59
|
+
}
|
|
60
|
+
}, []);
|
|
50
61
|
const downloadAsFile = () => {
|
|
51
62
|
if (typeof window === "undefined") {
|
|
52
63
|
return;
|
|
@@ -386,4 +397,4 @@ export {
|
|
|
386
397
|
generateRandomString,
|
|
387
398
|
CodeBlock
|
|
388
399
|
};
|
|
389
|
-
//# sourceMappingURL=chunk-
|
|
400
|
+
//# sourceMappingURL=chunk-IK2BPURM.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/chat/CodeBlock.tsx"],"sourcesContent":["import { FC, memo, useEffect, useState } from \"react\";\nimport { Prism, Light } from \"react-syntax-highlighter\";\nimport { useCopyToClipboard } from \"../../hooks/use-copy-to-clipboard\";\nimport { CheckIcon, CopyIcon, DownloadIcon } from \"./Icons\";\n\ninterface CodeActionButtonProps {\n onClick: () => void;\n children: React.ReactNode;\n}\n\ninterface Props {\n language: string;\n value: string;\n}\n\ninterface languageMap {\n [key: string]: string | undefined;\n}\n\nexport const programmingLanguages: languageMap = {\n javascript: \".js\",\n python: \".py\",\n java: \".java\",\n c: \".c\",\n cpp: \".cpp\",\n \"c++\": \".cpp\",\n \"c#\": \".cs\",\n ruby: \".rb\",\n php: \".php\",\n swift: \".swift\",\n \"objective-c\": \".m\",\n kotlin: \".kt\",\n typescript: \".ts\",\n go: \".go\",\n perl: \".pl\",\n rust: \".rs\",\n scala: \".scala\",\n haskell: \".hs\",\n lua: \".lua\",\n shell: \".sh\",\n sql: \".sql\",\n html: \".html\",\n css: \".css\",\n // add more file extensions here, make sure the key is same as language prop in CodeBlock.tsx component\n};\n\nexport const generateRandomString = (length: number, lowercase = false) => {\n const chars = \"ABCDEFGHJKLMNPQRSTUVWXY3456789\"; // excluding similar looking characters like Z, 2, I, 1, O, 0\n let result = \"\";\n for (let i = 0; i < length; i++) {\n result += chars.charAt(Math.floor(Math.random() * chars.length));\n }\n return lowercase ? result.toLowerCase() : result;\n};\n\nconst CodeBlock: FC<Props> = memo(({ language, value }) => {\n const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2000 });\n const [SyntaxHighlighter, setSyntaxHighlighter] = useState<typeof Light | typeof Prism>(\n () => Light,\n );\n\n useEffect(() => {\n try {\n new RegExp(\"(?<=#)\\\\w+\");\n setSyntaxHighlighter(() => Prism);\n } catch {\n setSyntaxHighlighter(() => Light);\n }\n }, []);\n\n const downloadAsFile = () => {\n if (typeof window === \"undefined\") {\n return;\n }\n const fileExtension = programmingLanguages[language] || \".file\";\n const suggestedFileName = `file-${generateRandomString(3, true)}${fileExtension}`;\n const fileName = window.prompt(\"Enter file name\", suggestedFileName);\n\n if (!fileName) {\n // User pressed cancel on prompt.\n return;\n }\n\n const blob = new Blob([value], { type: \"text/plain\" });\n const url = URL.createObjectURL(blob);\n const link = document.createElement(\"a\");\n link.download = fileName;\n link.href = url;\n link.style.display = \"none\";\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(url);\n };\n\n const onCopy = () => {\n if (isCopied) return;\n copyToClipboard(value);\n };\n\n return (\n <div className=\"copilotKitCodeBlock\">\n <div className=\"copilotKitCodeBlockToolbar\">\n <span className=\"copilotKitCodeBlockToolbarLanguage\">{language}</span>\n <div className=\"copilotKitCodeBlockToolbarButtons\">\n <button className=\"copilotKitCodeBlockToolbarButton\" onClick={downloadAsFile}>\n {DownloadIcon}\n </button>\n <button className=\"copilotKitCodeBlockToolbarButton\" onClick={onCopy}>\n {isCopied ? CheckIcon : CopyIcon}\n </button>\n </div>\n </div>\n <SyntaxHighlighter\n language={language}\n style={highlightStyle}\n PreTag=\"div\"\n customStyle={{\n margin: 0,\n borderBottomLeftRadius: \"0.375rem\",\n borderBottomRightRadius: \"0.375rem\",\n }}\n >\n {value}\n </SyntaxHighlighter>\n </div>\n );\n});\nCodeBlock.displayName = \"CodeBlock\";\n\nexport { CodeBlock };\n\n// import { vscDarkPlus as highlightStyle } from \"react-syntax-highlighter/dist/esm/styles/prism\";\n// As a workaround, we inline the vscDarkPlus from react-syntax-highlighter.\n// Importing it as recommended in the documentation leads to build errors in the non app router\n// (Next.js classic) setup.\nconst highlightStyle: any = {\n 'pre[class*=\"language-\"]': {\n color: \"#d4d4d4\",\n fontSize: \"13px\",\n textShadow: \"none\",\n fontFamily: 'Menlo, Monaco, Consolas, \"Andale Mono\", \"Ubuntu Mono\", \"Courier New\", monospace',\n direction: \"ltr\",\n textAlign: \"left\",\n whiteSpace: \"pre\",\n wordSpacing: \"normal\",\n wordBreak: \"normal\",\n lineHeight: \"1.5\",\n MozTabSize: \"4\",\n OTabSize: \"4\",\n tabSize: \"4\",\n WebkitHyphens: \"none\",\n MozHyphens: \"none\",\n msHyphens: \"none\",\n hyphens: \"none\",\n padding: \"1em\",\n margin: \".5em 0\",\n overflow: \"auto\",\n background: \"#1e1e1e\",\n },\n 'code[class*=\"language-\"]': {\n color: \"#d4d4d4\",\n fontSize: \"13px\",\n textShadow: \"none\",\n fontFamily: 'Menlo, Monaco, Consolas, \"Andale Mono\", \"Ubuntu Mono\", \"Courier New\", monospace',\n direction: \"ltr\",\n textAlign: \"left\",\n whiteSpace: \"pre\",\n wordSpacing: \"normal\",\n wordBreak: \"normal\",\n lineHeight: \"1.5\",\n MozTabSize: \"4\",\n OTabSize: \"4\",\n tabSize: \"4\",\n WebkitHyphens: \"none\",\n MozHyphens: \"none\",\n msHyphens: \"none\",\n hyphens: \"none\",\n },\n 'pre[class*=\"language-\"]::selection': {\n textShadow: \"none\",\n background: \"#264F78\",\n },\n 'code[class*=\"language-\"]::selection': {\n textShadow: \"none\",\n background: \"#264F78\",\n },\n 'pre[class*=\"language-\"] *::selection': {\n textShadow: \"none\",\n background: \"#264F78\",\n },\n 'code[class*=\"language-\"] *::selection': {\n textShadow: \"none\",\n background: \"#264F78\",\n },\n ':not(pre) > code[class*=\"language-\"]': {\n padding: \".1em .3em\",\n borderRadius: \".3em\",\n color: \"#db4c69\",\n background: \"#1e1e1e\",\n },\n \".namespace\": {\n Opacity: \".7\",\n },\n \"doctype.doctype-tag\": {\n color: \"#569CD6\",\n },\n \"doctype.name\": {\n color: \"#9cdcfe\",\n },\n comment: {\n color: \"#6a9955\",\n },\n prolog: {\n color: \"#6a9955\",\n },\n punctuation: {\n color: \"#d4d4d4\",\n },\n \".language-html .language-css .token.punctuation\": {\n color: \"#d4d4d4\",\n },\n \".language-html .language-javascript .token.punctuation\": {\n color: \"#d4d4d4\",\n },\n property: {\n color: \"#9cdcfe\",\n },\n tag: {\n color: \"#569cd6\",\n },\n boolean: {\n color: \"#569cd6\",\n },\n number: {\n color: \"#b5cea8\",\n },\n constant: {\n color: \"#9cdcfe\",\n },\n symbol: {\n color: \"#b5cea8\",\n },\n inserted: {\n color: \"#b5cea8\",\n },\n unit: {\n color: \"#b5cea8\",\n },\n selector: {\n color: \"#d7ba7d\",\n },\n \"attr-name\": {\n color: \"#9cdcfe\",\n },\n string: {\n color: \"#ce9178\",\n },\n char: {\n color: \"#ce9178\",\n },\n builtin: {\n color: \"#ce9178\",\n },\n deleted: {\n color: \"#ce9178\",\n },\n \".language-css .token.string.url\": {\n textDecoration: \"underline\",\n },\n operator: {\n color: \"#d4d4d4\",\n },\n entity: {\n color: \"#569cd6\",\n },\n \"operator.arrow\": {\n color: \"#569CD6\",\n },\n atrule: {\n color: \"#ce9178\",\n },\n \"atrule.rule\": {\n color: \"#c586c0\",\n },\n \"atrule.url\": {\n color: \"#9cdcfe\",\n },\n \"atrule.url.function\": {\n color: \"#dcdcaa\",\n },\n \"atrule.url.punctuation\": {\n color: \"#d4d4d4\",\n },\n keyword: {\n color: \"#569CD6\",\n },\n \"keyword.module\": {\n color: \"#c586c0\",\n },\n \"keyword.control-flow\": {\n color: \"#c586c0\",\n },\n function: {\n color: \"#dcdcaa\",\n },\n \"function.maybe-class-name\": {\n color: \"#dcdcaa\",\n },\n regex: {\n color: \"#d16969\",\n },\n important: {\n color: \"#569cd6\",\n },\n italic: {\n fontStyle: \"italic\",\n },\n \"class-name\": {\n color: \"#4ec9b0\",\n },\n \"maybe-class-name\": {\n color: \"#4ec9b0\",\n },\n console: {\n color: \"#9cdcfe\",\n },\n parameter: {\n color: \"#9cdcfe\",\n },\n interpolation: {\n color: \"#9cdcfe\",\n },\n \"punctuation.interpolation-punctuation\": {\n color: \"#569cd6\",\n },\n variable: {\n color: \"#9cdcfe\",\n },\n \"imports.maybe-class-name\": {\n color: \"#9cdcfe\",\n },\n \"exports.maybe-class-name\": {\n color: \"#9cdcfe\",\n },\n escape: {\n color: \"#d7ba7d\",\n },\n \"tag.punctuation\": {\n color: \"#808080\",\n },\n cdata: {\n color: \"#808080\",\n },\n \"attr-value\": {\n color: \"#ce9178\",\n },\n \"attr-value.punctuation\": {\n color: \"#ce9178\",\n },\n \"attr-value.punctuation.attr-equals\": {\n color: \"#d4d4d4\",\n },\n namespace: {\n color: \"#4ec9b0\",\n },\n 'pre[class*=\"language-javascript\"]': {\n color: \"#9cdcfe\",\n },\n 'code[class*=\"language-javascript\"]': {\n color: \"#9cdcfe\",\n },\n 'pre[class*=\"language-jsx\"]': {\n color: \"#9cdcfe\",\n },\n 'code[class*=\"language-jsx\"]': {\n color: \"#9cdcfe\",\n },\n 'pre[class*=\"language-typescript\"]': {\n color: \"#9cdcfe\",\n },\n 'code[class*=\"language-typescript\"]': {\n color: \"#9cdcfe\",\n },\n 'pre[class*=\"language-tsx\"]': {\n color: \"#9cdcfe\",\n },\n 'code[class*=\"language-tsx\"]': {\n color: \"#9cdcfe\",\n },\n 'pre[class*=\"language-css\"]': {\n color: \"#ce9178\",\n },\n 'code[class*=\"language-css\"]': {\n color: \"#ce9178\",\n },\n 'pre[class*=\"language-html\"]': {\n color: \"#d4d4d4\",\n },\n 'code[class*=\"language-html\"]': {\n color: \"#d4d4d4\",\n },\n \".language-regex .token.anchor\": {\n color: \"#dcdcaa\",\n },\n \".language-html .token.punctuation\": {\n color: \"#808080\",\n },\n 'pre[class*=\"language-\"] > code[class*=\"language-\"]': {\n position: \"relative\",\n zIndex: \"1\",\n },\n \".line-highlight.line-highlight\": {\n background: \"#f7ebc6\",\n boxShadow: \"inset 5px 0 0 #f7d87c\",\n zIndex: \"0\",\n },\n};\n"],"mappings":";;;;;;;;;;AAAA,SAAa,MAAM,WAAW,gBAAgB;AAC9C,SAAS,OAAO,aAAa;AAsGrB,cACA,YADA;AApFD,IAAM,uBAAoC;AAAA,EAC/C,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,GAAG;AAAA,EACH,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAA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BAA+B;AAAA,IAC7B,OAAO;AAAA,EACT;AAAA,EACA,+BAA+B;AAAA,IAC7B,OAAO;AAAA,EACT;AAAA,EACA,gCAAgC;AAAA,IAC9B,OAAO;AAAA,EACT;AAAA,EACA,iCAAiC;AAAA,IAC/B,OAAO;AAAA,EACT;AAAA,EACA,qCAAqC;AAAA,IACnC,OAAO;AAAA,EACT;AAAA,EACA,sDAAsD;AAAA,IACpD,UAAU;AAAA,IACV,QAAQ;AAAA,EACV;AAAA,EACA,kCAAkC;AAAA,IAChC,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,QAAQ;AAAA,EACV;AACF;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CodeBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IK2BPURM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -125,4 +125,4 @@ var Markdown = ({ content, components }) => {
|
|
|
125
125
|
export {
|
|
126
126
|
Markdown
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-JZ3RFQQ6.mjs.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-DTRPPNSA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Messages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W7ONZTSW.mjs";
|
|
13
13
|
import {
|
|
14
14
|
RenderMessage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5XLGXUQI.mjs";
|
|
16
16
|
import {
|
|
17
17
|
AssistantMessage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3QYTKBWC.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ImageRenderer
|
|
21
21
|
} from "./chunk-DBKRAOH7.mjs";
|
|
@@ -652,4 +652,4 @@ export {
|
|
|
652
652
|
WrappedCopilotChat,
|
|
653
653
|
useCopilotChatLogic
|
|
654
654
|
};
|
|
655
|
-
//# sourceMappingURL=chunk-
|
|
655
|
+
//# sourceMappingURL=chunk-K2FLPUR5.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSNTTAJX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__spreadProps,
|
|
6
6
|
__spreadValues
|
|
@@ -18,4 +18,4 @@ function CopilotPopup(props) {
|
|
|
18
18
|
export {
|
|
19
19
|
CopilotPopup
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-QPONDGDJ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSNTTAJX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__spreadProps,
|
|
6
6
|
__spreadValues
|
|
@@ -27,4 +27,4 @@ function CopilotSidebar(props) {
|
|
|
27
27
|
export {
|
|
28
28
|
CopilotSidebar
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-SDQTGCT2.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LegacyRenderMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2LIO4Z3E.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useChatContext
|
|
6
6
|
} from "./chunk-IEMQ2SQW.mjs";
|
|
@@ -175,4 +175,4 @@ export {
|
|
|
175
175
|
Messages,
|
|
176
176
|
useScrollToBottom
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-W7ONZTSW.mjs.map
|
|
@@ -2,7 +2,7 @@ import * as _copilotkit_react_core_dist_types_coagent_state from '@copilotkit/re
|
|
|
2
2
|
import * as _copilotkit_react_core_dist_hooks_use_tree from '@copilotkit/react-core/dist/hooks/use-tree';
|
|
3
3
|
import * as _copilotkit_shared from '@copilotkit/shared';
|
|
4
4
|
import { Message, CopilotErrorHandler, CopilotKitError } from '@copilotkit/shared';
|
|
5
|
-
import * as
|
|
5
|
+
import * as _copilotkit_react_core_dist_copilot_context_cf9de848 from '@copilotkit/react-core/dist/copilot-context-cf9de848';
|
|
6
6
|
import * as _copilotkit_react_core_dist_types_coagent_action from '@copilotkit/react-core/dist/types/coagent-action';
|
|
7
7
|
import * as _copilotkit_react_core from '@copilotkit/react-core';
|
|
8
8
|
import { SuggestionItem, SystemMessageFunction, HintFunction } from '@copilotkit/react-core';
|
|
@@ -279,7 +279,7 @@ declare const useCopilotChatLogic: (chatSuggestions: ChatSuggestions, makeSystem
|
|
|
279
279
|
coAgentStateRenders: Record<string, _copilotkit_react_core_dist_types_coagent_action.CoAgentStateRender<any>>;
|
|
280
280
|
setCoAgentStateRender: (id: string, stateRender: _copilotkit_react_core_dist_types_coagent_action.CoAgentStateRender<any>) => void;
|
|
281
281
|
removeCoAgentStateRender: (id: string) => void;
|
|
282
|
-
chatComponentsCache: React__default.RefObject<
|
|
282
|
+
chatComponentsCache: React__default.RefObject<_copilotkit_react_core_dist_copilot_context_cf9de848.j>;
|
|
283
283
|
getFunctionCallHandler: (customEntryPoints?: Record<string, _copilotkit_react_core.FrontendAction<any>>) => _copilotkit_shared.FunctionCallHandler;
|
|
284
284
|
addContext: (context: string, parentId?: string, categories?: string[]) => _copilotkit_react_core_dist_hooks_use_tree.TreeNodeId;
|
|
285
285
|
removeContext: (id: _copilotkit_react_core_dist_hooks_use_tree.TreeNodeId) => void;
|
|
@@ -305,8 +305,8 @@ declare const useCopilotChatLogic: (chatSuggestions: ChatSuggestions, makeSystem
|
|
|
305
305
|
setCoagentStates: React__default.Dispatch<React__default.SetStateAction<Record<string, _copilotkit_react_core_dist_types_coagent_state.CoagentState>>>;
|
|
306
306
|
coagentStatesRef: React__default.RefObject<Record<string, _copilotkit_react_core_dist_types_coagent_state.CoagentState>>;
|
|
307
307
|
setCoagentStatesWithRef: (value: Record<string, _copilotkit_react_core_dist_types_coagent_state.CoagentState> | ((prev: Record<string, _copilotkit_react_core_dist_types_coagent_state.CoagentState>) => Record<string, _copilotkit_react_core_dist_types_coagent_state.CoagentState>)) => void;
|
|
308
|
-
agentSession:
|
|
309
|
-
setAgentSession: React__default.Dispatch<React__default.SetStateAction<
|
|
308
|
+
agentSession: _copilotkit_react_core_dist_copilot_context_cf9de848.A | null;
|
|
309
|
+
setAgentSession: React__default.Dispatch<React__default.SetStateAction<_copilotkit_react_core_dist_copilot_context_cf9de848.A | null>>;
|
|
310
310
|
agentLock: string | null;
|
|
311
311
|
threadId: string;
|
|
312
312
|
setThreadId: React__default.Dispatch<React__default.SetStateAction<string>>;
|
|
@@ -316,18 +316,18 @@ declare const useCopilotChatLogic: (chatSuggestions: ChatSuggestions, makeSystem
|
|
|
316
316
|
runtimeClient: _copilotkit_runtime_client_gql.CopilotRuntimeClient;
|
|
317
317
|
forwardedParameters?: Partial<Pick<_copilotkit_runtime_client_gql.ForwardedParametersInput, "temperature">>;
|
|
318
318
|
availableAgents: _copilotkit_runtime_client_gql.Agent[];
|
|
319
|
-
authStates_c?: Record<
|
|
320
|
-
setAuthStates_c?: React__default.Dispatch<React__default.SetStateAction<Record<
|
|
319
|
+
authStates_c?: Record<_copilotkit_react_core_dist_copilot_context_cf9de848.k, _copilotkit_react_core_dist_copilot_context_cf9de848.f>;
|
|
320
|
+
setAuthStates_c?: React__default.Dispatch<React__default.SetStateAction<Record<_copilotkit_react_core_dist_copilot_context_cf9de848.k, _copilotkit_react_core_dist_copilot_context_cf9de848.f>>>;
|
|
321
321
|
authConfig_c?: {
|
|
322
322
|
SignInComponent: React__default.ComponentType<{
|
|
323
|
-
onSignInComplete: (authState:
|
|
323
|
+
onSignInComplete: (authState: _copilotkit_react_core_dist_copilot_context_cf9de848.f) => void;
|
|
324
324
|
}>;
|
|
325
325
|
};
|
|
326
326
|
extensions: _copilotkit_runtime_client_gql.ExtensionsInput;
|
|
327
327
|
setExtensions: React__default.Dispatch<React__default.SetStateAction<_copilotkit_runtime_client_gql.ExtensionsInput>>;
|
|
328
|
-
langGraphInterruptAction:
|
|
329
|
-
setLangGraphInterruptAction:
|
|
330
|
-
removeLangGraphInterruptAction: () => void;
|
|
328
|
+
langGraphInterruptAction: _copilotkit_react_core_dist_copilot_context_cf9de848.L | null;
|
|
329
|
+
setLangGraphInterruptAction: _copilotkit_react_core_dist_copilot_context_cf9de848.d;
|
|
330
|
+
removeLangGraphInterruptAction: (threadId: string) => void;
|
|
331
331
|
onError: CopilotErrorHandler;
|
|
332
332
|
bannerError: CopilotKitError | null;
|
|
333
333
|
setBannerError: React__default.Dispatch<React__default.SetStateAction<CopilotKitError | null>>;
|
|
@@ -478,6 +478,17 @@ var generateRandomString = (length, lowercase = false) => {
|
|
|
478
478
|
};
|
|
479
479
|
var CodeBlock = (0, import_react2.memo)(({ language, value }) => {
|
|
480
480
|
const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2e3 });
|
|
481
|
+
const [SyntaxHighlighter, setSyntaxHighlighter] = (0, import_react2.useState)(
|
|
482
|
+
() => import_react_syntax_highlighter.Light
|
|
483
|
+
);
|
|
484
|
+
(0, import_react2.useEffect)(() => {
|
|
485
|
+
try {
|
|
486
|
+
new RegExp("(?<=#)\\w+");
|
|
487
|
+
setSyntaxHighlighter(() => import_react_syntax_highlighter.Prism);
|
|
488
|
+
} catch (e) {
|
|
489
|
+
setSyntaxHighlighter(() => import_react_syntax_highlighter.Light);
|
|
490
|
+
}
|
|
491
|
+
}, []);
|
|
481
492
|
const downloadAsFile = () => {
|
|
482
493
|
if (typeof window === "undefined") {
|
|
483
494
|
return;
|
|
@@ -513,7 +524,7 @@ var CodeBlock = (0, import_react2.memo)(({ language, value }) => {
|
|
|
513
524
|
] })
|
|
514
525
|
] }),
|
|
515
526
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
516
|
-
|
|
527
|
+
SyntaxHighlighter,
|
|
517
528
|
{
|
|
518
529
|
language,
|
|
519
530
|
style: highlightStyle,
|