@vibeframe/cli 0.115.6 → 0.115.8

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 (49) hide show
  1. package/dist/commands/_shared/edit/jump-cut.d.ts +2 -2
  2. package/dist/commands/_shared/image-jobs.d.ts +21 -0
  3. package/dist/commands/_shared/openai-image.d.ts +3 -36
  4. package/dist/commands/_shared/scene-inspect.d.ts +0 -1
  5. package/dist/commands/_shared/scene-render.d.ts +3 -9
  6. package/dist/commands/_shared/transcription.d.ts +16 -0
  7. package/dist/commands/_shared/translate-texts.d.ts +30 -0
  8. package/dist/commands/_shared/tts-resolve.d.ts +7 -1
  9. package/dist/commands/ai-analyze.d.ts +1 -3
  10. package/dist/commands/ai-audio.d.ts +24 -0
  11. package/dist/commands/ai-helpers.d.ts +0 -8
  12. package/dist/commands/ai-image.d.ts +19 -7
  13. package/dist/commands/edit/lottie-overlay.d.ts +76 -0
  14. package/dist/commands/edit/lottie-overlay.test.d.ts +1 -0
  15. package/dist/commands/edit/motion-overlay.d.ts +6 -1
  16. package/dist/commands/generate/image.d.ts +4 -3
  17. package/dist/commands/generate/music.d.ts +5 -0
  18. package/dist/commands/generate/sound-effect.d.ts +7 -1
  19. package/dist/commands/generate/speech.d.ts +12 -3
  20. package/dist/commands/generate.d.ts +0 -2
  21. package/dist/commands/output.d.ts +0 -3
  22. package/dist/commands/sanitize.d.ts +0 -5
  23. package/dist/commands/validate.d.ts +0 -11
  24. package/dist/config/index.d.ts +0 -9
  25. package/dist/index.js +5487 -6932
  26. package/dist/pipeline/executor.d.ts +0 -1
  27. package/dist/pipeline/renderers/chrome.d.ts +3 -4
  28. package/dist/tools/manifest/audio.d.ts +4 -1
  29. package/dist/tools/manifest/edit.d.ts +20 -17
  30. package/dist/tools/manifest/generate.d.ts +15 -6
  31. package/dist/tools/manifest/index.js +6969 -8211
  32. package/dist/tools/manifest/inspect.d.ts +4 -4
  33. package/dist/tools/manifest/remix.d.ts +4 -4
  34. package/dist/tools/manifest/scene.d.ts +8 -8
  35. package/dist/tools/manifest/timeline.d.ts +2 -2
  36. package/dist/utils/audio-file.d.ts +7 -0
  37. package/dist/utils/audio.d.ts +0 -10
  38. package/dist/utils/input-validation.d.ts +0 -5
  39. package/dist/utils/remotion.d.ts +0 -14
  40. package/dist/utils/tty.d.ts +0 -8
  41. package/package.json +4 -6
  42. package/dist/pipeline/renderers/html-clips.d.ts +0 -19
  43. package/dist/pipeline/renderers/html-runtime.d.ts +0 -6
  44. package/dist/pipeline/renderers/html-template.d.ts +0 -2
  45. package/dist/pipeline/renderers/hyperframes.d.ts +0 -7
  46. package/dist/pipeline/renderers/project-builder.d.ts +0 -7
  47. package/dist/pipeline/renderers/types.d.ts +0 -39
  48. /package/dist/{pipeline/renderers/__tests__/html-template.test.d.ts → commands/_shared/translate-texts.test.d.ts} +0 -0
  49. /package/dist/{pipeline/renderers/__tests__/integration.test.d.ts → commands/edit/lottie-overlay.integration.test.d.ts} +0 -0
@@ -10,7 +10,6 @@ export interface PipelineActionMetadata {
10
10
  outputs: readonly string[];
11
11
  requiredKeys?: readonly string[];
12
12
  }
