natureco-cli 2.13.21 → 2.13.22

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": "2.13.21",
3
+ "version": "2.13.22",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -211,7 +211,7 @@ body::before{
211
211
  <div class="header-bot-name" id="header-bot-name">Nature Bot</div>
212
212
  <div class="header-bot-model" id="header-bot-model">NatureCo</div>
213
213
  </div>
214
- <div class="version-badge" id="version-badge">v2.13.21</div>
214
+ <div class="version-badge" id="version-badge">v2.13.22</div>
215
215
  </div>
216
216
  <div class="messages" id="messages"></div>
217
217
  <div class="input-area">
@@ -341,7 +341,7 @@ function dashboard(action) {
341
341
  apiKey: cfg.apiKey,
342
342
  defaultBot: cfg.defaultBot,
343
343
  defaultBotId: cfg.defaultBotId,
344
- version: 'v2.13.21',
344
+ version: 'v2.13.22',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,
@@ -166,12 +166,12 @@ async function migrate(options) {
166
166
 
167
167
  // Extract bot name from MEMORY.md (first file only)
168
168
  if (!memory.botName && file === mainMemoryPath) {
169
- // Try multiple patterns for bot name
169
+ // Try multiple patterns for bot name (avoid "İsim:" which is user's name)
170
170
  const botNamePatterns = [
171
- /[İI]sim:\s*([^\n]+)/, // İsim: İchigo
172
- /Ben[,\s]+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)/, // Ben, İchigo
173
- /Adım[,\s]+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)/, // Adım İchigo
174
- /Ben\s+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)['']?[ıi]m/ // Ben İchigo'yum
171
+ /(?:bot|asistan|assistant)\s*(?:adı|name|ismi)[\s:]+\*?\*?([A-ZÇĞİÖŞÜa-zçğıöşü]+)\*?\*?/i, // Bot adı: İchigo
172
+ /Ben[,\s]+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)[,\s]/, // Ben, İchigo
173
+ /Adım[,\s]+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)/, // Adım İchigo
174
+ /Ben\s+([A-ZÇĞİÖŞÜ][a-zçğıöşü]+)['']?[ıi]m/ // Ben İchigo'yum
175
175
  ];
176
176
 
177
177
  for (const pattern of botNamePatterns) {