@vibeframe/cli 0.113.30 → 0.114.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/compose-prompts.d.ts +1 -1
- package/dist/commands/_shared/help-groups.d.ts +49 -0
- package/dist/commands/_shared/help-groups.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 +1524 -3608
- package/dist/tools/define-tool.js +0 -40
- package/dist/tools/manifest/generate.d.ts +0 -68
- package/dist/tools/manifest/index.js +6883 -8731
- package/dist/tools/manifest/inspect.d.ts +0 -47
- package/dist/tools/manifest/remix.d.ts +6 -40
- 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
|
@@ -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";
|
|
@@ -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[];
|
|
@@ -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.114.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.114.0",
|
|
95
|
+
"@vibeframe/core": "0.114.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;
|