@vibeframe/cli 0.100.0 → 0.101.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/CONTEXT.md +36 -8
- package/dist/index.js +3062 -1590
- package/package.json +5 -4
package/CONTEXT.md
CHANGED
|
@@ -136,11 +136,16 @@ legacy vibe.project.yaml → configured/env default → VibeFrame default
|
|
|
136
136
|
Build planning contract:
|
|
137
137
|
|
|
138
138
|
`vibe plan --json` emits `data.kind:"build-plan"`, `schemaVersion:"1"`,
|
|
139
|
-
`status:"ready"|"invalid"`, `summary`, `
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
`status:"ready"|"invalid"`, `summary`, `providerResolution`, cache-aware
|
|
140
|
+
per-asset plans, asset reference metadata (`sourcePath`, `referenceError`),
|
|
141
|
+
`validation`, `retryWith`, and `nextCommands`. `backdrop`, `video`, `music`,
|
|
142
|
+
`narration`, and generic `asset` cues may point at existing project-local media;
|
|
143
|
+
those are planned as `reason:"referenced-asset"` with no provider spend, while
|
|
144
|
+
invalid/out-of-project paths are surfaced before provider dispatch. `vibe plan`,
|
|
145
|
+
`vibe build --dry-run`, and `vibe build` validate `STORYBOARD.md` before cost
|
|
146
|
+
caps or provider dispatch. Invalid storyboards exit non-zero with
|
|
147
|
+
`code:"STORYBOARD_VALIDATION_FAILED"` and `retryWith` entries for
|
|
148
|
+
`storyboard validate` / `storyboard revise`.
|
|
144
149
|
|
|
145
150
|
Build repair contract:
|
|
146
151
|
|
|
@@ -148,7 +153,30 @@ Real `vibe build` runs deterministic scene repair after compose
|
|
|
148
153
|
(sub-compositions only) and after sync (including root `index.html`) before
|
|
149
154
|
render. Failed repair returns `code:"SCENE_REPAIR_FAILED"` and
|
|
150
155
|
`sceneRepair:{ran,stage,status,score,fixed,remainingIssues,retryWith}`; use
|
|
151
|
-
those `retryWith` commands before trying to render.
|
|
156
|
+
those `retryWith` commands before trying to render. `vibe scene repair`
|
|
157
|
+
also repairs deterministic root timeline drift: clip refs, root duration, and
|
|
158
|
+
root narration audio wiring.
|
|
159
|
+
|
|
160
|
+
Asset stage failure contract:
|
|
161
|
+
|
|
162
|
+
If assets fail during a full build, `vibe build` stops before compose/render
|
|
163
|
+
and returns `currentStage:"assets"` with `code:"ASSET_REFERENCE_INVALID"`,
|
|
164
|
+
`code:"MISSING_API_KEY"`, or `code:"ASSET_GENERATION_FAILED"` plus
|
|
165
|
+
`suggestion`, `recoverable:true`, and `retryWith`.
|
|
166
|
+
Compose failures use `code:"COMPOSE_FAILED"` and render failures use the
|
|
167
|
+
render code or `code:"RENDER_FAILED"`; both include `currentStage`,
|
|
168
|
+
`suggestion`, `recoverable:true`, and `retryWith`.
|
|
169
|
+
|
|
170
|
+
Review report contract:
|
|
171
|
+
|
|
172
|
+
`vibe inspect project` and `vibe inspect render` write
|
|
173
|
+
`review-report.json` by default. The file uses `kind:"review"`,
|
|
174
|
+
`mode:"project"|"render"`, `status`, `score`, `issues[]`,
|
|
175
|
+
`summary:{issueCount,errorCount,warningCount,infoCount,fixOwners}`,
|
|
176
|
+
`sourceReports`, and `retryWith`. Each issue has `fixOwner:"vibe"` for
|
|
177
|
+
deterministic CLI recovery or `fixOwner:"host-agent"` for storyboard/design/
|
|
178
|
+
composition edits the host agent should make. Use `retryWith` first, then
|
|
179
|
+
hand remaining `host-agent` issues to the agent.
|
|
152
180
|
|
|
153
181
|
Product surface contract:
|
|
154
182
|
|
|
@@ -210,11 +238,11 @@ vibe scene repair --project my-video --json
|
|
|
210
238
|
|
|
211
239
|
### Machine status contract
|
|
212
240
|
|
|
213
|
-
`build-report.json` keeps the detailed `beats[]` array and also includes `kind:"build"`, `status`, `currentStage`, `beatSummary`, `jobs[]`, `sceneRepair`, `stageReports`, `warnings`, and `retryWith`. Each beat keeps legacy flat asset fields and nested `narration`, `backdrop`, `video`, and `music` objects with provider/path/status metadata. `render-report.json` records the latest render output, including `beat` when `vibe render --beat <id>` is used.
|
|
241
|
+
`build-report.json` keeps the detailed `beats[]` array and also includes `kind:"build"`, `status`, `currentStage`, `providerResolution`, `beatSummary`, `jobs[]`, `sceneRepair`, `stageReports`, `warnings`, and `retryWith`. Each beat keeps legacy flat asset fields and nested `narration`, `backdrop`, `video`, and `music` objects with provider/path/status/sourcePath/cache metadata, plus a nested `composition` object with path/existence/status/cacheKey visibility. `render-report.json` records the latest render output, including `beat` when `vibe render --beat <id>` is used.
|
|
214
242
|
|
|
215
243
|
`vibe status job --json` emits the normal success envelope with `data.kind:"job"`, flat job fields (`id`, `jobType`, `provider`, `status`, timestamps), `progress`, `result`, `retryWith`, and the raw `job` record for compatibility.
|
|
216
244
|
|
|
217
|
-
`vibe status project --json` emits `data.kind:"project"`, `status`, `currentStage`, `beats:{total,assetsReady,compositionsReady,needsAuthor}`, `jobs.latest`, `build`, `review`, `warnings`, and `retryWith`. `review` includes `issueCount`, `errorCount`, `warningCount`, and its own `retryWith`; top-level `retryWith` carries the next resume command. Use `retryWith` rather than guessing the next command.
|
|
245
|
+
`vibe status project --json` emits `data.kind:"project"`, `status`, `currentStage`, `beats:{total,assetsReady,compositionsReady,needsAuthor}`, `jobs.latest`, `build`, `review`, `warnings`, and `retryWith`. `review` includes `mode`, `issueCount`, `errorCount`, `warningCount`, `infoCount`, `fixOwners`, `sourceReports`, and its own `retryWith`; top-level `retryWith` carries the next resume command. Use `retryWith` rather than guessing the next command.
|
|
218
246
|
|
|
219
247
|
### Storyboard revision contract
|
|
220
248
|
|