@vibeframe/mcp-server 0.79.0 → 0.79.2

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/dist/index.js +36 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -455710,6 +455710,33 @@ function registerMotionCommand(aiCommand) {
455710
455710
  if (options.output) {
455711
455711
  validateOutputPath(options.output);
455712
455712
  }
455713
+ if (options.duration !== void 0) {
455714
+ const d = parseFloat(options.duration);
455715
+ if (!Number.isFinite(d) || d <= 0 || d > 60) {
455716
+ exitWithError(usageError(
455717
+ `Invalid --duration: ${options.duration}`,
455718
+ "Must be a positive number \u2264 60 seconds."
455719
+ ));
455720
+ }
455721
+ }
455722
+ if (options.width !== void 0) {
455723
+ const w = parseInt(options.width, 10);
455724
+ if (!Number.isFinite(w) || w < 16 || w > 7680) {
455725
+ exitWithError(usageError(
455726
+ `Invalid --width: ${options.width}`,
455727
+ "Must be an integer between 16 and 7680."
455728
+ ));
455729
+ }
455730
+ }
455731
+ if (options.height !== void 0) {
455732
+ const h = parseInt(options.height, 10);
455733
+ if (!Number.isFinite(h) || h < 16 || h > 4320) {
455734
+ exitWithError(usageError(
455735
+ `Invalid --height: ${options.height}`,
455736
+ "Must be an integer between 16 and 4320."
455737
+ ));
455738
+ }
455739
+ }
455713
455740
  if (options.dryRun) {
455714
455741
  outputSuccess({
455715
455742
  command: "generate motion",
@@ -456681,6 +456708,15 @@ function registerMusicCommand(parent) {
456681
456708
  if (options.output) {
456682
456709
  validateOutputPath(options.output);
456683
456710
  }
456711
+ if (options.duration !== void 0) {
456712
+ const d = parseFloat(options.duration);
456713
+ if (!Number.isFinite(d) || d <= 0 || d > 600) {
456714
+ exitWithError(usageError(
456715
+ `Invalid --duration: ${options.duration}`,
456716
+ "Must be a positive number \u2264 600s (ElevenLabs 3-600, Replicate 1-30)."
456717
+ ));
456718
+ }
456719
+ }
456684
456720
  const provider = (options.provider || "elevenlabs").toLowerCase();
456685
456721
  if (options.dryRun) {
456686
456722
  outputSuccess({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeframe/mcp-server",
3
- "version": "0.79.0",
3
+ "version": "0.79.2",
4
4
  "description": "VibeFrame MCP Server - AI-native video editing via Model Context Protocol",
5
5
  "type": "module",
6
6
  "bin": {
@@ -57,8 +57,8 @@
57
57
  "tsx": "^4.21.0",
58
58
  "typescript": "^5.3.3",
59
59
  "vitest": "^1.2.2",
60
- "@vibeframe/cli": "0.79.0",
61
- "@vibeframe/core": "0.79.0"
60
+ "@vibeframe/cli": "0.79.2",
61
+ "@vibeframe/core": "0.79.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=20"