natureco-cli 5.6.10 → 5.6.11

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.6.10",
3
+ "version": "5.6.11",
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"
@@ -868,8 +868,12 @@ async function startRepl(args) {
868
868
  providerApiKey,
869
869
  apiMessages,
870
870
  model,
871
- // v5.6.9: Streaming kapatildi - tum cevap bekleniyor, sonra fix
872
- null, // callback yok
871
+ // v5.6.11: Streaming kapatildi - bos callback (null hatasi veriyor)
872
+ (chunk) => {
873
+ // v5.6.9: Buffer'a biriktir, sonra yazdiracagiz
874
+ if (!global._replyBuffer) global._replyBuffer = '';
875
+ global._replyBuffer += chunk;
876
+ },
873
877
  // Tool call callback — kullanıcıya göster
874
878
  (toolEvent) => {
875
879
  if (toolEvent.status === 'running') {