@vibeframe/cli 0.105.2 → 0.106.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/commands/_shared/edit/silence-cut.d.ts +1 -1
- package/dist/commands/_shared/render-inspect.d.ts +1 -1
- package/dist/commands/_shared/scene-html-emit.d.ts +24 -0
- package/dist/commands/ai-analyze.d.ts +2 -2
- package/dist/commands/ai-motion.d.ts +1 -1
- package/dist/commands/ai-review.d.ts +1 -1
- package/dist/commands/scene.d.ts +4 -1
- package/dist/index.js +267 -73
- package/dist/tools/manifest/edit.d.ts +11 -11
- package/dist/tools/manifest/generate.d.ts +6 -3
- package/dist/tools/manifest/index.js +249 -65
- package/dist/tools/manifest/inspect.d.ts +12 -12
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ export interface SilenceCutOptions {
|
|
|
30
30
|
analyzeOnly?: boolean;
|
|
31
31
|
/** Use Gemini multimodal analysis instead of FFmpeg silencedetect */
|
|
32
32
|
useGemini?: boolean;
|
|
33
|
-
/** Gemini model shorthand
|
|
33
|
+
/** Gemini model shorthand or full gemini-* model ID */
|
|
34
34
|
model?: string;
|
|
35
35
|
/** Use low-resolution mode for Gemini (longer videos) */
|
|
36
36
|
lowRes?: boolean;
|
|
@@ -12,7 +12,7 @@ export interface BeatTiming {
|
|
|
12
12
|
sceneDurationSec: number;
|
|
13
13
|
narrationDurationSec?: number;
|
|
14
14
|
}
|
|
15
|
-
export type RenderInspectModel =
|
|
15
|
+
export type RenderInspectModel = string;
|
|
16
16
|
export interface RenderInspectOptions {
|
|
17
17
|
projectDir: string;
|
|
18
18
|
beatId?: string;
|
|
@@ -27,6 +27,24 @@ export interface SceneTranscriptWord {
|
|
|
27
27
|
start: number;
|
|
28
28
|
end: number;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Position value for Lottie overlays. Mirrors the vocabulary used by
|
|
32
|
+
* `vibe edit motion-overlay --position`.
|
|
33
|
+
*/
|
|
34
|
+
export type LottiePosition = "full" | "center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
35
|
+
export declare const LOTTIE_POSITIONS: readonly LottiePosition[];
|
|
36
|
+
export interface LottieOverlayInput {
|
|
37
|
+
/** Project-relative path to the `.json` or `.lottie` file (e.g. "assets/logo.lottie"). */
|
|
38
|
+
src: string;
|
|
39
|
+
/** Overlay position. Defaults to "full". */
|
|
40
|
+
position?: LottiePosition;
|
|
41
|
+
/** Scale factor (0.01-2). Defaults to 1. */
|
|
42
|
+
scale?: number;
|
|
43
|
+
/** Opacity (0-1). Defaults to 1. */
|
|
44
|
+
opacity?: number;
|
|
45
|
+
/** Whether the animation loops. Defaults to true. */
|
|
46
|
+
loop?: boolean;
|
|
47
|
+
}
|
|
30
48
|
export interface EmitSceneInput {
|
|
31
49
|
/** Kebab-case scene id; appears in `data-composition-id` and template id. */
|
|
32
50
|
id: string;
|
|
@@ -55,6 +73,12 @@ export interface EmitSceneInput {
|
|
|
55
73
|
* their headlines are intentionally static.
|
|
56
74
|
*/
|
|
57
75
|
transcript?: SceneTranscriptWord[];
|
|
76
|
+
/**
|
|
77
|
+
* Optional Lottie animation overlay. When supplied, a `<dotlottie-wc>`
|
|
78
|
+
* element is layered on top of the preset's content. Uses the same
|
|
79
|
+
* position/scale/opacity vocabulary as `vibe edit motion-overlay`.
|
|
80
|
+
*/
|
|
81
|
+
lottie?: LottieOverlayInput;
|
|
58
82
|
}
|
|
59
83
|
/**
|
|
60
84
|
* Slugify a free-form scene name to a kebab-case id usable in HTML attributes
|
|
@@ -19,7 +19,7 @@ export interface GeminiVideoOptions {
|
|
|
19
19
|
/** Analysis prompt (e.g. "Summarize this video") */
|
|
20
20
|
prompt: string;
|
|
21
21
|
/** Gemini model shorthand (default: "flash") */
|
|
22
|
-
model?:
|
|
22
|
+
model?: string;
|
|
23
23
|
/** Frames per second for video sampling (default: 1) */
|
|
24
24
|
fps?: number;
|
|
25
25
|
/** Start offset in seconds for clipping */
|
|
@@ -63,7 +63,7 @@ export interface AnalyzeOptions {
|
|
|
63
63
|
/** Analysis prompt (e.g. "Describe this image") */
|
|
64
64
|
prompt: string;
|
|
65
65
|
/** Gemini model shorthand (default: "flash") */
|
|
66
|
-
model?:
|
|
66
|
+
model?: string;
|
|
67
67
|
/** Frames per second for video sampling (default: 1) */
|
|
68
68
|
fps?: number;
|
|
69
69
|
/** Start offset in seconds (video only) */
|
|
@@ -31,7 +31,7 @@ export interface MotionCommandOptions {
|
|
|
31
31
|
fromTsx?: string;
|
|
32
32
|
/**
|
|
33
33
|
* LLM model alias for code generation.
|
|
34
|
-
* sonnet (default) | opus | gemini | gemini-3.1-pro
|
|
34
|
+
* sonnet (default) | opus | gemini | gemini-2.5-pro | gemini-3.1-pro
|
|
35
35
|
*/
|
|
36
36
|
model?: string;
|
|
37
37
|
/** Output path (TSX if code-only, WebM/MP4 if rendered) */
|
|
@@ -25,7 +25,7 @@ export interface ReviewOptions {
|
|
|
25
25
|
/** Run a verification pass after applying fixes */
|
|
26
26
|
verify?: boolean;
|
|
27
27
|
/** Gemini model shorthand (default: "flash") */
|
|
28
|
-
model?:
|
|
28
|
+
model?: string;
|
|
29
29
|
/** Output path for the fixed video (auto-apply mode) */
|
|
30
30
|
outputPath?: string;
|
|
31
31
|
}
|
package/dist/commands/scene.d.ts
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { Command } from "commander";
|
|
20
20
|
import { type TtsProviderName } from "./_shared/tts-resolve.js";
|
|
21
|
-
import { type ScenePreset } from "./_shared/scene-html-emit.js";
|
|
21
|
+
import { type ScenePreset, type LottieOverlayInput } from "./_shared/scene-html-emit.js";
|
|
22
22
|
export declare const sceneCommand: Command;
|
|
23
23
|
export interface SceneAddOptions {
|
|
24
24
|
name: string;
|
|
@@ -62,6 +62,8 @@ export interface SceneAddOptions {
|
|
|
62
62
|
transcribeLanguage?: string;
|
|
63
63
|
/** Overwrite existing compositions/scene-<id>.html. */
|
|
64
64
|
force?: boolean;
|
|
65
|
+
/** Lottie animation overlay options. */
|
|
66
|
+
lottie?: LottieOverlayInput;
|
|
65
67
|
/** Progress sink (CLI spinner / agent stream). */
|
|
66
68
|
onProgress?: (msg: string) => void;
|
|
67
69
|
}
|
|
@@ -83,6 +85,7 @@ export interface SceneAddResult {
|
|
|
83
85
|
transcriptPath?: string;
|
|
84
86
|
/** Number of word entries emitted into the transcript JSON. */
|
|
85
87
|
transcriptWordCount?: number;
|
|
88
|
+
lottiePath?: string;
|
|
86
89
|
error?: string;
|
|
87
90
|
}
|
|
88
91
|
export declare function executeSceneAdd(opts: SceneAddOptions): Promise<SceneAddResult>;
|