natureco-cli 5.7.11 → 5.7.13
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.7.
|
|
3
|
+
"version": "5.7.13",
|
|
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
|
@@ -852,6 +852,12 @@ async function startRepl(args) {
|
|
|
852
852
|
// User mesajı
|
|
853
853
|
messages.push({ role: 'user', content: line });
|
|
854
854
|
|
|
855
|
+
// Çok satırlı (paste) mesajları gönderildikten sonra ekranda göster
|
|
856
|
+
if (line.indexOf('\n') !== -1) {
|
|
857
|
+
process.stdout.write(tui.styled(' You ', { color: tui.PALETTE.primary, bold: true }));
|
|
858
|
+
process.stdout.write(line + '\n');
|
|
859
|
+
}
|
|
860
|
+
|
|
855
861
|
// v5.6.8: Hard-coded fallback - "sen kimsin?" sorulari icin dinamik botName
|
|
856
862
|
const trimmed = (line || '').toLowerCase();
|
|
857
863
|
const isIdentityQuestion = /(sen\s+kim|adin\s+ne|kendini\s+tan|kendin\s+tanit|kimsin|ne\s+adindasin)/.test(trimmed);
|
|
@@ -104,7 +104,8 @@ function onPasteDetected(pasteStr) {
|
|
|
104
104
|
const newlineCount = (pasteStr.match(/\r\n|\r|\n/g) || []).length;
|
|
105
105
|
const lineCount = newlineCount + 1;
|
|
106
106
|
_pasteContext = { lineCount };
|
|
107
|
-
|
|
107
|
+
// Mevcut satırı temizle (prompt + öncesinde yazılan text) ve özet yaz
|
|
108
|
+
process.stdout.write(`\r\x1b[2K[Pasted ~${lineCount} lines]\n`);
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
function createPasteSafeInput(source = process.stdin) {
|