13
- export declare function getPipelineActionMetadata(action?: PipelineAction): PipelineActionMetadata[] | PipelineActionMetadata | undefined;
14
13
  export declare function loadPipeline(filePath: string): Promise<PipelineManifest>;
15
14
  export interface ExecutePipelineOptions {
16
15
  /** Output directory for all step outputs */
@@ -2,8 +2,8 @@
2
2
  * @module pipeline/renderers/chrome
3
3
  *
4
4
  * Shared Chrome/Chromium discovery + preflight used by every Hyperframes-
5
- * backed renderer (the FFmpeg-bridge backend in `hyperframes.ts` and the
6
- * direct scene renderer in `commands/_shared/scene-render.ts`). Centralised
5
+ * backed renderer (the scene renderer in `commands/_shared/scene-render.ts`
6
+ * and the Lottie layer in `commands/edit/lottie-overlay.ts`). Centralised
7
7
  * so that adding a new candidate path or env var only touches one file.
8
8
  */
9
9
  /**
@@ -14,8 +14,7 @@
14
14
  export declare function findChrome(): string | undefined;
15
15
  /**
16
16
  * Returns `{ok: true}` when Chrome is available, otherwise a structured
17
- * `{ok: false, reason}` with installation guidance. Used by both the
18
- * `RenderBackend.preflight` interface and the standalone scene render path.
17
+ * `{ok: false, reason}` with installation guidance.
19
18
  */
20
19
  export declare function preflightChrome(): Promise<{
21
20
  ok: true;
@@ -2,7 +2,7 @@
2
2
  * @module manifest/audio
3
3
  * @description Audio post-processing tools.
4
4
  * audio_transcribe (Whisper), audio_isolate (ElevenLabs vocals isolation),
5
- * audio_clone_voice (ElevenLabs IVC), audio_dub (Whisper+Claude+ElevenLabs),
5
+ * audio_clone_voice (ElevenLabs IVC), audio_dub (Whisper + translation + any TTS),
6
6
  * audio_duck (FFmpeg sidechain).
7
7
  */
8
8
  import { z } from "zod";
@@ -54,6 +54,7 @@ export declare const audioDubTool: import("../define-tool.js").ToolDefinition<z.
54
54
  language: z.ZodString;
55
55
  source: z.ZodOptional<z.ZodString>;
56
56
  voice: z.ZodOptional<z.ZodString>;
57
+ tts: z.ZodOptional<z.ZodEnum<["auto", "elevenlabs", "openai", "kokoro"]>>;
57
58
  analyzeOnly: z.ZodOptional<z.ZodBoolean>;
58
59
  output: z.ZodOptional<z.ZodString>;
59
60
  }, "strip", z.ZodTypeAny, {
@@ -63,6 +64,7 @@ export declare const audioDubTool: import("../define-tool.js").ToolDefinition<z.
63
64
  source?: string | undefined;
64
65
  voice?: string | undefined;
65
66
  analyzeOnly?: boolean | undefined;
67
+ tts?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
66
68
  }, {
67
69
  language: string;
68
70
  mediaPath: string;
@@ -70,6 +72,7 @@ export declare const audioDubTool: import("../define-tool.js").ToolDefinition<z.
70
72
  source?: string | undefined;
71
73
  voice?: string | undefined;
72
74
  analyzeOnly?: boolean | undefined;
75
+ tts?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
73
76
  }>>;
74
77
  export declare const audioDuckTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
75
78
  musicPath: z.ZodString;
@@ -47,18 +47,18 @@ export declare const editCaptionTool: import("../define-tool.js").ToolDefinition
47
47
  outputPath: string;
48
48
  videoPath: string;
49
49
  style?: "bold" | "minimal" | "outline" | "karaoke" | undefined;
50
- language?: string | undefined;
51
50
  position?: "center" | "top" | "bottom" | undefined;
52
51
  fontSize?: number | undefined;
53
52
  fontColor?: string | undefined;
53
+ language?: string | undefined;
54
54
  }, {
55
55
  outputPath: string;
56
56
  videoPath: string;
57
57
  style?: "bold" | "minimal" | "outline" | "karaoke" | undefined;
58
- language?: string | undefined;
59
58
  position?: "center" | "top" | "bottom" | undefined;
60
59
  fontSize?: number | undefined;
61
60
  fontColor?: string | undefined;
61
+ language?: string | undefined;
62
62
  }>>;
