@vibeframe/cli 0.113.26 → 0.113.27

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 (28) hide show
  1. package/dist/commands/_shared/build-plan.d.ts +7 -0
  2. package/dist/commands/_shared/compose-beat-prompt.d.ts +47 -0
  3. package/dist/commands/_shared/compose-prompts.d.ts +8 -10
  4. package/dist/commands/_shared/install-skill.d.ts +67 -90
  5. package/dist/commands/_shared/scene-build-mode.d.ts +15 -0
  6. package/dist/commands/_shared/scene-build.d.ts +2 -8
  7. package/dist/commands/_shared/scene-lint.d.ts +23 -0
  8. package/dist/commands/_shared/scene-render.d.ts +12 -3
  9. package/dist/commands/_shared/walkthroughs/walkthroughs.d.ts +1 -1
  10. package/dist/index.js +2196 -3687
  11. package/dist/tools/manifest/agent-only.d.ts +2 -2
  12. package/dist/tools/manifest/audio.d.ts +2 -2
  13. package/dist/tools/manifest/edit.d.ts +12 -12
  14. package/dist/tools/manifest/export.d.ts +2 -2
  15. package/dist/tools/manifest/generate.d.ts +6 -6
  16. package/dist/tools/manifest/index.js +1663 -3236
  17. package/dist/tools/manifest/inspect.d.ts +8 -8
  18. package/dist/tools/manifest/remix.d.ts +10 -10
  19. package/dist/tools/manifest/scene.d.ts +20 -23
  20. package/dist/tools/manifest/storyboard.d.ts +2 -2
  21. package/dist/utils/exec-safe.d.ts +1 -0
  22. package/dist/utils/stdout-guard.d.ts +22 -0
  23. package/package.json +4 -4
  24. package/dist/commands/_shared/compose-scenes-skills.d.ts +0 -334
  25. package/dist/commands/_shared/hf-skill-bundle/bundle-content.d.ts +0 -16
  26. package/dist/commands/_shared/hf-skill-bundle/bundle.d.ts +0 -63
  27. package/dist/commands/_shared/hf-skill-bundle/bundle.test.d.ts +0 -1
  28. /package/dist/{commands/_shared/compose-scenes-skills.test.d.ts → utils/stdout-guard.test.d.ts} +0 -0
@@ -35,19 +35,19 @@ 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
- videoPath?: string | undefined;
39
38
  projectDir?: string | undefined;
40
39
  beat?: string | undefined;
41
40
  model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
41
+ videoPath?: string | undefined;
42
42
  report?: boolean | undefined;
43
43
  ai?: boolean | undefined;
44
44
  }, {
45
45
  dryRun?: boolean | undefined;
46
46
  outputPath?: string | undefined;
47
- videoPath?: string | undefined;
48
47
  projectDir?: string | undefined;
49
48
  beat?: string | undefined;
50
49
  model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
50
+ videoPath?: string | undefined;
51
51
  report?: boolean | undefined;
52
52
  ai?: boolean | undefined;
53
53
  }>>;
@@ -64,16 +64,16 @@ export declare const analyzeMediaTool: import("../define-tool.js").ToolDefinitio
64
64
  prompt: string;
65
65
  fps?: number | undefined;
66
66
  end?: number | undefined;
67
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
68
67
  start?: number | undefined;
68
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
69
69
  lowRes?: boolean | undefined;
70
70
  }, {
71
71
  source: string;
72
72
  prompt: string;
73
73
  fps?: number | undefined;
74
74
  end?: number | undefined;
75
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
76
75
  start?: number | undefined;
76
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
77
77
  lowRes?: boolean | undefined;
78
78
  }>>;
79
79
  export declare const analyzeVideoTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
@@ -89,16 +89,16 @@ export declare const analyzeVideoTool: import("../define-tool.js").ToolDefinitio
89
89
  prompt: string;
90
90
  fps?: number | undefined;
91
91
  end?: number | undefined;
