videonut 1.2.7 → 1.2.8

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.
Files changed (3) hide show
  1. package/bin/videonut.js +37 -21
  2. package/package.json +1 -1
  3. package/setup.js +33 -15
package/bin/videonut.js CHANGED
@@ -459,38 +459,40 @@ async function runInit() {
459
459
  info(' No AI CLI currently installed');
460
460
  }
461
461
 
462
- // Always offer installation choice (Gemini recommended)
462
+ // Always offer installation choice
463
463
  console.log('\nšŸ“¦ CLI Installation:');
464
- console.log(' 1. Install Gemini CLI (recommended - by Google)');
465
- console.log(' 2. Install Claude CLI (by Anthropic)');
466
- console.log(' 3. Install Qwen CLI (by Alibaba)');
464
+ console.log(' 1. Install BOTH Gemini + Qwen (⭐ RECOMMENDED)');
465
+ console.log(' → Gemini: Best for content writing & creativity');
466
+ console.log(' → Qwen: Best for instruction following & agent tasks');
467
+ console.log(' 2. Install Gemini CLI only (by Google)');
468
+ console.log(' 3. Install Qwen CLI only (by Alibaba)');
467
469
  if (hasGemini || hasQwen || hasClaude) {
468
470
  console.log(' 4. Skip - Use existing CLI\n');
469
471
  } else {
470
472
  console.log(' 4. Skip - I will install manually\n');
471
473
  }
472
474
 
473
- const choice = await ask('Enter choice [1 for Gemini]: ');
475
+ const choice = await ask('Enter choice [1 for BOTH]: ');
474
476
 