63
63
  export declare const editFadeTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
64
64
  videoPath: z.ZodString;
@@ -108,17 +108,17 @@ export declare const editJumpCutTool: import("../define-tool.js").ToolDefinition
108
108
  }, "strip", z.ZodTypeAny, {
109
109
  outputPath: string;
110
110
  videoPath: string;
111
- language?: string | undefined;
112
111
  padding?: number | undefined;
113
112
  analyzeOnly?: boolean | undefined;
114
113
  fillers?: string[] | undefined;
114
+ language?: string | undefined;
115
115
  }, {
116
116
  outputPath: string;
117
117
  videoPath: string;
118
- language?: string | undefined;
119
118
  padding?: number | undefined;
120
119
  analyzeOnly?: boolean | undefined;
121
120
  fillers?: string[] | undefined;
121
+ language?: string | undefined;
122
122
  }>>;
123
123
  export declare const editTextOverlayTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
124
124
  videoPath: z.ZodString;
@@ -170,6 +170,7 @@ export declare const editMotionOverlayTool: import("../define-tool.js").ToolDefi
170
170
  videoPath: string;
171
171
  duration?: number | undefined;
172
172
  output?: string | undefined;
173
+ model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
173
174
  style?: string | undefined;
174
175
  description?: string | undefined;
175
176
  asset?: string | undefined;
@@ -178,13 +179,13 @@ export declare const editMotionOverlayTool: import("../define-tool.js").ToolDefi
178
179
  opacity?: number | undefined;
179
180
  loop?: boolean | undefined;
180
181
  start?: number | undefined;
181
- model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
182
182
  understand?: "auto" | "off" | "required" | undefined;
183
183
  understandingPrompt?: string | undefined;
184
184
  }, {
185
185
  videoPath: string;
186
186
  duration?: number | undefined;
187
187
  output?: string | undefined;
188
+ model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
188
189
  style?: string | undefined;
189
190
  description?: string | undefined;
190
191
  asset?: string | undefined;
@@ -193,7 +194,6 @@ export declare const editMotionOverlayTool: import("../define-tool.js").ToolDefi
193
194
  opacity?: number | undefined;
194
195
  loop?: boolean | undefined;
195
196
  start?: number | undefined;
196
- model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
197
197
  understand?: "auto" | "off" | "required" | undefined;
198
198
  understandingPrompt?: string | undefined;
199
199
  }>>;
@@ -247,16 +247,16 @@ export declare const editSpeedRampTool: import("../define-tool.js").ToolDefiniti
247
247
  videoPath: string;
248
248
  output?: string | undefined;
249
249
  style?: "action" | "dramatic" | "smooth" | undefined;
250
- language?: string | undefined;
251
250
  analyzeOnly?: boolean | undefined;
251
+ language?: string | undefined;
252
252
  minSpeed?: number | undefined;
253
253
  maxSpeed?: number | undefined;
254
254
  }, {
255
255
  videoPath: string;
256
256
  output?: string | undefined;
257
257
  style?: "action" | "dramatic" | "smooth" | undefined;
258
- language?: string | undefined;
259
258
  analyzeOnly?: boolean | undefined;
259
+ language?: string | undefined;
260
260
  minSpeed?: number | undefined;
261
261
  maxSpeed?: number | undefined;
262
262
  }>>;
