@vibeframe/cli 0.79.0 → 0.79.1
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/dist/index.js +40 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -30709,6 +30709,33 @@ function registerMotionCommand(aiCommand) {
|
|
|
30709
30709
|
if (options.output) {
|
|
30710
30710
|
validateOutputPath(options.output);
|
|
30711
30711
|
}
|
|
30712
|
+
if (options.duration !== void 0) {
|
|
30713
|
+
const d = parseFloat(options.duration);
|
|
30714
|
+
if (!Number.isFinite(d) || d <= 0 || d > 60) {
|
|
30715
|
+
exitWithError(usageError(
|
|
30716
|
+
`Invalid --duration: ${options.duration}`,
|
|
30717
|
+
"Must be a positive number \u2264 60 seconds."
|
|
30718
|
+
));
|
|
30719
|
+
}
|
|
30720
|
+
}
|
|
30721
|
+
if (options.width !== void 0) {
|
|
30722
|
+
const w = parseInt(options.width, 10);
|
|
30723
|
+
if (!Number.isFinite(w) || w < 16 || w > 7680) {
|
|
30724
|
+
exitWithError(usageError(
|
|
30725
|
+
`Invalid --width: ${options.width}`,
|
|
30726
|
+
"Must be an integer between 16 and 7680."
|
|
30727
|
+
));
|
|
30728
|
+
}
|
|
30729
|
+
}
|
|
30730
|
+
if (options.height !== void 0) {
|
|
30731
|
+
const h = parseInt(options.height, 10);
|
|
30732
|
+
if (!Number.isFinite(h) || h < 16 || h > 4320) {
|
|
30733
|
+
exitWithError(usageError(
|
|
30734
|
+
`Invalid --height: ${options.height}`,
|
|
30735
|
+
"Must be an integer between 16 and 4320."
|
|
30736
|
+
));
|
|
30737
|
+
}
|
|
30738
|
+
}
|
|
30712
30739
|
if (options.dryRun) {
|
|
30713
30740
|
outputSuccess({
|
|
30714
30741
|
command: "generate motion",
|
|
@@ -31842,6 +31869,15 @@ function registerMusicCommand(parent) {
|
|
|
31842
31869
|
if (options.output) {
|
|
31843
31870
|
validateOutputPath(options.output);
|
|
31844
31871
|
}
|
|
31872
|
+
if (options.duration !== void 0) {
|
|
31873
|
+
const d = parseFloat(options.duration);
|
|
31874
|
+
if (!Number.isFinite(d) || d <= 0 || d > 600) {
|
|
31875
|
+
exitWithError(usageError(
|
|
31876
|
+
`Invalid --duration: ${options.duration}`,
|
|
31877
|
+
"Must be a positive number \u2264 600s (ElevenLabs 3-600, Replicate 1-30)."
|
|
31878
|
+
));
|
|
31879
|
+
}
|
|
31880
|
+
}
|
|
31845
31881
|
const provider = (options.provider || "elevenlabs").toLowerCase();
|
|
31846
31882
|
if (options.dryRun) {
|
|
31847
31883
|
outputSuccess({
|
|
@@ -62187,7 +62223,7 @@ init_source();
|
|
|
62187
62223
|
// package.json
|
|
62188
62224
|
var package_default = {
|
|
62189
62225
|
name: "@vibeframe/cli",
|
|
62190
|
-
version: "0.79.
|
|
62226
|
+
version: "0.79.1",
|
|
62191
62227
|
description: "VibeFrame CLI - natural language video editing from the terminal",
|
|
62192
62228
|
private: false,
|
|
62193
62229
|
license: "MIT",
|
|
@@ -70360,21 +70396,21 @@ var REQUIRED_FFMPEG_FILTERS = {
|
|
|
70360
70396
|
drawtext: {
|
|
70361
70397
|
commands: ["edit text-overlay", "edit caption"],
|
|
70362
70398
|
fix: {
|
|
70363
|
-
darwin: "brew
|
|
70399
|
+
darwin: "brew tap homebrew-ffmpeg/ffmpeg && brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-freetype (Homebrew core ffmpeg lacks libfreetype)",
|
|
70364
70400
|
linux: "sudo apt install ffmpeg (or rebuild with --enable-libfreetype)"
|
|
70365
70401
|
}
|
|
70366
70402
|
},
|
|
70367
70403
|
subtitles: {
|
|
70368
70404
|
commands: ["edit caption"],
|
|
70369
70405
|
fix: {
|
|
70370
|
-
darwin: "brew
|
|
70406
|
+
darwin: "brew tap homebrew-ffmpeg/ffmpeg && brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libass (Homebrew core ffmpeg lacks libass)",
|
|
70371
70407
|
linux: "sudo apt install ffmpeg (or rebuild with --enable-libass)"
|
|
70372
70408
|
}
|
|
70373
70409
|
},
|
|
70374
70410
|
afftdn: {
|
|
70375
70411
|
commands: ["edit noise-reduce"],
|
|
70376
70412
|
fix: {
|
|
70377
|
-
darwin: "brew
|
|
70413
|
+
darwin: "brew install ffmpeg (afftdn ships in the default Homebrew formula; a reinstall is rarely needed)",
|
|
70378
70414
|
linux: "sudo apt install ffmpeg (or rebuild with --enable-libfftw3)"
|
|
70379
70415
|
}
|
|
70380
70416
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/cli",
|
|
3
|
-
"version": "0.79.
|
|
3
|
+
"version": "0.79.1",
|
|
4
4
|
"description": "VibeFrame CLI - natural language video editing from the terminal",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"tsx": "^4.21.0",
|
|
183
183
|
"typescript": "^5.3.3",
|
|
184
184
|
"vitest": "^1.2.2",
|
|
185
|
-
"@vibeframe/ai-providers": "0.79.
|
|
186
|
-
"@vibeframe/core": "0.79.
|
|
185
|
+
"@vibeframe/ai-providers": "0.79.1",
|
|
186
|
+
"@vibeframe/core": "0.79.1"
|
|
187
187
|
},
|
|
188
188
|
"engines": {
|
|
189
189
|
"node": ">=20"
|