@athenaintel/react 0.10.0 → 0.10.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/dist/index.cjs +665 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +665 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -58058,10 +58058,10 @@ function childNodes(node) {
|
|
|
58058
58058
|
var _node$content$content, _node$content;
|
|
58059
58059
|
return (_node$content$content = node === null || node === void 0 || (_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.content) !== null && _node$content$content !== void 0 ? _node$content$content : [];
|
|
58060
58060
|
}
|
|
58061
|
-
const Table = Node3.create({
|
|
58061
|
+
const Table$1 = Node3.create({
|
|
58062
58062
|
name: "table"
|
|
58063
58063
|
});
|
|
58064
|
-
const Table$1 = Table.extend({
|
|
58064
|
+
const Table$1$1 = Table$1.extend({
|
|
58065
58065
|
/**
|
|
58066
58066
|
* @return {{markdown: MarkdownNodeSpec}}
|
|
58067
58067
|
*/
|
|
@@ -58290,7 +58290,7 @@ const Strike$1 = Strike.extend({
|
|
|
58290
58290
|
};
|
|
58291
58291
|
}
|
|
58292
58292
|
});
|
|
58293
|
-
const markdownExtensions = [Blockquote$1, BulletList$1, CodeBlock$1, HardBreak$1, Heading$1, HorizontalRule$1, HTMLNode, Image$1$1, ListItem$1, OrderedList$1, Paragraph$1, Table$1, TaskItem$1, TaskList$1, Text$1, Bold$1, Code$1$1, HTMLMark, Italic$1, Link$1$1, Strike$1];
|
|
58293
|
+
const markdownExtensions = [Blockquote$1, BulletList$1, CodeBlock$1, HardBreak$1, Heading$1, HorizontalRule$1, HTMLNode, Image$1$1, ListItem$1, OrderedList$1, Paragraph$1, Table$1$1, TaskItem$1, TaskList$1, Text$1, Bold$1, Code$1$1, HTMLMark, Italic$1, Link$1$1, Strike$1];
|
|
58294
58294
|
function getMarkdownSpec(extension) {
|
|
58295
58295
|
var _extension$storage, _markdownExtensions$f;
|
|
58296
58296
|
const markdownSpec = (_extension$storage = extension.storage) === null || _extension$storage === void 0 ? void 0 : _extension$storage.markdown;
|
|
@@ -61585,9 +61585,13 @@ const TiptapComposer = ({ tools = [] }) => {
|
|
|
61585
61585
|
quoteRef.current = quote;
|
|
61586
61586
|
const isUploadingRef = React.useRef(isUploading);
|
|
61587
61587
|
isUploadingRef.current = isUploading;
|
|
61588
|
+
const isThreadRunning = useAuiState((s) => s.thread.isRunning);
|
|
61589
|
+
const isThreadRunningRef = React.useRef(isThreadRunning);
|
|
61590
|
+
isThreadRunningRef.current = isThreadRunning;
|
|
61588
61591
|
const handleSubmit = React.useCallback(() => {
|
|
61589
61592
|
var _a2;
|
|
61590
61593
|
if (isUploadingRef.current) return;
|
|
61594
|
+
if (isThreadRunningRef.current) return;
|
|
61591
61595
|
const editor2 = editorRef.current;
|
|
61592
61596
|
if (!editor2) return;
|
|
61593
61597
|
const currentAttachments = attachmentsRef.current;
|
|
@@ -61807,40 +61811,40 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
61807
61811
|
* This source code is licensed under the ISC license.
|
|
61808
61812
|
* See the LICENSE file in the root directory of this source tree.
|
|
61809
61813
|
*/
|
|
61810
|
-
const __iconNode$
|
|
61814
|
+
const __iconNode$Q = [
|
|
61811
61815
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
61812
61816
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
61813
61817
|
];
|
|
61814
|
-
const ArrowDown = createLucideIcon("arrow-down", __iconNode$
|
|
61818
|
+
const ArrowDown = createLucideIcon("arrow-down", __iconNode$Q);
|
|
61815
61819
|
/**
|
|
61816
61820
|
* @license lucide-react v0.575.0 - ISC
|
|
61817
61821
|
*
|
|
61818
61822
|
* This source code is licensed under the ISC license.
|
|
61819
61823
|
* See the LICENSE file in the root directory of this source tree.
|
|
61820
61824
|
*/
|
|
61821
|
-
const __iconNode$
|
|
61825
|
+
const __iconNode$P = [
|
|
61822
61826
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
61823
61827
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
61824
61828
|
];
|
|
61825
|
-
const ArrowRight = createLucideIcon("arrow-right", __iconNode$
|
|
61829
|
+
const ArrowRight = createLucideIcon("arrow-right", __iconNode$P);
|
|
61826
61830
|
/**
|
|
61827
61831
|
* @license lucide-react v0.575.0 - ISC
|
|
61828
61832
|
*
|
|
61829
61833
|
* This source code is licensed under the ISC license.
|
|
61830
61834
|
* See the LICENSE file in the root directory of this source tree.
|
|
61831
61835
|
*/
|
|
61832
|
-
const __iconNode$
|
|
61836
|
+
const __iconNode$O = [
|
|
61833
61837
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
61834
61838
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
61835
61839
|
];
|
|
61836
|
-
const ArrowUp = createLucideIcon("arrow-up", __iconNode$
|
|
61840
|
+
const ArrowUp = createLucideIcon("arrow-up", __iconNode$O);
|
|
61837
61841
|
/**
|
|
61838
61842
|
* @license lucide-react v0.575.0 - ISC
|
|
61839
61843
|
*
|
|
61840
61844
|
* This source code is licensed under the ISC license.
|
|
61841
61845
|
* See the LICENSE file in the root directory of this source tree.
|
|
61842
61846
|
*/
|
|
61843
|
-
const __iconNode$
|
|
61847
|
+
const __iconNode$N = [
|
|
61844
61848
|
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
61845
61849
|
[
|
|
61846
61850
|
"path",
|
|
@@ -61850,14 +61854,14 @@ const __iconNode$K = [
|
|
|
61850
61854
|
}
|
|
61851
61855
|
]
|
|
61852
61856
|
];
|
|
61853
|
-
const BookOpen = createLucideIcon("book-open", __iconNode$
|
|
61857
|
+
const BookOpen = createLucideIcon("book-open", __iconNode$N);
|
|
61854
61858
|
/**
|
|
61855
61859
|
* @license lucide-react v0.575.0 - ISC
|
|
61856
61860
|
*
|
|
61857
61861
|
* This source code is licensed under the ISC license.
|
|
61858
61862
|
* See the LICENSE file in the root directory of this source tree.
|
|
61859
61863
|
*/
|
|
61860
|
-
const __iconNode$
|
|
61864
|
+
const __iconNode$M = [
|
|
61861
61865
|
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
61862
61866
|
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
61863
61867
|
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
@@ -61867,170 +61871,170 @@ const __iconNode$J = [
|
|
|
61867
61871
|
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
61868
61872
|
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
61869
61873
|
];
|
|
61870
|
-
const Brain = createLucideIcon("brain", __iconNode$
|
|
61874
|
+
const Brain = createLucideIcon("brain", __iconNode$M);
|
|
61871
61875
|
/**
|
|
61872
61876
|
* @license lucide-react v0.575.0 - ISC
|
|
61873
61877
|
*
|
|
61874
61878
|
* This source code is licensed under the ISC license.
|
|
61875
61879
|
* See the LICENSE file in the root directory of this source tree.
|
|
61876
61880
|
*/
|
|
61877
|
-
const __iconNode$
|
|
61881
|
+
const __iconNode$L = [
|
|
61878
61882
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
61879
61883
|
["path", { d: "M18 17V9", key: "2bz60n" }],
|
|
61880
61884
|
["path", { d: "M13 17V5", key: "1frdt8" }],
|
|
61881
61885
|
["path", { d: "M8 17v-3", key: "17ska0" }]
|
|
61882
61886
|
];
|
|
61883
|
-
const ChartColumn = createLucideIcon("chart-column", __iconNode$
|
|
61887
|
+
const ChartColumn = createLucideIcon("chart-column", __iconNode$L);
|
|
61884
61888
|
/**
|
|
61885
61889
|
* @license lucide-react v0.575.0 - ISC
|
|
61886
61890
|
*
|
|
61887
61891
|
* This source code is licensed under the ISC license.
|
|
61888
61892
|
* See the LICENSE file in the root directory of this source tree.
|
|
61889
61893
|
*/
|
|
61890
|
-
const __iconNode$
|
|
61891
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
61894
|
+
const __iconNode$K = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
61895
|
+
const Check = createLucideIcon("check", __iconNode$K);
|
|
61892
61896
|
/**
|
|
61893
61897
|
* @license lucide-react v0.575.0 - ISC
|
|
61894
61898
|
*
|
|
61895
61899
|
* This source code is licensed under the ISC license.
|
|
61896
61900
|
* See the LICENSE file in the root directory of this source tree.
|
|
61897
61901
|
*/
|
|
61898
|
-
const __iconNode$
|
|
61899
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
61902
|
+
const __iconNode$J = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
61903
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$J);
|
|
61900
61904
|
/**
|
|
61901
61905
|
* @license lucide-react v0.575.0 - ISC
|
|
61902
61906
|
*
|
|
61903
61907
|
* This source code is licensed under the ISC license.
|
|
61904
61908
|
* See the LICENSE file in the root directory of this source tree.
|
|
61905
61909
|
*/
|
|
61906
|
-
const __iconNode$
|
|
61907
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
61910
|
+
const __iconNode$I = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
61911
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$I);
|
|
61908
61912
|
/**
|
|
61909
61913
|
* @license lucide-react v0.575.0 - ISC
|
|
61910
61914
|
*
|
|
61911
61915
|
* This source code is licensed under the ISC license.
|
|
61912
61916
|
* See the LICENSE file in the root directory of this source tree.
|
|
61913
61917
|
*/
|
|
61914
|
-
const __iconNode$
|
|
61918
|
+
const __iconNode$H = [
|
|
61915
61919
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
61916
61920
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
61917
61921
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
61918
61922
|
];
|
|
61919
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
61923
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$H);
|
|
61920
61924
|
/**
|
|
61921
61925
|
* @license lucide-react v0.575.0 - ISC
|
|
61922
61926
|
*
|
|
61923
61927
|
* This source code is licensed under the ISC license.
|
|
61924
61928
|
* See the LICENSE file in the root directory of this source tree.
|
|
61925
61929
|
*/
|
|
61926
|
-
const __iconNode$
|
|
61930
|
+
const __iconNode$G = [
|
|
61927
61931
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
61928
61932
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
61929
61933
|
];
|
|
61930
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
61934
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$G);
|
|
61931
61935
|
/**
|
|
61932
61936
|
* @license lucide-react v0.575.0 - ISC
|
|
61933
61937
|
*
|
|
61934
61938
|
* This source code is licensed under the ISC license.
|
|
61935
61939
|
* See the LICENSE file in the root directory of this source tree.
|
|
61936
61940
|
*/
|
|
61937
|
-
const __iconNode$
|
|
61941
|
+
const __iconNode$F = [
|
|
61938
61942
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
61939
61943
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
61940
61944
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
61941
61945
|
];
|
|
61942
|
-
const CircleX = createLucideIcon("circle-x", __iconNode$
|
|
61946
|
+
const CircleX = createLucideIcon("circle-x", __iconNode$F);
|
|
61943
61947
|
/**
|
|
61944
61948
|
* @license lucide-react v0.575.0 - ISC
|
|
61945
61949
|
*
|
|
61946
61950
|
* This source code is licensed under the ISC license.
|
|
61947
61951
|
* See the LICENSE file in the root directory of this source tree.
|
|
61948
61952
|
*/
|
|
61949
|
-
const __iconNode$
|
|
61953
|
+
const __iconNode$E = [
|
|
61950
61954
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
61951
61955
|
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2", key: "4jdomd" }],
|
|
61952
61956
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v4", key: "3hqy98" }],
|
|
61953
61957
|
["path", { d: "M21 14H11", key: "1bme5i" }],
|
|
61954
61958
|
["path", { d: "m15 10-4 4 4 4", key: "5dvupr" }]
|
|
61955
61959
|
];
|
|
61956
|
-
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$
|
|
61960
|
+
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$E);
|
|
61957
61961
|
/**
|
|
61958
61962
|
* @license lucide-react v0.575.0 - ISC
|
|
61959
61963
|
*
|
|
61960
61964
|
* This source code is licensed under the ISC license.
|
|
61961
61965
|
* See the LICENSE file in the root directory of this source tree.
|
|
61962
61966
|
*/
|
|
61963
|
-
const __iconNode$
|
|
61967
|
+
const __iconNode$D = [
|
|
61964
61968
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
61965
61969
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
61966
61970
|
];
|
|
61967
|
-
const Code = createLucideIcon("code", __iconNode$
|
|
61971
|
+
const Code = createLucideIcon("code", __iconNode$D);
|
|
61968
61972
|
/**
|
|
61969
61973
|
* @license lucide-react v0.575.0 - ISC
|
|
61970
61974
|
*
|
|
61971
61975
|
* This source code is licensed under the ISC license.
|
|
61972
61976
|
* See the LICENSE file in the root directory of this source tree.
|
|
61973
61977
|
*/
|
|
61974
|
-
const __iconNode$
|
|
61978
|
+
const __iconNode$C = [
|
|
61975
61979
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
61976
61980
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
61977
61981
|
];
|
|
61978
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
61982
|
+
const Copy = createLucideIcon("copy", __iconNode$C);
|
|
61979
61983
|
/**
|
|
61980
61984
|
* @license lucide-react v0.575.0 - ISC
|
|
61981
61985
|
*
|
|
61982
61986
|
* This source code is licensed under the ISC license.
|
|
61983
61987
|
* See the LICENSE file in the root directory of this source tree.
|
|
61984
61988
|
*/
|
|
61985
|
-
const __iconNode$
|
|
61989
|
+
const __iconNode$B = [
|
|
61986
61990
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
61987
61991
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
61988
61992
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
61989
61993
|
];
|
|
61990
|
-
const Database = createLucideIcon("database", __iconNode$
|
|
61994
|
+
const Database = createLucideIcon("database", __iconNode$B);
|
|
61991
61995
|
/**
|
|
61992
61996
|
* @license lucide-react v0.575.0 - ISC
|
|
61993
61997
|
*
|
|
61994
61998
|
* This source code is licensed under the ISC license.
|
|
61995
61999
|
* See the LICENSE file in the root directory of this source tree.
|
|
61996
62000
|
*/
|
|
61997
|
-
const __iconNode$
|
|
62001
|
+
const __iconNode$A = [
|
|
61998
62002
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
61999
62003
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
62000
62004
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
62001
62005
|
];
|
|
62002
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
62006
|
+
const Download = createLucideIcon("download", __iconNode$A);
|
|
62003
62007
|
/**
|
|
62004
62008
|
* @license lucide-react v0.575.0 - ISC
|
|
62005
62009
|
*
|
|
62006
62010
|
* This source code is licensed under the ISC license.
|
|
62007
62011
|
* See the LICENSE file in the root directory of this source tree.
|
|
62008
62012
|
*/
|
|
62009
|
-
const __iconNode$
|
|
62013
|
+
const __iconNode$z = [
|
|
62010
62014
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
62011
62015
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
62012
62016
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
62013
62017
|
];
|
|
62014
|
-
const Ellipsis = createLucideIcon("ellipsis", __iconNode$
|
|
62018
|
+
const Ellipsis = createLucideIcon("ellipsis", __iconNode$z);
|
|
62015
62019
|
/**
|
|
62016
62020
|
* @license lucide-react v0.575.0 - ISC
|
|
62017
62021
|
*
|
|
62018
62022
|
* This source code is licensed under the ISC license.
|
|
62019
62023
|
* See the LICENSE file in the root directory of this source tree.
|
|
62020
62024
|
*/
|
|
62021
|
-
const __iconNode$
|
|
62025
|
+
const __iconNode$y = [
|
|
62022
62026
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
62023
62027
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
62024
62028
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
62025
62029
|
];
|
|
62026
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
62030
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$y);
|
|
62027
62031
|
/**
|
|
62028
62032
|
* @license lucide-react v0.575.0 - ISC
|
|
62029
62033
|
*
|
|
62030
62034
|
* This source code is licensed under the ISC license.
|
|
62031
62035
|
* See the LICENSE file in the root directory of this source tree.
|
|
62032
62036
|
*/
|
|
62033
|
-
const __iconNode$
|
|
62037
|
+
const __iconNode$x = [
|
|
62034
62038
|
[
|
|
62035
62039
|
"path",
|
|
62036
62040
|
{
|
|
@@ -62042,14 +62046,14 @@ const __iconNode$u = [
|
|
|
62042
62046
|
["path", { d: "M9 15h6", key: "cctwl0" }],
|
|
62043
62047
|
["path", { d: "M12 18v-6", key: "17g6i2" }]
|
|
62044
62048
|
];
|
|
62045
|
-
const FilePlus = createLucideIcon("file-plus", __iconNode$
|
|
62049
|
+
const FilePlus = createLucideIcon("file-plus", __iconNode$x);
|
|
62046
62050
|
/**
|
|
62047
62051
|
* @license lucide-react v0.575.0 - ISC
|
|
62048
62052
|
*
|
|
62049
62053
|
* This source code is licensed under the ISC license.
|
|
62050
62054
|
* See the LICENSE file in the root directory of this source tree.
|
|
62051
62055
|
*/
|
|
62052
|
-
const __iconNode$
|
|
62056
|
+
const __iconNode$w = [
|
|
62053
62057
|
[
|
|
62054
62058
|
"path",
|
|
62055
62059
|
{
|
|
@@ -62063,14 +62067,14 @@ const __iconNode$t = [
|
|
|
62063
62067
|
["path", { d: "M8 17h2", key: "2yhykz" }],
|
|
62064
62068
|
["path", { d: "M14 17h2", key: "10kma7" }]
|
|
62065
62069
|
];
|
|
62066
|
-
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$
|
|
62070
|
+
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$w);
|
|
62067
62071
|
/**
|
|
62068
62072
|
* @license lucide-react v0.575.0 - ISC
|
|
62069
62073
|
*
|
|
62070
62074
|
* This source code is licensed under the ISC license.
|
|
62071
62075
|
* See the LICENSE file in the root directory of this source tree.
|
|
62072
62076
|
*/
|
|
62073
|
-
const __iconNode$
|
|
62077
|
+
const __iconNode$v = [
|
|
62074
62078
|
[
|
|
62075
62079
|
"path",
|
|
62076
62080
|
{
|
|
@@ -62083,14 +62087,14 @@ const __iconNode$s = [
|
|
|
62083
62087
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
62084
62088
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
62085
62089
|
];
|
|
62086
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
62090
|
+
const FileText = createLucideIcon("file-text", __iconNode$v);
|
|
62087
62091
|
/**
|
|
62088
62092
|
* @license lucide-react v0.575.0 - ISC
|
|
62089
62093
|
*
|
|
62090
62094
|
* This source code is licensed under the ISC license.
|
|
62091
62095
|
* See the LICENSE file in the root directory of this source tree.
|
|
62092
62096
|
*/
|
|
62093
|
-
const __iconNode$
|
|
62097
|
+
const __iconNode$u = [
|
|
62094
62098
|
[
|
|
62095
62099
|
"path",
|
|
62096
62100
|
{
|
|
@@ -62100,14 +62104,14 @@ const __iconNode$r = [
|
|
|
62100
62104
|
],
|
|
62101
62105
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
|
|
62102
62106
|
];
|
|
62103
|
-
const File$1 = createLucideIcon("file", __iconNode$
|
|
62107
|
+
const File$1 = createLucideIcon("file", __iconNode$u);
|
|
62104
62108
|
/**
|
|
62105
62109
|
* @license lucide-react v0.575.0 - ISC
|
|
62106
62110
|
*
|
|
62107
62111
|
* This source code is licensed under the ISC license.
|
|
62108
62112
|
* See the LICENSE file in the root directory of this source tree.
|
|
62109
62113
|
*/
|
|
62110
|
-
const __iconNode$
|
|
62114
|
+
const __iconNode$t = [
|
|
62111
62115
|
[
|
|
62112
62116
|
"path",
|
|
62113
62117
|
{
|
|
@@ -62116,38 +62120,38 @@ const __iconNode$q = [
|
|
|
62116
62120
|
}
|
|
62117
62121
|
]
|
|
62118
62122
|
];
|
|
62119
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
62123
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$t);
|
|
62120
62124
|
/**
|
|
62121
62125
|
* @license lucide-react v0.575.0 - ISC
|
|
62122
62126
|
*
|
|
62123
62127
|
* This source code is licensed under the ISC license.
|
|
62124
62128
|
* See the LICENSE file in the root directory of this source tree.
|
|
62125
62129
|
*/
|
|
62126
|
-
const __iconNode$
|
|
62130
|
+
const __iconNode$s = [
|
|
62127
62131
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
62128
62132
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
62129
62133
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
62130
62134
|
];
|
|
62131
|
-
const Globe = createLucideIcon("globe", __iconNode$
|
|
62135
|
+
const Globe = createLucideIcon("globe", __iconNode$s);
|
|
62132
62136
|
/**
|
|
62133
62137
|
* @license lucide-react v0.575.0 - ISC
|
|
62134
62138
|
*
|
|
62135
62139
|
* This source code is licensed under the ISC license.
|
|
62136
62140
|
* See the LICENSE file in the root directory of this source tree.
|
|
62137
62141
|
*/
|
|
62138
|
-
const __iconNode$
|
|
62142
|
+
const __iconNode$r = [
|
|
62139
62143
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
62140
62144
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
62141
62145
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
62142
62146
|
];
|
|
62143
|
-
const Image = createLucideIcon("image", __iconNode$
|
|
62147
|
+
const Image = createLucideIcon("image", __iconNode$r);
|
|
62144
62148
|
/**
|
|
62145
62149
|
* @license lucide-react v0.575.0 - ISC
|
|
62146
62150
|
*
|
|
62147
62151
|
* This source code is licensed under the ISC license.
|
|
62148
62152
|
* See the LICENSE file in the root directory of this source tree.
|
|
62149
62153
|
*/
|
|
62150
|
-
const __iconNode$
|
|
62154
|
+
const __iconNode$q = [
|
|
62151
62155
|
[
|
|
62152
62156
|
"path",
|
|
62153
62157
|
{
|
|
@@ -62170,46 +62174,46 @@ const __iconNode$n = [
|
|
|
62170
62174
|
}
|
|
62171
62175
|
]
|
|
62172
62176
|
];
|
|
62173
|
-
const Layers = createLucideIcon("layers", __iconNode$
|
|
62177
|
+
const Layers = createLucideIcon("layers", __iconNode$q);
|
|
62174
62178
|
/**
|
|
62175
62179
|
* @license lucide-react v0.575.0 - ISC
|
|
62176
62180
|
*
|
|
62177
62181
|
* This source code is licensed under the ISC license.
|
|
62178
62182
|
* See the LICENSE file in the root directory of this source tree.
|
|
62179
62183
|
*/
|
|
62180
|
-
const __iconNode$
|
|
62184
|
+
const __iconNode$p = [
|
|
62181
62185
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
62182
62186
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
62183
62187
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
62184
62188
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
62185
62189
|
];
|
|
62186
|
-
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$
|
|
62190
|
+
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$p);
|
|
62187
62191
|
/**
|
|
62188
62192
|
* @license lucide-react v0.575.0 - ISC
|
|
62189
62193
|
*
|
|
62190
62194
|
* This source code is licensed under the ISC license.
|
|
62191
62195
|
* See the LICENSE file in the root directory of this source tree.
|
|
62192
62196
|
*/
|
|
62193
|
-
const __iconNode$
|
|
62197
|
+
const __iconNode$o = [
|
|
62194
62198
|
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
|
62195
62199
|
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
|
62196
62200
|
];
|
|
62197
|
-
const Link = createLucideIcon("link", __iconNode$
|
|
62201
|
+
const Link = createLucideIcon("link", __iconNode$o);
|
|
62198
62202
|
/**
|
|
62199
62203
|
* @license lucide-react v0.575.0 - ISC
|
|
62200
62204
|
*
|
|
62201
62205
|
* This source code is licensed under the ISC license.
|
|
62202
62206
|
* See the LICENSE file in the root directory of this source tree.
|
|
62203
62207
|
*/
|
|
62204
|
-
const __iconNode$
|
|
62205
|
-
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$
|
|
62208
|
+
const __iconNode$n = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
62209
|
+
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$n);
|
|
62206
62210
|
/**
|
|
62207
62211
|
* @license lucide-react v0.575.0 - ISC
|
|
62208
62212
|
*
|
|
62209
62213
|
* This source code is licensed under the ISC license.
|
|
62210
62214
|
* See the LICENSE file in the root directory of this source tree.
|
|
62211
62215
|
*/
|
|
62212
|
-
const __iconNode$
|
|
62216
|
+
const __iconNode$m = [
|
|
62213
62217
|
["path", { d: "M12 2v4", key: "3427ic" }],
|
|
62214
62218
|
["path", { d: "m16.2 7.8 2.9-2.9", key: "r700ao" }],
|
|
62215
62219
|
["path", { d: "M18 12h4", key: "wj9ykh" }],
|
|
@@ -62219,38 +62223,38 @@ const __iconNode$j = [
|
|
|
62219
62223
|
["path", { d: "M2 12h4", key: "j09sii" }],
|
|
62220
62224
|
["path", { d: "m4.9 4.9 2.9 2.9", key: "giyufr" }]
|
|
62221
62225
|
];
|
|
62222
|
-
const Loader = createLucideIcon("loader", __iconNode$
|
|
62226
|
+
const Loader = createLucideIcon("loader", __iconNode$m);
|
|
62223
62227
|
/**
|
|
62224
62228
|
* @license lucide-react v0.575.0 - ISC
|
|
62225
62229
|
*
|
|
62226
62230
|
* This source code is licensed under the ISC license.
|
|
62227
62231
|
* See the LICENSE file in the root directory of this source tree.
|
|
62228
62232
|
*/
|
|
62229
|
-
const __iconNode$
|
|
62233
|
+
const __iconNode$l = [
|
|
62230
62234
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
62231
62235
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
62232
62236
|
];
|
|
62233
|
-
const Mail = createLucideIcon("mail", __iconNode$
|
|
62237
|
+
const Mail = createLucideIcon("mail", __iconNode$l);
|
|
62234
62238
|
/**
|
|
62235
62239
|
* @license lucide-react v0.575.0 - ISC
|
|
62236
62240
|
*
|
|
62237
62241
|
* This source code is licensed under the ISC license.
|
|
62238
62242
|
* See the LICENSE file in the root directory of this source tree.
|
|
62239
62243
|
*/
|
|
62240
|
-
const __iconNode$
|
|
62244
|
+
const __iconNode$k = [
|
|
62241
62245
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
62242
62246
|
["path", { d: "m21 3-7 7", key: "1l2asr" }],
|
|
62243
62247
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
62244
62248
|
["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
|
|
62245
62249
|
];
|
|
62246
|
-
const Maximize2 = createLucideIcon("maximize-2", __iconNode$
|
|
62250
|
+
const Maximize2 = createLucideIcon("maximize-2", __iconNode$k);
|
|
62247
62251
|
/**
|
|
62248
62252
|
* @license lucide-react v0.575.0 - ISC
|
|
62249
62253
|
*
|
|
62250
62254
|
* This source code is licensed under the ISC license.
|
|
62251
62255
|
* See the LICENSE file in the root directory of this source tree.
|
|
62252
62256
|
*/
|
|
62253
|
-
const __iconNode$
|
|
62257
|
+
const __iconNode$j = [
|
|
62254
62258
|
[
|
|
62255
62259
|
"path",
|
|
62256
62260
|
{
|
|
@@ -62259,39 +62263,39 @@ const __iconNode$g = [
|
|
|
62259
62263
|
}
|
|
62260
62264
|
]
|
|
62261
62265
|
];
|
|
62262
|
-
const MessageSquare = createLucideIcon("message-square", __iconNode$
|
|
62266
|
+
const MessageSquare = createLucideIcon("message-square", __iconNode$j);
|
|
62263
62267
|
/**
|
|
62264
62268
|
* @license lucide-react v0.575.0 - ISC
|
|
62265
62269
|
*
|
|
62266
62270
|
* This source code is licensed under the ISC license.
|
|
62267
62271
|
* See the LICENSE file in the root directory of this source tree.
|
|
62268
62272
|
*/
|
|
62269
|
-
const __iconNode$
|
|
62273
|
+
const __iconNode$i = [
|
|
62270
62274
|
["path", { d: "m14 10 7-7", key: "oa77jy" }],
|
|
62271
62275
|
["path", { d: "M20 10h-6V4", key: "mjg0md" }],
|
|
62272
62276
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
62273
62277
|
["path", { d: "M4 14h6v6", key: "rmj7iw" }]
|
|
62274
62278
|
];
|
|
62275
|
-
const Minimize2 = createLucideIcon("minimize-2", __iconNode$
|
|
62279
|
+
const Minimize2 = createLucideIcon("minimize-2", __iconNode$i);
|
|
62276
62280
|
/**
|
|
62277
62281
|
* @license lucide-react v0.575.0 - ISC
|
|
62278
62282
|
*
|
|
62279
62283
|
* This source code is licensed under the ISC license.
|
|
62280
62284
|
* See the LICENSE file in the root directory of this source tree.
|
|
62281
62285
|
*/
|
|
62282
|
-
const __iconNode$
|
|
62286
|
+
const __iconNode$h = [
|
|
62283
62287
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
62284
62288
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
62285
62289
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
62286
62290
|
];
|
|
62287
|
-
const Monitor = createLucideIcon("monitor", __iconNode$
|
|
62291
|
+
const Monitor = createLucideIcon("monitor", __iconNode$h);
|
|
62288
62292
|
/**
|
|
62289
62293
|
* @license lucide-react v0.575.0 - ISC
|
|
62290
62294
|
*
|
|
62291
62295
|
* This source code is licensed under the ISC license.
|
|
62292
62296
|
* See the LICENSE file in the root directory of this source tree.
|
|
62293
62297
|
*/
|
|
62294
|
-
const __iconNode$
|
|
62298
|
+
const __iconNode$g = [
|
|
62295
62299
|
["path", { d: "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4", key: "re6nr2" }],
|
|
62296
62300
|
["path", { d: "M2 6h4", key: "aawbzj" }],
|
|
62297
62301
|
["path", { d: "M2 10h4", key: "l0bgd4" }],
|
|
@@ -62305,14 +62309,14 @@ const __iconNode$d = [
|
|
|
62305
62309
|
}
|
|
62306
62310
|
]
|
|
62307
62311
|
];
|
|
62308
|
-
const NotebookPen = createLucideIcon("notebook-pen", __iconNode$
|
|
62312
|
+
const NotebookPen = createLucideIcon("notebook-pen", __iconNode$g);
|
|
62309
62313
|
/**
|
|
62310
62314
|
* @license lucide-react v0.575.0 - ISC
|
|
62311
62315
|
*
|
|
62312
62316
|
* This source code is licensed under the ISC license.
|
|
62313
62317
|
* See the LICENSE file in the root directory of this source tree.
|
|
62314
62318
|
*/
|
|
62315
|
-
const __iconNode$
|
|
62319
|
+
const __iconNode$f = [
|
|
62316
62320
|
[
|
|
62317
62321
|
"path",
|
|
62318
62322
|
{
|
|
@@ -62321,14 +62325,14 @@ const __iconNode$c = [
|
|
|
62321
62325
|
}
|
|
62322
62326
|
]
|
|
62323
62327
|
];
|
|
62324
|
-
const Paperclip = createLucideIcon("paperclip", __iconNode$
|
|
62328
|
+
const Paperclip = createLucideIcon("paperclip", __iconNode$f);
|
|
62325
62329
|
/**
|
|
62326
62330
|
* @license lucide-react v0.575.0 - ISC
|
|
62327
62331
|
*
|
|
62328
62332
|
* This source code is licensed under the ISC license.
|
|
62329
62333
|
* See the LICENSE file in the root directory of this source tree.
|
|
62330
62334
|
*/
|
|
62331
|
-
const __iconNode$
|
|
62335
|
+
const __iconNode$e = [
|
|
62332
62336
|
["path", { d: "M13 21h8", key: "1jsn5i" }],
|
|
62333
62337
|
[
|
|
62334
62338
|
"path",
|
|
@@ -62338,37 +62342,53 @@ const __iconNode$b = [
|
|
|
62338
62342
|
}
|
|
62339
62343
|
]
|
|
62340
62344
|
];
|
|
62341
|
-
const PenLine = createLucideIcon("pen-line", __iconNode$
|
|
62345
|
+
const PenLine = createLucideIcon("pen-line", __iconNode$e);
|
|
62342
62346
|
/**
|
|
62343
62347
|
* @license lucide-react v0.575.0 - ISC
|
|
62344
62348
|
*
|
|
62345
62349
|
* This source code is licensed under the ISC license.
|
|
62346
62350
|
* See the LICENSE file in the root directory of this source tree.
|
|
62347
62351
|
*/
|
|
62348
|
-
const __iconNode$
|
|
62352
|
+
const __iconNode$d = [
|
|
62353
|
+
[
|
|
62354
|
+
"path",
|
|
62355
|
+
{
|
|
62356
|
+
d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
|
|
62357
|
+
key: "10ikf1"
|
|
62358
|
+
}
|
|
62359
|
+
]
|
|
62360
|
+
];
|
|
62361
|
+
const Play = createLucideIcon("play", __iconNode$d);
|
|
62362
|
+
/**
|
|
62363
|
+
* @license lucide-react v0.575.0 - ISC
|
|
62364
|
+
*
|
|
62365
|
+
* This source code is licensed under the ISC license.
|
|
62366
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
62367
|
+
*/
|
|
62368
|
+
const __iconNode$c = [
|
|
62349
62369
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
62350
62370
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
62351
62371
|
];
|
|
62352
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
62372
|
+
const Plus = createLucideIcon("plus", __iconNode$c);
|
|
62353
62373
|
/**
|
|
62354
62374
|
* @license lucide-react v0.575.0 - ISC
|
|
62355
62375
|
*
|
|
62356
62376
|
* This source code is licensed under the ISC license.
|
|
62357
62377
|
* See the LICENSE file in the root directory of this source tree.
|
|
62358
62378
|
*/
|
|
62359
|
-
const __iconNode$
|
|
62379
|
+
const __iconNode$b = [
|
|
62360
62380
|
["path", { d: "M2 3h20", key: "91anmk" }],
|
|
62361
62381
|
["path", { d: "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3", key: "2k9sn8" }],
|
|
62362
62382
|
["path", { d: "m7 21 5-5 5 5", key: "bip4we" }]
|
|
62363
62383
|
];
|
|
62364
|
-
const Presentation = createLucideIcon("presentation", __iconNode$
|
|
62384
|
+
const Presentation = createLucideIcon("presentation", __iconNode$b);
|
|
62365
62385
|
/**
|
|
62366
62386
|
* @license lucide-react v0.575.0 - ISC
|
|
62367
62387
|
*
|
|
62368
62388
|
* This source code is licensed under the ISC license.
|
|
62369
62389
|
* See the LICENSE file in the root directory of this source tree.
|
|
62370
62390
|
*/
|
|
62371
|
-
const __iconNode$
|
|
62391
|
+
const __iconNode$a = [
|
|
62372
62392
|
[
|
|
62373
62393
|
"path",
|
|
62374
62394
|
{
|
|
@@ -62384,38 +62404,38 @@ const __iconNode$8 = [
|
|
|
62384
62404
|
}
|
|
62385
62405
|
]
|
|
62386
62406
|
];
|
|
62387
|
-
const Quote = createLucideIcon("quote", __iconNode$
|
|
62407
|
+
const Quote = createLucideIcon("quote", __iconNode$a);
|
|
62388
62408
|
/**
|
|
62389
62409
|
* @license lucide-react v0.575.0 - ISC
|
|
62390
62410
|
*
|
|
62391
62411
|
* This source code is licensed under the ISC license.
|
|
62392
62412
|
* See the LICENSE file in the root directory of this source tree.
|
|
62393
62413
|
*/
|
|
62394
|
-
const __iconNode$
|
|
62414
|
+
const __iconNode$9 = [
|
|
62395
62415
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
62396
62416
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
62397
62417
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
62398
62418
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
62399
62419
|
];
|
|
62400
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
62420
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$9);
|
|
62401
62421
|
/**
|
|
62402
62422
|
* @license lucide-react v0.575.0 - ISC
|
|
62403
62423
|
*
|
|
62404
62424
|
* This source code is licensed under the ISC license.
|
|
62405
62425
|
* See the LICENSE file in the root directory of this source tree.
|
|
62406
62426
|
*/
|
|
62407
|
-
const __iconNode$
|
|
62427
|
+
const __iconNode$8 = [
|
|
62408
62428
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
62409
62429
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
62410
62430
|
];
|
|
62411
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
62431
|
+
const Search = createLucideIcon("search", __iconNode$8);
|
|
62412
62432
|
/**
|
|
62413
62433
|
* @license lucide-react v0.575.0 - ISC
|
|
62414
62434
|
*
|
|
62415
62435
|
* This source code is licensed under the ISC license.
|
|
62416
62436
|
* See the LICENSE file in the root directory of this source tree.
|
|
62417
62437
|
*/
|
|
62418
|
-
const __iconNode$
|
|
62438
|
+
const __iconNode$7 = [
|
|
62419
62439
|
[
|
|
62420
62440
|
"path",
|
|
62421
62441
|
{
|
|
@@ -62425,17 +62445,43 @@ const __iconNode$5 = [
|
|
|
62425
62445
|
],
|
|
62426
62446
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
62427
62447
|
];
|
|
62428
|
-
const Settings = createLucideIcon("settings", __iconNode$
|
|
62448
|
+
const Settings = createLucideIcon("settings", __iconNode$7);
|
|
62429
62449
|
/**
|
|
62430
62450
|
* @license lucide-react v0.575.0 - ISC
|
|
62431
62451
|
*
|
|
62432
62452
|
* This source code is licensed under the ISC license.
|
|
62433
62453
|
* See the LICENSE file in the root directory of this source tree.
|
|
62434
62454
|
*/
|
|
62435
|
-
const __iconNode$
|
|
62455
|
+
const __iconNode$6 = [
|
|
62436
62456
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
|
|
62437
62457
|
];
|
|
62438
|
-
const Square = createLucideIcon("square", __iconNode$
|
|
62458
|
+
const Square = createLucideIcon("square", __iconNode$6);
|
|
62459
|
+
/**
|
|
62460
|
+
* @license lucide-react v0.575.0 - ISC
|
|
62461
|
+
*
|
|
62462
|
+
* This source code is licensed under the ISC license.
|
|
62463
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
62464
|
+
*/
|
|
62465
|
+
const __iconNode$5 = [
|
|
62466
|
+
["path", { d: "M15 3v18", key: "14nvp0" }],
|
|
62467
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
62468
|
+
["path", { d: "M21 9H3", key: "1338ky" }],
|
|
62469
|
+
["path", { d: "M21 15H3", key: "9uk58r" }]
|
|
62470
|
+
];
|
|
62471
|
+
const TableProperties = createLucideIcon("table-properties", __iconNode$5);
|
|
62472
|
+
/**
|
|
62473
|
+
* @license lucide-react v0.575.0 - ISC
|
|
62474
|
+
*
|
|
62475
|
+
* This source code is licensed under the ISC license.
|
|
62476
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
62477
|
+
*/
|
|
62478
|
+
const __iconNode$4 = [
|
|
62479
|
+
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
62480
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
62481
|
+
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
62482
|
+
["path", { d: "M3 15h18", key: "5xshup" }]
|
|
62483
|
+
];
|
|
62484
|
+
const Table = createLucideIcon("table", __iconNode$4);
|
|
62439
62485
|
/**
|
|
62440
62486
|
* @license lucide-react v0.575.0 - ISC
|
|
62441
62487
|
*
|
|
@@ -62502,6 +62548,10 @@ function CollapsibleContent({ ...props }) {
|
|
|
62502
62548
|
return /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent$1, { "data-slot": "collapsible-content", ...props });
|
|
62503
62549
|
}
|
|
62504
62550
|
const ANIMATION_DURATION = 200;
|
|
62551
|
+
function truncateLine(text2, max2 = 70) {
|
|
62552
|
+
const oneLine = text2.replace(/\s+/g, " ").trim();
|
|
62553
|
+
return oneLine.length > max2 ? `${oneLine.slice(0, max2)}...` : oneLine;
|
|
62554
|
+
}
|
|
62505
62555
|
const TOOL_META = {
|
|
62506
62556
|
// Search & Browse
|
|
62507
62557
|
search: { displayName: "Searching the web", icon: Search, describer: (a) => a.query ? `"${a.query}"` : "" },
|
|
@@ -62533,9 +62583,13 @@ const TOOL_META = {
|
|
|
62533
62583
|
execute_presentation_code: { displayName: "Generating slides", icon: Monitor },
|
|
62534
62584
|
// Code & Data
|
|
62535
62585
|
run_python_code: { displayName: "Running analysis", icon: Code },
|
|
62536
|
-
run_sql_query_tool: { displayName: "
|
|
62586
|
+
run_sql_query_tool: { displayName: "Running SQL query", icon: Database, describer: (a) => a.sql_query ?? a.query ?? a.sql ? `"${truncateLine(a.sql_query ?? a.query ?? a.sql)}"` : "" },
|
|
62587
|
+
run_database_sql: { displayName: "Running SQL query", icon: Database, describer: (a) => a.sql_query ?? a.query ?? a.sql ? `"${truncateLine(a.sql_query ?? a.query ?? a.sql)}"` : "" },
|
|
62588
|
+
run_sql: { displayName: "Running SQL query", icon: Database, describer: (a) => a.sql_query ?? a.query ?? a.sql ? `"${truncateLine(a.sql_query ?? a.query ?? a.sql)}"` : "" },
|
|
62537
62589
|
create_database: { displayName: "Setting up database", icon: Database },
|
|
62538
|
-
|
|
62590
|
+
describe_database: { displayName: "Inspecting database", icon: Database },
|
|
62591
|
+
list_database_tables: { displayName: "Listing database tables", icon: Database },
|
|
62592
|
+
get_database_table_schema: { displayName: "Reading table schema", icon: Database, describer: (a) => a.table_name ?? "" },
|
|
62539
62593
|
computer_asset_exec: { displayName: "Running command", icon: Monitor },
|
|
62540
62594
|
// Notebooks
|
|
62541
62595
|
create_new_notebook: { displayName: "Creating notebook", icon: BookOpen },
|
|
@@ -64470,6 +64524,497 @@ const OpenAssetToolUI = React.memo(
|
|
|
64470
64524
|
OpenAssetToolUIImpl
|
|
64471
64525
|
);
|
|
64472
64526
|
OpenAssetToolUI.displayName = "OpenAssetToolUI";
|
|
64527
|
+
const DescribeDatabaseToolUIImpl = ({
|
|
64528
|
+
toolName,
|
|
64529
|
+
args,
|
|
64530
|
+
result,
|
|
64531
|
+
status
|
|
64532
|
+
}) => {
|
|
64533
|
+
const typedArgs = args;
|
|
64534
|
+
const data = React.useMemo(() => normalizeResult(result), [result]);
|
|
64535
|
+
const title = typeof (data == null ? void 0 : data.title) === "string" ? data.title : null;
|
|
64536
|
+
const provider = typeof (data == null ? void 0 : data.provider) === "string" ? data.provider : null;
|
|
64537
|
+
const databaseName = typeof (data == null ? void 0 : data.database_name) === "string" ? data.database_name : null;
|
|
64538
|
+
const tableCount = typeof (data == null ? void 0 : data.table_count) === "number" ? data.table_count : null;
|
|
64539
|
+
const dbStatus = typeof (data == null ? void 0 : data.status) === "string" ? data.status : null;
|
|
64540
|
+
const isRunning = (status == null ? void 0 : status.type) === "running";
|
|
64541
|
+
const isComplete = (status == null ? void 0 : status.type) === "complete";
|
|
64542
|
+
const errorMsg = (status == null ? void 0 : status.type) === "incomplete" ? status.error : null;
|
|
64543
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
64544
|
+
ToolCard,
|
|
64545
|
+
{
|
|
64546
|
+
icon: Database,
|
|
64547
|
+
status: (status == null ? void 0 : status.type) ?? "complete",
|
|
64548
|
+
title: isRunning ? "Inspecting database..." : title ? `Database: ${title}` : "Database overview",
|
|
64549
|
+
subtitle: databaseName ?? void 0,
|
|
64550
|
+
toolName,
|
|
64551
|
+
args: typedArgs,
|
|
64552
|
+
result,
|
|
64553
|
+
badge: isComplete && tableCount !== null ? `${tableCount} ${tableCount === 1 ? "table" : "tables"}` : void 0,
|
|
64554
|
+
error: errorMsg,
|
|
64555
|
+
children: isComplete && (title || provider || databaseName || dbStatus) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-border/40 px-4 py-2.5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-x-4 gap-y-2 text-[11px]", children: [
|
|
64556
|
+
title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 min-w-0", children: [
|
|
64557
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-muted-foreground", children: "Name" }),
|
|
64558
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-foreground/80", children: title })
|
|
64559
|
+
] }),
|
|
64560
|
+
provider && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 min-w-0", children: [
|
|
64561
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-muted-foreground", children: "Provider" }),
|
|
64562
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-foreground/80 capitalize", children: provider })
|
|
64563
|
+
] }),
|
|
64564
|
+
databaseName && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 min-w-0", children: [
|
|
64565
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-muted-foreground", children: "Database" }),
|
|
64566
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate font-mono text-foreground/80", children: databaseName })
|
|
64567
|
+
] }),
|
|
64568
|
+
dbStatus && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 min-w-0", children: [
|
|
64569
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-muted-foreground", children: "Status" }),
|
|
64570
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
64571
|
+
"span",
|
|
64572
|
+
{
|
|
64573
|
+
className: cn(
|
|
64574
|
+
"inline-flex w-fit items-center gap-1 rounded-full px-1.5 py-0.5 text-[10px] font-medium capitalize",
|
|
64575
|
+
dbStatus === "active" ? "bg-emerald-50 text-emerald-700" : "bg-muted text-muted-foreground"
|
|
64576
|
+
),
|
|
64577
|
+
children: [
|
|
64578
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
64579
|
+
"span",
|
|
64580
|
+
{
|
|
64581
|
+
className: cn(
|
|
64582
|
+
"size-1.5 rounded-full",
|
|
64583
|
+
dbStatus === "active" ? "bg-emerald-500" : "bg-muted-foreground"
|
|
64584
|
+
)
|
|
64585
|
+
}
|
|
64586
|
+
),
|
|
64587
|
+
dbStatus
|
|
64588
|
+
]
|
|
64589
|
+
}
|
|
64590
|
+
)
|
|
64591
|
+
] })
|
|
64592
|
+
] }) })
|
|
64593
|
+
}
|
|
64594
|
+
);
|
|
64595
|
+
};
|
|
64596
|
+
const DescribeDatabaseToolUI = React.memo(
|
|
64597
|
+
DescribeDatabaseToolUIImpl
|
|
64598
|
+
);
|
|
64599
|
+
DescribeDatabaseToolUI.displayName = "DescribeDatabaseToolUI";
|
|
64600
|
+
const ListDatabaseTablesToolUIImpl = ({
|
|
64601
|
+
toolName,
|
|
64602
|
+
args,
|
|
64603
|
+
result,
|
|
64604
|
+
status
|
|
64605
|
+
}) => {
|
|
64606
|
+
const typedArgs = args;
|
|
64607
|
+
const data = React.useMemo(() => normalizeResult(result), [result]);
|
|
64608
|
+
const tables = React.useMemo(() => {
|
|
64609
|
+
if (!data || !Array.isArray(data.tables)) return [];
|
|
64610
|
+
return data.tables.map((t) => {
|
|
64611
|
+
const item = t ?? {};
|
|
64612
|
+
return {
|
|
64613
|
+
table_name: typeof item.table_name === "string" ? item.table_name : "",
|
|
64614
|
+
schema_name: typeof item.schema_name === "string" ? item.schema_name : void 0,
|
|
64615
|
+
row_count: typeof item.row_count === "number" ? item.row_count : void 0
|
|
64616
|
+
};
|
|
64617
|
+
});
|
|
64618
|
+
}, [data]);
|
|
64619
|
+
const isRunning = (status == null ? void 0 : status.type) === "running";
|
|
64620
|
+
const isComplete = (status == null ? void 0 : status.type) === "complete";
|
|
64621
|
+
const errorMsg = (status == null ? void 0 : status.type) === "incomplete" ? status.error : null;
|
|
64622
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
64623
|
+
ToolCard,
|
|
64624
|
+
{
|
|
64625
|
+
icon: Table,
|
|
64626
|
+
status: (status == null ? void 0 : status.type) ?? "complete",
|
|
64627
|
+
title: isRunning ? "Listing database tables..." : "Database tables",
|
|
64628
|
+
toolName,
|
|
64629
|
+
args: typedArgs,
|
|
64630
|
+
result,
|
|
64631
|
+
badge: isComplete && tables.length > 0 ? `${tables.length} ${tables.length === 1 ? "table" : "tables"}` : void 0,
|
|
64632
|
+
error: errorMsg,
|
|
64633
|
+
children: isComplete && tables.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
64634
|
+
ExpandableSection,
|
|
64635
|
+
{
|
|
64636
|
+
label: "Show tables",
|
|
64637
|
+
defaultOpen: tables.length <= 10,
|
|
64638
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-0.5", children: tables.map((t) => {
|
|
64639
|
+
const qualified = t.schema_name ? `${t.schema_name}.${t.table_name}` : t.table_name;
|
|
64640
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
64641
|
+
"div",
|
|
64642
|
+
{
|
|
64643
|
+
className: "flex items-center justify-between gap-3 rounded-md px-2 py-1 hover:bg-muted/40",
|
|
64644
|
+
children: [
|
|
64645
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
64646
|
+
/* @__PURE__ */ jsxRuntime.jsx(Table, { className: "size-3 shrink-0 text-muted-foreground/60" }),
|
|
64647
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate font-mono text-[12px] text-foreground/90", children: qualified })
|
|
64648
|
+
] }),
|
|
64649
|
+
t.row_count !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "shrink-0 text-[10px] tabular-nums text-muted-foreground", children: [
|
|
64650
|
+
t.row_count.toLocaleString(),
|
|
64651
|
+
" ",
|
|
64652
|
+
t.row_count === 1 ? "row" : "rows"
|
|
64653
|
+
] })
|
|
64654
|
+
]
|
|
64655
|
+
},
|
|
64656
|
+
qualified
|
|
64657
|
+
);
|
|
64658
|
+
}) })
|
|
64659
|
+
}
|
|
64660
|
+
)
|
|
64661
|
+
}
|
|
64662
|
+
);
|
|
64663
|
+
};
|
|
64664
|
+
const ListDatabaseTablesToolUI = React.memo(
|
|
64665
|
+
ListDatabaseTablesToolUIImpl
|
|
64666
|
+
);
|
|
64667
|
+
ListDatabaseTablesToolUI.displayName = "ListDatabaseTablesToolUI";
|
|
64668
|
+
const GetDatabaseTableSchemaToolUIImpl = ({
|
|
64669
|
+
toolName,
|
|
64670
|
+
args,
|
|
64671
|
+
result,
|
|
64672
|
+
status
|
|
64673
|
+
}) => {
|
|
64674
|
+
const typedArgs = args;
|
|
64675
|
+
const data = React.useMemo(() => normalizeResult(result), [result]);
|
|
64676
|
+
const tableName = (typeof (data == null ? void 0 : data.table_name) === "string" ? data.table_name : null) ?? (typeof (typedArgs == null ? void 0 : typedArgs.table_name) === "string" ? typedArgs.table_name : null);
|
|
64677
|
+
const schemaName = typeof (data == null ? void 0 : data.schema_name) === "string" ? data.schema_name : null;
|
|
64678
|
+
const columns = React.useMemo(() => {
|
|
64679
|
+
if (!data || !Array.isArray(data.columns)) return [];
|
|
64680
|
+
return data.columns.map((c) => {
|
|
64681
|
+
const item = c ?? {};
|
|
64682
|
+
return {
|
|
64683
|
+
name: typeof item.name === "string" ? item.name : "",
|
|
64684
|
+
data_type: typeof item.data_type === "string" ? item.data_type : "",
|
|
64685
|
+
is_nullable: typeof item.is_nullable === "boolean" ? item.is_nullable : void 0,
|
|
64686
|
+
default_value: typeof item.default_value === "string" ? item.default_value : null,
|
|
64687
|
+
max_length: typeof item.max_length === "number" ? item.max_length : null
|
|
64688
|
+
};
|
|
64689
|
+
});
|
|
64690
|
+
}, [data]);
|
|
64691
|
+
const isRunning = (status == null ? void 0 : status.type) === "running";
|
|
64692
|
+
const isComplete = (status == null ? void 0 : status.type) === "complete";
|
|
64693
|
+
const errorMsg = (status == null ? void 0 : status.type) === "incomplete" ? status.error : null;
|
|
64694
|
+
const displayName = tableName ? schemaName ? `${schemaName}.${tableName}` : tableName : null;
|
|
64695
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
64696
|
+
ToolCard,
|
|
64697
|
+
{
|
|
64698
|
+
icon: TableProperties,
|
|
64699
|
+
status: (status == null ? void 0 : status.type) ?? "complete",
|
|
64700
|
+
title: isRunning ? "Reading table schema..." : displayName ? `Schema: ${displayName}` : "Table schema",
|
|
64701
|
+
toolName,
|
|
64702
|
+
args: typedArgs,
|
|
64703
|
+
result,
|
|
64704
|
+
badge: isComplete && columns.length > 0 ? `${columns.length} ${columns.length === 1 ? "column" : "columns"}` : void 0,
|
|
64705
|
+
error: errorMsg,
|
|
64706
|
+
children: isComplete && columns.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
64707
|
+
ExpandableSection,
|
|
64708
|
+
{
|
|
64709
|
+
label: "Show columns",
|
|
64710
|
+
defaultOpen: columns.length <= 12,
|
|
64711
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden rounded-md border border-border/40", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full text-[11px]", children: [
|
|
64712
|
+
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "bg-muted/50", children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
|
|
64713
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "px-2 py-1.5 text-left font-medium text-muted-foreground", children: "Column" }),
|
|
64714
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "px-2 py-1.5 text-left font-medium text-muted-foreground", children: "Type" }),
|
|
64715
|
+
/* @__PURE__ */ jsxRuntime.jsx("th", { className: "px-2 py-1.5 text-right font-medium text-muted-foreground", children: "Nullable" })
|
|
64716
|
+
] }) }),
|
|
64717
|
+
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: columns.map((col) => {
|
|
64718
|
+
const typeLabel = col.max_length != null ? `${col.data_type}(${col.max_length})` : col.data_type;
|
|
64719
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
64720
|
+
"tr",
|
|
64721
|
+
{
|
|
64722
|
+
className: "border-t border-border/30",
|
|
64723
|
+
title: col.default_value ? `default: ${col.default_value}` : void 0,
|
|
64724
|
+
children: [
|
|
64725
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "whitespace-nowrap px-2 py-1 font-mono text-foreground/90", children: col.name }),
|
|
64726
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "whitespace-nowrap px-2 py-1 text-muted-foreground", children: typeLabel }),
|
|
64727
|
+
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "whitespace-nowrap px-2 py-1 text-right", children: col.is_nullable === false ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded bg-amber-50 px-1 py-0.5 text-[10px] font-medium text-amber-700", children: "NOT NULL" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/50", children: "—" }) })
|
|
64728
|
+
]
|
|
64729
|
+
},
|
|
64730
|
+
col.name
|
|
64731
|
+
);
|
|
64732
|
+
}) })
|
|
64733
|
+
] }) })
|
|
64734
|
+
}
|
|
64735
|
+
)
|
|
64736
|
+
}
|
|
64737
|
+
);
|
|
64738
|
+
};
|
|
64739
|
+
const GetDatabaseTableSchemaToolUI = React.memo(
|
|
64740
|
+
GetDatabaseTableSchemaToolUIImpl
|
|
64741
|
+
);
|
|
64742
|
+
GetDatabaseTableSchemaToolUI.displayName = "GetDatabaseTableSchemaToolUI";
|
|
64743
|
+
const SQL_KEYWORDS = /* @__PURE__ */ new Set([
|
|
64744
|
+
"SELECT",
|
|
64745
|
+
"FROM",
|
|
64746
|
+
"WHERE",
|
|
64747
|
+
"JOIN",
|
|
64748
|
+
"LEFT",
|
|
64749
|
+
"RIGHT",
|
|
64750
|
+
"INNER",
|
|
64751
|
+
"OUTER",
|
|
64752
|
+
"FULL",
|
|
64753
|
+
"CROSS",
|
|
64754
|
+
"ON",
|
|
64755
|
+
"USING",
|
|
64756
|
+
"AND",
|
|
64757
|
+
"OR",
|
|
64758
|
+
"NOT",
|
|
64759
|
+
"IN",
|
|
64760
|
+
"IS",
|
|
64761
|
+
"NULL",
|
|
64762
|
+
"AS",
|
|
64763
|
+
"ORDER",
|
|
64764
|
+
"BY",
|
|
64765
|
+
"GROUP",
|
|
64766
|
+
"HAVING",
|
|
64767
|
+
"LIMIT",
|
|
64768
|
+
"OFFSET",
|
|
64769
|
+
"UNION",
|
|
64770
|
+
"ALL",
|
|
64771
|
+
"DISTINCT",
|
|
64772
|
+
"INSERT",
|
|
64773
|
+
"INTO",
|
|
64774
|
+
"VALUES",
|
|
64775
|
+
"UPDATE",
|
|
64776
|
+
"SET",
|
|
64777
|
+
"DELETE",
|
|
64778
|
+
"CREATE",
|
|
64779
|
+
"TABLE",
|
|
64780
|
+
"DROP",
|
|
64781
|
+
"ALTER",
|
|
64782
|
+
"ADD",
|
|
64783
|
+
"COLUMN",
|
|
64784
|
+
"INDEX",
|
|
64785
|
+
"PRIMARY",
|
|
64786
|
+
"KEY",
|
|
64787
|
+
"FOREIGN",
|
|
64788
|
+
"REFERENCES",
|
|
64789
|
+
"CONSTRAINT",
|
|
64790
|
+
"CASCADE",
|
|
64791
|
+
"CASE",
|
|
64792
|
+
"WHEN",
|
|
64793
|
+
"THEN",
|
|
64794
|
+
"ELSE",
|
|
64795
|
+
"END",
|
|
64796
|
+
"WITH",
|
|
64797
|
+
"RECURSIVE",
|
|
64798
|
+
"ASC",
|
|
64799
|
+
"DESC",
|
|
64800
|
+
"BETWEEN",
|
|
64801
|
+
"LIKE",
|
|
64802
|
+
"ILIKE",
|
|
64803
|
+
"EXISTS",
|
|
64804
|
+
"ANY",
|
|
64805
|
+
"SOME",
|
|
64806
|
+
"RETURNING",
|
|
64807
|
+
"OVER",
|
|
64808
|
+
"PARTITION",
|
|
64809
|
+
"WINDOW"
|
|
64810
|
+
]);
|
|
64811
|
+
const SQL_FUNCTIONS = /* @__PURE__ */ new Set([
|
|
64812
|
+
"COUNT",
|
|
64813
|
+
"SUM",
|
|
64814
|
+
"AVG",
|
|
64815
|
+
"MIN",
|
|
64816
|
+
"MAX",
|
|
64817
|
+
"ROUND",
|
|
64818
|
+
"CAST",
|
|
64819
|
+
"COALESCE",
|
|
64820
|
+
"NULLIF",
|
|
64821
|
+
"UPPER",
|
|
64822
|
+
"LOWER",
|
|
64823
|
+
"LENGTH",
|
|
64824
|
+
"SUBSTRING",
|
|
64825
|
+
"TRIM",
|
|
64826
|
+
"CONCAT",
|
|
64827
|
+
"DATE",
|
|
64828
|
+
"NOW",
|
|
64829
|
+
"CURRENT_DATE",
|
|
64830
|
+
"CURRENT_TIMESTAMP",
|
|
64831
|
+
"EXTRACT",
|
|
64832
|
+
"DATE_TRUNC",
|
|
64833
|
+
"ROW_NUMBER",
|
|
64834
|
+
"RANK",
|
|
64835
|
+
"DENSE_RANK",
|
|
64836
|
+
"LAG",
|
|
64837
|
+
"LEAD"
|
|
64838
|
+
]);
|
|
64839
|
+
function highlightSql(code2) {
|
|
64840
|
+
let result = "";
|
|
64841
|
+
let i = 0;
|
|
64842
|
+
while (i < code2.length) {
|
|
64843
|
+
if (code2.slice(i, i + 2) === "--") {
|
|
64844
|
+
const end = code2.indexOf("\n", i);
|
|
64845
|
+
const str = end >= 0 ? code2.slice(i, end) : code2.slice(i);
|
|
64846
|
+
result += `<span style="color:var(--aui-syn-comment, #6a9955)">${escapeHtml(str)}</span>`;
|
|
64847
|
+
i += str.length;
|
|
64848
|
+
continue;
|
|
64849
|
+
}
|
|
64850
|
+
if (code2[i] === "'" || code2[i] === '"') {
|
|
64851
|
+
const q = code2[i];
|
|
64852
|
+
let j = i + 1;
|
|
64853
|
+
while (j < code2.length && code2[j] !== q) {
|
|
64854
|
+
if (code2[j] === "\\") j++;
|
|
64855
|
+
j++;
|
|
64856
|
+
}
|
|
64857
|
+
const str = code2.slice(i, j + 1);
|
|
64858
|
+
result += `<span style="color:var(--aui-syn-string, #ce9178)">${escapeHtml(str)}</span>`;
|
|
64859
|
+
i = j + 1;
|
|
64860
|
+
continue;
|
|
64861
|
+
}
|
|
64862
|
+
if (/\d/.test(code2[i]) && (i === 0 || /[\s(,=[\-+*/:!<>]/.test(code2[i - 1]))) {
|
|
64863
|
+
const m = code2.slice(i).match(/^(\d+\.?\d*)/);
|
|
64864
|
+
if (m) {
|
|
64865
|
+
result += `<span style="color:var(--aui-syn-number, #b5cea8)">${escapeHtml(m[1])}</span>`;
|
|
64866
|
+
i += m[1].length;
|
|
64867
|
+
continue;
|
|
64868
|
+
}
|
|
64869
|
+
}
|
|
64870
|
+
if (/[a-zA-Z_]/.test(code2[i])) {
|
|
64871
|
+
const m = code2.slice(i).match(/^[a-zA-Z_]\w*/);
|
|
64872
|
+
if (m) {
|
|
64873
|
+
const word = m[0];
|
|
64874
|
+
const upper = word.toUpperCase();
|
|
64875
|
+
if (SQL_KEYWORDS.has(upper)) {
|
|
64876
|
+
result += `<span style="color:var(--aui-syn-keyword, #569cd6)">${escapeHtml(word)}</span>`;
|
|
64877
|
+
} else if (SQL_FUNCTIONS.has(upper)) {
|
|
64878
|
+
result += `<span style="color:var(--aui-syn-func, #dcdcaa)">${escapeHtml(word)}</span>`;
|
|
64879
|
+
} else {
|
|
64880
|
+
result += escapeHtml(word);
|
|
64881
|
+
}
|
|
64882
|
+
i += word.length;
|
|
64883
|
+
continue;
|
|
64884
|
+
}
|
|
64885
|
+
}
|
|
64886
|
+
result += escapeHtml(code2[i]);
|
|
64887
|
+
i++;
|
|
64888
|
+
}
|
|
64889
|
+
return result;
|
|
64890
|
+
}
|
|
64891
|
+
const SyntaxHighlightedSql = React.memo(({ code: code2 }) => {
|
|
64892
|
+
const highlighted = React.useMemo(() => highlightSql(code2), [code2]);
|
|
64893
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
64894
|
+
"pre",
|
|
64895
|
+
{
|
|
64896
|
+
className: "whitespace-pre-wrap break-words text-[11px] leading-relaxed font-mono",
|
|
64897
|
+
dangerouslySetInnerHTML: { __html: highlighted }
|
|
64898
|
+
}
|
|
64899
|
+
);
|
|
64900
|
+
});
|
|
64901
|
+
SyntaxHighlightedSql.displayName = "SyntaxHighlightedSql";
|
|
64902
|
+
function parseSqlResult(result) {
|
|
64903
|
+
const empty2 = { columns: [], rows: [], rowCount: null };
|
|
64904
|
+
const data = normalizeResult(result);
|
|
64905
|
+
if (!data) return empty2;
|
|
64906
|
+
const inner = data.result && typeof data.result === "object" && !Array.isArray(data.result) ? data.result : data;
|
|
64907
|
+
const rawRows = inner.rows ?? inner.data ?? inner.records;
|
|
64908
|
+
if (!Array.isArray(rawRows)) return empty2;
|
|
64909
|
+
const rows = rawRows.filter(
|
|
64910
|
+
(r2) => typeof r2 === "object" && r2 !== null && !Array.isArray(r2)
|
|
64911
|
+
);
|
|
64912
|
+
let columns = [];
|
|
64913
|
+
if (Array.isArray(inner.columns)) {
|
|
64914
|
+
columns = inner.columns.map((c) => {
|
|
64915
|
+
if (typeof c === "string") return c;
|
|
64916
|
+
if (c && typeof c === "object") {
|
|
64917
|
+
const name = c.name;
|
|
64918
|
+
return typeof name === "string" ? name : null;
|
|
64919
|
+
}
|
|
64920
|
+
return null;
|
|
64921
|
+
}).filter((c) => c !== null);
|
|
64922
|
+
}
|
|
64923
|
+
if (columns.length === 0 && rows.length > 0) {
|
|
64924
|
+
columns = Object.keys(rows[0]);
|
|
64925
|
+
}
|
|
64926
|
+
const rowCount = typeof inner.row_count === "number" ? inner.row_count : typeof inner.rowCount === "number" ? inner.rowCount : rows.length;
|
|
64927
|
+
return { columns, rows, rowCount };
|
|
64928
|
+
}
|
|
64929
|
+
const RunSqlToolUIImpl = ({
|
|
64930
|
+
toolName,
|
|
64931
|
+
args,
|
|
64932
|
+
result,
|
|
64933
|
+
status
|
|
64934
|
+
}) => {
|
|
64935
|
+
const typedArgs = args;
|
|
64936
|
+
const sqlQuery = (typedArgs == null ? void 0 : typedArgs.sql_query) ?? (typedArgs == null ? void 0 : typedArgs.query) ?? (typedArgs == null ? void 0 : typedArgs.sql) ?? "";
|
|
64937
|
+
const trimmedQuery = sqlQuery.trim();
|
|
64938
|
+
const isRunning = (status == null ? void 0 : status.type) === "running";
|
|
64939
|
+
const isComplete = (status == null ? void 0 : status.type) === "complete";
|
|
64940
|
+
const errorMsg = (status == null ? void 0 : status.type) === "incomplete" ? status.error : null;
|
|
64941
|
+
const parsed = React.useMemo(
|
|
64942
|
+
() => isComplete ? parseSqlResult(result) : null,
|
|
64943
|
+
[result, isComplete]
|
|
64944
|
+
);
|
|
64945
|
+
const querySubtitle = React.useMemo(() => {
|
|
64946
|
+
if (!trimmedQuery) return void 0;
|
|
64947
|
+
const oneLine = trimmedQuery.replace(/\s+/g, " ");
|
|
64948
|
+
return truncate(oneLine, 80);
|
|
64949
|
+
}, [trimmedQuery]);
|
|
64950
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
64951
|
+
ToolCard,
|
|
64952
|
+
{
|
|
64953
|
+
icon: Play,
|
|
64954
|
+
status: (status == null ? void 0 : status.type) ?? "complete",
|
|
64955
|
+
title: isRunning ? "Running SQL query..." : "SQL query",
|
|
64956
|
+
subtitle: querySubtitle,
|
|
64957
|
+
toolName,
|
|
64958
|
+
args: typedArgs,
|
|
64959
|
+
result,
|
|
64960
|
+
badge: isComplete && parsed && parsed.rowCount !== null ? `${parsed.rowCount} ${parsed.rowCount === 1 ? "row" : "rows"}` : void 0,
|
|
64961
|
+
error: errorMsg,
|
|
64962
|
+
children: [
|
|
64963
|
+
trimmedQuery && /* @__PURE__ */ jsxRuntime.jsx(
|
|
64964
|
+
ExpandableSection,
|
|
64965
|
+
{
|
|
64966
|
+
label: "Show query",
|
|
64967
|
+
defaultOpen: isComplete && (!parsed || parsed.rows.length === 0),
|
|
64968
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(SyntaxHighlightedSql, { code: trimmedQuery })
|
|
64969
|
+
}
|
|
64970
|
+
),
|
|
64971
|
+
isComplete && parsed && parsed.rows.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-border/40", children: [
|
|
64972
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-h-72 overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("table", { className: "w-full text-[11px]", children: [
|
|
64973
|
+
/* @__PURE__ */ jsxRuntime.jsx("thead", { className: "sticky top-0 bg-muted/60 backdrop-blur", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: parsed.columns.map((col) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
64974
|
+
"th",
|
|
64975
|
+
{
|
|
64976
|
+
className: "whitespace-nowrap px-2 py-1.5 text-left font-medium text-muted-foreground",
|
|
64977
|
+
children: col
|
|
64978
|
+
},
|
|
64979
|
+
col
|
|
64980
|
+
)) }) }),
|
|
64981
|
+
/* @__PURE__ */ jsxRuntime.jsx("tbody", { children: parsed.rows.slice(0, 50).map((row, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
64982
|
+
"tr",
|
|
64983
|
+
{
|
|
64984
|
+
className: "border-t border-border/30 hover:bg-muted/20",
|
|
64985
|
+
children: parsed.columns.map((col) => {
|
|
64986
|
+
const value = row[col];
|
|
64987
|
+
const isNull = value === null || value === void 0;
|
|
64988
|
+
const str = isNull ? "" : typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
64989
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
64990
|
+
"td",
|
|
64991
|
+
{
|
|
64992
|
+
className: "max-w-[240px] truncate whitespace-nowrap px-2 py-1 text-foreground/80",
|
|
64993
|
+
title: isNull ? "null" : str,
|
|
64994
|
+
children: isNull ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "italic text-muted-foreground/60", children: "null" }) : str
|
|
64995
|
+
},
|
|
64996
|
+
col
|
|
64997
|
+
);
|
|
64998
|
+
})
|
|
64999
|
+
},
|
|
65000
|
+
i
|
|
65001
|
+
)) })
|
|
65002
|
+
] }) }),
|
|
65003
|
+
parsed.rows.length > 50 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-border/30 px-4 py-1.5 text-[10px] text-muted-foreground", children: [
|
|
65004
|
+
"Showing first 50 of ",
|
|
65005
|
+
parsed.rows.length,
|
|
65006
|
+
" rows"
|
|
65007
|
+
] })
|
|
65008
|
+
] }),
|
|
65009
|
+
isComplete && parsed && parsed.rows.length === 0 && parsed.rowCount === 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-border/40 px-4 py-2.5", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] italic text-muted-foreground", children: "Query returned no rows" }) })
|
|
65010
|
+
]
|
|
65011
|
+
}
|
|
65012
|
+
);
|
|
65013
|
+
};
|
|
65014
|
+
const RunSqlToolUI = React.memo(
|
|
65015
|
+
RunSqlToolUIImpl
|
|
65016
|
+
);
|
|
65017
|
+
RunSqlToolUI.displayName = "RunSqlToolUI";
|
|
64473
65018
|
function createAssetToolUI(config2) {
|
|
64474
65019
|
const Component = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
64475
65020
|
CreateAssetToolUIImpl,
|
|
@@ -64499,7 +65044,14 @@ const TOOL_UI_REGISTRY = {
|
|
|
64499
65044
|
create_new_notebook: CreateNotebookToolUI,
|
|
64500
65045
|
execute_presentation_code: ExecutePresentationCodeToolUI,
|
|
64501
65046
|
run_python_code: RunPythonCodeToolUI,
|
|
64502
|
-
open_asset_in_workspace: OpenAssetToolUI
|
|
65047
|
+
open_asset_in_workspace: OpenAssetToolUI,
|
|
65048
|
+
// Database toolkit
|
|
65049
|
+
describe_database: DescribeDatabaseToolUI,
|
|
65050
|
+
list_database_tables: ListDatabaseTablesToolUI,
|
|
65051
|
+
get_database_table_schema: GetDatabaseTableSchemaToolUI,
|
|
65052
|
+
run_sql: RunSqlToolUI,
|
|
65053
|
+
run_database_sql: RunSqlToolUI,
|
|
65054
|
+
run_sql_query_tool: RunSqlToolUI
|
|
64503
65055
|
};
|
|
64504
65056
|
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
64505
65057
|
const cx = clsx;
|
|
@@ -64936,9 +65488,9 @@ const DEFAULT_SUGGESTIONS = [
|
|
|
64936
65488
|
prompt: "Search the web for the latest developments in enterprise AI adoption, then create a document summarizing the key trends, market data, and strategic implications."
|
|
64937
65489
|
},
|
|
64938
65490
|
{
|
|
64939
|
-
icon:
|
|
64940
|
-
title: "
|
|
64941
|
-
prompt: "
|
|
65491
|
+
icon: Search,
|
|
65492
|
+
title: "Compare recent AI model launches",
|
|
65493
|
+
prompt: "Search the web for the latest major AI model launches from OpenAI, Anthropic, and Google, then summarize the release dates, standout capabilities, and practical tradeoffs in a concise comparison table."
|
|
64942
65494
|
},
|
|
64943
65495
|
{
|
|
64944
65496
|
icon: Presentation,
|
|
@@ -65192,10 +65744,11 @@ const ComposerSendWithQuote = () => {
|
|
|
65192
65744
|
const { attachments, clearAttachments, isUploading } = useAttachments();
|
|
65193
65745
|
const editorRef = useComposerEditorRef();
|
|
65194
65746
|
const editorEmpty = useComposerEditorEmpty();
|
|
65747
|
+
const isThreadRunning = useAuiState((s) => s.thread.isRunning);
|
|
65195
65748
|
const hasExtras = !!quote || attachments.length > 0;
|
|
65196
65749
|
const handleSend = React.useCallback(() => {
|
|
65197
65750
|
var _a2;
|
|
65198
|
-
if (isUploading) return;
|
|
65751
|
+
if (isUploading || isThreadRunning) return;
|
|
65199
65752
|
const editor = editorRef.current;
|
|
65200
65753
|
if (!editor && !quote && attachments.length === 0) return;
|
|
65201
65754
|
const userText = ((_a2 = editor == null ? void 0 : editor.getMarkdown()) == null ? void 0 : _a2.trim()) ?? "";
|
|
@@ -65219,7 +65772,7 @@ const ComposerSendWithQuote = () => {
|
|
|
65219
65772
|
composerRuntime.send();
|
|
65220
65773
|
}
|
|
65221
65774
|
editor == null ? void 0 : editor.clear();
|
|
65222
|
-
}, [aui, composerRuntime, quote, attachments, hasExtras, isUploading, clearQuote, clearAttachments, editorRef, appUrl]);
|
|
65775
|
+
}, [aui, composerRuntime, quote, attachments, hasExtras, isUploading, isThreadRunning, clearQuote, clearAttachments, editorRef, appUrl]);
|
|
65223
65776
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
65224
65777
|
TooltipIconButton,
|
|
65225
65778
|
{
|
|
@@ -65231,7 +65784,7 @@ const ComposerSendWithQuote = () => {
|
|
|
65231
65784
|
className: "aui-composer-send size-8 rounded-full",
|
|
65232
65785
|
"aria-label": "Send message",
|
|
65233
65786
|
onClick: handleSend,
|
|
65234
|
-
disabled: isUploading || editorEmpty && !hasExtras,
|
|
65787
|
+
disabled: isUploading || isThreadRunning || editorEmpty && !hasExtras,
|
|
65235
65788
|
children: /* @__PURE__ */ jsxRuntime.jsx(ArrowUp, { className: "aui-composer-send-icon size-4" })
|
|
65236
65789
|
}
|
|
65237
65790
|
);
|
|
@@ -65249,7 +65802,10 @@ const MessageError = () => /* @__PURE__ */ jsxRuntime.jsx(MessagePrimitiveError,
|
|
|
65249
65802
|
}
|
|
65250
65803
|
) })
|
|
65251
65804
|
] }) });
|
|
65252
|
-
const AthenaAssistantMessageEmpty = () =>
|
|
65805
|
+
const AthenaAssistantMessageEmpty = ({ status }) => {
|
|
65806
|
+
if ((status == null ? void 0 : status.type) !== "running") return null;
|
|
65807
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shimmer text-[13px] text-muted-foreground", children: "Thinking..." });
|
|
65808
|
+
};
|
|
65253
65809
|
const AthenaReasoningPart = ({
|
|
65254
65810
|
text: text2,
|
|
65255
65811
|
status,
|
|
@@ -65877,8 +66433,6 @@ const Toolkits = {
|
|
|
65877
66433
|
MARKETING: "marketing_toolkit",
|
|
65878
66434
|
/** FDE implementations and workflows. */
|
|
65879
66435
|
FDE: "fde_toolkit",
|
|
65880
|
-
/** Code repository search via Greptile. */
|
|
65881
|
-
GREPTILE: "greptile_toolkit",
|
|
65882
66436
|
/** SharePoint / Google Drive / workspace file access. */
|
|
65883
66437
|
EXTERNAL_DRIVE: "external_drive_toolkit",
|
|
65884
66438
|
/** Reusable playbooks and prompts. */
|
|
@@ -65916,12 +66470,16 @@ exports.CreateSheetToolUI = CreateSheetToolUI;
|
|
|
65916
66470
|
exports.DEFAULT_API_URL = DEFAULT_API_URL;
|
|
65917
66471
|
exports.DEFAULT_APP_URL = DEFAULT_APP_URL;
|
|
65918
66472
|
exports.DEFAULT_BACKEND_URL = DEFAULT_BACKEND_URL;
|
|
66473
|
+
exports.DescribeDatabaseToolUI = DescribeDatabaseToolUI;
|
|
65919
66474
|
exports.EmailSearchToolUI = EmailSearchToolUI;
|
|
65920
66475
|
exports.ExpandableSection = ExpandableSection;
|
|
65921
66476
|
exports.FileUploadButton = FileUploadButton;
|
|
66477
|
+
exports.GetDatabaseTableSchemaToolUI = GetDatabaseTableSchemaToolUI;
|
|
66478
|
+
exports.ListDatabaseTablesToolUI = ListDatabaseTablesToolUI;
|
|
65922
66479
|
exports.OpenAssetToolUI = OpenAssetToolUI;
|
|
65923
66480
|
exports.ReadAssetToolUI = ReadAssetToolUI;
|
|
65924
66481
|
exports.RunPythonCodeToolUI = RunPythonCodeToolUI;
|
|
66482
|
+
exports.RunSqlToolUI = RunSqlToolUI;
|
|
65925
66483
|
exports.TOOL_UI_REGISTRY = TOOL_UI_REGISTRY;
|
|
65926
66484
|
exports.ThreadList = ThreadList;
|
|
65927
66485
|
exports.TiptapComposer = TiptapComposer;
|