natureco-cli 5.6.18 → 5.6.20

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/bin/natureco.js CHANGED
@@ -633,9 +633,11 @@ program
633
633
  program
634
634
  .command('repl [options...]')
635
635
  .description('İnteraktif REPL — bizim bu konuşmamız gibi sohbet modu')
636
- .action((options) => {
637
- repl(options || []);
638
- });
636
+ .option('--resume [id]', 'Önceki oturumu yükle')
637
+ .action((options) => {
638
+ const resumeOpt = options.resume ? [options.resume === true ? 'last' : options.resume] : [];
639
+ repl(options._args || resumeOpt);
640
+ });
639
641
 
640
642
  program
641
643
  .command('memory [action] [params...]')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "natureco-cli",
3
- "version": "5.6.18",
3
+ "version": "5.6.20",
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"
@@ -238,7 +238,6 @@ function importMemoryCmd(botId, sourceFile) {
238
238
  const importId = botId || 'universal-provider';
239
239
  memoryStore.saveMemory(importId, data);
240
240
  console.log(chalk.green(`\n ✓ Hafıza içe aktarıldı: ${importId}\n`));
241
- console.log(chalk.green(`\n ✓ Hafıza içe aktarıldı: ${id}\n`));
242
241
  } catch (err) {
243
242
  console.log(chalk.red(`\n ❌ Hata: ${err.message}\n`));
244
243
  }
@@ -464,8 +464,10 @@ async function startRepl(args) {
464
464
  // Memory yükle
465
465
  let memory = loadMemory(cfg.userName);
466
466
 
467
- // v5.4.7: Memory'de botName yoksa otomatik İchigo set et VE kaydet
468
- if (!memory.botName) memory.botName = 'İchigo';
467
+ // v5.6.19: Oncelik config.botName, sonra memory.botName
468
+ if (!memory.botName) {
469
+ memory.botName = cfg.botName || 'İchigo';
470
+ }
469
471
  // BotName'i memory'ye persist et (her oturumda ayni kalsin)
470
472
  try {
471
473
  const fs = require('fs');