92
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
93
92
  start?: number | undefined;
93
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
94
94
  lowRes?: boolean | undefined;
95
95
  }, {
96
96
  source: string;
97
97
  prompt: string;
98
98
  fps?: number | undefined;
99
99
  end?: number | undefined;
100
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
101
100
  start?: number | undefined;
101
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
102
102
  lowRes?: boolean | undefined;
103
103
  }>>;
104
104
  export declare const analyzeReviewTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
@@ -111,15 +111,15 @@ export declare const analyzeReviewTool: import("../define-tool.js").ToolDefiniti
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  videoPath: string;
113
113
  outputPath?: string | undefined;
114
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
115
114
  storyboardPath?: string | undefined;
115
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
116
116
  autoApply?: boolean | undefined;
117
117
  verify?: boolean | undefined;
118
118
  }, {
119
119
  videoPath: string;
120
120
  outputPath?: string | undefined;
121
- model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
122
121
  storyboardPath?: string | undefined;
122
+ model?: "pro" | "latest" | "flash" | "flash-3" | "flash-2.5" | "pro-3.1" | undefined;
123
123
  autoApply?: boolean | undefined;
124
124
  verify?: boolean | undefined;
125
125
  }>>;
@@ -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
- count?: number | undefined;
32
31
  language?: string | undefined;
32
+ count?: number | 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
- count?: number | undefined;
43
42
  language?: string | undefined;
43
+ count?: number | undefined;
44
44
  useGemini?: boolean | undefined;
45
45
  threshold?: number | undefined;
46
46
  criteria?: "all" | "emotional" | "informative" | "funny" | undefined;
@@ -62,11 +62,11 @@ export declare const pipelineAutoShortsTool: import("../define-tool.js").ToolDef
62
62
  video: string;
63
63
  duration?: number | undefined;
64
64
  aspect?: "9:16" | "1:1" | undefined;
65
- outputDir?: string | undefined;
66
- count?: number | undefined;
67
65
  language?: string | undefined;
66
+ count?: number | undefined;
68
67
  analyzeOnly?: boolean | undefined;
69
68
  useGemini?: boolean | undefined;
69
+ outputDir?: string | undefined;
70
70
  lowRes?: boolean | undefined;
71
71
  addCaptions?: boolean | undefined;
72
72
  captionStyle?: "bold" | "minimal" | "animated" | undefined;
@@ -74,11 +74,11 @@ export declare const pipelineAutoShortsTool: import("../define-tool.js").ToolDef
74
74
  video: string;
75
75
  duration?: number | undefined;
76
76
  aspect?: "9:16" | "1:1" | undefined;
77
- outputDir?: string | undefined;
78
- count?: number | undefined;
79
77
  language?: string | undefined;
78
+ count?: number | undefined;
80
79
  analyzeOnly?: boolean | undefined;
81
80
  useGemini?: boolean | undefined;
81
+ outputDir?: string | undefined;
82
82
  lowRes?: boolean | undefined;
83
83
  addCaptions?: boolean | undefined;
84
84
  captionStyle?: "bold" | "minimal" | "animated" | undefined;
@@ -97,25 +97,25 @@ export declare const pipelineRunTool: import("../define-tool.js").ToolDefinition
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  dryRun?: boolean | undefined;
99
99
  resume?: boolean | undefined;
100
- outputDir?: string | undefined;
101
- effort?: "high" | "low" | "medium" | "xhigh" | undefined;
102
100
  budgetUsd?: number | undefined;
101
+ outputDir?: string | undefined;
103
102
  failFast?: boolean | undefined;
104
103
  pipelinePath?: string | undefined;
105
104
  pipelineYaml?: string | undefined;
106
105
  budgetTokens?: number | undefined;
107
106
  maxErrors?: number | undefined;
