@vibeframe/mcp-server 0.50.0 → 0.52.0
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 +12 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -432026,7 +432026,8 @@ Instruction: ${instruction}`
|
|
|
432026
432026
|
};
|
|
432027
432027
|
ClaudeProvider.MOTION_MODELS = {
|
|
432028
432028
|
sonnet: "claude-sonnet-4-6",
|
|
432029
|
-
opus: "claude-opus-4-
|
|
432029
|
+
opus: "claude-opus-4-7",
|
|
432030
|
+
"opus-4-6": "claude-opus-4-6"
|
|
432030
432031
|
};
|
|
432031
432032
|
claudeProvider = new ClaudeProvider();
|
|
432032
432033
|
}
|
|
@@ -432769,7 +432770,7 @@ var init_OpenAIImageProvider = __esm({
|
|
|
432769
432770
|
constructor() {
|
|
432770
432771
|
this.id = "openai-image";
|
|
432771
432772
|
this.name = "OpenAI GPT Image";
|
|
432772
|
-
this.description = "AI image generation with GPT Image 1.5 (
|
|
432773
|
+
this.description = "AI image generation with GPT Image 1.5 (default) and GPT Image 2 (opt-in)";
|
|
432773
432774
|
this.capabilities = ["text-to-image", "background-removal", "image-editing"];
|
|
432774
432775
|
this.iconUrl = "/icons/openai.svg";
|
|
432775
432776
|
this.isAvailable = true;
|
|
@@ -432796,7 +432797,7 @@ var init_OpenAIImageProvider = __esm({
|
|
|
432796
432797
|
};
|
|
432797
432798
|
}
|
|
432798
432799
|
const model = options.model || DEFAULT_MODEL;
|
|
432799
|
-
const isGPTImage = model === "gpt-image-1.5";
|
|
432800
|
+
const isGPTImage = model === "gpt-image-1.5" || model === "gpt-image-2";
|
|
432800
432801
|
try {
|
|
432801
432802
|
const body = {
|
|
432802
432803
|
model,
|
|
@@ -445263,7 +445264,7 @@ import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
|
445263
445264
|
import { readFile as readFile8, writeFile as writeFile9, mkdir as mkdir8 } from "node:fs/promises";
|
|
445264
445265
|
import { existsSync as existsSync24 } from "node:fs";
|
|
445265
445266
|
function _registerImageCommands(aiCommand) {
|
|
445266
|
-
aiCommand.command("image").description("Generate image using AI (Gemini or DALL-E)").argument("<prompt>", "Image description prompt").option("-p, --provider <provider>", "Provider: gemini, openai, runway (dalle is deprecated)", "gemini").option("-k, --api-key <key>", "API key (or set env: OPENAI_API_KEY, GOOGLE_API_KEY)").option("-o, --output <path>", "Output file path (downloads image)").option("-s, --size <size>", "Image size (openai: 1024x1024, 1536x1024, 1024x1536)", "1024x1024").option("-r, --ratio <ratio>", "Aspect ratio (gemini: 1:1, 1:4, 1:8, 4:1, 8:1, 16:9, 9:16, 3:4, 4:3, etc.)", "1:1").option("-q, --quality <quality>", "Quality: standard, hd (openai only)", "standard").option("--style <style>", "Style: vivid, natural (openai only)", "vivid").option("-n, --count <n>", "Number of images to generate", "1").option("-m, --model <model>", "Gemini
|
|
445267
|
+
aiCommand.command("image").description("Generate image using AI (Gemini or DALL-E)").argument("<prompt>", "Image description prompt").option("-p, --provider <provider>", "Provider: gemini, openai, runway (dalle is deprecated)", "gemini").option("-k, --api-key <key>", "API key (or set env: OPENAI_API_KEY, GOOGLE_API_KEY)").option("-o, --output <path>", "Output file path (downloads image)").option("-s, --size <size>", "Image size (openai: 1024x1024, 1536x1024, 1024x1536)", "1024x1024").option("-r, --ratio <ratio>", "Aspect ratio (gemini: 1:1, 1:4, 1:8, 4:1, 8:1, 16:9, 9:16, 3:4, 4:3, etc.)", "1:1").option("-q, --quality <quality>", "Quality: standard, hd (openai only)", "standard").option("--style <style>", "Style: vivid, natural (openai only)", "vivid").option("-n, --count <n>", "Number of images to generate", "1").option("-m, --model <model>", "Model. Gemini: flash, 3.1-flash, latest, pro. OpenAI: 1.5 (default), 2 (gpt-image-2)").option("--dry-run", "Preview parameters without executing").action(async (prompt3, options) => {
|
|
445267
445268
|
try {
|
|
445268
445269
|
if (options.output) {
|
|
445269
445270
|
validateOutputPath(options.output);
|
|
@@ -445304,7 +445305,10 @@ function _registerImageCommands(aiCommand) {
|
|
|
445304
445305
|
if (provider === "dalle" || provider === "openai") {
|
|
445305
445306
|
const openaiImage = new OpenAIImageProvider();
|
|
445306
445307
|
await openaiImage.initialize({ apiKey });
|
|
445308
|
+
const modelAlias = options.model;
|
|
445309
|
+
const openaiModel = modelAlias === "2" || modelAlias === "gpt-image-2" ? "gpt-image-2" : void 0;
|
|
445307
445310
|
const result = await openaiImage.generateImage(prompt3, {
|
|
445311
|
+
model: openaiModel,
|
|
445308
445312
|
size: options.size,
|
|
445309
445313
|
quality: options.quality,
|
|
445310
445314
|
style: options.style,
|
|
@@ -445314,7 +445318,8 @@ function _registerImageCommands(aiCommand) {
|
|
|
445314
445318
|
spinner2.fail("Image generation failed");
|
|
445315
445319
|
exitWithError(apiError(result.error || "Image generation failed", true));
|
|
445316
445320
|
}
|
|
445317
|
-
|
|
445321
|
+
const modelLabel = openaiModel === "gpt-image-2" ? "GPT Image 2" : "GPT Image 1.5";
|
|
445322
|
+
spinner2.succeed(source_default.green(`Generated ${result.images.length} image(s) with OpenAI ${modelLabel}`));
|
|
445318
445323
|
console.log();
|
|
445319
445324
|
console.log(source_default.bold.cyan("Generated Images"));
|
|
445320
445325
|
console.log(source_default.dim("\u2500".repeat(60)));
|
|
@@ -449645,7 +449650,8 @@ var init_ai_motion = __esm({
|
|
|
449645
449650
|
init_validate();
|
|
449646
449651
|
MODEL_MAP2 = {
|
|
449647
449652
|
sonnet: { provider: "claude", modelId: "claude-sonnet-4-6" },
|
|
449648
|
-
opus: { provider: "claude", modelId: "claude-opus-4-
|
|
449653
|
+
opus: { provider: "claude", modelId: "claude-opus-4-7" },
|
|
449654
|
+
"opus-4-6": { provider: "claude", modelId: "claude-opus-4-6" },
|
|
449649
449655
|
gemini: { provider: "gemini", modelId: "gemini-2.5-pro" },
|
|
449650
449656
|
"gemini-3.1-pro": { provider: "gemini", modelId: "gemini-3.1-pro-preview" }
|
|
449651
449657
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
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/core": "0.
|
|
61
|
-
"@vibeframe/cli": "0.
|
|
60
|
+
"@vibeframe/core": "0.52.0",
|
|
61
|
+
"@vibeframe/cli": "0.52.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=20"
|