@vibeframe/mcp-server 0.48.3 → 0.48.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.
- package/dist/index.js +4 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -426900,9 +426900,11 @@ var init_GeminiProvider = __esm({
|
|
|
426900
426900
|
"9:16": "9:16",
|
|
426901
426901
|
"1:1": "1:1"
|
|
426902
426902
|
};
|
|
426903
|
+
const requestedDuration = typeof veoOpts.duration === "number" ? veoOpts.duration : 8;
|
|
426904
|
+
const veoDuration = requestedDuration <= 5 ? 4 : requestedDuration <= 7 ? 6 : 8;
|
|
426903
426905
|
const parameters = {
|
|
426904
426906
|
aspectRatio: aspectRatioMap[veoOpts.aspectRatio || "16:9"] || "16:9",
|
|
426905
|
-
durationSeconds:
|
|
426907
|
+
durationSeconds: veoDuration
|
|
426906
426908
|
};
|
|
426907
426909
|
if (veoOpts.negativePrompt) {
|
|
426908
426910
|
parameters.negativePrompt = veoOpts.negativePrompt;
|
|
@@ -431686,7 +431688,7 @@ var init_GrokProvider = __esm({
|
|
|
431686
431688
|
};
|
|
431687
431689
|
}
|
|
431688
431690
|
try {
|
|
431689
|
-
const duration = Math.min(15, Math.max(1, options?.duration || 5));
|
|
431691
|
+
const duration = Math.round(Math.min(15, Math.max(1, options?.duration || 5)));
|
|
431690
431692
|
const body = {
|
|
431691
431693
|
model: DEFAULT_MODEL4,
|
|
431692
431694
|
prompt: prompt3,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/mcp-server",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.4",
|
|
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.48.
|
|
61
|
-
"@vibeframe/core": "0.48.
|
|
60
|
+
"@vibeframe/cli": "0.48.4",
|
|
61
|
+
"@vibeframe/core": "0.48.4"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=20"
|