natureco-cli 2.18.1 → 2.18.2

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.18.1",
3
+ "version": "2.18.2",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -312,11 +312,10 @@ async function chat(botName, options = {}) {
312
312
 
313
313
  if (response.conversation_id) conversationId = response.conversation_id;
314
314
 
315
- // Tool loop — DEBUG: api.js zaten tool loop yapıyor, bu loop çalışmamalı
315
+ // Tool loop — api.js zaten tool loop yapıyor, bu loop çalışmamalı
316
316
  let iter = 0;
317
317
  while (iter < 5) {
318
318
  const toolCalls = extractToolCalls(response);
319
- console.log('[DEBUG] Tool calls:', JSON.stringify(toolCalls));
320
319
  if (!toolCalls?.length) break;
321
320
  console.log(chalk.yellow(`🔧 ${toolCalls.length} tool çalıştırılıyor...`));
322
321
  const toolResults = await executeToolCalls(toolCalls);
@@ -92,7 +92,20 @@ async function code(targetFile, options = {}) {
92
92
 
93
93
  // ── Header ──────────────────────────────────────────────────────────────────
94
94
  console.clear();
95
- console.log(centerText(chalk.green('⚡ NatureCo Code') + chalk.gray(' · ') + chalk.cyan(`${displayBotName}`) + chalk.gray(` · v${version}`)));
95
+ const codeLogo = [
96
+ '███╗ ██╗ █████╗ ████████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗',
97
+ '████╗ ██║██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔════╝ ██╔═══██╗',
98
+ '██╔██╗ ██║███████║ ██║ ██║ ██║██████╔╝█████╗ ██║ ██║ ██║',
99
+ '██║╚██╗██║██╔══██║ ██║ ██║ ██║██╔══██╗██╔══╝ ██║ ██║ ██║',
100
+ '██║ ╚████║██║ ██║ ██║ ╚██████╔╝██║ ██║███████╗╚██████╗ ╚██████╔╝',
101
+ '╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝',
102
+ ].join('\n');
103
+ const codeSubLogo = [
104
+ '█▀▀ █▀█ █▀▄ █▀▀',
105
+ '█▄▄ █▄█ █▄▀ ██▄',
106
+ ].join('\n');
107
+ console.log(centerText(chalk.green(codeLogo)));
108
+ console.log(centerText(chalk.green(codeSubLogo)));
96
109
  console.log(sep());
97
110
  if (targetFile) {
98
111
  console.log(centerText(chalk.gray(`📄 ${targetFile}`)));
@@ -178,11 +191,10 @@ async function code(targetFile, options = {}) {
178
191
 
179
192
  if (response.conversation_id) conversationId = response.conversation_id;
180
193
 
181
- // Tool loop — DEBUG: api.js zaten tool loop yapıyor, bu loop çalışmamalı
194
+ // Tool loop — api.js zaten tool loop yapıyor, bu loop çalışmamalı
182
195
  let iter = 0;
183
196
  while (iter < 10) {
184
197
  const toolCalls = extractToolCalls(response);
185
- console.log('[DEBUG] Tool calls:', JSON.stringify(toolCalls));
186
198
  if (!toolCalls?.length) break;
187
199
  console.log(chalk.yellow(`\n🔧 ${toolCalls.length} tool çalıştırılıyor...\n`));
188
200
  const toolResults = await executeToolCalls(toolCalls, { agentMode: true });