107
+ effort?: "high" | "low" | "medium" | "xhigh" | undefined;
108
108
  }, {
109
109
  dryRun?: boolean | undefined;
110
110
  resume?: boolean | undefined;
111
- outputDir?: string | undefined;
112
- effort?: "high" | "low" | "medium" | "xhigh" | undefined;
113
111
  budgetUsd?: number | undefined;
112
+ outputDir?: string | undefined;
114
113
  failFast?: boolean | undefined;
115
114
  pipelinePath?: string | undefined;
116
115
  pipelineYaml?: string | undefined;
117
116
  budgetTokens?: number | undefined;
118
117
  maxErrors?: number | undefined;
118
+ effort?: "high" | "low" | "medium" | "xhigh" | undefined;
119
119
  }>>;
120
120
  export declare const pipelineRegenerateSceneTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
121
121
  projectDir: z.ZodString;
@@ -50,9 +50,9 @@ export declare const sceneAddTool: import("../define-tool.js").ToolDefinition<z.
50
50
  preset?: "simple" | "announcement" | "explainer" | "kinetic-type" | "product-shot" | undefined;
51
51
  headline?: string | undefined;
52
52
  kicker?: string | undefined;
53
- force?: boolean | undefined;
54
53
  projectDir?: string | undefined;
55
54
  narration?: string | undefined;
55
+ force?: boolean | undefined;
56
56
  imageProvider?: "openai" | "gemini" | undefined;
57
57
  visuals?: string | undefined;
58
58
  insertInto?: string | undefined;
@@ -66,9 +66,9 @@ export declare const sceneAddTool: import("../define-tool.js").ToolDefinition<z.
66
66
  preset?: "simple" | "announcement" | "explainer" | "kinetic-type" | "product-shot" | undefined;
67
67
  headline?: string | undefined;
68
68
  kicker?: string | undefined;
69
- force?: boolean | undefined;
70
69
  projectDir?: string | undefined;
71
70
  narration?: string | undefined;
71
+ force?: boolean | undefined;
72
72
  imageProvider?: "openai" | "gemini" | undefined;
73
73
  visuals?: string | undefined;
74
74
  insertInto?: string | undefined;
@@ -81,12 +81,12 @@ export declare const sceneLintTool: import("../define-tool.js").ToolDefinition<z
81
81
  root: z.ZodOptional<z.ZodString>;
82
82
  fix: z.ZodOptional<z.ZodBoolean>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- projectDir?: string | undefined;
85
84
  root?: string | undefined;
85
+ projectDir?: string | undefined;
86
86
  fix?: boolean | undefined;
87
87
  }, {
88
- projectDir?: string | undefined;
89
88
  root?: string | undefined;
89
+ projectDir?: string | undefined;
90
90
  fix?: boolean | undefined;
91
91
  }>>;
92
92
  export declare const sceneRepairTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
@@ -95,12 +95,12 @@ export declare const sceneRepairTool: import("../define-tool.js").ToolDefinition
95
95
  dryRun: z.ZodOptional<z.ZodBoolean>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  dryRun?: boolean | undefined;
98
- projectDir?: string | undefined;
99
98
  root?: string | undefined;
99
+ projectDir?: string | undefined;
100
100
  }, {
101
101
  dryRun?: boolean | undefined;
102
- projectDir?: string | undefined;
103
102
  root?: string | undefined;
103
+ projectDir?: string | undefined;
104
104
  }>>;
105
105
  export declare const sceneRenderTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
106
106
  projectDir: z.ZodOptional<z.ZodString>;
@@ -116,22 +116,22 @@ 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
- quality?: "draft" | "standard" | "high" | undefined;
120
- format?: "mp4" | "webm" | "mov" | undefined;
121
- projectDir?: string | undefined;
122
119
  root?: string | undefined;
120
+ projectDir?: string | undefined;
123
121
  beat?: string | undefined;
122
+ quality?: "draft" | "standard" | "high" | undefined;
123
+ format?: "mp4" | "mov" | "webm" | undefined;
124
124
  workers?: number | undefined;
125
125
  openAfterRender?: boolean | undefined;
