mega-brain-ai 1.2.4 → 1.2.5

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.

Potentially problematic release.


This version of mega-brain-ai might be problematic. Click here for more details.

@@ -276,17 +276,20 @@ async function fetchPremiumContent(targetDir, token, spinner) {
276
276
  const authUrl = `https://x-access-token:${token}@github.com/thiagofinch/mega-brain-premium.git`;
277
277
 
278
278
  if (!existsSync(join(tempDir, '.git'))) {
279
- spinner.text = 'Clonando repositório premium...';
279
+ spinner.succeed(chalk.cyan('Iniciando download do conteúdo premium (~300 MB)...'));
280
+ console.log(chalk.dim(' Isso pode levar alguns minutos dependendo da sua conexão.\n'));
280
281
 
281
282
  try {
282
283
  execSync(`git clone --depth 1 "${authUrl}" "${tempDir}"`, {
283
- stdio: 'pipe',
284
- encoding: 'utf-8',
285
- timeout: 120000,
284
+ stdio: 'inherit',
285
+ timeout: 600000,
286
286
  });
287
287
  } catch (cloneErr) {
288
- throw new Error(`Git clone falhou: ${cloneErr.message.split('\n')[0]}`);
288
+ throw new Error(`Git clone falhou. Verifique sua conexão e tente novamente.`);
289
289
  }
290
+
291
+ console.log();
292
+ spinner.start('Verificando download...');
290
293
  } else {
291
294
  spinner.text = 'Download anterior encontrado, reutilizando...';
292
295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mega-brain-ai",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "AI Knowledge Management System - Transform expert materials into actionable playbooks",
5
5
  "type": "module",
6
6
  "bin": {