natureco-cli 1.0.49 → 1.0.50
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/package.json +1 -1
- package/src/commands/dashboard.js +11 -24
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ const HTML = `<!DOCTYPE html>
|
|
|
43
43
|
*{margin:0;padding:0;box-sizing:border-box;font-family:system-ui,-apple-system,sans-serif}
|
|
44
44
|
html,body{height:100%;overflow:hidden}
|
|
45
45
|
body{
|
|
46
|
-
background:#
|
|
46
|
+
background:#0B0E11;
|
|
47
47
|
color:#eceff1;
|
|
48
48
|
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
|
|
49
49
|
display:flex;
|
|
@@ -53,29 +53,16 @@ body{
|
|
|
53
53
|
}
|
|
54
54
|
body::before{
|
|
55
55
|
content:'';
|
|
56
|
-
position:
|
|
57
|
-
top:0;left:0;
|
|
56
|
+
position:fixed;
|
|
57
|
+
top:0;left:0;
|
|
58
|
+
width:100%;height:100%;
|
|
58
59
|
background:
|
|
59
|
-
radial-gradient(
|
|
60
|
-
radial-gradient(
|
|
61
|
-
radial-gradient(
|
|
62
|
-
|
|
60
|
+
radial-gradient(circle at 20% 80%,rgba(16,185,129,0.3) 0%,transparent 50%),
|
|
61
|
+
radial-gradient(circle at 80% 20%,rgba(99,102,241,0.2) 0%,transparent 50%),
|
|
62
|
+
radial-gradient(circle at 40% 40%,rgba(245,158,11,0.1) 0%,transparent 50%),
|
|
63
|
+
linear-gradient(180deg,#06080A 0%,#0B0E11 100%);
|
|
64
|
+
z-index:-1;
|
|
63
65
|
pointer-events:none;
|
|
64
|
-
z-index:0;
|
|
65
|
-
}
|
|
66
|
-
@keyframes gradientShift{
|
|
67
|
-
0%{
|
|
68
|
-
background:
|
|
69
|
-
radial-gradient(ellipse 80% 50% at 50% -20%,rgba(16,185,129,0.15),transparent 60%),
|
|
70
|
-
radial-gradient(ellipse 60% 40% at 80% 80%,rgba(59,130,246,0.08),transparent 50%),
|
|
71
|
-
radial-gradient(ellipse 40% 30% at 20% 60%,rgba(16,185,129,0.06),transparent 40%);
|
|
72
|
-
}
|
|
73
|
-
100%{
|
|
74
|
-
background:
|
|
75
|
-
radial-gradient(ellipse 80% 50% at 30% 120%,rgba(16,185,129,0.12),transparent 60%),
|
|
76
|
-
radial-gradient(ellipse 60% 40% at 90% 20%,rgba(59,130,246,0.1),transparent 50%),
|
|
77
|
-
radial-gradient(ellipse 40% 30% at 10% 80%,rgba(16,185,129,0.08),transparent 40%);
|
|
78
|
-
}
|
|
79
66
|
}
|
|
80
67
|
.app{display:flex;height:100vh}
|
|
81
68
|
.sidebar{
|
|
@@ -224,7 +211,7 @@ body::before{
|
|
|
224
211
|
<div class="header-bot-name" id="header-bot-name">Nature Bot</div>
|
|
225
212
|
<div class="header-bot-model" id="header-bot-model">NatureCo</div>
|
|
226
213
|
</div>
|
|
227
|
-
<div class="version-badge" id="version-badge">v1.0.
|
|
214
|
+
<div class="version-badge" id="version-badge">v1.0.50</div>
|
|
228
215
|
</div>
|
|
229
216
|
<div class="messages" id="messages"></div>
|
|
230
217
|
<div class="input-area">
|
|
@@ -354,7 +341,7 @@ function dashboard(action) {
|
|
|
354
341
|
apiKey: cfg.apiKey,
|
|
355
342
|
defaultBot: cfg.defaultBot,
|
|
356
343
|
defaultBotId: cfg.defaultBotId,
|
|
357
|
-
version: 'v1.0.
|
|
344
|
+
version: 'v1.0.50',
|
|
358
345
|
bots: cfg.bots || [],
|
|
359
346
|
telegramToken: cfg.telegramToken || null,
|
|
360
347
|
whatsappConnected: cfg.whatsappConnected || false,
|