126
126
  revealInFinder?: boolean | undefined;
127
127
  }, {
128
128
  output?: string | undefined;
129
129
  fps?: number | undefined;
130
- quality?: "draft" | "standard" | "high" | undefined;
131
- format?: "mp4" | "webm" | "mov" | undefined;
132
- projectDir?: string | undefined;
133
130
  root?: string | undefined;
131
+ projectDir?: string | undefined;
134
132
  beat?: string | undefined;
133
+ quality?: "draft" | "standard" | "high" | undefined;
134
+ format?: "mp4" | "mov" | "webm" | undefined;
135
135
  workers?: number | undefined;
136
136
  openAfterRender?: boolean | undefined;
137
137
  revealInFinder?: boolean | undefined;
@@ -141,8 +141,7 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
141
141
  stage: z.ZodOptional<z.ZodEnum<["assets", "compose", "sync", "render", "all"]>>;
142
142
  beat: z.ZodOptional<z.ZodString>;
143
143
  mode: z.ZodOptional<z.ZodEnum<["agent", "batch", "auto"]>>;
144
- effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
145
- composer: z.ZodOptional<z.ZodEnum<["claude", "openai", "gemini"]>>;
144
+ composer: z.ZodOptional<z.ZodEnum<["template"]>>;
146
145
  skipNarration: z.ZodOptional<z.ZodBoolean>;
147
146
  skipBackdrop: z.ZodOptional<z.ZodBoolean>;
148
147
  skipVideo: z.ZodOptional<z.ZodBoolean>;
@@ -159,13 +158,12 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
159
158
  force: z.ZodOptional<z.ZodBoolean>;
160
159
  }, "strip", z.ZodTypeAny, {
161
160
  voice?: string | undefined;
162
- force?: boolean | undefined;
163
161
  projectDir?: string | undefined;
164
162
  beat?: string | undefined;
165
- effort?: "high" | "low" | "medium" | undefined;
163
+ force?: boolean | undefined;
166
164
  mode?: "auto" | "agent" | "batch" | undefined;
167
165
  stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
168
- composer?: "claude" | "openai" | "gemini" | undefined;
166
+ composer?: "template" | undefined;
169
167
  skipNarration?: boolean | undefined;
170
168
  skipBackdrop?: boolean | undefined;
171
169
  skipRender?: boolean | undefined;
@@ -180,13 +178,12 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
180
178
  maxCostUsd?: number | undefined;
181
179
  }, {
182
180
  voice?: string | undefined;
183
- force?: boolean | undefined;
184
181
  projectDir?: string | undefined;
185
182
  beat?: string | undefined;
186
- effort?: "high" | "low" | "medium" | undefined;
183
+ force?: boolean | undefined;
187
184
  mode?: "auto" | "agent" | "batch" | undefined;
188
185
  stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
189
- composer?: "claude" | "openai" | "gemini" | undefined;
186
+ composer?: "template" | undefined;
190
187
  skipNarration?: boolean | undefined;
191
188
  skipBackdrop?: boolean | undefined;
192
189
  skipRender?: boolean | undefined;
@@ -202,19 +199,19 @@ export declare const sceneBuildTool: import("../define-tool.js").ToolDefinition<
202
199
  }>>;
203
200
  export declare const sceneInstallSkillTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
204
201
  projectDir: z.ZodString;
205
- host: z.ZodOptional<z.ZodEnum<["claude-code", "cursor", "auto", "all"]>>;
202
+ global: z.ZodOptional<z.ZodBoolean>;
206
203
  force: z.ZodOptional<z.ZodBoolean>;
207
204
  dryRun: z.ZodOptional<z.ZodBoolean>;
