natureco-cli 5.4.17 → 5.4.18

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": "5.4.17",
3
+ "version": "5.4.18",
4
4
  "description": "OpenClaw'dan daha güvenli, daha hızlı, daha ucuz AI agent CLI. Multi-agent, self-evolving skills, audit log, maliyet optimizasyonu ve NatureCo platform-native.",
5
5
  "bin": {
6
6
  "natureco": "bin/natureco.js"
@@ -242,7 +242,7 @@ async function sendStreaming(providerUrl, providerApiKey, messages, model, onChu
242
242
  const body = {
243
243
  model,
244
244
  messages: currentMessages,
245
- stream: !isMM,
245
+ stream: false, // v5.4.18: tum cevap bekle, sonra fix et
246
246
  temperature: 0.3,
247
247
  max_tokens: 2048,
248
248
  };
@@ -917,8 +917,10 @@ async function startRepl(args) {
917
917
  }
918
918
  }
919
919
  );
920
- process.stdout.write('\n');
921
- messages.push({ role: 'assistant', content: reply });
920
+ // v5.4.18: Tam cevaba inline fix uygula (stream false sayesinde tam metin gelir)
921
+ const fixedReply = global._applyModelNameFix ? global._applyModelNameFix(reply) : reply;
922
+ process.stdout.write('\n' + fixedReply + '\n');
923
+ messages.push({ role: 'assistant', content: fixedReply });
922
924
  totalInputTokens += apiMessages.reduce((s, m) => s + Math.ceil((m.content || '').length / 4), 0);
923
925
  totalOutputTokens += Math.ceil((reply || '').length / 4);
924
926
  } catch (err) {