natureco-cli 1.0.57 → 1.0.58

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": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -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">v1.0.57</div>
214
+ <div class="version-badge" id="version-badge">v1.0.58</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: 'v1.0.57',
344
+ version: 'v1.0.58',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,
package/src/utils/api.js CHANGED
@@ -31,9 +31,6 @@ async function _sendMessage(apiKey, botId, message, conversationId = null, skill
31
31
  // agent_id boş veya undefined ise config'den oku
32
32
  const agentId = botId || config.defaultBotId;
33
33
 
34
- // Debug için log
35
- console.log('agent_id:', agentId);
36
-
37
34
  // system_prompt'u kısalt - sadece skill adı ve açıklaması
38
35
  const shortPrompt = skillPrompts
39
36
  ? skillPrompts.split('## Skill:').filter(Boolean).map(s => {
@@ -62,9 +59,6 @@ async function _sendMessage(apiKey, botId, message, conversationId = null, skill
62
59
  }
63
60
  }
64
61
 
65
- // API'ye gönderilen body'yi logla
66
- console.log('API body:', JSON.stringify(body));
67
-
68
62
  const data = await request('/api/agent/chat', {
69
63
  method: 'POST',
70
64
  headers: {
@@ -74,9 +68,6 @@ async function _sendMessage(apiKey, botId, message, conversationId = null, skill
74
68
  body: JSON.stringify(body),
75
69
  });
76
70
 
77
- // API'den gelen response'u logla
78
- console.log('API response:', JSON.stringify(data));
79
-
80
71
  return data;
81
72
  }
82
73