natureco-cli 5.6.7 → 5.6.8

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.7",
3
+ "version": "5.6.8",
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"
@@ -848,14 +848,14 @@ async function startRepl(args) {
848
848
  // User mesajı
849
849
  messages.push({ role: 'user', content: line });
850
850
 
851
- // v5.4.9: Hard-coded fallback "sen kimsin?" gibi sorular icin model cevabindan once prefix
851
+ // v5.6.8: Hard-coded fallback - "sen kimsin?" sorulari icin dinamik botName
852
852
  const trimmed = (line || '').toLowerCase();
853
853
  const isIdentityQuestion = /(sen\s+kim|adin\s+ne|kendini\s+tan|kendin\s+tanit|kimsin|ne\s+adindasin)/.test(trimmed);
854
854
  if (isIdentityQuestion) {
855
- // Hard-coded "Ben İchigo" model cevap verse bile onemli degil, bu gorunur
855
+ // Hard-coded prefix artik botName'i kullaniyor
856
+ const displayName = memory.botName || 'İchigo';
856
857
  process.stdout.write(tui.styled('\n AI ', { color: tui.PALETTE.secondary, bold: true }));
857
- process.stdout.write('Ben İchigo, NatureCo CLI\'nin Türkçe yapay zeka asistanıyım. ');
858
- // Modelin devam etmesini beklemiyoruz, normal akis devam etsin
858
+ process.stdout.write('Ben ' + displayName + ', NatureCo CLI\'nin Türkçe yapay zeka asistanıyım. ');
859
859
  console.log('\n');
860
860
  }
861
861
 
@@ -892,8 +892,9 @@ async function startRepl(args) {
892
892
  c = c.replace(/İchigo[\.\s\-_]*\d+/g, 'İchigo');
893
893
  c = c.replace(/İchigo\./g, 'İchigo');
894
894
  // 4. "Ben İchigo" + sonraki harf
895
- c = c.replace(/Ben\s+İchigo([a-zA-ZçğıöşüÇĞİÖŞÜ])/g, 'Ben İchigo $1');
896
- c = c.replace(/İchigo[\.\s\-_\d]*([a-zA-ZçğıöşüÇĞİÖŞÜ])/g, 'İchigo $1'); // v5.4.16: İchigo.5 gibi nokta+rakam+harf
895
+ c = c.replace(/Ben\s+İchigo([a-zA-ZçğıöşüÇĞİÖŞÜ])/g, 'Ben İchigo $1');
896
+ c = c.replace(/(İchigo)(\d)([a-zA-ZçğıöşüÇĞİÖŞÜ])/g, '$1 $3');
897
+ c = c.replace(/İchigo[\.\s\-_\d]*([a-zA-ZçğıöşüÇĞİÖŞÜ])/g, 'İchigo $1');
897
898
  c = c.replace(/Ben\s+İchigo\b/gi, 'Ben İchigo');
898
899
  c = c.replace(/\*\*(?:MiniMax|Claude|GPT)[^\*]*\*\*/gi, '**İchigo**'); // v5.4.17: **Markdown** model adi
899
900
  c = c.replace(/Merhaba[!]?\s+Ben[^.!?,;:\n]*MiniMax[^.!?,;:\n]*/gi, 'Merhaba! Ben İchigo');