208
205
  }, "strip", z.ZodTypeAny, {
209
206
  projectDir: string;
210
207
  dryRun?: boolean | undefined;
208
+ global?: boolean | undefined;
211
209
  force?: boolean | undefined;
212
- host?: "auto" | "all" | "claude-code" | "cursor" | undefined;
213
210
  }, {
214
211
  projectDir: string;
215
212
  dryRun?: boolean | undefined;
213
+ global?: boolean | undefined;
216
214
  force?: boolean | undefined;
217
- host?: "auto" | "all" | "claude-code" | "cursor" | undefined;
218
215
  }>>;
219
216
  export declare const sceneComposePromptsTool: import("../define-tool.js").ToolDefinition<z.ZodObject<{
220
217
  projectDir: z.ZodString;
@@ -98,9 +98,9 @@ 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
- force?: boolean | undefined;
102
101
  projectDir?: string | undefined;
103
102
  beat?: string | undefined;
103
+ force?: boolean | undefined;
104
104
  mode?: "auto" | "agent" | "batch" | undefined;
105
105
  stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
106
106
  composer?: "claude" | "openai" | "gemini" | undefined;
@@ -116,9 +116,9 @@ export declare const planTool: import("../define-tool.js").ToolDefinition<z.ZodO
116
116
  imageSize?: string | undefined;
117
117
  }, {
118
118
  voice?: string | undefined;
119
- force?: boolean | undefined;
120
119
  projectDir?: string | undefined;
121
120
  beat?: string | undefined;
121
+ force?: boolean | undefined;
122
122
  mode?: "auto" | "agent" | "batch" | undefined;
123
123
  stage?: "all" | "assets" | "compose" | "sync" | "render" | undefined;
124
124
  composer?: "claude" | "openai" | "gemini" | undefined;
@@ -2,6 +2,7 @@
2
2
  export declare function execSafe(cmd: string, args: string[], options?: {
3
3
  timeout?: number;
4
4
  maxBuffer?: number;
5
+ cwd?: string;
5
6
  }): Promise<{
6
7
  stdout: string;
7
8
  stderr: string;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @module utils/stdout-guard
3
+ *
4
+ * Keep third-party chatter off stdout while a library call runs.
5
+ *
6
+ * `@hyperframes/producer` already routes its own logger to stderr for this
7
+ * exact reason - its docs say "producer runs inside CLI commands whose stdout
8
+ * is a machine-readable contract". The render engine underneath it does not
9
+ * honour that: `[BrowserManager]`, `[initSession:screenshot]`, and
10
+ * `[HyperFrames]` lines land on stdout mid-render, which makes
11
+ * `vibe render --json` and `vibe build --json` emit output that
12
+ * `JSON.parse` rejects.
13
+ *
14
+ * Redirecting rather than silencing keeps the diagnostics: on a terminal
15
+ * stderr is still displayed, so a human sees exactly what they saw before,
16
+ * while an agent reading stdout gets only the JSON envelope.
17
+ */
18
+ /**
19
+ * Run `fn` with every stdout write rerouted to stderr, restoring the original
20
+ * writer afterwards even if `fn` throws.
21
+ */
22
+ export declare function withStdoutOnStderr<T>(fn: () => Promise<T>): Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeframe/cli",
3
- "version": "0.113.26",
3
+ "version": "0.113.27",
4
4
  "description": "VibeFrame CLI - agentic video workflow runtime",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@anthropic-ai/sdk": "^0.39.0",
62
62
  "@google/generative-ai": "^0.21.0",
63
- "@hyperframes/producer": "^0.4.6",
63
+ "@hyperframes/producer": "^0.7.71",
64
64
  "@lottiefiles/dotlottie-wc": "^0.9.12",
65
65
  "chalk": "^5.3.0",
66
66
  "commander": "^12.0.0",
@@ -83,8 +83,8 @@
83
83
  "tsx": "^4.21.0",
84
84
  "typescript": "^5.3.3",
85
85
  "vitest": "^1.2.2",
86
- "@vibeframe/ai-providers": "0.113.26",
87
- "@vibeframe/core": "0.113.26"
86
+ "@vibeframe/ai-providers": "0.113.27",
87
+ "@vibeframe/core": "0.113.27"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=20"