@vibeframe/cli 0.115.1 → 0.115.3

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.
@@ -150,9 +150,10 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
150
150
  ttsProvider: z.ZodOptional<z.ZodEnum<["auto", "elevenlabs", "openai", "kokoro"]>>;
151
151
  voice: z.ZodOptional<z.ZodString>;
152
152
  imageProvider: z.ZodOptional<z.ZodEnum<["openai"]>>;
153
- videoProvider: z.ZodOptional<z.ZodEnum<["seedance", "grok", "kling", "runway", "veo"]>>;
153
+ videoProvider: z.ZodOptional<z.ZodEnum<["seedance", "grok", "kling", "runway", "omni", "veo"]>>;
154
154
  musicProvider: z.ZodOptional<z.ZodEnum<["elevenlabs", "replicate"]>>;
155
155
  imageQuality: z.ZodOptional<z.ZodEnum<["standard", "hd"]>>;
156
+ imageModel: z.ZodOptional<z.ZodString>;
156
157
  imageSize: z.ZodOptional<z.ZodEnum<["1024x1024", "1536x1024", "1024x1536"]>>;
157
158
  maxCostUsd: z.ZodOptional<z.ZodNumber>;
158
159
  force: z.ZodOptional<z.ZodBoolean>;
@@ -168,10 +169,11 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
168
169
  skipBackdrop?: boolean | undefined;
169
170
  skipRender?: boolean | undefined;
170
171
  imageProvider?: "openai" | undefined;
172
+ imageModel?: string | undefined;
171
173
  ttsProvider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
172
174
  skipVideo?: boolean | undefined;
173
175
  skipMusic?: boolean | undefined;
174
- videoProvider?: "grok" | "seedance" | "kling" | "runway" | "veo" | undefined;
176
+ videoProvider?: "grok" | "seedance" | "kling" | "runway" | "omni" | "veo" | undefined;
175
177
  musicProvider?: "elevenlabs" | "replicate" | undefined;
176
178
  imageQuality?: "standard" | "hd" | undefined;
177
179
  imageSize?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
@@ -188,10 +190,11 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
188
190
  skipBackdrop?: boolean | undefined;
189
191
  skipRender?: boolean | undefined;
190
192
  imageProvider?: "openai" | undefined;
193
+ imageModel?: string | undefined;
191
194
  ttsProvider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
192
195
  skipVideo?: boolean | undefined;
193
196
  skipMusic?: boolean | undefined;
194
- videoProvider?: "grok" | "seedance" | "kling" | "runway" | "veo" | undefined;
197
+ videoProvider?: "grok" | "seedance" | "kling" | "runway" | "omni" | "veo" | undefined;
195
198
  musicProvider?: "elevenlabs" | "replicate" | undefined;
196
199
  imageQuality?: "standard" | "hd" | undefined;
197
200
  imageSize?: "1024x1024" | "1536x1024" | "1024x1536" | undefined;
@@ -92,7 +92,7 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
92
92
  imageProvider: z.ZodOptional<z.ZodString>;
93
93
  imageQuality: z.ZodOptional<z.ZodEnum<["standard", "hd"]>>;
94
94
  imageSize: z.ZodOptional<z.ZodString>;
95
- videoProvider: z.ZodOptional<z.ZodEnum<["seedance", "grok", "kling", "runway", "veo"]>>;
95
+ videoProvider: z.ZodOptional<z.ZodEnum<["seedance", "grok", "kling", "runway", "omni", "veo"]>>;
96
96
  musicProvider: z.ZodOptional<z.ZodEnum<["elevenlabs", "replicate"]>>;
97
97
  composer: z.ZodOptional<z.ZodEnum<["claude", "openai", "gemini"]>>;
98
98
  force: z.ZodOptional<z.ZodBoolean>;
@@ -110,7 +110,7 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
110
110
  ttsProvider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
111
111
  skipVideo?: boolean | undefined;
112
112
  skipMusic?: boolean | undefined;
113
- videoProvider?: "grok" | "seedance" | "kling" | "runway" | "veo" | undefined;
113
+ videoProvider?: "grok" | "seedance" | "kling" | "runway" | "omni" | "veo" | undefined;
114
114
  musicProvider?: "elevenlabs" | "replicate" | undefined;
115
115
  imageQuality?: "standard" | "hd" | undefined;
116
116
  imageSize?: string | undefined;
@@ -128,7 +128,7 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
128
128
  ttsProvider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
129
129
  skipVideo?: boolean | undefined;
130
130
  skipMusic?: boolean | undefined;
131
- videoProvider?: "grok" | "seedance" | "kling" | "runway" | "veo" | undefined;
131
+ videoProvider?: "grok" | "seedance" | "kling" | "runway" | "omni" | "veo" | undefined;
132
132
  musicProvider?: "elevenlabs" | "replicate" | undefined;
133
133
  imageQuality?: "standard" | "hd" | undefined;
134
134
  imageSize?: string | undefined;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Write generated image bytes to the path the user or project asked for.
3
+ *
4
+ * Providers do not always return the format the file name implies: newer
5
+ * Gemini image models answer with JPEG even when the caller saves to
6
+ * `.png`. Writing those bytes as-is leaves a JPEG behind a `.png` name,
7
+ * which upload hosts and downstream tools then mislabel. This helper
8
+ * converts with FFmpeg (a required VibeFrame dependency) when the bytes
9
+ * and the extension disagree.
10
+ */
11
+ export type ImageFormat = "png" | "jpeg" | "webp";
12
+ /** Detect PNG, JPEG, or WebP from the file signature. */
13
+ export declare function detectImageFormat(buffer: Buffer): ImageFormat | undefined;
14
+ /**
15
+ * Write `buffer` to `path`, converting it first when its format does not
16
+ * match the path's extension. Unknown formats or extensions are written
17
+ * unchanged.
18
+ */
19
+ export declare function writeImageFile(path: string, buffer: Buffer): Promise<void>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeframe/cli",
3
- "version": "0.115.1",
3
+ "version": "0.115.3",
4
4
  "description": "Frontier AI video generation for coding agents - Seedance, Runway, Veo, and Kling on your own keys, behind a hard cost cap",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -91,8 +91,8 @@
91
91
  "tsx": "^4.21.0",
92
92
  "typescript": "^5.3.3",
93
93
  "vitest": "^1.2.2",
94
- "@vibeframe/core": "0.115.1",
95
- "@vibeframe/ai-providers": "0.115.1"
94
+ "@vibeframe/ai-providers": "0.115.3",
95
+ "@vibeframe/core": "0.115.3"
96
96
  },
97
97
  "engines": {
98
98
  "node": ">=20"