natureco-cli 2.13.1 → 2.13.2

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.1",
3
+ "version": "2.13.2",
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.1</div>
214
+ <div class="version-badge" id="version-badge">v2.13.2</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.1',
344
+ version: 'v2.13.2',
345
345
  bots: cfg.bots || [],
346
346
  telegramToken: cfg.telegramToken || null,
347
347
  whatsappConnected: cfg.whatsappConnected || false,
@@ -165,6 +165,21 @@ async function migrate(options) {
165
165
  JSON.stringify(workspacePackageJson, null, 2)
166
166
  );
167
167
 
168
+ // Copy .env file (check multiple locations)
169
+ const envSources = [
170
+ path.join(openclawDir, 'workspace', 'scripts', '.env'), // önce buraya bak
171
+ path.join(openclawDir, '.env') // sonra buna
172
+ ];
173
+ const envDest = path.join(workspaceDir, '.env');
174
+
175
+ for (const envSource of envSources) {
176
+ if (fs.existsSync(envSource)) {
177
+ fs.copyFileSync(envSource, envDest);
178
+ console.log(chalk.green('✅ .env dosyası kopyalandı'));
179
+ break;
180
+ }
181
+ }
182
+
168
183
  // Install npm packages
169
184
  console.log(chalk.yellow('\n📦 Workspace npm paketleri kuruluyor...\n'));
170
185
  try {