@@ -306,13 +306,13 @@ export declare const editUpscaleTool: import("../define-tool.js").ToolDefinition
306
306
  }, "strip", z.ZodTypeAny, {
307
307
  videoPath: string;
308
308
  output?: string | undefined;
309
- quality?: "quality" | "fast" | undefined;
310
309
  scale?: number | undefined;
310
+ quality?: "quality" | "fast" | undefined;
311
311
  }, {
312
312
  videoPath: string;
313
313
  output?: string | undefined;
314
- quality?: "quality" | "fast" | undefined;
315
314
  scale?: number | undefined;
315
+ quality?: "quality" | "fast" | undefined;
316
316
  }>>;
317
317
  export declare const editAnimatedCaptionTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
318
318
  videoPath: z.ZodString;
@@ -329,44 +329,47 @@ export declare const editAnimatedCaptionTool: import("../define-tool.js").ToolDe
329
329
  outputPath: string;
330
330
  videoPath: string;
331
331
  style?: "highlight" | "bounce" | "pop-in" | "neon" | "karaoke-sweep" | "typewriter" | undefined;
332
- language?: string | undefined;
333
332
  position?: "center" | "top" | "bottom" | undefined;
334
333
  fontSize?: number | undefined;
335
334
  highlightColor?: string | undefined;
336
335
  fast?: boolean | undefined;
336
+ language?: string | undefined;
337
337
  wordsPerGroup?: number | undefined;
338
338
  maxChars?: number | undefined;
339
339
  }, {
340
340
  outputPath: string;
341
341
  videoPath: string;
342
342
  style?: "highlight" | "bounce" | "pop-in" | "neon" | "karaoke-sweep" | "typewriter" | undefined;
343
- language?: string | undefined;
344
343
  position?: "center" | "top" | "bottom" | undefined;
345
344
  fontSize?: number | undefined;
346
345
  highlightColor?: string | undefined;
347
346
  fast?: boolean | undefined;
347
+ language?: string | undefined;
348
348
  wordsPerGroup?: number | undefined;
349
349
  maxChars?: number | undefined;
350
350
  }>>;
351
351
  export declare const editImageTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
352
352
  imagePaths: z.ZodArray<z.ZodString, "many">;
353
353
  prompt: z.ZodString;
354
+ provider: z.ZodOptional<z.ZodEnum<["gemini", "openai", "grok"]>>;
354
355
  output: z.ZodOptional<z.ZodString>;
355
- model: z.ZodOptional<z.ZodEnum<["flash", "3.1-flash", "latest", "lite", "pro"]>>;
356
+ model: z.ZodOptional<z.ZodString>;
356
357
  ratio: z.ZodOptional<z.ZodString>;
357
358
  resolution: z.ZodOptional<z.ZodString>;
358
359
  }, "strip", z.ZodTypeAny, {
359
360
  prompt: string;
360
361
  imagePaths: string[];
362
+ provider?: "openai" | "gemini" | "grok" | undefined;
361
363
  output?: string | undefined;
362
- model?: "3.1-flash" | "latest" | "flash" | "pro" | "lite" | undefined;
364
+ model?: string | undefined;
363
365
  ratio?: string | undefined;
364
366
  resolution?: string | undefined;
365
367
  }, {
366
368
  prompt: string;
367
369
  imagePaths: string[];
370
+ provider?: "openai" | "gemini" | "grok" | undefined;
368
371
  output?: string | undefined;
369
- model?: "3.1-flash" | "latest" | "flash" | "pro" | "lite" | undefined;
372
+ model?: string | undefined;
370
373
  ratio?: string | undefined;
371
374
  resolution?: string | undefined;
372
375
  }>>;
@@ -385,7 +388,7 @@ export declare const editFillGapsTool: import("../define-tool.js").ToolDefinitio
385
388
  dir?: string | undefined;
386
389
  prompt?: string | undefined;
387
390
  ratio?: "16:9" | "9:16" | "1:1" | undefined;
388
- mode?: "pro" | "std" | undefined;
391
+ mode?: "std" | "pro" | undefined;
389
392
  }, {
390
393
  projectPath: string;
391
394
  dryRun?: boolean | undefined;
@@ -393,6 +396,6 @@ export declare const editFillGapsTool: import("../define-tool.js").ToolDefinitio
393
396
  dir?: string | undefined;
394
397
  prompt?: string | undefined;
395
398
  ratio?: "16:9" | "9:16" | "1:1" | undefined;
396
- mode?: "pro" | "std" | undefined;
399
+ mode?: "std" | "pro" | undefined;
397
400
  }>>;
