natureco-cli 2.13.0 → 2.13.1

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.0",
3
+ "version": "2.13.1",
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.0</div>
214
+ <div class="version-badge" id="version-badge">v2.13.1</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.0',
344
+ version: 'v2.13.1',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,
@@ -124,6 +124,10 @@ async function migrate(options) {
124
124
  .replace(/C:\/\/\/\/Users\/\/\/\/user\/\/\/\//g, `${os.homedir()}/`)
125
125
  .replace(/C:\/Users\/user\//g, `${os.homedir()}/`)
126
126
  .replace(/C:\/Users\/user\//g, `${os.homedir()}/`)
127
+ // Double slash versions (escaped in strings)
128
+ .replace(/C:\/\/Users\/\/user\/\/\.natureco\/\//g, `${os.homedir()}/.natureco/`)
129
+ .replace(/C:\/\/Users\/\/user\/\//g, `${os.homedir()}/`)
130
+ .replace(/E:\/\/\.natureco\/\//g, `${os.homedir()}/.natureco/`)
127
131
  // String literals with quotes
128
132
  .replace(/'C:\/Users\/user\/\.natureco\//g, `'${os.homedir()}/.natureco/`)
129
133
  .replace(/"C:\/Users\/user\/\.natureco\//g, `"${os.homedir()}/.natureco/`)
@@ -229,6 +233,10 @@ async function migrate(options) {
229
233
  .replace(/C:\/\/\/\/Users\/\/\/\/user\/\/\/\//g, `${os.homedir()}/`)
230
234
  .replace(/C:\/Users\/user\//g, `${os.homedir()}/`)
231
235
  .replace(/C:\/Users\/user\//g, `${os.homedir()}/`)
236
+ // Double slash versions (escaped in strings)
237
+ .replace(/C:\/\/Users\/\/user\/\/\.natureco\/\//g, `${os.homedir()}/.natureco/`)
238
+ .replace(/C:\/\/Users\/\/user\/\//g, `${os.homedir()}/`)
239
+ .replace(/E:\/\/\.natureco\/\//g, `${os.homedir()}/.natureco/`)
232
240
  // String literals with quotes
233
241
  .replace(/'C:\/Users\/user\/\.natureco\//g, `'${os.homedir()}/.natureco/`)
234
242
  .replace(/"C:\/Users\/user\/\.natureco\//g, `"${os.homedir()}/.natureco/`)