natureco-cli 1.0.48 → 1.0.49
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 +30 -17
package/package.json
CHANGED
|
@@ -43,25 +43,38 @@ 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:#
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
background:#0d1117;
|
|
47
|
+
color:#eceff1;
|
|
48
|
+
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
|
|
49
|
+
display:flex;
|
|
50
|
+
height:100vh;
|
|
51
|
+
overflow:hidden;
|
|
52
|
+
position:relative;
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
+
body::before{
|
|
55
|
+
content:'';
|
|
56
|
+
position:absolute;
|
|
57
|
+
top:0;left:0;right:0;bottom:0;
|
|
58
|
+
background:
|
|
59
|
+
radial-gradient(ellipse 80% 50% at 50% -20%,rgba(16,185,129,0.15),transparent 60%),
|
|
60
|
+
radial-gradient(ellipse 60% 40% at 80% 80%,rgba(59,130,246,0.08),transparent 50%),
|
|
61
|
+
radial-gradient(ellipse 40% 30% at 20% 60%,rgba(16,185,129,0.06),transparent 40%);
|
|
62
|
+
animation:gradientShift 15s ease-in-out infinite alternate;
|
|
63
|
+
pointer-events:none;
|
|
64
|
+
z-index:0;
|
|
65
|
+
}
|
|
66
|
+
@keyframes gradientShift{
|
|
54
67
|
0%{
|
|
55
|
-
background
|
|
56
|
-
radial-gradient(ellipse 80% 50% at 50% -20%,
|
|
57
|
-
radial-gradient(ellipse 60% 40% at 80% 80%,
|
|
58
|
-
radial-gradient(ellipse 40% 30% at 20% 60%,
|
|
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%);
|
|
59
72
|
}
|
|
60
73
|
100%{
|
|
61
|
-
background
|
|
62
|
-
radial-gradient(ellipse 80% 50% at 30% 120%,
|
|
63
|
-
radial-gradient(ellipse 60% 40% at 90% 20%,
|
|
64
|
-
radial-gradient(ellipse 40% 30% at 10% 80%,
|
|
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%);
|
|
65
78
|
}
|
|
66
79
|
}
|
|
67
80
|
.app{display:flex;height:100vh}
|
|
@@ -211,7 +224,7 @@ body{
|
|
|
211
224
|
<div class="header-bot-name" id="header-bot-name">Nature Bot</div>
|
|
212
225
|
<div class="header-bot-model" id="header-bot-model">NatureCo</div>
|
|
213
226
|
</div>
|
|
214
|
-
<div class="version-badge" id="version-badge">v1.0.
|
|
227
|
+
<div class="version-badge" id="version-badge">v1.0.49</div>
|
|
215
228
|
</div>
|
|
216
229
|
<div class="messages" id="messages"></div>
|
|
217
230
|
<div class="input-area">
|
|
@@ -341,7 +354,7 @@ function dashboard(action) {
|
|
|
341
354
|
apiKey: cfg.apiKey,
|
|
342
355
|
defaultBot: cfg.defaultBot,
|
|
343
356
|
defaultBotId: cfg.defaultBotId,
|
|
344
|
-
version: 'v1.0.
|
|
357
|
+
version: 'v1.0.49',
|
|
345
358
|
bots: cfg.bots || [],
|
|
346
359
|
telegramToken: cfg.telegramToken || null,
|
|
347
360
|
whatsappConnected: cfg.whatsappConnected || false,
|