398
401
  export declare const editTools: readonly AnyTool[];
@@ -31,9 +31,9 @@ export declare const generateMotionTool: import("../define-tool.js").ToolDefinit
31
31
  height?: number | undefined;
32
32
  output?: string | undefined;
33
33
  fps?: number | undefined;
34
+ model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
34
35
  style?: string | undefined;
35
36
  render?: boolean | undefined;
36
- model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
37
37
  understand?: "auto" | "off" | "required" | undefined;
38
38
  understandingPrompt?: string | undefined;
39
39
  }, {
@@ -45,23 +45,29 @@ export declare const generateMotionTool: import("../define-tool.js").ToolDefinit
45
45
  height?: number | undefined;
46
46
  output?: string | undefined;
47
47
  fps?: number | undefined;
48
+ model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
48
49
  style?: string | undefined;
49
50
  render?: boolean | undefined;
50
- model?: "gemini" | "sonnet" | "opus" | "gemini-3.1-pro" | "gemini-2.5-pro" | undefined;
51
51
  understand?: "auto" | "off" | "required" | undefined;
52
52
  understandingPrompt?: string | undefined;
53
53
  }>>;
54
54
  export declare const generateNarrationTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
55
55
  text: z.ZodString;
56
+ provider: z.ZodOptional<z.ZodEnum<["auto", "elevenlabs", "openai", "kokoro"]>>;
56
57
  output: z.ZodOptional<z.ZodString>;
57
58
  voice: z.ZodOptional<z.ZodString>;
59
+ model: z.ZodOptional<z.ZodString>;
58
60
  }, "strip", z.ZodTypeAny, {
59
61
  text: string;
62
+ provider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
60
63
  output?: string | undefined;
64
+ model?: string | undefined;
61
65
  voice?: string | undefined;
62
66
  }, {
63
67
  text: string;
68
+ provider?: "openai" | "elevenlabs" | "auto" | "kokoro" | undefined;
64
69
  output?: string | undefined;
70
+ model?: string | undefined;
65
71
  voice?: string | undefined;
66
72
  }>>;
67
73
  export declare const generateSoundEffectTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
@@ -109,25 +115,28 @@ export declare const generateImageTool: import("../define-tool.js").ToolDefiniti
109
115
  size: z.ZodOptional<z.ZodString>;
110
116
  ratio: z.ZodOptional<z.ZodString>;
111
117
  quality: z.ZodOptional<z.ZodString>;
118
+ resolution: z.ZodOptional<z.ZodString>;
112
119
  count: z.ZodOptional<z.ZodNumber>;
113
120
  model: z.ZodOptional<z.ZodString>;
114
121
  }, "strip", z.ZodTypeAny, {
115
122
  prompt: string;
116
123
  provider?: "openai" | "gemini" | "grok" | undefined;
117
124
  output?: string | undefined;
118
- count?: number | undefined;
119
- quality?: string | undefined;
120
125
  model?: string | undefined;
126
+ count?: number | undefined;
121
127
  ratio?: string | undefined;
128
+ resolution?: string | undefined;
129
+ quality?: string | undefined;
122
130
  size?: string | undefined;
123
131
  }, {
124
132
  prompt: string;
125
133
  provider?: "openai" | "gemini" | "grok" | undefined;
126
134
  output?: string | undefined;
127
- count?: number | undefined;
128
- quality?: string | undefined;
129
135
  model?: string | undefined;
136
+ count?: number | undefined;
130
137
  ratio?: string | undefined;
138
+ resolution?: string | undefined;
139
+ quality?: string | undefined;
131
140
  size?: string | undefined;
132
141
  }>>;
133
142
  export declare const generateThumbnailTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{