natureco-cli 2.17.4 → 2.17.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "natureco-cli",
3
- "version": "2.17.4",
3
+ "version": "2.17.7",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -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: 'black' },
143
+ style: { fg: 'green', bg: 'default' },
143
144
  });
144
145
 
145
146
  // ── Mesaj alanı (%58) ───────────────────────────────────────────────────────
@@ -153,23 +154,30 @@ 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: 'black' },
157
+ style: { bg: 'default' },
157
158
  });
158
159
 
159
160
  // ── Input kutusu (3 satır) ──────────────────────────────────────────────────
161
+ const inputSeparator = blessed.line({
162
+ bottom: 4,
163
+ left: 0,
164
+ width: '100%',
165
+ orientation: 'horizontal',
166
+ style: { fg: 'gray' },
167
+ });
168
+
160
169
  const inputBox = blessed.textbox({
161
170
  bottom: 1,
162
171
  left: 0,
163
172
  width: '100%',
164
173
  height: 3,
165
- inputOnFocus: true,
174
+ inputOnFocus: false,
175
+ keys: true,
176
+ mouse: true,
166
177
  padding: { left: 2 },
167
- border: { type: 'line' },
168
178
  style: {
169
- border: { fg: 'green' },
170
179
  fg: 'white',
171
- bg: 'black',
172
- focus: { border: { fg: 'cyan' } },
180
+ bg: 'default',
173
181
  },
174
182
  });
175
183
 
@@ -182,11 +190,12 @@ async function chat(botName, options = {}) {
182
190
  height: 1,
183
191
  content: ` {cyan-fg}${displayBotName}{/} {gray-fg}·{/} {gray-fg}${shortModel}{/}{|}${cwd} `,
184
192
  tags: true,
185
- style: { bg: 'black', fg: 'gray' },
193
+ style: { bg: 'default', fg: 'gray' },
186
194
  });
187
195
 
188
196
  screen.append(logoBox);
189
197
  screen.append(messageBox);
198
+ screen.append(inputSeparator);
190
199
  screen.append(inputBox);
191
200
  screen.append(statusBar);
192
201
 
@@ -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.4</div>
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.4',
344
+ version: 'v2.17.6',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,