videonut 1.2.3 → 1.2.4

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 (2) hide show
  1. package/bin/videonut.js +28 -3
  2. package/package.json +1 -1
package/bin/videonut.js CHANGED
@@ -477,14 +477,38 @@ async function runInit() {
477
477
  // ═══════════════════════════════════════════════════════════════
478
478
  header('Step 6/6: Final Setup');
479
479
 
480
- // Create a launch script
480
+ // Create paths for local tools
481
+ const localPythonPath = path.join(videoNutDir, 'python');
482
+ const localToolsPath = path.join(videoNutDir, 'tools', 'bin');
483
+
484
+ // Create a launch script that adds local Python and FFmpeg to PATH
481
485
  const launchScriptContent = isWindows
482
486
  ? `@echo off
483
- echo Starting VideoNut with ${selectedCli || 'your CLI'}...
487
+ REM Add local Python and FFmpeg to PATH for this session
488
+ set PATH=${localPythonPath};${localPythonPath}\\Scripts;${localToolsPath};%PATH%
489
+
490
+ echo.
491
+ echo ====================================
492
+ echo VideoNut Environment Ready!
493
+ echo Python: ${localPythonPath}
494
+ echo FFmpeg: ${localToolsPath}
495
+ echo ====================================
496
+ echo.
497
+ echo Starting ${selectedCli || 'your CLI'}...
484
498
  ${selectedCli || 'gemini'}
485
499
  `
486
500
  : `#!/bin/bash
487
- echo "Starting VideoNut with ${selectedCli || 'your CLI'}..."
501
+ # Add local Python and FFmpeg to PATH for this session
502
+ export PATH="${localPythonPath}:${localPythonPath}/bin:${localToolsPath}:$PATH"
503
+
504
+ echo ""
505
+ echo "===================================="
506
+ echo " VideoNut Environment Ready!"
507
+ echo " Python: ${localPythonPath}"
508
+ echo " FFmpeg: ${localToolsPath}"
509
+ echo "===================================="
510
+ echo ""
511
+ echo "Starting ${selectedCli || 'your CLI'}..."
488
512
  ${selectedCli || 'gemini'}
489
513
  `;
490
514
 
@@ -494,6 +518,7 @@ ${selectedCli || 'gemini'}
494
518
  execSync(`chmod +x "${launchScriptPath}"`);
495
519
  }
496
520
  success(`Created launch script: ${path.basename(launchScriptPath)}`);
521
+ info('Use this script to start with Python & FFmpeg in PATH!');
497
522
 
498
523
  // ═══════════════════════════════════════════════════════════════
499
524
  // INSTALLATION COMPLETE!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videonut",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
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",