@athenaintel/react 0.11.2 → 0.12.0
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/README.md +19 -6
- package/dist/index.cjs +349 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +349 -93
- package/dist/index.js.map +1 -1
- package/dist/runtime/transport.d.ts +5 -2
- package/dist/styles.css +1 -1
- package/dist/tools/write-todos-tool-ui.d.ts +17 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -72,7 +72,7 @@ function _interopNamespaceDefault(e) {
|
|
|
72
72
|
}
|
|
73
73
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
74
74
|
const ReactDOM__namespace = /* @__PURE__ */ _interopNamespaceDefault(ReactDOM);
|
|
75
|
-
const version$1 = "0.
|
|
75
|
+
const version$1 = "0.12.0";
|
|
76
76
|
const packageJson = {
|
|
77
77
|
version: version$1
|
|
78
78
|
};
|
|
@@ -11588,7 +11588,7 @@ const sanitizeConnectionMessage = (message) => {
|
|
|
11588
11588
|
}).join("").replace(/\s+/g, " ").trim();
|
|
11589
11589
|
return printable ? printable.slice(0, 200) : void 0;
|
|
11590
11590
|
};
|
|
11591
|
-
function projectDeepAgentConnection(connection) {
|
|
11591
|
+
function projectDeepAgentConnection(connection, { awaitingFirstSend = false } = {}) {
|
|
11592
11592
|
if (connection.status === "reconnecting") {
|
|
11593
11593
|
const message = connection.message === void 0 ? void 0 : sanitizeConnectionMessage(connection.message);
|
|
11594
11594
|
return {
|
|
@@ -11605,6 +11605,7 @@ function projectDeepAgentConnection(connection) {
|
|
|
11605
11605
|
...message !== void 0 && { message }
|
|
11606
11606
|
};
|
|
11607
11607
|
}
|
|
11608
|
+
if (connection.status === "connecting" && awaitingFirstSend) return { status: "ready" };
|
|
11608
11609
|
return { status: connection.status };
|
|
11609
11610
|
}
|
|
11610
11611
|
const buildOptimisticHumanContent = (parts) => {
|
|
@@ -12029,6 +12030,9 @@ function useDeepAgentThread({
|
|
|
12029
12030
|
const preloadRef = React.useRef({ threadId, preload: isNewChat });
|
|
12030
12031
|
if (preloadRef.current.threadId !== threadId)
|
|
12031
12032
|
preloadRef.current = { threadId, preload: isNewChat };
|
|
12033
|
+
const awaitingFirstSendRef = React.useRef({ threadId, awaiting: isNewChat });
|
|
12034
|
+
if (awaitingFirstSendRef.current.threadId !== threadId)
|
|
12035
|
+
awaitingFirstSendRef.current = { threadId, awaiting: isNewChat };
|
|
12032
12036
|
return reactStatewire.StatewireThread({
|
|
12033
12037
|
// New threads preload an empty runs mount and project "ready" — the
|
|
12034
12038
|
// composer is interactive before the stream attaches and pre-attach sends
|
|
@@ -12088,7 +12092,7 @@ function useDeepAgentThread({
|
|
|
12088
12092
|
// former `runs: true` opt-in is gone) — the converter only maps app-owned
|
|
12089
12093
|
// keys, including the `run/stop` runId stamp the lib projects itself.
|
|
12090
12094
|
converter: (state, meta) => {
|
|
12091
|
-
var _a3, _b2;
|
|
12095
|
+
var _a3, _b2, _c2, _d2;
|
|
12092
12096
|
if (authDenialRef.current.attachId !== attachIdRef.current) {
|
|
12093
12097
|
authDenialRef.current = {
|
|
12094
12098
|
attachId: attachIdRef.current,
|
|
@@ -12107,7 +12111,15 @@ function useDeepAgentThread({
|
|
|
12107
12111
|
);
|
|
12108
12112
|
});
|
|
12109
12113
|
}
|
|
12110
|
-
|
|
12114
|
+
if (awaitingFirstSendRef.current.awaiting && ((((_a3 = state == null ? void 0 : state.runs) == null ? void 0 : _a3.length) ?? 0) > 0 || (((_b2 = state == null ? void 0 : state.messages) == null ? void 0 : _b2.length) ?? 0) > 0)) {
|
|
12115
|
+
awaitingFirstSendRef.current = {
|
|
12116
|
+
threadId: awaitingFirstSendRef.current.threadId,
|
|
12117
|
+
awaiting: false
|
|
12118
|
+
};
|
|
12119
|
+
}
|
|
12120
|
+
const connection = projectDeepAgentConnection(meta.connection, {
|
|
12121
|
+
awaitingFirstSend: awaitingFirstSendRef.current.awaiting
|
|
12122
|
+
});
|
|
12111
12123
|
const previous = lastConnectionRef.current;
|
|
12112
12124
|
if ((previous == null ? void 0 : previous.threadId) !== attachId || previous.connection.status !== connection.status || previous.connection.cause !== connection.cause || previous.connection.message !== connection.message || previous.connection.attempt !== connection.attempt) {
|
|
12113
12125
|
const update = { threadId: attachId, connection };
|
|
@@ -12118,7 +12130,7 @@ function useDeepAgentThread({
|
|
|
12118
12130
|
(_a4 = onConnectionChangeRef.current) == null ? void 0 : _a4.call(onConnectionChangeRef, connection);
|
|
12119
12131
|
});
|
|
12120
12132
|
}
|
|
12121
|
-
return converter(state, ((
|
|
12133
|
+
return converter(state, ((_d2 = (_c2 = state == null ? void 0 : state.runs) == null ? void 0 : _c2[0]) == null ? void 0 : _d2.status) === "running");
|
|
12122
12134
|
},
|
|
12123
12135
|
// Makes the server's dispatch record concrete in state (after the
|
|
12124
12136
|
// optimistic folds); the lib's post-converter dispatch merge turns off.
|
|
@@ -12552,7 +12564,7 @@ const ATHENA_TRANSPORTS = {
|
|
|
12552
12564
|
legacy: "legacy",
|
|
12553
12565
|
statewire: "statewire"
|
|
12554
12566
|
};
|
|
12555
|
-
const DEFAULT_ATHENA_TRANSPORT = ATHENA_TRANSPORTS.
|
|
12567
|
+
const DEFAULT_ATHENA_TRANSPORT = ATHENA_TRANSPORTS.statewire;
|
|
12556
12568
|
function resolveAthenaTransport({
|
|
12557
12569
|
transport
|
|
12558
12570
|
}) {
|
|
@@ -51641,63 +51653,63 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
51641
51653
|
* This source code is licensed under the ISC license.
|
|
51642
51654
|
* See the LICENSE file in the root directory of this source tree.
|
|
51643
51655
|
*/
|
|
51644
|
-
const __iconNode$
|
|
51656
|
+
const __iconNode$1e = [
|
|
51645
51657
|
["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
|
|
51646
51658
|
["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "1s80jp" }],
|
|
51647
51659
|
["path", { d: "M10 12h4", key: "a56b0p" }]
|
|
51648
51660
|
];
|
|
51649
|
-
const Archive = createLucideIcon("archive", __iconNode$
|
|
51661
|
+
const Archive = createLucideIcon("archive", __iconNode$1e);
|
|
51650
51662
|
/**
|
|
51651
51663
|
* @license lucide-react v0.575.0 - ISC
|
|
51652
51664
|
*
|
|
51653
51665
|
* This source code is licensed under the ISC license.
|
|
51654
51666
|
* See the LICENSE file in the root directory of this source tree.
|
|
51655
51667
|
*/
|
|
51656
|
-
const __iconNode$
|
|
51668
|
+
const __iconNode$1d = [
|
|
51657
51669
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
51658
51670
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
51659
51671
|
];
|
|
51660
|
-
const ArrowDown = createLucideIcon("arrow-down", __iconNode$
|
|
51672
|
+
const ArrowDown = createLucideIcon("arrow-down", __iconNode$1d);
|
|
51661
51673
|
/**
|
|
51662
51674
|
* @license lucide-react v0.575.0 - ISC
|
|
51663
51675
|
*
|
|
51664
51676
|
* This source code is licensed under the ISC license.
|
|
51665
51677
|
* See the LICENSE file in the root directory of this source tree.
|
|
51666
51678
|
*/
|
|
51667
|
-
const __iconNode$
|
|
51679
|
+
const __iconNode$1c = [
|
|
51668
51680
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
51669
51681
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
51670
51682
|
];
|
|
51671
|
-
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$
|
|
51683
|
+
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1c);
|
|
51672
51684
|
/**
|
|
51673
51685
|
* @license lucide-react v0.575.0 - ISC
|
|
51674
51686
|
*
|
|
51675
51687
|
* This source code is licensed under the ISC license.
|
|
51676
51688
|
* See the LICENSE file in the root directory of this source tree.
|
|
51677
51689
|
*/
|
|
51678
|
-
const __iconNode$
|
|
51690
|
+
const __iconNode$1b = [
|
|
51679
51691
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
51680
51692
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
51681
51693
|
];
|
|
51682
|
-
const ArrowRight = createLucideIcon("arrow-right", __iconNode$
|
|
51694
|
+
const ArrowRight = createLucideIcon("arrow-right", __iconNode$1b);
|
|
51683
51695
|
/**
|
|
51684
51696
|
* @license lucide-react v0.575.0 - ISC
|
|
51685
51697
|
*
|
|
51686
51698
|
* This source code is licensed under the ISC license.
|
|
51687
51699
|
* See the LICENSE file in the root directory of this source tree.
|
|
51688
51700
|
*/
|
|
51689
|
-
const __iconNode$
|
|
51701
|
+
const __iconNode$1a = [
|
|
51690
51702
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
51691
51703
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
51692
51704
|
];
|
|
51693
|
-
const ArrowUp = createLucideIcon("arrow-up", __iconNode$
|
|
51705
|
+
const ArrowUp = createLucideIcon("arrow-up", __iconNode$1a);
|
|
51694
51706
|
/**
|
|
51695
51707
|
* @license lucide-react v0.575.0 - ISC
|
|
51696
51708
|
*
|
|
51697
51709
|
* This source code is licensed under the ISC license.
|
|
51698
51710
|
* See the LICENSE file in the root directory of this source tree.
|
|
51699
51711
|
*/
|
|
51700
|
-
const __iconNode$
|
|
51712
|
+
const __iconNode$19 = [
|
|
51701
51713
|
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
51702
51714
|
[
|
|
51703
51715
|
"path",
|
|
@@ -51707,14 +51719,14 @@ const __iconNode$18 = [
|
|
|
51707
51719
|
}
|
|
51708
51720
|
]
|
|
51709
51721
|
];
|
|
51710
|
-
const BookOpen = createLucideIcon("book-open", __iconNode$
|
|
51722
|
+
const BookOpen = createLucideIcon("book-open", __iconNode$19);
|
|
51711
51723
|
/**
|
|
51712
51724
|
* @license lucide-react v0.575.0 - ISC
|
|
51713
51725
|
*
|
|
51714
51726
|
* This source code is licensed under the ISC license.
|
|
51715
51727
|
* See the LICENSE file in the root directory of this source tree.
|
|
51716
51728
|
*/
|
|
51717
|
-
const __iconNode$
|
|
51729
|
+
const __iconNode$18 = [
|
|
51718
51730
|
[
|
|
51719
51731
|
"path",
|
|
51720
51732
|
{
|
|
@@ -51746,14 +51758,14 @@ const __iconNode$17 = [
|
|
|
51746
51758
|
["path", { d: "m12 8 4.74-2.85", key: "3rx089" }],
|
|
51747
51759
|
["path", { d: "M12 13.5V8", key: "1io7kd" }]
|
|
51748
51760
|
];
|
|
51749
|
-
const Boxes = createLucideIcon("boxes", __iconNode$
|
|
51761
|
+
const Boxes = createLucideIcon("boxes", __iconNode$18);
|
|
51750
51762
|
/**
|
|
51751
51763
|
* @license lucide-react v0.575.0 - ISC
|
|
51752
51764
|
*
|
|
51753
51765
|
* This source code is licensed under the ISC license.
|
|
51754
51766
|
* See the LICENSE file in the root directory of this source tree.
|
|
51755
51767
|
*/
|
|
51756
|
-
const __iconNode$
|
|
51768
|
+
const __iconNode$17 = [
|
|
51757
51769
|
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
51758
51770
|
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
51759
51771
|
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
@@ -51763,27 +51775,27 @@ const __iconNode$16 = [
|
|
|
51763
51775
|
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
51764
51776
|
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
51765
51777
|
];
|
|
51766
|
-
const Brain = createLucideIcon("brain", __iconNode$
|
|
51778
|
+
const Brain = createLucideIcon("brain", __iconNode$17);
|
|
51767
51779
|
/**
|
|
51768
51780
|
* @license lucide-react v0.575.0 - ISC
|
|
51769
51781
|
*
|
|
51770
51782
|
* This source code is licensed under the ISC license.
|
|
51771
51783
|
* See the LICENSE file in the root directory of this source tree.
|
|
51772
51784
|
*/
|
|
51773
|
-
const __iconNode$
|
|
51785
|
+
const __iconNode$16 = [
|
|
51774
51786
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
51775
51787
|
["path", { d: "M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2", key: "1ksdt3" }],
|
|
51776
51788
|
["path", { d: "M22 13a18.15 18.15 0 0 1-20 0", key: "12hx5q" }],
|
|
51777
51789
|
["rect", { width: "20", height: "14", x: "2", y: "6", rx: "2", key: "i6l2r4" }]
|
|
51778
51790
|
];
|
|
51779
|
-
const BriefcaseBusiness = createLucideIcon("briefcase-business", __iconNode$
|
|
51791
|
+
const BriefcaseBusiness = createLucideIcon("briefcase-business", __iconNode$16);
|
|
51780
51792
|
/**
|
|
51781
51793
|
* @license lucide-react v0.575.0 - ISC
|
|
51782
51794
|
*
|
|
51783
51795
|
* This source code is licensed under the ISC license.
|
|
51784
51796
|
* See the LICENSE file in the root directory of this source tree.
|
|
51785
51797
|
*/
|
|
51786
|
-
const __iconNode$
|
|
51798
|
+
const __iconNode$15 = [
|
|
51787
51799
|
[
|
|
51788
51800
|
"path",
|
|
51789
51801
|
{ d: "M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z", key: "trhst0" }
|
|
@@ -51798,27 +51810,27 @@ const __iconNode$14 = [
|
|
|
51798
51810
|
],
|
|
51799
51811
|
["path", { d: "M7 5V3", key: "1t1388" }]
|
|
51800
51812
|
];
|
|
51801
|
-
const Cable = createLucideIcon("cable", __iconNode$
|
|
51813
|
+
const Cable = createLucideIcon("cable", __iconNode$15);
|
|
51802
51814
|
/**
|
|
51803
51815
|
* @license lucide-react v0.575.0 - ISC
|
|
51804
51816
|
*
|
|
51805
51817
|
* This source code is licensed under the ISC license.
|
|
51806
51818
|
* See the LICENSE file in the root directory of this source tree.
|
|
51807
51819
|
*/
|
|
51808
|
-
const __iconNode$
|
|
51820
|
+
const __iconNode$14 = [
|
|
51809
51821
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
51810
51822
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
51811
51823
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
51812
51824
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
51813
51825
|
];
|
|
51814
|
-
const Calendar = createLucideIcon("calendar", __iconNode$
|
|
51826
|
+
const Calendar = createLucideIcon("calendar", __iconNode$14);
|
|
51815
51827
|
/**
|
|
51816
51828
|
* @license lucide-react v0.575.0 - ISC
|
|
51817
51829
|
*
|
|
51818
51830
|
* This source code is licensed under the ISC license.
|
|
51819
51831
|
* See the LICENSE file in the root directory of this source tree.
|
|
51820
51832
|
*/
|
|
51821
|
-
const __iconNode$
|
|
51833
|
+
const __iconNode$13 = [
|
|
51822
51834
|
[
|
|
51823
51835
|
"path",
|
|
51824
51836
|
{
|
|
@@ -51828,211 +51840,211 @@ const __iconNode$12 = [
|
|
|
51828
51840
|
],
|
|
51829
51841
|
["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
|
|
51830
51842
|
];
|
|
51831
|
-
const Camera = createLucideIcon("camera", __iconNode$
|
|
51843
|
+
const Camera = createLucideIcon("camera", __iconNode$13);
|
|
51832
51844
|
/**
|
|
51833
51845
|
* @license lucide-react v0.575.0 - ISC
|
|
51834
51846
|
*
|
|
51835
51847
|
* This source code is licensed under the ISC license.
|
|
51836
51848
|
* See the LICENSE file in the root directory of this source tree.
|
|
51837
51849
|
*/
|
|
51838
|
-
const __iconNode$
|
|
51850
|
+
const __iconNode$12 = [
|
|
51839
51851
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
51840
51852
|
["path", { d: "M7 16h8", key: "srdodz" }],
|
|
51841
51853
|
["path", { d: "M7 11h12", key: "127s9w" }],
|
|
51842
51854
|
["path", { d: "M7 6h3", key: "w9rmul" }]
|
|
51843
51855
|
];
|
|
51844
|
-
const ChartBar = createLucideIcon("chart-bar", __iconNode$
|
|
51856
|
+
const ChartBar = createLucideIcon("chart-bar", __iconNode$12);
|
|
51845
51857
|
/**
|
|
51846
51858
|
* @license lucide-react v0.575.0 - ISC
|
|
51847
51859
|
*
|
|
51848
51860
|
* This source code is licensed under the ISC license.
|
|
51849
51861
|
* See the LICENSE file in the root directory of this source tree.
|
|
51850
51862
|
*/
|
|
51851
|
-
const __iconNode$
|
|
51863
|
+
const __iconNode$11 = [
|
|
51852
51864
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
51853
51865
|
["path", { d: "M18 17V9", key: "2bz60n" }],
|
|
51854
51866
|
["path", { d: "M13 17V5", key: "1frdt8" }],
|
|
51855
51867
|
["path", { d: "M8 17v-3", key: "17ska0" }]
|
|
51856
51868
|
];
|
|
51857
|
-
const ChartColumn = createLucideIcon("chart-column", __iconNode$
|
|
51869
|
+
const ChartColumn = createLucideIcon("chart-column", __iconNode$11);
|
|
51858
51870
|
/**
|
|
51859
51871
|
* @license lucide-react v0.575.0 - ISC
|
|
51860
51872
|
*
|
|
51861
51873
|
* This source code is licensed under the ISC license.
|
|
51862
51874
|
* See the LICENSE file in the root directory of this source tree.
|
|
51863
51875
|
*/
|
|
51864
|
-
const __iconNode
|
|
51865
|
-
const Check = createLucideIcon("check", __iconNode
|
|
51876
|
+
const __iconNode$10 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
51877
|
+
const Check = createLucideIcon("check", __iconNode$10);
|
|
51866
51878
|
/**
|
|
51867
51879
|
* @license lucide-react v0.575.0 - ISC
|
|
51868
51880
|
*
|
|
51869
51881
|
* This source code is licensed under the ISC license.
|
|
51870
51882
|
* See the LICENSE file in the root directory of this source tree.
|
|
51871
51883
|
*/
|
|
51872
|
-
const __iconNode
|
|
51873
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode
|
|
51884
|
+
const __iconNode$$ = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
51885
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$$);
|
|
51874
51886
|
/**
|
|
51875
51887
|
* @license lucide-react v0.575.0 - ISC
|
|
51876
51888
|
*
|
|
51877
51889
|
* This source code is licensed under the ISC license.
|
|
51878
51890
|
* See the LICENSE file in the root directory of this source tree.
|
|
51879
51891
|
*/
|
|
51880
|
-
const __iconNode$
|
|
51881
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
51892
|
+
const __iconNode$_ = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
51893
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$_);
|
|
51882
51894
|
/**
|
|
51883
51895
|
* @license lucide-react v0.575.0 - ISC
|
|
51884
51896
|
*
|
|
51885
51897
|
* This source code is licensed under the ISC license.
|
|
51886
51898
|
* See the LICENSE file in the root directory of this source tree.
|
|
51887
51899
|
*/
|
|
51888
|
-
const __iconNode$
|
|
51889
|
-
const ChevronUp = createLucideIcon("chevron-up", __iconNode$
|
|
51900
|
+
const __iconNode$Z = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
51901
|
+
const ChevronUp = createLucideIcon("chevron-up", __iconNode$Z);
|
|
51890
51902
|
/**
|
|
51891
51903
|
* @license lucide-react v0.575.0 - ISC
|
|
51892
51904
|
*
|
|
51893
51905
|
* This source code is licensed under the ISC license.
|
|
51894
51906
|
* See the LICENSE file in the root directory of this source tree.
|
|
51895
51907
|
*/
|
|
51896
|
-
const __iconNode$
|
|
51908
|
+
const __iconNode$Y = [
|
|
51897
51909
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
51898
51910
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
51899
51911
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
51900
51912
|
];
|
|
51901
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
51913
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$Y);
|
|
51902
51914
|
/**
|
|
51903
51915
|
* @license lucide-react v0.575.0 - ISC
|
|
51904
51916
|
*
|
|
51905
51917
|
* This source code is licensed under the ISC license.
|
|
51906
51918
|
* See the LICENSE file in the root directory of this source tree.
|
|
51907
51919
|
*/
|
|
51908
|
-
const __iconNode$
|
|
51920
|
+
const __iconNode$X = [
|
|
51909
51921
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
51910
51922
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
51911
51923
|
];
|
|
51912
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
51924
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$X);
|
|
51913
51925
|
/**
|
|
51914
51926
|
* @license lucide-react v0.575.0 - ISC
|
|
51915
51927
|
*
|
|
51916
51928
|
* This source code is licensed under the ISC license.
|
|
51917
51929
|
* See the LICENSE file in the root directory of this source tree.
|
|
51918
51930
|
*/
|
|
51919
|
-
const __iconNode$
|
|
51931
|
+
const __iconNode$W = [
|
|
51920
51932
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
51921
51933
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
51922
51934
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
51923
51935
|
];
|
|
51924
|
-
const CircleX = createLucideIcon("circle-x", __iconNode$
|
|
51936
|
+
const CircleX = createLucideIcon("circle-x", __iconNode$W);
|
|
51925
51937
|
/**
|
|
51926
51938
|
* @license lucide-react v0.575.0 - ISC
|
|
51927
51939
|
*
|
|
51928
51940
|
* This source code is licensed under the ISC license.
|
|
51929
51941
|
* See the LICENSE file in the root directory of this source tree.
|
|
51930
51942
|
*/
|
|
51931
|
-
const __iconNode$
|
|
51932
|
-
const Circle = createLucideIcon("circle", __iconNode$
|
|
51943
|
+
const __iconNode$V = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
51944
|
+
const Circle = createLucideIcon("circle", __iconNode$V);
|
|
51933
51945
|
/**
|
|
51934
51946
|
* @license lucide-react v0.575.0 - ISC
|
|
51935
51947
|
*
|
|
51936
51948
|
* This source code is licensed under the ISC license.
|
|
51937
51949
|
* See the LICENSE file in the root directory of this source tree.
|
|
51938
51950
|
*/
|
|
51939
|
-
const __iconNode$
|
|
51951
|
+
const __iconNode$U = [
|
|
51940
51952
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
51941
51953
|
["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" }],
|
|
51942
51954
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v4", key: "3hqy98" }],
|
|
51943
51955
|
["path", { d: "M21 14H11", key: "1bme5i" }],
|
|
51944
51956
|
["path", { d: "m15 10-4 4 4 4", key: "5dvupr" }]
|
|
51945
51957
|
];
|
|
51946
|
-
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$
|
|
51958
|
+
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$U);
|
|
51947
51959
|
/**
|
|
51948
51960
|
* @license lucide-react v0.575.0 - ISC
|
|
51949
51961
|
*
|
|
51950
51962
|
* This source code is licensed under the ISC license.
|
|
51951
51963
|
* See the LICENSE file in the root directory of this source tree.
|
|
51952
51964
|
*/
|
|
51953
|
-
const __iconNode$
|
|
51965
|
+
const __iconNode$T = [
|
|
51954
51966
|
["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
|
|
51955
51967
|
["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
|
|
51956
51968
|
["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
|
|
51957
51969
|
];
|
|
51958
|
-
const CodeXml = createLucideIcon("code-xml", __iconNode$
|
|
51970
|
+
const CodeXml = createLucideIcon("code-xml", __iconNode$T);
|
|
51959
51971
|
/**
|
|
51960
51972
|
* @license lucide-react v0.575.0 - ISC
|
|
51961
51973
|
*
|
|
51962
51974
|
* This source code is licensed under the ISC license.
|
|
51963
51975
|
* See the LICENSE file in the root directory of this source tree.
|
|
51964
51976
|
*/
|
|
51965
|
-
const __iconNode$
|
|
51977
|
+
const __iconNode$S = [
|
|
51966
51978
|
["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
|
|
51967
51979
|
["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
|
|
51968
51980
|
];
|
|
51969
|
-
const Code = createLucideIcon("code", __iconNode$
|
|
51981
|
+
const Code = createLucideIcon("code", __iconNode$S);
|
|
51970
51982
|
/**
|
|
51971
51983
|
* @license lucide-react v0.575.0 - ISC
|
|
51972
51984
|
*
|
|
51973
51985
|
* This source code is licensed under the ISC license.
|
|
51974
51986
|
* See the LICENSE file in the root directory of this source tree.
|
|
51975
51987
|
*/
|
|
51976
|
-
const __iconNode$
|
|
51988
|
+
const __iconNode$R = [
|
|
51977
51989
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
51978
51990
|
["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" }]
|
|
51979
51991
|
];
|
|
51980
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
51992
|
+
const Copy = createLucideIcon("copy", __iconNode$R);
|
|
51981
51993
|
/**
|
|
51982
51994
|
* @license lucide-react v0.575.0 - ISC
|
|
51983
51995
|
*
|
|
51984
51996
|
* This source code is licensed under the ISC license.
|
|
51985
51997
|
* See the LICENSE file in the root directory of this source tree.
|
|
51986
51998
|
*/
|
|
51987
|
-
const __iconNode$
|
|
51999
|
+
const __iconNode$Q = [
|
|
51988
52000
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
51989
52001
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
51990
52002
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
51991
52003
|
];
|
|
51992
|
-
const Database = createLucideIcon("database", __iconNode$
|
|
52004
|
+
const Database = createLucideIcon("database", __iconNode$Q);
|
|
51993
52005
|
/**
|
|
51994
52006
|
* @license lucide-react v0.575.0 - ISC
|
|
51995
52007
|
*
|
|
51996
52008
|
* This source code is licensed under the ISC license.
|
|
51997
52009
|
* See the LICENSE file in the root directory of this source tree.
|
|
51998
52010
|
*/
|
|
51999
|
-
const __iconNode$
|
|
52011
|
+
const __iconNode$P = [
|
|
52000
52012
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
52001
52013
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
52002
52014
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
52003
52015
|
];
|
|
52004
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
52016
|
+
const Download = createLucideIcon("download", __iconNode$P);
|
|
52005
52017
|
/**
|
|
52006
52018
|
* @license lucide-react v0.575.0 - ISC
|
|
52007
52019
|
*
|
|
52008
52020
|
* This source code is licensed under the ISC license.
|
|
52009
52021
|
* See the LICENSE file in the root directory of this source tree.
|
|
52010
52022
|
*/
|
|
52011
|
-
const __iconNode$
|
|
52023
|
+
const __iconNode$O = [
|
|
52012
52024
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
52013
52025
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
52014
52026
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
52015
52027
|
];
|
|
52016
|
-
const Ellipsis = createLucideIcon("ellipsis", __iconNode$
|
|
52028
|
+
const Ellipsis = createLucideIcon("ellipsis", __iconNode$O);
|
|
52017
52029
|
/**
|
|
52018
52030
|
* @license lucide-react v0.575.0 - ISC
|
|
52019
52031
|
*
|
|
52020
52032
|
* This source code is licensed under the ISC license.
|
|
52021
52033
|
* See the LICENSE file in the root directory of this source tree.
|
|
52022
52034
|
*/
|
|
52023
|
-
const __iconNode$
|
|
52035
|
+
const __iconNode$N = [
|
|
52024
52036
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
52025
52037
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
52026
52038
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
52027
52039
|
];
|
|
52028
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
52040
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$N);
|
|
52029
52041
|
/**
|
|
52030
52042
|
* @license lucide-react v0.575.0 - ISC
|
|
52031
52043
|
*
|
|
52032
52044
|
* This source code is licensed under the ISC license.
|
|
52033
52045
|
* See the LICENSE file in the root directory of this source tree.
|
|
52034
52046
|
*/
|
|
52035
|
-
const __iconNode$
|
|
52047
|
+
const __iconNode$M = [
|
|
52036
52048
|
[
|
|
52037
52049
|
"path",
|
|
52038
52050
|
{
|
|
@@ -52044,14 +52056,14 @@ const __iconNode$L = [
|
|
|
52044
52056
|
["path", { d: "M9 15h6", key: "cctwl0" }],
|
|
52045
52057
|
["path", { d: "M12 18v-6", key: "17g6i2" }]
|
|
52046
52058
|
];
|
|
52047
|
-
const FilePlus = createLucideIcon("file-plus", __iconNode$
|
|
52059
|
+
const FilePlus = createLucideIcon("file-plus", __iconNode$M);
|
|
52048
52060
|
/**
|
|
52049
52061
|
* @license lucide-react v0.575.0 - ISC
|
|
52050
52062
|
*
|
|
52051
52063
|
* This source code is licensed under the ISC license.
|
|
52052
52064
|
* See the LICENSE file in the root directory of this source tree.
|
|
52053
52065
|
*/
|
|
52054
|
-
const __iconNode$
|
|
52066
|
+
const __iconNode$L = [
|
|
52055
52067
|
[
|
|
52056
52068
|
"path",
|
|
52057
52069
|
{
|
|
@@ -52065,14 +52077,14 @@ const __iconNode$K = [
|
|
|
52065
52077
|
["path", { d: "M8 17h2", key: "2yhykz" }],
|
|
52066
52078
|
["path", { d: "M14 17h2", key: "10kma7" }]
|
|
52067
52079
|
];
|
|
52068
|
-
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$
|
|
52080
|
+
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$L);
|
|
52069
52081
|
/**
|
|
52070
52082
|
* @license lucide-react v0.575.0 - ISC
|
|
52071
52083
|
*
|
|
52072
52084
|
* This source code is licensed under the ISC license.
|
|
52073
52085
|
* See the LICENSE file in the root directory of this source tree.
|
|
52074
52086
|
*/
|
|
52075
|
-
const __iconNode$
|
|
52087
|
+
const __iconNode$K = [
|
|
52076
52088
|
[
|
|
52077
52089
|
"path",
|
|
52078
52090
|
{
|
|
@@ -52085,14 +52097,14 @@ const __iconNode$J = [
|
|
|
52085
52097
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
52086
52098
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
52087
52099
|
];
|
|
52088
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
52100
|
+
const FileText = createLucideIcon("file-text", __iconNode$K);
|
|
52089
52101
|
/**
|
|
52090
52102
|
* @license lucide-react v0.575.0 - ISC
|
|
52091
52103
|
*
|
|
52092
52104
|
* This source code is licensed under the ISC license.
|
|
52093
52105
|
* See the LICENSE file in the root directory of this source tree.
|
|
52094
52106
|
*/
|
|
52095
|
-
const __iconNode$
|
|
52107
|
+
const __iconNode$J = [
|
|
52096
52108
|
[
|
|
52097
52109
|
"path",
|
|
52098
52110
|
{
|
|
@@ -52102,14 +52114,14 @@ const __iconNode$I = [
|
|
|
52102
52114
|
],
|
|
52103
52115
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
|
|
52104
52116
|
];
|
|
52105
|
-
const File$1 = createLucideIcon("file", __iconNode$
|
|
52117
|
+
const File$1 = createLucideIcon("file", __iconNode$J);
|
|
52106
52118
|
/**
|
|
52107
52119
|
* @license lucide-react v0.575.0 - ISC
|
|
52108
52120
|
*
|
|
52109
52121
|
* This source code is licensed under the ISC license.
|
|
52110
52122
|
* See the LICENSE file in the root directory of this source tree.
|
|
52111
52123
|
*/
|
|
52112
|
-
const __iconNode$
|
|
52124
|
+
const __iconNode$I = [
|
|
52113
52125
|
[
|
|
52114
52126
|
"path",
|
|
52115
52127
|
{
|
|
@@ -52121,14 +52133,14 @@ const __iconNode$H = [
|
|
|
52121
52133
|
["path", { d: "M12 10v2", key: "hh53o1" }],
|
|
52122
52134
|
["path", { d: "M16 10v6", key: "1d6xys" }]
|
|
52123
52135
|
];
|
|
52124
|
-
const FolderKanban = createLucideIcon("folder-kanban", __iconNode$
|
|
52136
|
+
const FolderKanban = createLucideIcon("folder-kanban", __iconNode$I);
|
|
52125
52137
|
/**
|
|
52126
52138
|
* @license lucide-react v0.575.0 - ISC
|
|
52127
52139
|
*
|
|
52128
52140
|
* This source code is licensed under the ISC license.
|
|
52129
52141
|
* See the LICENSE file in the root directory of this source tree.
|
|
52130
52142
|
*/
|
|
52131
|
-
const __iconNode$
|
|
52143
|
+
const __iconNode$H = [
|
|
52132
52144
|
[
|
|
52133
52145
|
"path",
|
|
52134
52146
|
{
|
|
@@ -52137,14 +52149,14 @@ const __iconNode$G = [
|
|
|
52137
52149
|
}
|
|
52138
52150
|
]
|
|
52139
52151
|
];
|
|
52140
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
52152
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$H);
|
|
52141
52153
|
/**
|
|
52142
52154
|
* @license lucide-react v0.575.0 - ISC
|
|
52143
52155
|
*
|
|
52144
52156
|
* This source code is licensed under the ISC license.
|
|
52145
52157
|
* See the LICENSE file in the root directory of this source tree.
|
|
52146
52158
|
*/
|
|
52147
|
-
const __iconNode$
|
|
52159
|
+
const __iconNode$G = [
|
|
52148
52160
|
[
|
|
52149
52161
|
"path",
|
|
52150
52162
|
{
|
|
@@ -52153,26 +52165,26 @@ const __iconNode$F = [
|
|
|
52153
52165
|
}
|
|
52154
52166
|
]
|
|
52155
52167
|
];
|
|
52156
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
52168
|
+
const Folder = createLucideIcon("folder", __iconNode$G);
|
|
52157
52169
|
/**
|
|
52158
52170
|
* @license lucide-react v0.575.0 - ISC
|
|
52159
52171
|
*
|
|
52160
52172
|
* This source code is licensed under the ISC license.
|
|
52161
52173
|
* See the LICENSE file in the root directory of this source tree.
|
|
52162
52174
|
*/
|
|
52163
|
-
const __iconNode$
|
|
52175
|
+
const __iconNode$F = [
|
|
52164
52176
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
52165
52177
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
52166
52178
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
52167
52179
|
];
|
|
52168
|
-
const Globe = createLucideIcon("globe", __iconNode$
|
|
52180
|
+
const Globe = createLucideIcon("globe", __iconNode$F);
|
|
52169
52181
|
/**
|
|
52170
52182
|
* @license lucide-react v0.575.0 - ISC
|
|
52171
52183
|
*
|
|
52172
52184
|
* This source code is licensed under the ISC license.
|
|
52173
52185
|
* See the LICENSE file in the root directory of this source tree.
|
|
52174
52186
|
*/
|
|
52175
|
-
const __iconNode$
|
|
52187
|
+
const __iconNode$E = [
|
|
52176
52188
|
["path", { d: "M10 16h.01", key: "1bzywj" }],
|
|
52177
52189
|
[
|
|
52178
52190
|
"path",
|
|
@@ -52184,26 +52196,26 @@ const __iconNode$D = [
|
|
|
52184
52196
|
["path", { d: "M21.946 12.013H2.054", key: "zqlbp7" }],
|
|
52185
52197
|
["path", { d: "M6 16h.01", key: "1pmjb7" }]
|
|
52186
52198
|
];
|
|
52187
|
-
const HardDrive = createLucideIcon("hard-drive", __iconNode$
|
|
52199
|
+
const HardDrive = createLucideIcon("hard-drive", __iconNode$E);
|
|
52188
52200
|
/**
|
|
52189
52201
|
* @license lucide-react v0.575.0 - ISC
|
|
52190
52202
|
*
|
|
52191
52203
|
* This source code is licensed under the ISC license.
|
|
52192
52204
|
* See the LICENSE file in the root directory of this source tree.
|
|
52193
52205
|
*/
|
|
52194
|
-
const __iconNode$
|
|
52206
|
+
const __iconNode$D = [
|
|
52195
52207
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
52196
52208
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
52197
52209
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
52198
52210
|
];
|
|
52199
|
-
const Image = createLucideIcon("image", __iconNode$
|
|
52211
|
+
const Image = createLucideIcon("image", __iconNode$D);
|
|
52200
52212
|
/**
|
|
52201
52213
|
* @license lucide-react v0.575.0 - ISC
|
|
52202
52214
|
*
|
|
52203
52215
|
* This source code is licensed under the ISC license.
|
|
52204
52216
|
* See the LICENSE file in the root directory of this source tree.
|
|
52205
52217
|
*/
|
|
52206
|
-
const __iconNode$
|
|
52218
|
+
const __iconNode$C = [
|
|
52207
52219
|
[
|
|
52208
52220
|
"path",
|
|
52209
52221
|
{
|
|
@@ -52226,31 +52238,45 @@ const __iconNode$B = [
|
|
|
52226
52238
|
}
|
|
52227
52239
|
]
|
|
52228
52240
|
];
|
|
52229
|
-
const Layers = createLucideIcon("layers", __iconNode$
|
|
52241
|
+
const Layers = createLucideIcon("layers", __iconNode$C);
|
|
52230
52242
|
/**
|
|
52231
52243
|
* @license lucide-react v0.575.0 - ISC
|
|
52232
52244
|
*
|
|
52233
52245
|
* This source code is licensed under the ISC license.
|
|
52234
52246
|
* See the LICENSE file in the root directory of this source tree.
|
|
52235
52247
|
*/
|
|
52236
|
-
const __iconNode$
|
|
52248
|
+
const __iconNode$B = [
|
|
52237
52249
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
52238
52250
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
52239
52251
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
52240
52252
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
52241
52253
|
];
|
|
52242
|
-
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$
|
|
52254
|
+
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$B);
|
|
52243
52255
|
/**
|
|
52244
52256
|
* @license lucide-react v0.575.0 - ISC
|
|
52245
52257
|
*
|
|
52246
52258
|
* This source code is licensed under the ISC license.
|
|
52247
52259
|
* See the LICENSE file in the root directory of this source tree.
|
|
52248
52260
|
*/
|
|
52249
|
-
const __iconNode$
|
|
52261
|
+
const __iconNode$A = [
|
|
52250
52262
|
["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" }],
|
|
52251
52263
|
["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" }]
|
|
52252
52264
|
];
|
|
52253
|
-
const Link = createLucideIcon("link", __iconNode$
|
|
52265
|
+
const Link = createLucideIcon("link", __iconNode$A);
|
|
52266
|
+
/**
|
|
52267
|
+
* @license lucide-react v0.575.0 - ISC
|
|
52268
|
+
*
|
|
52269
|
+
* This source code is licensed under the ISC license.
|
|
52270
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
52271
|
+
*/
|
|
52272
|
+
const __iconNode$z = [
|
|
52273
|
+
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
52274
|
+
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
52275
|
+
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
52276
|
+
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
52277
|
+
["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
|
|
52278
|
+
];
|
|
52279
|
+
const ListChecks = createLucideIcon("list-checks", __iconNode$z);
|
|
52254
52280
|
/**
|
|
52255
52281
|
* @license lucide-react v0.575.0 - ISC
|
|
52256
52282
|
*
|
|
@@ -57629,6 +57655,233 @@ const ReadAssetToolUI = React.memo(
|
|
|
57629
57655
|
ReadAssetToolUIImpl
|
|
57630
57656
|
);
|
|
57631
57657
|
ReadAssetToolUI.displayName = "ReadAssetToolUI";
|
|
57658
|
+
const STEP_STATUSES = [
|
|
57659
|
+
"pending",
|
|
57660
|
+
"in_progress",
|
|
57661
|
+
"completed",
|
|
57662
|
+
"cancelled",
|
|
57663
|
+
"failed"
|
|
57664
|
+
];
|
|
57665
|
+
function asRecord$1(value) {
|
|
57666
|
+
return typeof value === "object" && value !== null ? value : null;
|
|
57667
|
+
}
|
|
57668
|
+
function asStatus(value) {
|
|
57669
|
+
return typeof value === "string" && STEP_STATUSES.includes(value) ? value : "pending";
|
|
57670
|
+
}
|
|
57671
|
+
function parseSteps(value) {
|
|
57672
|
+
if (!Array.isArray(value)) return [];
|
|
57673
|
+
const steps = [];
|
|
57674
|
+
for (const raw of value) {
|
|
57675
|
+
const record2 = asRecord$1(raw);
|
|
57676
|
+
if (!record2) continue;
|
|
57677
|
+
const content = record2.content ?? record2.task ?? record2.title;
|
|
57678
|
+
if (typeof content !== "string" || content.trim() === "") continue;
|
|
57679
|
+
steps.push({
|
|
57680
|
+
id: typeof record2.id === "string" ? record2.id : void 0,
|
|
57681
|
+
content: content.trim(),
|
|
57682
|
+
status: asStatus(record2.status)
|
|
57683
|
+
});
|
|
57684
|
+
}
|
|
57685
|
+
return steps;
|
|
57686
|
+
}
|
|
57687
|
+
function asDescription(value) {
|
|
57688
|
+
return typeof value === "string" && value.trim() !== "" ? value.trim() : void 0;
|
|
57689
|
+
}
|
|
57690
|
+
function parsePartialSteps(argsText) {
|
|
57691
|
+
if (!argsText) return [];
|
|
57692
|
+
const steps = [];
|
|
57693
|
+
const objectPattern = /\{(?:[^{}\\"]|"(?:[^"\\]|\\.)*")*\}?/g;
|
|
57694
|
+
for (const [chunk] of argsText.matchAll(objectPattern)) {
|
|
57695
|
+
const contentMatch = /"(?:content|task|title)"\s*:\s*"((?:[^"\\]|\\.)*)"/.exec(
|
|
57696
|
+
chunk
|
|
57697
|
+
);
|
|
57698
|
+
if (!contentMatch) continue;
|
|
57699
|
+
let content;
|
|
57700
|
+
try {
|
|
57701
|
+
content = JSON.parse(`"${contentMatch[1]}"`);
|
|
57702
|
+
} catch {
|
|
57703
|
+
content = contentMatch[1];
|
|
57704
|
+
}
|
|
57705
|
+
if (content.trim() === "") continue;
|
|
57706
|
+
const statusMatch = /"status"\s*:\s*"([a-z_]+)"/.exec(chunk);
|
|
57707
|
+
steps.push({
|
|
57708
|
+
content: content.trim(),
|
|
57709
|
+
status: asStatus(statusMatch == null ? void 0 : statusMatch[1])
|
|
57710
|
+
});
|
|
57711
|
+
}
|
|
57712
|
+
return steps;
|
|
57713
|
+
}
|
|
57714
|
+
function parseTodoPlan({
|
|
57715
|
+
args,
|
|
57716
|
+
argsText,
|
|
57717
|
+
result
|
|
57718
|
+
}) {
|
|
57719
|
+
const argsRecord = asRecord$1(args);
|
|
57720
|
+
const argSteps = parseSteps(argsRecord == null ? void 0 : argsRecord.todos);
|
|
57721
|
+
let resultRecord = asRecord$1(result);
|
|
57722
|
+
if (!resultRecord && typeof result === "string") {
|
|
57723
|
+
try {
|
|
57724
|
+
resultRecord = asRecord$1(JSON.parse(result));
|
|
57725
|
+
} catch {
|
|
57726
|
+
resultRecord = null;
|
|
57727
|
+
}
|
|
57728
|
+
}
|
|
57729
|
+
const hasResultTodos = Array.isArray(resultRecord == null ? void 0 : resultRecord.todos);
|
|
57730
|
+
const steps = hasResultTodos ? parseSteps(resultRecord == null ? void 0 : resultRecord.todos) : argSteps.length > 0 ? argSteps : parsePartialSteps(argsText);
|
|
57731
|
+
return {
|
|
57732
|
+
steps,
|
|
57733
|
+
changeDescription: asDescription(resultRecord == null ? void 0 : resultRecord.description) ?? asDescription(resultRecord == null ? void 0 : resultRecord.todoChangeDescription)
|
|
57734
|
+
};
|
|
57735
|
+
}
|
|
57736
|
+
function StepMarker({
|
|
57737
|
+
status,
|
|
57738
|
+
index: index2
|
|
57739
|
+
}) {
|
|
57740
|
+
if (status === "completed") {
|
|
57741
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-[18px] shrink-0 items-center justify-center rounded-full bg-emerald-500 text-white", children: /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-3", strokeWidth: 3 }) });
|
|
57742
|
+
}
|
|
57743
|
+
if (status === "in_progress") {
|
|
57744
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-[18px] shrink-0 items-center justify-center rounded-full bg-primary/10 text-primary", children: /* @__PURE__ */ jsxRuntime.jsx(Loader, { className: "size-3 animate-spin", strokeWidth: 3 }) });
|
|
57745
|
+
}
|
|
57746
|
+
if (status === "failed") {
|
|
57747
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-[18px] shrink-0 items-center justify-center rounded-full bg-destructive/10 text-destructive", children: /* @__PURE__ */ jsxRuntime.jsx(X, { className: "size-3", strokeWidth: 3 }) });
|
|
57748
|
+
}
|
|
57749
|
+
if (status === "cancelled") {
|
|
57750
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-[18px] shrink-0 items-center justify-center rounded-full border border-border text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(X, { className: "size-3", strokeWidth: 3 }) });
|
|
57751
|
+
}
|
|
57752
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-[18px] shrink-0 items-center justify-center rounded-full border border-dashed border-border text-[9px] font-medium text-muted-foreground", children: index2 + 1 });
|
|
57753
|
+
}
|
|
57754
|
+
function PlanBadge({
|
|
57755
|
+
resolved,
|
|
57756
|
+
total
|
|
57757
|
+
}) {
|
|
57758
|
+
const isDone = total > 0 && resolved === total;
|
|
57759
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
57760
|
+
"span",
|
|
57761
|
+
{
|
|
57762
|
+
className: cn(
|
|
57763
|
+
"flex size-8 shrink-0 items-center justify-center rounded-lg",
|
|
57764
|
+
isDone && "bg-emerald-50 text-emerald-600",
|
|
57765
|
+
!isDone && "bg-primary/10 text-primary"
|
|
57766
|
+
),
|
|
57767
|
+
children: isDone ? /* @__PURE__ */ jsxRuntime.jsx(Check, { className: "size-4", strokeWidth: 3 }) : /* @__PURE__ */ jsxRuntime.jsx(ListChecks, { className: "size-4" })
|
|
57768
|
+
}
|
|
57769
|
+
);
|
|
57770
|
+
}
|
|
57771
|
+
const WriteTodosToolUIImpl = ({
|
|
57772
|
+
args,
|
|
57773
|
+
argsText,
|
|
57774
|
+
result,
|
|
57775
|
+
status
|
|
57776
|
+
}) => {
|
|
57777
|
+
const { steps, changeDescription } = React.useMemo(
|
|
57778
|
+
() => parseTodoPlan({ args, argsText, result }),
|
|
57779
|
+
[args, argsText, result]
|
|
57780
|
+
);
|
|
57781
|
+
const [collapsed, setCollapsed] = React.useState(false);
|
|
57782
|
+
const completed = steps.filter((s) => s.status === "completed").length;
|
|
57783
|
+
const stopped = steps.filter(
|
|
57784
|
+
(s) => s.status === "cancelled" || s.status === "failed"
|
|
57785
|
+
).length;
|
|
57786
|
+
const current = steps.find((s) => s.status === "in_progress");
|
|
57787
|
+
const total = steps.length;
|
|
57788
|
+
const resolved = completed + stopped;
|
|
57789
|
+
const isWriting = (status == null ? void 0 : status.type) === "running";
|
|
57790
|
+
const isDone = total > 0 && resolved === total;
|
|
57791
|
+
if (total === 0) {
|
|
57792
|
+
return isWriting ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "my-3 flex w-full items-center gap-2 rounded-xl border border-border/60 bg-background px-4 py-3 shadow-sm", children: [
|
|
57793
|
+
/* @__PURE__ */ jsxRuntime.jsx(Loader, { className: "size-3.5 animate-spin text-primary" }),
|
|
57794
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[13px] font-medium text-foreground", children: "Planning..." })
|
|
57795
|
+
] }) : null;
|
|
57796
|
+
}
|
|
57797
|
+
const heading2 = isWriting ? "Updating plan" : isDone ? "Plan complete" : completed === 0 && !current ? "Plan" : "Plan in progress";
|
|
57798
|
+
const subtitle = changeDescription ?? (current ? current.content : void 0);
|
|
57799
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "my-3 w-full rounded-xl border border-border/60 bg-background shadow-sm", children: [
|
|
57800
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-20 overflow-hidden rounded-t-xl bg-background", children: [
|
|
57801
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
57802
|
+
"button",
|
|
57803
|
+
{
|
|
57804
|
+
type: "button",
|
|
57805
|
+
onClick: () => setCollapsed((prev) => !prev),
|
|
57806
|
+
className: "flex w-full items-center gap-3 px-4 py-3 text-left transition-colors hover:bg-muted/30",
|
|
57807
|
+
"aria-expanded": !collapsed,
|
|
57808
|
+
children: [
|
|
57809
|
+
/* @__PURE__ */ jsxRuntime.jsx(PlanBadge, { resolved, total }),
|
|
57810
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
57811
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-baseline gap-2", children: [
|
|
57812
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[13px] font-medium text-foreground", children: heading2 }),
|
|
57813
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[11px] tabular-nums text-muted-foreground", children: [
|
|
57814
|
+
resolved,
|
|
57815
|
+
"/",
|
|
57816
|
+
total,
|
|
57817
|
+
" steps"
|
|
57818
|
+
] })
|
|
57819
|
+
] }),
|
|
57820
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-[12px] text-muted-foreground", children: subtitle })
|
|
57821
|
+
] }),
|
|
57822
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
57823
|
+
ChevronDown,
|
|
57824
|
+
{
|
|
57825
|
+
className: cn(
|
|
57826
|
+
"size-4 shrink-0 text-muted-foreground transition-transform duration-200",
|
|
57827
|
+
collapsed && "-rotate-90"
|
|
57828
|
+
)
|
|
57829
|
+
}
|
|
57830
|
+
)
|
|
57831
|
+
]
|
|
57832
|
+
}
|
|
57833
|
+
),
|
|
57834
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-0.5 w-full bg-muted", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
57835
|
+
"div",
|
|
57836
|
+
{
|
|
57837
|
+
className: cn(
|
|
57838
|
+
"h-full transition-all duration-500",
|
|
57839
|
+
isDone ? "bg-emerald-500" : "bg-primary"
|
|
57840
|
+
),
|
|
57841
|
+
style: { width: `${total > 0 ? resolved / total * 100 : 0}%` }
|
|
57842
|
+
}
|
|
57843
|
+
) })
|
|
57844
|
+
] }),
|
|
57845
|
+
!collapsed && /* @__PURE__ */ jsxRuntime.jsx("ol", { className: "flex max-h-72 flex-col overflow-y-auto rounded-b-xl border-t border-border/40 py-1", children: steps.map((step, index2) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57846
|
+
"li",
|
|
57847
|
+
{
|
|
57848
|
+
className: cn(
|
|
57849
|
+
"relative flex items-start gap-2.5 px-4 py-1.5",
|
|
57850
|
+
step.status === "in_progress" && "bg-primary/5"
|
|
57851
|
+
),
|
|
57852
|
+
children: [
|
|
57853
|
+
index2 < steps.length - 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
57854
|
+
"span",
|
|
57855
|
+
{
|
|
57856
|
+
"aria-hidden": true,
|
|
57857
|
+
className: "absolute left-[calc(1rem+8px)] top-[26px] h-[calc(100%-18px)] w-px bg-border/60"
|
|
57858
|
+
}
|
|
57859
|
+
),
|
|
57860
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative z-10 mt-[3px]", children: /* @__PURE__ */ jsxRuntime.jsx(StepMarker, { status: step.status, index: index2 }) }),
|
|
57861
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
57862
|
+
"span",
|
|
57863
|
+
{
|
|
57864
|
+
className: cn(
|
|
57865
|
+
"text-[12.5px] leading-relaxed text-foreground",
|
|
57866
|
+
step.status === "completed" && "text-muted-foreground line-through decoration-muted-foreground/40",
|
|
57867
|
+
step.status === "cancelled" && "text-muted-foreground/70 line-through decoration-muted-foreground/40",
|
|
57868
|
+
step.status === "failed" && "text-destructive",
|
|
57869
|
+
step.status === "in_progress" && "font-medium text-primary",
|
|
57870
|
+
step.status === "pending" && "text-muted-foreground"
|
|
57871
|
+
),
|
|
57872
|
+
children: step.content
|
|
57873
|
+
}
|
|
57874
|
+
)
|
|
57875
|
+
]
|
|
57876
|
+
},
|
|
57877
|
+
step.id ?? `${index2}-${step.content}`
|
|
57878
|
+
)) })
|
|
57879
|
+
] });
|
|
57880
|
+
};
|
|
57881
|
+
const WriteTodosToolUI = React.memo(
|
|
57882
|
+
WriteTodosToolUIImpl
|
|
57883
|
+
);
|
|
57884
|
+
WriteTodosToolUI.displayName = "WriteTodosToolUI";
|
|
57632
57885
|
function tryParseJson(text2) {
|
|
57633
57886
|
try {
|
|
57634
57887
|
const p = JSON.parse(text2);
|
|
@@ -60745,7 +60998,8 @@ const TOOL_UI_REGISTRY = {
|
|
|
60745
60998
|
get_database_table_schema: GetDatabaseTableSchemaToolUI,
|
|
60746
60999
|
run_sql: RunSqlToolUI,
|
|
60747
61000
|
run_database_sql: RunSqlToolUI,
|
|
60748
|
-
run_sql_query_tool: RunSqlToolUI
|
|
61001
|
+
run_sql_query_tool: RunSqlToolUI,
|
|
61002
|
+
write_todos: WriteTodosToolUI
|
|
60749
61003
|
};
|
|
60750
61004
|
const TOOLKIT_THEMES = {
|
|
60751
61005
|
Web: { color: "#7BCCFA" },
|
|
@@ -63385,6 +63639,7 @@ exports.TooltipProvider = TooltipProvider;
|
|
|
63385
63639
|
exports.TooltipTrigger = TooltipTrigger;
|
|
63386
63640
|
exports.UpdateSheetRangeToolUI = UpdateSheetRangeToolUI;
|
|
63387
63641
|
exports.WebSearchToolUI = WebSearchToolUI;
|
|
63642
|
+
exports.WriteTodosToolUI = WriteTodosToolUI;
|
|
63388
63643
|
exports.allowsMidRunSend = allowsMidRunSend;
|
|
63389
63644
|
exports.archiveThread = archiveThread;
|
|
63390
63645
|
exports.asHitlApproval = asHitlApproval;
|
|
@@ -63421,6 +63676,7 @@ exports.listThreads = listThreads;
|
|
|
63421
63676
|
exports.normalizeResult = normalizeResult;
|
|
63422
63677
|
exports.parseAthenaCitationLink = parseAthenaCitationLink;
|
|
63423
63678
|
exports.parseCollabAgentRef = parseCollabAgentRef;
|
|
63679
|
+
exports.parseTodoPlan = parseTodoPlan;
|
|
63424
63680
|
exports.readInterruptMessage = readInterruptMessage;
|
|
63425
63681
|
exports.readRejectionDetail = readRejectionDetail;
|
|
63426
63682
|
exports.resetAssetAutoOpen = resetAssetAutoOpen;
|