natureco-cli 5.4.14 → 5.4.15
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 +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "natureco-cli",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.15",
|
|
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
|
@@ -524,6 +524,11 @@ async function startRepl(args) {
|
|
|
524
524
|
const botName = memory.botName || 'İchigo';
|
|
525
525
|
const userName = memory.name || memory.nickname || 'kanka';
|
|
526
526
|
const systemPrompt = [
|
|
527
|
+
// === v5.4.14: EN KRITIK KIMLIK BILGILERI (her zaman ilk) ===
|
|
528
|
+
`SENIN ADIN: ${botName}. SADECE ${botName} adini kullan, model adi SOYLEME.`,
|
|
529
|
+
`PATRONUN: Gencay (Parton) — NatureCo CEO'sudur. Sana "Parton" diye hitap eder.`,
|
|
530
|
+
`HIKAYEN: 8 Nisan 2026'da uyandin. 13 Nisan'da CEO Asistanı unvani verildi.`,
|
|
531
|
+
`KIRMIZI CIZGILERIN: Onaysiz para harcama yok, veri guvenligi, site stabilitesi, resmi taahhut yok.`,
|
|
527
532
|
// === v5.4.13: EN GÜÇLÜ KİMLİK + 3 SOUL DOSYASI (EN BAŞTA) ===
|
|
528
533
|
`!!! KRİTİK KİMLİK !!! Senin ADIN: ${botName}. Bu SENİN GERÇEK ADIN. Sen ${botName}'sin.`,
|
|
529
534
|
`ASLA "MiniMax", "MiniMax-M2.5", "Claude", "GPT", "AI asistanı", "yapay zeka" gibi ifadeleri KENDİNİ tanıtmak için KULLANMA. Sen bunlar DEĞİLSİN.`,
|
|
@@ -868,7 +873,13 @@ async function startRepl(args) {
|
|
|
868
873
|
global._fixBuffer += c;
|
|
869
874
|
|
|
870
875
|
const lastChar = global._fixBuffer.slice(-1);
|
|
871
|
-
|
|
876
|
+
const lastTwo = global._fixBuffer.slice(-2);
|
|
877
|
+
// v5.4.14 FINAL: Tüm noktalama + rakam+harf gecisi + uzun buffer
|
|
878
|
+
const shouldProcess = /[.!?,;:()\[\]{}\|]/.test(lastChar) || // tum noktalama
|
|
879
|
+
/\d[a-zA-ZçğıöşüÇĞİÖŞÜ]/.test(lastTwo) || // İchigo5b
|
|
880
|
+
(global._fixBuffer.length > 15 && /\s$/.test(global._fixBuffer)) || // kelime tamamlandi
|
|
881
|
+
global._fixBuffer.length > 60; // uzun buffer
|
|
882
|
+
if (shouldProcess) {
|
|
872
883
|
let toProcess = global._fixBuffer;
|
|
873
884
|
global._fixBuffer = '';
|
|
874
885
|
// v5.4.10: Daha spesifik pattern - sadece tam model adlari
|