videonut 1.2.4 → 1.2.6

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/README.md CHANGED
@@ -55,7 +55,7 @@ VideoNut transforms your ideas into **production-ready YouTube documentaries** u
55
55
 
56
56
  ### ⚠️ Prerequisites: Install Node.js First
57
57
 
58
- VideoNut requires **Node.js 18+** to run. Choose one method to install:
58
+ VideoNut requires **Node.js 20+** to run. Choose one method to install:
59
59
 
60
60
  <details>
61
61
  <summary><b>📥 Option A: Download from Website (Easiest)</b></summary>
package/bin/videonut.js CHANGED
@@ -396,6 +396,18 @@ async function runInit() {
396
396
  stdio: 'inherit'
397
397
  });
398
398
  success('Python requirements installed');
399
+
400
+ // Install Playwright browsers (needed for screenshot tools)
401
+ try {
402
+ info('Installing Playwright browsers (for screenshots)...');
403
+ execSync(`"${pythonCmd}" -m playwright install chromium`, {
404
+ stdio: 'inherit'
405
+ });
406
+ success('Playwright browsers installed');
407
+ } catch (e) {
408
+ warning('Could not install Playwright browsers');
409
+ info('Run manually: python -m playwright install chromium');
410
+ }
399
411
  } catch (e) {
400
412
  warning('Could not install Python requirements automatically');
401
413
  info(`Please run: ${pythonCmd} -m pip install -r ${reqPath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videonut",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
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",
@@ -60,6 +60,6 @@
60
60
  "LICENSE"
61
61
  ],
62
62
  "engines": {
63
- "node": ">=16.0.0"
63
+ "node": ">=20.0.0"
64
64
  }
65
65
  }
package/setup.js CHANGED
@@ -240,6 +240,16 @@ async function main() {
240
240
  info('Installing Python requirements...');
241
241
  execSync(`"${pythonCmd}" -m pip install -r "${reqPath}"`, { stdio: 'inherit' });
242
242
  success('Python requirements installed!');
243
+
244
+ // Install Playwright browsers (needed for screenshot tools)
245
+ try {
246
+ info('Installing Playwright browsers (for screenshots)...');
247
+ execSync(`"${pythonCmd}" -m playwright install chromium`, { stdio: 'inherit' });
248
+ success('Playwright browsers installed!');
249
+ } catch (e) {
250
+ warning('Could not install Playwright browsers');
251
+ info('Run manually: python -m playwright install chromium');
252
+ }
243
253
  } catch (e) {
244
254
  warning('Could not install requirements. Try: pip install -r requirements.txt');
245
255
  }