@vibeframe/cli 0.113.30 → 0.115.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/build-plan.d.ts +2 -1
- package/dist/commands/_shared/compose-prompts.d.ts +3 -2
- package/dist/commands/_shared/help-groups.d.ts +49 -0
- package/dist/commands/_shared/help-groups.test.d.ts +1 -0
- package/dist/commands/_shared/storyboard-edit.d.ts +12 -2
- package/dist/commands/_shared/storyboard-parse.d.ts +42 -10
- package/dist/commands/_shared/storyboard-source.d.ts +228 -0
- package/dist/commands/_shared/storyboard-source.test.d.ts +1 -0
- package/dist/commands/ai-motion.d.ts +1 -1
- package/dist/commands/ai-review.d.ts +0 -2
- package/dist/commands/generate/music-status.d.ts +0 -2
- package/dist/commands/generate/speech.d.ts +0 -1
- package/dist/commands/generate/storyboard.d.ts +0 -2
- package/dist/commands/generate.d.ts +0 -7
- package/dist/commands/inspect.d.ts +0 -2
- package/dist/commands/run.d.ts +1 -1
- package/dist/index.js +2737 -4440
- package/dist/tools/define-tool.js +0 -40
- package/dist/tools/manifest/edit.d.ts +2 -2
- package/dist/tools/manifest/generate.d.ts +2 -70
- package/dist/tools/manifest/index.js +7741 -9342
- package/dist/tools/manifest/inspect.d.ts +4 -51
- package/dist/tools/manifest/remix.d.ts +10 -44
- package/dist/tools/manifest/scene.d.ts +10 -10
- package/dist/tools/manifest/storyboard.d.ts +4 -4
- package/dist/utils/agent-host-detect.d.ts +7 -2
- package/package.json +3 -3
- package/dist/commands/ai-script-pipeline-cli.d.ts +0 -10
- package/dist/commands/ai-script-pipeline.d.ts +0 -74
- package/dist/commands/generate/background.d.ts +0 -22
- package/dist/commands/generate/video-status.d.ts +0 -8
|
@@ -14,13 +14,13 @@ export declare const inspectProjectTool: import("../define-tool.js").ToolDefinit
|
|
|
14
14
|
report: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
outputPath?: string | undefined;
|
|
17
|
-
projectDir?: string | undefined;
|
|
18
17
|
beat?: string | undefined;
|
|
18
|
+
projectDir?: string | undefined;
|
|
19
19
|
report?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
outputPath?: string | undefined;
|
|
22
|
-
projectDir?: string | undefined;
|
|
23
22
|
beat?: string | undefined;
|
|
23
|
+
projectDir?: string | undefined;
|
|
24
24
|
report?: boolean | undefined;
|
|
25
25
|
}>>;
|
|
26
26
|
export declare const inspectRenderTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
|
|
@@ -35,8 +35,8 @@ export declare const inspectRenderTool: import("../define-tool.js").ToolDefiniti
|
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
dryRun?: boolean | undefined;
|
|
37
37
|
outputPath?: string | undefined;
|
|
38
|
-
projectDir?: string | undefined;
|
|
39
38
|
beat?: string | undefined;
|
|
39
|
+
projectDir?: string | undefined;
|
|
40
40
|
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
41
41
|
videoPath?: string | undefined;
|
|
42
42
|
report?: boolean | undefined;
|
|
@@ -44,8 +44,8 @@ export declare const inspectRenderTool: import("../define-tool.js").ToolDefiniti
|
|
|
44
44
|
}, {
|
|
45
45
|
dryRun?: boolean | undefined;
|
|
46
46
|
outputPath?: string | undefined;
|
|
47
|
-
projectDir?: string | undefined;
|
|
48
47
|
beat?: string | undefined;
|
|
48
|
+
projectDir?: string | undefined;
|
|
49
49
|
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
50
50
|
videoPath?: string | undefined;
|
|
51
51
|
report?: boolean | undefined;
|
|
@@ -76,53 +76,6 @@ export declare const analyzeMediaTool: import("../define-tool.js").ToolDefinitio
|
|
|
76
76
|
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
77
77
|
lowRes?: boolean | undefined;
|
|
78
78
|
}>>;
|
|
79
|
-
export declare const analyzeVideoTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
|
|
80
|
-
source: z.ZodString;
|
|
81
|
-
prompt: z.ZodString;
|
|
82
|
-
model: z.ZodOptional<z.ZodEnum<["flash", "latest", "flash-3", "flash-2.5", "pro", "pro-3.1"]>>;
|
|
83
|
-
fps: z.ZodOptional<z.ZodNumber>;
|
|
84
|
-
start: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
end: z.ZodOptional<z.ZodNumber>;
|
|
86
|
-
lowRes: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
source: string;
|
|
89
|
-
prompt: string;
|
|
90
|
-
fps?: number | undefined;
|
|
91
|
-
end?: number | undefined;
|
|
92
|
-
start?: number | undefined;
|
|
93
|
-
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
94
|
-
lowRes?: boolean | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
source: string;
|
|
97
|
-
prompt: string;
|
|
98
|
-
fps?: number | undefined;
|
|
99
|
-
end?: number | undefined;
|
|
100
|
-
start?: number | undefined;
|
|
101
|
-
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
102
|
-
lowRes?: boolean | undefined;
|
|
103
|
-
}>>;
|
|
104
|
-
export declare const analyzeReviewTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
|
|
105
|
-
videoPath: z.ZodString;
|
|
106
|
-
storyboardPath: z.ZodOptional<z.ZodString>;
|
|
107
|
-
autoApply: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
verify: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
model: z.ZodOptional<z.ZodEnum<["flash", "latest", "flash-3", "flash-2.5", "pro", "pro-3.1"]>>;
|
|
110
|
-
outputPath: z.ZodOptional<z.ZodString>;
|
|
111
|
-
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
videoPath: string;
|
|
113
|
-
outputPath?: string | undefined;
|
|
114
|
-
storyboardPath?: string | undefined;
|
|
115
|
-
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
116
|
-
autoApply?: boolean | undefined;
|
|
117
|
-
verify?: boolean | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
videoPath: string;
|
|
120
|
-
outputPath?: string | undefined;
|
|
121
|
-
storyboardPath?: string | undefined;
|
|
122
|
-
model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
|
|
123
|
-
autoApply?: boolean | undefined;
|
|
124
|
-
verify?: boolean | undefined;
|
|
125
|
-
}>>;
|
|
126
79
|
export declare const analyzeSuggestTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
|
|
127
80
|
projectPath: z.ZodString;
|
|
128
81
|
instruction: z.ZodString;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module manifest/pipeline
|
|
3
3
|
* @description Pipeline tools.
|
|
4
|
-
* remix_highlights, remix_auto_shorts (long-form
|
|
5
|
-
* run (YAML pipeline executor
|
|
6
|
-
* remix_regenerate_scene (scene re-render against an existing
|
|
7
|
-
* storyboard.{yaml,json} on disk).
|
|
4
|
+
* remix_highlights, remix_auto_shorts (long-form -> clips),
|
|
5
|
+
* run (YAML pipeline executor - wraps top-level `vibe run`).
|
|
8
6
|
*
|
|
9
|
-
* `pipeline_script_to_video` was retired alongside the CLI subcommand
|
|
7
|
+
* `pipeline_script_to_video` was retired alongside the CLI subcommand -
|
|
10
8
|
* the skill-driven `build` flow replaces it (idempotent, cheaper,
|
|
11
|
-
* per-beat editable).
|
|
9
|
+
* per-beat editable). `remix_regenerate_scene` followed it out for the
|
|
10
|
+
* same reason: `vibe build <project> --beat <id> --force` regenerates one
|
|
11
|
+
* beat against the storyboard the project already owns.
|
|
12
12
|
*/
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import { type AnyTool } from "../define-tool.js";
|
|
@@ -28,8 +28,8 @@ export declare const pipelineHighlightsTool: import("../define-tool.js").ToolDef
|
|
|
28
28
|
project?: string | undefined;
|
|
29
29
|
duration?: number | undefined;
|
|
30
30
|
output?: string | undefined;
|
|
31
|
-
language?: string | undefined;
|
|
32
31
|
count?: number | undefined;
|
|
32
|
+
language?: string | undefined;
|
|
33
33
|
useGemini?: boolean | undefined;
|
|
34
34
|
threshold?: number | undefined;
|
|
35
35
|
criteria?: "all" | "emotional" | "informative" | "funny" | undefined;
|
|
@@ -39,8 +39,8 @@ export declare const pipelineHighlightsTool: import("../define-tool.js").ToolDef
|
|
|
39
39
|
project?: string | undefined;
|
|
40
40
|
duration?: number | undefined;
|
|
41
41
|
output?: string | undefined;
|
|
42
|
-
language?: string | undefined;
|
|
43
42
|
count?: number | undefined;
|
|
43
|
+
language?: string | undefined;
|
|
44
44
|
useGemini?: boolean | undefined;
|
|
45
45
|
threshold?: number | undefined;
|
|
46
46
|
criteria?: "all" | "emotional" | "informative" | "funny" | undefined;
|
|
@@ -61,9 +61,9 @@ export declare const pipelineAutoShortsTool: import("../define-tool.js").ToolDef
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
video: string;
|
|
63
63
|
duration?: number | undefined;
|
|
64
|
+
count?: number | undefined;
|
|
64
65
|
aspect?: "9:16" | "1:1" | undefined;
|
|
65
66
|
language?: string | undefined;
|
|
66
|
-
count?: number | undefined;
|
|
67
67
|
analyzeOnly?: boolean | undefined;
|
|
68
68
|
useGemini?: boolean | undefined;
|
|
69
69
|
outputDir?: string | undefined;
|
|
@@ -73,9 +73,9 @@ export declare const pipelineAutoShortsTool: import("../define-tool.js").ToolDef
|
|
|
73
73
|
}, {
|
|
74
74
|
video: string;
|
|
75
75
|
duration?: number | undefined;
|
|
76
|
+
count?: number | undefined;
|
|
76
77
|
aspect?: "9:16" | "1:1" | undefined;
|
|
77
78
|
language?: string | undefined;
|
|
78
|
-
count?: number | undefined;
|
|
79
79
|
analyzeOnly?: boolean | undefined;
|
|
80
80
|
useGemini?: boolean | undefined;
|
|
81
81
|
outputDir?: string | undefined;
|
|
@@ -117,38 +117,4 @@ export declare const pipelineRunTool: import("../define-tool.js").ToolDefinition
|
|
|
117
117
|
maxErrors?: number | undefined;
|
|
118
118
|
effort?: "high" | "low" | "medium" | "xhigh" | undefined;
|
|
119
119
|
}>>;
|
|
120
|
-
export declare const pipelineRegenerateSceneTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
|
|
121
|
-
projectDir: z.ZodString;
|
|
122
|
-
scenes: z.ZodArray<z.ZodNumber, "many">;
|
|
123
|
-
videoOnly: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
-
narrationOnly: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
-
imageOnly: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
-
generator: z.ZodOptional<z.ZodEnum<["kling", "runway", "veo"]>>;
|
|
127
|
-
imageProvider: z.ZodOptional<z.ZodEnum<["gemini", "openai", "grok"]>>;
|
|
128
|
-
voice: z.ZodOptional<z.ZodString>;
|
|
129
|
-
aspectRatio: z.ZodOptional<z.ZodEnum<["16:9", "9:16", "1:1"]>>;
|
|
130
|
-
retries: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
projectDir: string;
|
|
133
|
-
scenes: number[];
|
|
134
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
135
|
-
voice?: string | undefined;
|
|
136
|
-
videoOnly?: boolean | undefined;
|
|
137
|
-
retries?: number | undefined;
|
|
138
|
-
imageProvider?: "openai" | "gemini" | "grok" | undefined;
|
|
139
|
-
narrationOnly?: boolean | undefined;
|
|
140
|
-
imageOnly?: boolean | undefined;
|
|
141
|
-
generator?: "kling" | "runway" | "veo" | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
projectDir: string;
|
|
144
|
-
scenes: number[];
|
|
145
|
-
aspectRatio?: "16:9" | "9:16" | "1:1" | undefined;
|
|
146
|
-
voice?: string | undefined;
|
|
147
|
-
videoOnly?: boolean | undefined;
|
|
148
|
-
retries?: number | undefined;
|
|
149
|
-
imageProvider?: "openai" | "gemini" | "grok" | undefined;
|
|
150
|
-
narrationOnly?: boolean | undefined;
|
|
151
|
-
imageOnly?: boolean | undefined;
|
|
152
|
-
generator?: "kling" | "runway" | "veo" | undefined;
|
|
153
|
-
}>>;
|
|
154
120
|
export declare const remixTools: readonly AnyTool[];
|
|
@@ -47,11 +47,11 @@ export declare const sceneAddTool: import("../define-tool.js").ToolDefinition<z.
|
|
|
47
47
|
name: string;
|
|
48
48
|
duration?: number | undefined;
|
|
49
49
|
voice?: string | undefined;
|
|
50
|
+
narration?: string | undefined;
|
|
51
|
+
kicker?: string | undefined;
|
|
50
52
|
preset?: "simple" | "announcement" | "explainer" | "kinetic-type" | "product-shot" | undefined;
|
|
51
53
|
headline?: string | undefined;
|
|
52
|
-
kicker?: string | undefined;
|
|
53
54
|
projectDir?: string | undefined;
|
|
54
|
-
narration?: string | undefined;
|
|
55
55
|
force?: boolean | undefined;
|
|
56
56
|
imageProvider?: "openai" | "gemini" | undefined;
|
|
57
57
|
visuals?: string | undefined;
|
|
@@ -63,11 +63,11 @@ export declare const sceneAddTool: import("../define-tool.js").ToolDefinition<z.
|
|
|
63
63
|
name: string;
|
|
64
64
|
duration?: number | undefined;
|
|
65
65
|
voice?: string | undefined;
|
|
66
|
+
narration?: string | undefined;
|
|
67
|
+
kicker?: string | undefined;
|
|
66
68
|
preset?: "simple" | "announcement" | "explainer" | "kinetic-type" | "product-shot" | undefined;
|
|
67
69
|
headline?: string | undefined;
|
|
68
|
-
kicker?: string | undefined;
|
|
69
70
|
projectDir?: string | undefined;
|
|
70
|
-
narration?: string | undefined;
|
|
71
71
|
force?: boolean | undefined;
|
|
72
72
|
imageProvider?: "openai" | "gemini" | undefined;
|
|
73
73
|
visuals?: string | undefined;
|
|
@@ -116,9 +116,9 @@ export declare const sceneRenderTool: import("../define-tool.js").ToolDefinition
|
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
output?: string | undefined;
|
|
118
118
|
fps?: number | undefined;
|
|
119
|
+
beat?: string | undefined;
|
|
119
120
|
root?: string | undefined;
|
|
120
121
|
projectDir?: string | undefined;
|
|
121
|
-
beat?: string | undefined;
|
|
122
122
|
quality?: "draft" | "standard" | "high" | undefined;
|
|
123
123
|
format?: "mp4" | "mov" | "webm" | undefined;
|
|
124
124
|
workers?: number | undefined;
|
|
@@ -127,9 +127,9 @@ export declare const sceneRenderTool: import("../define-tool.js").ToolDefinition
|
|
|
127
127
|
}, {
|
|
128
128
|
output?: string | undefined;
|
|
129
129
|
fps?: number | undefined;
|
|
130
|
+
beat?: string | undefined;
|
|
130
131
|
root?: string | undefined;
|
|
131
132
|
projectDir?: string | undefined;
|
|
132
|
-
beat?: string | undefined;
|
|
133
133
|
quality?: "draft" | "standard" | "high" | undefined;
|
|
134
134
|
format?: "mp4" | "mov" | "webm" | undefined;
|
|
135
135
|
workers?: number | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
|
|
|
158
158
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
voice?: string | undefined;
|
|
161
|
-
projectDir?: string | undefined;
|
|
162
161
|
beat?: string | undefined;
|
|
162
|
+
projectDir?: string | undefined;
|
|
163
163
|
force?: boolean | undefined;
|
|
164
164
|
mode?: "auto" | "agent" | "batch" | undefined;
|
|
165
165
|
stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
|
|
@@ -178,8 +178,8 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
|
|
|
178
178
|
maxCostUsd?: number | undefined;
|
|
179
179
|
}, {
|
|
180
180
|
voice?: string | undefined;
|
|
181
|
-
projectDir?: string | undefined;
|
|
182
181
|
beat?: string | undefined;
|
|
182
|
+
projectDir?: string | undefined;
|
|
183
183
|
force?: boolean | undefined;
|
|
184
184
|
mode?: "auto" | "agent" | "batch" | undefined;
|
|
185
185
|
stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
|
|
@@ -229,13 +229,13 @@ export declare const sceneSubmitTool: import("../define-tool.js").ToolDefinition
|
|
|
229
229
|
html: z.ZodString;
|
|
230
230
|
validateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
html: string;
|
|
233
232
|
beat: string;
|
|
233
|
+
html: string;
|
|
234
234
|
projectDir?: string | undefined;
|
|
235
235
|
validateOnly?: boolean | undefined;
|
|
236
236
|
}, {
|
|
237
|
-
html: string;
|
|
238
237
|
beat: string;
|
|
238
|
+
html: string;
|
|
239
239
|
projectDir?: string | undefined;
|
|
240
240
|
validateOnly?: boolean | undefined;
|
|
241
241
|
}>>;
|
|
@@ -34,15 +34,15 @@ export declare const storyboardSetTool: import("../define-tool.js").ToolDefiniti
|
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
beat: string;
|
|
36
36
|
key: string;
|
|
37
|
-
projectDir?: string | undefined;
|
|
38
37
|
value?: string | undefined;
|
|
38
|
+
projectDir?: string | undefined;
|
|
39
39
|
unset?: boolean | undefined;
|
|
40
40
|
jsonValue?: boolean | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
beat: string;
|
|
43
43
|
key: string;
|
|
44
|
-
projectDir?: string | undefined;
|
|
45
44
|
value?: string | undefined;
|
|
45
|
+
projectDir?: string | undefined;
|
|
46
46
|
unset?: boolean | undefined;
|
|
47
47
|
jsonValue?: boolean | undefined;
|
|
48
48
|
}>>;
|
|
@@ -98,8 +98,8 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
|
|
|
98
98
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
voice?: string | undefined;
|
|
101
|
-
projectDir?: string | undefined;
|
|
102
101
|
beat?: string | undefined;
|
|
102
|
+
projectDir?: string | undefined;
|
|
103
103
|
force?: boolean | undefined;
|
|
104
104
|
mode?: "auto" | "agent" | "batch" | undefined;
|
|
105
105
|
stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
|
|
|
116
116
|
imageSize?: string | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
voice?: string | undefined;
|
|
119
|
-
projectDir?: string | undefined;
|
|
120
119
|
beat?: string | undefined;
|
|
120
|
+
projectDir?: string | undefined;
|
|
121
121
|
force?: boolean | undefined;
|
|
122
122
|
mode?: "auto" | "agent" | "batch" | undefined;
|
|
123
123
|
stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
|
|
@@ -29,8 +29,13 @@ export interface AgentHostInfo {
|
|
|
29
29
|
/** Signals that fired (empty array when `detected` is false). */
|
|
30
30
|
signals: AgentHostSignal[];
|
|
31
31
|
/**
|
|
32
|
-
* Files this host
|
|
33
|
-
*
|
|
32
|
+
* Files that indicate this host is set up in a project - a DETECTION
|
|
33
|
+
* signal, not a scaffold list. `vibe init` does not write these: it writes
|
|
34
|
+
* one `AGENTS.md` (plus `CLAUDE.md` importing it) for every host, and
|
|
35
|
+
* `--mcp` / `vibe host setup` adds MCP config for the three hosts that
|
|
36
|
+
* support it. Reading this list as "what init creates" produced a
|
|
37
|
+
* landing-page grid that promised `GEMINI.md`, `.aider.conf.yml`,
|
|
38
|
+
* `.opencode/` and `.cursor/rules`, none of which anything writes.
|
|
34
39
|
*/
|
|
35
40
|
projectFiles: string[];
|
|
36
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.115.0",
|
|
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/
|
|
95
|
-
"@vibeframe/
|
|
94
|
+
"@vibeframe/ai-providers": "0.115.0",
|
|
95
|
+
"@vibeframe/core": "0.115.0"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|
|
98
98
|
"node": ">=20"
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ai-script-pipeline-cli
|
|
3
|
-
* @description Commander wiring for `vibe pipeline regenerate-scene`. The
|
|
4
|
-
* sibling `script-to-video` subcommand and its execute function were
|
|
5
|
-
* removed in favour of the skill-driven `vibe scene build` flow; only
|
|
6
|
-
* regenerate-scene survives because it operates on existing on-disk
|
|
7
|
-
* storyboards. Execute function lives in `ai-script-pipeline.ts`.
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from "commander";
|
|
10
|
-
export declare function registerScriptPipelineCommands(aiCommand: Command): void;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module ai-script-pipeline
|
|
3
|
-
*
|
|
4
|
-
* Library function for scene regeneration in script-to-video output
|
|
5
|
-
* directories, plus pass-through re-exports of `_shared/video-utils.js` and
|
|
6
|
-
* `_shared/video-providers.js` helpers (consumed by `ai-video.ts` and
|
|
7
|
-
* `generate/video.ts`).
|
|
8
|
-
*
|
|
9
|
-
* Powers the manifest tool `remix_regenerate_scene` and the user-facing
|
|
10
|
-
* `vibe pipeline regenerate-scene` CLI subcommand.
|
|
11
|
-
*
|
|
12
|
-
* Note: `executeScriptToVideo` and the `pipeline script-to-video` CLI / MCP
|
|
13
|
-
* surface were removed in favour of the Hyperframes-style skill-driven
|
|
14
|
-
* `vibe scene build` flow, which is idempotent, cheaper, and per-beat
|
|
15
|
-
* editable. The `regenerate-scene` half is preserved because it operates on
|
|
16
|
-
* the on-disk storyboard.{yaml,json} produced by older runs (and by other
|
|
17
|
-
* pipelines that still emit that layout).
|
|
18
|
-
*
|
|
19
|
-
* @dependencies ElevenLabs (TTS), OpenAI/Gemini/Grok (images),
|
|
20
|
-
* Kling/Runway/Veo/Grok (video), FFmpeg (extension)
|
|
21
|
-
*/
|
|
22
|
-
import { type StoryboardSegment, DEFAULT_VIDEO_RETRIES, RETRY_DELAY_MS, sleep, uploadToImgbb, extendVideoToTarget, logSceneFailure, waitForVideoWithRetry } from "./_shared/video-utils.js";
|
|
23
|
-
import { generateVideoWithRetryGrok, generateVideoWithRetryKling, generateVideoWithRetryRunway, generateVideoWithRetryVeo } from "./_shared/video-providers.js";
|
|
24
|
-
export { DEFAULT_VIDEO_RETRIES, RETRY_DELAY_MS, sleep, uploadToImgbb, extendVideoToTarget, logSceneFailure, waitForVideoWithRetry, generateVideoWithRetryGrok, generateVideoWithRetryKling, generateVideoWithRetryRunway, generateVideoWithRetryVeo, };
|
|
25
|
-
export type { StoryboardSegment };
|
|
26
|
-
/** Options for {@link executeRegenerateScene}. */
|
|
27
|
-
export interface RegenerateSceneOptions {
|
|
28
|
-
/** Path to the project output directory containing storyboard.json */
|
|
29
|
-
projectDir: string;
|
|
30
|
-
/** 1-indexed scene numbers to regenerate */
|
|
31
|
-
scenes: number[];
|
|
32
|
-
/** Only regenerate video (keep existing image) */
|
|
33
|
-
videoOnly?: boolean;
|
|
34
|
-
/** Only regenerate narration audio */
|
|
35
|
-
narrationOnly?: boolean;
|
|
36
|
-
/** Only regenerate scene image */
|
|
37
|
-
imageOnly?: boolean;
|
|
38
|
-
/** Video generation provider */
|
|
39
|
-
generator?: "grok" | "kling" | "runway" | "veo";
|
|
40
|
-
/** Image generation provider */
|
|
41
|
-
imageProvider?: "gemini" | "openai" | "grok";
|
|
42
|
-
/** ElevenLabs voice name or ID */
|
|
43
|
-
voice?: string;
|
|
44
|
-
/** Video aspect ratio */
|
|
45
|
-
aspectRatio?: "16:9" | "9:16" | "1:1";
|
|
46
|
-
/** Max retries per video generation call */
|
|
47
|
-
retries?: number;
|
|
48
|
-
/** Reference scene number for character consistency (auto-detects if not specified) */
|
|
49
|
-
referenceScene?: number;
|
|
50
|
-
/** Called at per-scene progress points (`Scene N: regenerating narration...`). */
|
|
51
|
-
onProgress?: (message: string) => void;
|
|
52
|
-
}
|
|
53
|
-
/** Result from {@link executeRegenerateScene}. */
|
|
54
|
-
export interface RegenerateSceneResult {
|
|
55
|
-
/** Whether all requested scenes were regenerated */
|
|
56
|
-
success: boolean;
|
|
57
|
-
/** 1-indexed scene numbers successfully regenerated */
|
|
58
|
-
regeneratedScenes: number[];
|
|
59
|
-
/** 1-indexed scene numbers that failed to regenerate */
|
|
60
|
-
failedScenes: number[];
|
|
61
|
-
/** Error message on failure */
|
|
62
|
-
error?: string;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Regenerate specific scene(s) in an existing script-to-video project.
|
|
66
|
-
*
|
|
67
|
-
* Reads the storyboard.{yaml,json} from the project directory, then
|
|
68
|
-
* regenerates the requested scenes using the specified video/image provider.
|
|
69
|
-
* Supports image-to-video via ImgBB URL upload for Kling.
|
|
70
|
-
*
|
|
71
|
-
* @param options - Scene regeneration configuration
|
|
72
|
-
* @returns Result with lists of regenerated and failed scene numbers
|
|
73
|
-
*/
|
|
74
|
-
export declare function executeRegenerateScene(options: RegenerateSceneOptions): Promise<RegenerateSceneResult>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module generate/background
|
|
3
|
-
* @description `vibe generate background` — OpenAI gpt-image-2 backdrop
|
|
4
|
-
* generation. Split out of `generate.ts` in v0.69 (Plan G Phase 2).
|
|
5
|
-
*/
|
|
6
|
-
import type { Command } from "commander";
|
|
7
|
-
export interface ExecuteBackgroundOptions {
|
|
8
|
-
description: string;
|
|
9
|
-
aspect?: "16:9" | "9:16" | "1:1" | string;
|
|
10
|
-
output?: string;
|
|
11
|
-
apiKey?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ExecuteBackgroundResult {
|
|
14
|
-
success: boolean;
|
|
15
|
-
imageUrl?: string;
|
|
16
|
-
outputPath?: string;
|
|
17
|
-
base64?: string;
|
|
18
|
-
revisedPrompt?: string;
|
|
19
|
-
error?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare function executeBackground(options: ExecuteBackgroundOptions): Promise<ExecuteBackgroundResult>;
|
|
22
|
-
export declare function registerBackgroundCommand(parent: Command): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module generate/video-status
|
|
3
|
-
* @description `vibe generate video-status` (hidden) — check Grok/Runway/
|
|
4
|
-
* Kling/Veo video generation status, optionally wait + download. Split out
|
|
5
|
-
* of `generate.ts` in v0.69 (Plan G Phase 2).
|
|
6
|
-
*/
|
|
7
|
-
import type { Command } from "commander";
|
|
8
|
-
export declare function registerVideoStatusCommand(parent: Command): void;
|