475
477
  if (choice === '2') {
476
- // Install Claude CLI
478
+ // Install Gemini CLI only
477
479
  try {
478
- info('Installing Claude CLI globally...');
479
- execSync('npm install -g @anthropic-ai/claude-code', { stdio: 'inherit' });
480
- success('Claude CLI installed successfully!');
481
- info('Run "claude" to start Claude CLI');
482
- selectedCli = 'claude';
480
+ info('Installing Gemini CLI globally...');
481
+ execSync('npm install -g @google/gemini-cli', { stdio: 'inherit' });
482
+ success('Gemini CLI installed successfully!');
483
+ info('Run "gemini" to start - Best for content writing');
484
+ selectedCli = 'gemini';
483
485
  } catch (e) {
484
- error('Failed to install Claude CLI');
485
- info('Please install manually: npm install -g @anthropic-ai/claude-code');
486
+ error('Failed to install Gemini CLI');
487
+ info('Please install manually: npm install -g @google/gemini-cli');
486
488
  }
487
489
  } else if (choice === '3') {
488
- // Install Qwen CLI
490
+ // Install Qwen CLI only
489
491
  try {
490
492
  info('Installing Qwen CLI globally...');
491
493
  execSync('npm install -g @qwen-code/qwen-code', { stdio: 'inherit' });
492
494
  success('Qwen CLI installed successfully!');
493
- info('Run "qwen" to start Qwen CLI');
495
+ info('Run "qwen" to start - Best for instruction following');
494
496
  selectedCli = 'qwen';
495
497
  } catch (e) {
496
498
  error('Failed to install Qwen CLI');
@@ -503,17 +505,31 @@ async function runInit() {
503
505
  else if (hasClaude) selectedCli = 'claude';
504
506
  info('Skipped CLI installation');
505
507
  } else {
506
- // Install Gemini CLI (default for choice 1 or empty)
508
+ // Install BOTH Gemini + Qwen (default for choice 1 or empty)
509
+ info('Installing BOTH Gemini CLI and Qwen CLI...\n');
510
+
511
+ // Install Gemini
507
512
  try {
508
513
  info('Installing Gemini CLI globally...');
509
514
  execSync('npm install -g @google/gemini-cli', { stdio: 'inherit' });
510
- success('Gemini CLI installed successfully!');
511
- info('Run "gemini" to start Gemini CLI');
512
- selectedCli = 'gemini';
515
+ success('Gemini CLI installed! (Best for content writing)');
513
516
  } catch (e) {
514
- warning('Could not auto-install Gemini CLI');
515
- info('Please install manually: npm install -g @google/gemini-cli');
517
+ warning('Could not install Gemini CLI');
518
+ }
519
+
520
+ // Install Qwen
521
+ try {
522
+ info('Installing Qwen CLI globally...');
523
+ execSync('npm install -g @qwen-code/qwen-code', { stdio: 'inherit' });
524
+ success('Qwen CLI installed! (Best for instruction following)');
525
+ } catch (e) {
526
+ warning('Could not install Qwen CLI');
516
527
  }
528
+
529
+ selectedCli = 'gemini'; // Default to Gemini for launch
530
+ console.log('\nāœ… Both CLIs installed!');
531
+ console.log(' Use "gemini" for creative content');
532
+ console.log(' Use "qwen" for agent/instruction tasks');
517
533
  }
518
534
 
519
535
  // ═══════════════════════════════════════════════════════════════
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videonut",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "AI-powered YouTube documentary production pipeline with 10 specialized agents for research, scripting, and asset management",
5
5
  "keywords": [
6
6
  "youtube",
package/setup.js CHANGED
@@ -297,46 +297,64 @@ async function main() {
297
297
  info(' No AI CLI currently installed');
298
298
  }
299
299
 
300
- // Always offer installation choice (Gemini recommended)
300
+ // Always offer installation choice
301
301
  console.log('\nšŸ“¦ CLI Installation:');
302
- console.log(' 1. Install Gemini CLI (recommended - by Google)');
303
- console.log(' 2. Install Claude CLI (by Anthropic)');
304
- console.log(' 3. Install Qwen CLI (by Alibaba)');
302
+ console.log(' 1. Install BOTH Gemini + Qwen (⭐ RECOMMENDED)');
303
+ console.log(' → Gemini: Best for content writing & creativity');
304
+ console.log(' → Qwen: Best for instruction following & agent tasks');
305
+ console.log(' 2. Install Gemini CLI only (by Google)');
306
+ console.log(' 3. Install Qwen CLI only (by Alibaba)');
305
307
  if (hasGemini || hasQwen || hasClaude) {
306
308
  console.log(' 4. Skip - Use existing CLI\n');
307
309
  } else {
308
310
  console.log(' 4. Skip - I will install manually\n');
309
311
  }
310
312
 
311
- const answer = await ask('Enter choice [1 for Gemini]: ');
313
+ const answer = await ask('Enter choice [1 for BOTH]: ');
312
314
 
313
315
  if (answer === '2') {
316
+ // Install Gemini CLI only
314
317
  try {
315
- info('Installing Claude CLI globally...');
316
- execSync('npm install -g @anthropic-ai/claude-code', { stdio: 'inherit' });
317
- success('Claude CLI installed! Run "claude" to start.');
318
+ info('Installing Gemini CLI globally...');
319
+ execSync('npm install -g @google/gemini-cli', { stdio: 'inherit' });
320
+ success('Gemini CLI installed! (Best for content writing)');
318
321
  } catch (e) {
319
- warning('Could not install CLI.');
320
- info('Install manually: npm install -g @anthropic-ai/claude-code');
322
+ warning('Could not install Gemini CLI.');
323
+ info('Install manually: npm install -g @google/gemini-cli');
321
324
  }
322
325
  } else if (answer === '3') {
326
+ // Install Qwen CLI only
323
327
  try {
324
328
  info('Installing Qwen CLI globally...');
325
329
  execSync('npm install -g @qwen-code/qwen-code', { stdio: 'inherit' });
326
- success('Qwen CLI installed! Run "qwen" to start.');
330
+ success('Qwen CLI installed! (Best for instruction following)');
327
331
  } catch (e) {
328
- warning('Could not install CLI.');
332
+ warning('Could not install Qwen CLI.');
329
333
  info('Install manually: npm install -g @qwen-code/qwen-code');
330
334
  }
331
335
  } else if (answer !== '4') {
336
+ // Install BOTH Gemini + Qwen (default)
337
+ info('Installing BOTH Gemini CLI and Qwen CLI...\n');
338
+
332
339
  try {
333
340
  info('Installing Gemini CLI globally...');
334
341
  execSync('npm install -g @google/gemini-cli', { stdio: 'inherit' });
335
- success('Gemini CLI installed! Run "gemini" to start.');
342
+ success('Gemini CLI installed! (Best for content writing)');
336
343
  } catch (e) {
337
- warning('Could not install CLI.');
338
- info('Install manually: npm install -g @google/gemini-cli');
344
+ warning('Could not install Gemini CLI.');
345
+ }
346
+
347
+ try {
348
+ info('Installing Qwen CLI globally...');
349
+ execSync('npm install -g @qwen-code/qwen-code', { stdio: 'inherit' });
350
+ success('Qwen CLI installed! (Best for instruction following)');
351
+ } catch (e) {
352
+ warning('Could not install Qwen CLI.');
339
353
  }
354
+
355
+ console.log('\nāœ… Both CLIs installed!');
356
+ console.log(' Use "gemini" for creative content');
357
+ console.log(' Use "qwen" for agent/instruction tasks');
340
358
  }
341
359
 
342
360
  // ═══════════════════════════════════════════════════════════════