natureco-cli 2.17.4 → 2.17.6
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
CHANGED
package/src/commands/chat.js
CHANGED
|
@@ -123,6 +123,7 @@ async function chat(botName, options = {}) {
|
|
|
123
123
|
const screen = blessed.screen({
|
|
124
124
|
smartCSR: true,
|
|
125
125
|
title: `NatureCo · ${displayBotName}`,
|
|
126
|
+
terminal: 'xterm-256color',
|
|
126
127
|
fullUnicode: true,
|
|
127
128
|
});
|
|
128
129
|
|
|
@@ -139,7 +140,7 @@ async function chat(botName, options = {}) {
|
|
|
139
140
|
align: 'center',
|
|
140
141
|
valign: 'middle',
|
|
141
142
|
tags: true,
|
|
142
|
-
style: { fg: 'green', bg: '
|
|
143
|
+
style: { fg: 'green', bg: 'default' },
|
|
143
144
|
});
|
|
144
145
|
|
|
145
146
|
// ── Mesaj alanı (%58) ───────────────────────────────────────────────────────
|
|
@@ -153,7 +154,7 @@ async function chat(botName, options = {}) {
|
|
|
153
154
|
tags: true,
|
|
154
155
|
padding: { left: 2, right: 2, top: 1 },
|
|
155
156
|
scrollbar: { ch: '│', style: { fg: 'gray' } },
|
|
156
|
-
style: { bg: '
|
|
157
|
+
style: { bg: 'default' },
|
|
157
158
|
});
|
|
158
159
|
|
|
159
160
|
// ── Input kutusu (3 satır) ──────────────────────────────────────────────────
|
|
@@ -168,7 +169,7 @@ async function chat(botName, options = {}) {
|
|
|
168
169
|
style: {
|
|
169
170
|
border: { fg: 'green' },
|
|
170
171
|
fg: 'white',
|
|
171
|
-
bg: '
|
|
172
|
+
bg: 'default',
|
|
172
173
|
focus: { border: { fg: 'cyan' } },
|
|
173
174
|
},
|
|
174
175
|
});
|
|
@@ -182,7 +183,7 @@ async function chat(botName, options = {}) {
|
|
|
182
183
|
height: 1,
|
|
183
184
|
content: ` {cyan-fg}${displayBotName}{/} {gray-fg}·{/} {gray-fg}${shortModel}{/}{|}${cwd} `,
|
|
184
185
|
tags: true,
|
|
185
|
-
style: { bg: '
|
|
186
|
+
style: { bg: 'default', fg: 'gray' },
|
|
186
187
|
});
|
|
187
188
|
|
|
188
189
|
screen.append(logoBox);
|
|
@@ -211,7 +211,7 @@ body::before{
|
|
|
211
211
|
<div class="header-bot-name" id="header-bot-name">Nature Bot</div>
|
|
212
212
|
<div class="header-bot-model" id="header-bot-model">NatureCo</div>
|
|
213
213
|
</div>
|
|
214
|
-
<div class="version-badge" id="version-badge">v2.17.
|
|
214
|
+
<div class="version-badge" id="version-badge">v2.17.6</div>
|
|
215
215
|
</div>
|
|
216
216
|
<div class="messages" id="messages"></div>
|
|
217
217
|
<div class="input-area">
|
|
@@ -341,7 +341,7 @@ function dashboard(action) {
|
|
|
341
341
|
apiKey: cfg.apiKey,
|
|
342
342
|
defaultBot: cfg.defaultBot,
|
|
343
343
|
defaultBotId: cfg.defaultBotId,
|
|
344
|
-
version: 'v2.17.
|
|
344
|
+
version: 'v2.17.6',
|
|
345
345
|
bots: cfg.bots || [],
|
|
346
346
|
telegramToken: cfg.telegramToken || null,
|
|
347
347
|
whatsappConnected: cfg.whatsappConnected || false,
|