natureco-cli 5.6.11 → 5.6.12
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 +1 -1
- package/src/commands/repl.js +4 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "natureco-cli",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.12",
|
|
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"
|
package/src/commands/repl.js
CHANGED
|
@@ -868,12 +868,8 @@ async function startRepl(args) {
|
|
|
868
868
|
providerApiKey,
|
|
869
869
|
apiMessages,
|
|
870
870
|
model,
|
|
871
|
-
// v5.6.
|
|
872
|
-
(
|
|
873
|
-
// v5.6.9: Buffer'a biriktir, sonra yazdiracagiz
|
|
874
|
-
if (!global._replyBuffer) global._replyBuffer = '';
|
|
875
|
-
global._replyBuffer += chunk;
|
|
876
|
-
},
|
|
871
|
+
// v5.6.12: Callback bos - tam metin 'reply' olarak gelecek (non-stream mode)
|
|
872
|
+
() => {},
|
|
877
873
|
// Tool call callback — kullanıcıya göster
|
|
878
874
|
(toolEvent) => {
|
|
879
875
|
if (toolEvent.status === 'running') {
|
|
@@ -894,9 +890,8 @@ async function startRepl(args) {
|
|
|
894
890
|
}
|
|
895
891
|
}
|
|
896
892
|
);
|
|
897
|
-
// v5.6.
|
|
898
|
-
const fullReply =
|
|
899
|
-
global._replyBuffer = '';
|
|
893
|
+
// v5.6.12: Tam metin 'reply' olarak zaten geldi (non-stream mode)
|
|
894
|
+
const fullReply = String(reply || '');
|
|
900
895
|
// Bot adini al
|
|
901
896
|
const displayBotName = memory.botName || 'İchigo';
|
|
902
897
|
// v5.6.9: Tum model adlarini ve varyasyonlari temizle
|