@funnelsgrove/cli 0.1.378 → 0.1.381

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.
@@ -201,6 +201,8 @@ export type GenerationDetail = {
201
201
  [key: string]: unknown;
202
202
  };
203
203
  outputs: GenerationOutput[];
204
+ /** CRE-BR-055: the console page of a Montage's editor. */
205
+ editorUrl?: string;
204
206
  };
205
207
  /** `--wait` stops at a finished Generation or at the keyframe approval stop. */
206
208
  export declare const GENERATION_WAIT_STOP: string[];
@@ -2,7 +2,7 @@ import { createHash } from 'node:crypto';
2
2
  import { mkdir, readdir, readFile, stat, writeFile } from 'node:fs/promises';
3
3
  import path from 'node:path';
4
4
  import { pathToFileURL } from 'node:url';
5
- import { deliveredKeyframeBackdrops, downloadMontage, previewBackdrops, resolveCutSheet, reviseCutSheet, summarizeMontage, writeStoryboard, } from './creativeMontage.js';
5
+ import { deliveredKeyframeBackdrops, downloadMontage, previewBackdrops, resolveCutSheet, summarizeMontage, writeStoryboard, } from './creativeMontage.js';
6
6
  import { MONTAGE_GUIDE_TOPICS, montageGuide } from './creativeMontageGuide.js';
7
7
  const ANGLE_STATUSES = ['working', 'burned_out', 'no_data', 'under_review', 'idea', 'failed'];
8
8
  const DICTIONARY_FIELDS = ['format', 'task_type', 'creo_type', 'brand', 'size', 'visual_hook', 'text_hook'];
@@ -1254,7 +1254,7 @@ const readMontageCutSheet = async (scope, file, options) => {
1254
1254
  variationId: async (ref) => findVariation(await (variations ??= options.variations()), ref).id,
1255
1255
  });
1256
1256
  };
1257
- const montageSummary = (detail) => ({ ...summarizeGeneration(detail), montage: summarizeMontage(detail) });
1257
+ const montageSummary = (detail) => ({ ...summarizeGeneration(detail), editorUrl: detail.editorUrl ?? null, montage: summarizeMontage(detail) });
1258
1258
  /** `fgrove creatives montage …` */
1259
1259
  const registerMontageCommands = (root, input) => {
1260
1260
  const { scoped, run } = input;
@@ -1328,8 +1328,7 @@ video may be written { "variation": "<full name or vd005_01>", "size": "1080x192
1328
1328
  .option('--reroll <shots...>', 'Generated Shots to make again, by id, from their delivered keyframe (of a keyframes-only Montage: the keyframe itself)')
1329
1329
  .option('--out <file>', 'Where to write the cut sheet (default: montage-<first 8 of the id>.revised.json)'))
1330
1330
  .action(run(async (scope, options, generationId) => {
1331
- const read = (id) => api(scope, 'generation', 'query', { generationId: id });
1332
- const revised = await reviseCutSheet(await read(generationId), options.reroll ?? [], read);
1331
+ const revised = await api(scope, 'reviseMontage', 'query', { generationId, ...(options.reroll?.length ? { reroll: options.reroll } : {}) });
1333
1332
  const out = options.out ?? `montage-${generationId.slice(0, 8)}.revised.json`;
1334
1333
  await writeFile(out, `${JSON.stringify(revised.cutSheet, null, 2)}\n`, 'utf8');
1335
1334
  return { written: out, reused: revised.reused, generating: revised.generating, ...(revised.keyframes ? { keyframes: revised.keyframes } : {}),
@@ -212,27 +212,19 @@ export declare const downloadMontage: (detail: GenerationDetail, dir: string, fe
212
212
  export declare const deliveredKeyframeBackdrops: (cutSheet: Json, backdrops: Record<string, string>, generation: (generationId: string) => Promise<GenerationDetail>) => Promise<{
213
213
  [x: string]: string;
214
214
  }>;
215
- /**
216
- * The cut sheet of a follow-up Montage (CRE-BR-045): each `generate` Shot whose clip was delivered becomes a `clip`
217
- * naming that clip, unless it is rerolled, a delivered generated keyframe becomes a stored keyframe (CRE-BR-054), a
218
- * delivered generated music track becomes a stored track (CRE-BR-052), and a voiced Shot whose converted take was
219
- * delivered plays it as stored audio (CRE-BR-053); everything else is copied as stored. A rerolled Shot is made again
220
- * from its delivered keyframe, except in a keyframes-only Montage, where the keyframe is what is made again. A rerolled
221
- * Shot that shows a clip an earlier Montage generated gets that Montage's keyframe and prompt back (`earlier` reads it),
222
- * so a Shot can be made again in any later revision.
223
- */
224
- export declare const reviseCutSheet: (detail: GenerationDetail, reroll: string[], earlier: (generationId: string) => Promise<GenerationDetail>) => Promise<{
225
- voices?: {
226
- reused: string[];
227
- converting: string[];
228
- } | undefined;
229
- music?: "reused" | "generating" | undefined;
230
- keyframes?: {
231
- reused: string[];
232
- generating: string[];
233
- } | undefined;
215
+ /** The cut sheet of a follow-up Montage and what it reuses, as the API's `reviseMontage` writes it (CRE-BR-045). */
216
+ export type MontageRevision = {
234
217
  cutSheet: Json;
235
218
  reused: string[];
236
219
  generating: string[];
237
- }>;
220
+ keyframes?: {
221
+ reused: string[];
222
+ generating: string[];
223
+ };
224
+ music?: 'reused' | 'generating';
225
+ voices?: {
226
+ reused: string[];
227
+ converting: string[];
228
+ };
229
+ };
238
230
  export {};
@@ -1,6 +1,6 @@
1
1
  /**
2
- * `fgrove creatives montage …` helpers (CRE-BR-045 to CRE-BR-054): the local cut sheet's conveniences, the storyboard
3
- * of a preview, the summary of a Montage Generation and the cut sheet of a follow-up Montage.
2
+ * `fgrove creatives montage …` helpers (CRE-BR-045 to CRE-BR-055): the local cut sheet's conveniences, the storyboard
3
+ * of a preview and the summary of a Montage Generation. The API writes the cut sheet of a follow-up Montage.
4
4
  *
5
5
  * A local cut sheet is the API's cut sheet where a stored file may also be written `{ "file": "<path>" }` (relative to
6
6
  * the cut sheet's folder) and a Variation `{ "variation": "<full name or vd005_01>" }`; both are resolved before any
@@ -275,23 +275,6 @@ const shotsOf = (sheet) => [
275
275
  ...(Array.isArray(sheet.variants) ? sheet.variants : [])
276
276
  .flatMap((variant) => (isObject(variant) && isObject(variant.replace) ? Object.values(variant.replace).flat() : [])),
277
277
  ].filter(isObject);
278
- /**
279
- * A ref to the keyframe a Montage delivered for a Shot (CRE-BR-054), following `{ shot }` keyframes to the Shot that
280
- * made it; undefined when none was delivered.
281
- */
282
- const keyframeRef = (detail, shotId) => {
283
- const { recipe, keyframes } = montageOutputs(detail);
284
- const shots = shotsOf(recipe.cutSheet);
285
- let id = shotId;
286
- for (const seen = new Set(); !seen.has(id); seen.add(id)) {
287
- const keyframe = shots.find((shot) => shot.id === id)?.generate?.keyframe;
288
- if (!isObject(keyframe) || typeof keyframe.shot !== 'string' || keyframe.generation !== undefined) {
289
- break;
290
- }
291
- id = keyframe.shot;
292
- }
293
- return delivered(keyframes.find((keyframe) => keyframe.shotId === id)?.output) ? { generation: detail.generation.id, shot: id, keyframe: true } : undefined;
294
- };
295
278
  /**
296
279
  * The backdrops of a preview with the keyframes the platform delivered (CRE-BR-054): a Shot whose keyframe is
297
280
  * `{ generation, shot, keyframe: true }`, as `montage revise` writes it, is drawn over that stored image, and a Shot whose
@@ -334,105 +317,3 @@ export const deliveredKeyframeBackdrops = async (cutSheet, backdrops, generation
334
317
  }
335
318
  return next;
336
319
  };
337
- /**
338
- * The cut sheet of a follow-up Montage (CRE-BR-045): each `generate` Shot whose clip was delivered becomes a `clip`
339
- * naming that clip, unless it is rerolled, a delivered generated keyframe becomes a stored keyframe (CRE-BR-054), a
340
- * delivered generated music track becomes a stored track (CRE-BR-052), and a voiced Shot whose converted take was
341
- * delivered plays it as stored audio (CRE-BR-053); everything else is copied as stored. A rerolled Shot is made again
342
- * from its delivered keyframe, except in a keyframes-only Montage, where the keyframe is what is made again. A rerolled
343
- * Shot that shows a clip an earlier Montage generated gets that Montage's keyframe and prompt back (`earlier` reads it),
344
- * so a Shot can be made again in any later revision.
345
- */
346
- export const reviseCutSheet = async (detail, reroll, earlier) => {
347
- const { recipe, clips, music, voices, keyframes } = montageOutputs(detail);
348
- const generated = new Set(recipe.clips.map((clip) => clip.shotId));
349
- const sheet = recipe.cutSheet;
350
- const restored = new Map();
351
- const unknown = [];
352
- for (const id of reroll.filter((shotId) => !generated.has(shotId))) {
353
- const ref = shotsOf(sheet).find((shot) => shot.id === id)?.clip;
354
- const before = isObject(ref) && typeof ref.generation === 'string' ? await earlier(ref.generation) : undefined;
355
- const shotId = isObject(ref) ? ref.shot : '';
356
- const source = before ? shotsOf(recipeOf(before).cutSheet).find((shot) => shot.id === shotId)?.generate : undefined;
357
- // The earlier Montage's generated keyframe comes back as the keyframe it delivered (CRE-BR-054).
358
- if (source === undefined) {
359
- unknown.push(id);
360
- }
361
- else {
362
- restored.set(id, { ...source, keyframe: keyframeRef(before, shotId) ?? source.keyframe });
363
- }
364
- }
365
- if (unknown.length > 0) {
366
- throw new Error(`--reroll ${unknown.join(', ')}: not a generated Shot of this Montage (${[...generated].join(', ') || 'none'})`);
367
- }
368
- const reuse = new Set(clips.filter(({ shotId, output }) => delivered(output) && !reroll.includes(shotId)).map(({ shotId }) => shotId));
369
- const keptKeyframes = new Set(keyframes.filter(({ shotId, output }) => delivered(output) && !(recipe.keyframesOnly && reroll.includes(shotId))).map(({ shotId }) => shotId));
370
- const generating = [];
371
- const reviseShot = (shot) => {
372
- if (!isObject(shot)) {
373
- return shot;
374
- }
375
- const id = shot.id;
376
- if (restored.has(id)) {
377
- generating.push(id);
378
- const { clip: _clip, ...rest } = shot;
379
- return { ...rest, generate: restored.get(id) };
380
- }
381
- if (shot.generate === undefined) {
382
- return shot;
383
- }
384
- if (!reuse.has(id)) {
385
- generating.push(id);
386
- const generate = shot.generate;
387
- return keptKeyframes.has(id) && isObject(generate.keyframe) && generate.keyframe.image !== undefined
388
- ? { ...shot, generate: { ...generate, keyframe: { generation: detail.generation.id, shot: id, keyframe: true } } } : shot;
389
- }
390
- const { generate: _generate, ...rest } = shot;
391
- return { ...rest, clip: { generation: detail.generation.id, shot: id } };
392
- };
393
- const cutSheet = {
394
- ...sheet,
395
- shots: sheet.shots.map(reviseShot),
396
- ...(Array.isArray(sheet.variants) ? {
397
- variants: sheet.variants.map((variant) => (isObject(variant) && isObject(variant.replace)
398
- ? { ...variant, replace: Object.fromEntries(Object.entries(variant.replace).map(([id, shots]) => [id, shots.map(reviseShot)])) }
399
- : variant)),
400
- } : {}),
401
- };
402
- // The music ref names the Generation like a clip ref, with `music: true` in place of a Shot: a Shot may be called "music".
403
- const generatedMusic = isObject(sheet.music) && sheet.music.generate !== undefined;
404
- if (generatedMusic && delivered(music?.output)) {
405
- const { generate: _generate, ...rest } = sheet.music;
406
- cutSheet.music = { ...rest, track: { generation: detail.generation.id, music: true } };
407
- }
408
- // A converted take is reused while the take it was made from is: a take made again is converted again.
409
- const takeOf = (shot) => (shot.sound === true ? (isObject(shot.reuse) ? shot.reuse.shot : shot.id) : isObject(shot.sound) ? shot.sound.shot : undefined);
410
- const byId = new Map(shotsOf(sheet).map((shot) => [shot.id, shot]));
411
- const voiced = new Set(voices.filter(({ output }) => delivered(output)).flatMap(({ shots }) => shots)
412
- .filter((id) => !generating.includes(takeOf(byId.get(id) ?? {}) ?? id)));
413
- const playConverted = (shot) => {
414
- if (!isObject(shot) || !voiced.has(shot.id)) {
415
- return shot;
416
- }
417
- const from = shot.sound === true ? shot.from ?? 0 : shot.sound.from;
418
- return { ...shot, sound: { audio: { generation: detail.generation.id, shot: shot.id, voice: true }, from } };
419
- };
420
- cutSheet.shots = cutSheet.shots.map(playConverted);
421
- if (Array.isArray(cutSheet.variants)) {
422
- cutSheet.variants = cutSheet.variants.map((variant) => (isObject(variant) && isObject(variant.replace)
423
- ? { ...variant, replace: Object.fromEntries(Object.entries(variant.replace).map(([id, shots]) => [id, shots.map(playConverted)])) }
424
- : variant));
425
- }
426
- const sheetVoices = (Array.isArray(sheet.voices) ? sheet.voices : []).filter(isObject);
427
- if (sheetVoices.length > 0) {
428
- cutSheet.voices = sheetVoices.map((voice) => ({ ...voice, shots: voice.shots.filter((id) => !voiced.has(id)) }))
429
- .filter((voice) => voice.shots.length > 0);
430
- }
431
- return {
432
- cutSheet, reused: [...reuse], generating,
433
- ...(keyframes.length > 0 ? { keyframes: { reused: keyframes.filter(({ shotId }) => keptKeyframes.has(shotId) && generating.includes(shotId)).map(({ shotId }) => shotId),
434
- generating: keyframes.filter(({ shotId }) => !keptKeyframes.has(shotId) && generating.includes(shotId)).map(({ shotId }) => shotId) } } : {}),
435
- ...(generatedMusic ? { music: delivered(music?.output) ? 'reused' : 'generating' } : {}),
436
- ...(sheetVoices.length > 0 ? { voices: { reused: [...voiced], converting: sheetVoices.flatMap((voice) => voice.shots).filter((id) => !voiced.has(id)) } } : {}),
437
- };
438
- };
@@ -5,7 +5,7 @@
5
5
  * Plain text: an agent reads it from a terminal.
6
6
  */
7
7
  export declare const MONTAGE_GUIDE_TOPICS: {
8
- readonly 'cut-sheet': "\nTHE CUT SHEET\n\nOne JSON object. The API's error names the Shot and the rule when a sheet is wrong.\n\nTOP LEVEL\n\n size \"1080x1920\" (default), \"1080x1350\", \"1080x1080\" or \"1920x1080\"\n fps 24, 25 or 30 (default 30); 24 when most Shots are generated\n subtitles true draws every Shot's \"say\" as subtitles (default false)\n language two letters, the language of the lines (default \"en\"); used to recognize them\n disclaimer the small line at the bottom of every Shot\n textStyle \"plate-light\" (default: black words on a white plate) or \"plate-dark\"\n music { \"track\": <file>, \"from\": <seconds>, \"volume\": 0 to 1 }; fades out over the last 0.6 s. In place of\n \"track\", \"generate\": { \"prompt\", \"seconds\"? } has the music model make it: 10 to 120 whole seconds, by\n default the longest variant rounded up; 30 credits per started minute, made once for every variant\n shots the body in order: up to 80 Shots, 120 s, 40 generated clips\n variants up to 5; without any, one video\n voices up to 10 of { \"name\", \"sample\": { \"shot\": \"<id>\" } or { \"clip\": <file> }, \"shots\": [\"<id>\", ...] }: the\n speech of those Shots in the voice of the sample; each Shot sounds from a clip, generate or reuse take\n and is in one voice; 24 credits per started minute of every converted take together\n\nA SHOT\n\n id lower-case letters, digits and hyphens\n seconds 0.5 to 15: how long the Shot lasts in the cut\n\nand exactly one picture:\n\n \"clip\": <file> a stored video, shown from \"from\" seconds\n \"generate\": { \"keyframe\": <keyframe>, \"prompt\", \"seconds\"?, \"model\"?, \"resolution\"? }\n a clip made from the keyframe, 4 to 15 whole seconds, shown from \"from\"\n \"still\": <file> an image held for the Shot\n \"freeze\": { \"shot\": \"<id>\", \"at\": <s> } one frame of that Shot's video\n \"reuse\": { \"shot\": \"<id>\" } that Shot's video again, from this Shot's own \"from\"\n\nand any of:\n\n sound true: the Shot plays its own clip's sound. { \"shot\": \"<id>\", \"from\": <seconds> }: it plays another Shot's\n clip from that moment (a cutaway under a voice). { \"audio\": <file>, \"from\"?: <seconds> }: a stored audio\n file from that moment. Without \"sound\" a Shot is silent.\n say the line spoken during the Shot, up to 240 characters; a line break starts a new subtitle. It is drawn as\n subtitles and compared with what is heard. On a silent Shot it is a caption.\n text a plate of words in the upper half, up to 120 characters (\"\\n\" breaks a line)\n checklist up to 4 checked rows instead of the plate's words\n footer a small line near the bottom\n zoom 1 to 4: the picture enlarged; \"focus\": { \"x\": 0 to 1, \"y\": 0 to 1 } is the point kept in the middle\n clean true: nothing is drawn over the Shot, not even the disclaimer (a reused end card)\n\nA <file> is one of:\n\n { \"file\": \"clips/a.mp4\" } a local file, relative to the cut sheet; uploaded once\n { \"variation\": \"BND_vd001_01_H1\" } a Variation's video (\"size\" picks one)\n { \"generation\": \"<id>\", \"shot\": \"<id>\" } a clip an earlier Montage generated; \"montage revise\" writes these\n { \"generation\": \"<id>\", \"music\": true } the music track an earlier Montage generated; \"revise\" writes it\n { \"generation\": \"<id>\", \"shot\": \"<id>\", \"voice\": true }\n a Shot's take an earlier Montage converted to a voice, as \"audio\"\n { \"generation\": \"<id>\", \"shot\": \"<id>\", \"keyframe\": true }\n a keyframe an earlier Montage made, such as a keyframes-only one;\n \"revise\" writes these\n\nA <keyframe> is one of:\n\n <file> a stored image (png, jpg or webp)\n { \"image\": { \"prompt\", \"refs\"?, \"model\"? } }\n made by the image model before every clip, once for every Shot that\n names it: \"refs\" up to 6, each a <file> (a cast photo, a reference frame\n of a place) or { \"shot\": \"<id>\" } (that Shot's keyframe, made first);\n \"model\" \"nano-banana-2.1\" (default, 2K, 11 credits) or \"gpt-image-2\"\n (high quality, 43 credits). A failed keyframe costs nothing and fails\n what starts from it with \"keyframe_failed\"\n { \"shot\": \"<id>\" } that Shot's keyframe again\n\nA VARIANT\n\n { \"name\": \"H2\",\n \"replace\": { \"<shot id>\": [ <Shot>, ... ] }, other Shots in the place of one; an empty list leaves it out\n \"text\": { \"<shot id>\": \"words\" }, a plate on a Shot of the body\n \"post\": { \"shots\": [\"<shot id>\", ...], \"name\", \"handle\", \"text\", \"meta\"?, \"stats\"? } }\n these Shots are shown inside a social post: author, words, the\n picture in a window, subtitles inside it\n\nSOUND\n\nA clip that carries a line is cleaned of the background of its take (a denoiser takes about 20 dB off rain, traffic and\nroom noise; other people's voices stay) and set to the same level as every other; the lines are evened out, the music\nsits under them and dips while a line is spoken, and the finished video is set to -14 LUFS. A clip without any line\n(rain, a car) stays quiet, and a Shot that sounds without a line fades in and out over 0.15 s; cut from a clip that\ncarries lines, it plays at that clip's level. Sound asked from past the end of its clip is an error that names the\nShot.\n\nAN EXAMPLE\n\n {\n \"size\": \"1080x1920\", \"fps\": 24, \"subtitles\": true,\n \"disclaimer\": \"Illustrative. Individual results may vary. AI-generated.\",\n \"music\": { \"track\": { \"file\": \"music.mp3\" } },\n \"shots\": [\n { \"id\": \"door\", \"seconds\": 3.5, \"from\": 0.9, \"clip\": { \"generation\": \"<id>\", \"shot\": \"door\" }, \"sound\": true,\n \"say\": \"You said we were going!\" },\n { \"id\": \"mentor\", \"seconds\": 2.75, \"from\": 0.5, \"clip\": { \"generation\": \"<id>\", \"shot\": \"mentor\" }, \"sound\": true,\n \"say\": \"You think he was always this calm?\" },\n { \"id\": \"listens\", \"seconds\": 2.875, \"from\": 0.3, \"clip\": { \"generation\": \"<id>\", \"shot\": \"listens\" },\n \"sound\": { \"shot\": \"mentor\", \"from\": 3.25 }, \"say\": \"We play these little games every day.\\nFive minutes.\" },\n { \"id\": \"mentor-2\", \"seconds\": 2.5, \"from\": 6.125, \"reuse\": { \"shot\": \"mentor\" }, \"sound\": true,\n \"say\": \"The rules keep changing, that's the point.\" },\n { \"id\": \"day1\", \"seconds\": 4.375, \"clip\": { \"generation\": \"<id>\", \"shot\": \"day1\" }, \"sound\": true, \"text\": \"DAY 1\",\n \"say\": \"Now red means go!\\nThat's not fair!\" },\n { \"id\": \"cards\", \"seconds\": 7, \"from\": 73.8, \"clip\": { \"variation\": \"BND_vd001_01_H1\" }, \"clean\": true }\n ],\n \"variants\": [\n { \"name\": \"H1\" },\n { \"name\": \"H2\", \"post\": { \"shots\": [\"door\"], \"name\": \"Emma Clarke\", \"handle\": \"@emmaclarke\", \"text\": \"WHY DOES MY KID FALL APART EVERY TIME PLANS CHANGE?\" } },\n { \"name\": \"H3\", \"text\": { \"door\": \"HE'S NOT STUBBORN. HIS BRAIN CAN'T SWITCH GEARS \\u2014 YET.\" } }\n ]\n }\n";
8
+ readonly 'cut-sheet': "\nTHE CUT SHEET\n\nOne JSON object. The API's error names the Shot and the rule when a sheet is wrong.\n\nTOP LEVEL\n\n size \"1080x1920\" (default), \"1080x1350\", \"1080x1080\" or \"1920x1080\"\n fps 24, 25 or 30 (default 30); 24 when most Shots are generated\n subtitles true draws every Shot's \"say\" as subtitles (default false)\n subtitleY 0.05 to 0.95: the height of every subtitle's middle (default 0.68, under the faces); not inside a post\n language two letters, the language of the lines (default \"en\"); used to recognize them\n disclaimer the small line at the bottom of every Shot\n textStyle \"plate-light\" (default: black words on a white plate) or \"plate-dark\"\n music { \"track\": <file>, \"from\": <seconds>, \"volume\": 0 to 1 }; fades out over the last 0.6 s. In place of\n \"track\", \"generate\": { \"prompt\", \"seconds\"? } has the music model make it: 10 to 120 whole seconds, by\n default the longest variant rounded up; 30 credits per started minute, made once for every variant\n shots the body in order: up to 80 Shots, 120 s, 40 generated clips\n variants up to 5; without any, one video\n voices up to 10 of { \"name\", \"sample\": { \"shot\": \"<id>\" } or { \"clip\": <file> }, \"shots\": [\"<id>\", ...] }: the\n speech of those Shots in the voice of the sample; each Shot sounds from a clip, generate or reuse take\n and is in one voice; 24 credits per started minute of every converted take together\n\nA SHOT\n\n id lower-case letters, digits and hyphens\n seconds 0.5 to 15: how long the Shot lasts in the cut\n\nand exactly one picture:\n\n \"clip\": <file> a stored video, shown from \"from\" seconds\n \"generate\": { \"keyframe\": <keyframe>, \"prompt\", \"seconds\"?, \"model\"?, \"resolution\"? }\n a clip made from the keyframe, 4 to 15 whole seconds, shown from \"from\"\n \"still\": <file> an image held for the Shot\n \"freeze\": { \"shot\": \"<id>\", \"at\": <s> } one frame of that Shot's video\n \"reuse\": { \"shot\": \"<id>\" } that Shot's video again, from this Shot's own \"from\"\n\nand any of:\n\n sound true: the Shot plays its own clip's sound. { \"shot\": \"<id>\", \"from\": <seconds> }: it plays another Shot's\n clip from that moment (a cutaway under a voice). { \"audio\": <file>, \"from\"?: <seconds> }: a stored audio\n file from that moment. Without \"sound\" a Shot is silent.\n say the line spoken during the Shot, up to 240 characters; a line break starts a new subtitle. It is drawn as\n subtitles and compared with what is heard. On a silent Shot it is a caption.\n subtitles [{ \"text\", \"from\", \"to\" }, ...]: the Shot's own subtitles in place of the chunks of \"say\", each from \"from\"\n to \"to\" seconds into the Shot, in order and apart, up to 56 characters each; [] draws none\n subtitleY the height of this Shot's subtitles, in place of the cut sheet's\n text a plate of words in the upper half, up to 120 characters (\"\\n\" breaks a line)\n checklist up to 4 checked rows instead of the plate's words\n footer a small line near the bottom\n zoom 1 to 4: the picture enlarged; \"focus\": { \"x\": 0 to 1, \"y\": 0 to 1 } is the point kept in the middle\n clean true: nothing is drawn over the Shot, not even the disclaimer (a reused end card)\n\nA <file> is one of:\n\n { \"file\": \"clips/a.mp4\" } a local file, relative to the cut sheet; uploaded once\n { \"variation\": \"BND_vd001_01_H1\" } a Variation's video (\"size\" picks one)\n { \"generation\": \"<id>\", \"shot\": \"<id>\" } a clip an earlier Montage generated; \"montage revise\" writes these\n { \"generation\": \"<id>\", \"music\": true } the music track an earlier Montage generated; \"revise\" writes it\n { \"generation\": \"<id>\", \"shot\": \"<id>\", \"voice\": true }\n a Shot's take an earlier Montage converted to a voice, as \"audio\"\n { \"generation\": \"<id>\", \"shot\": \"<id>\", \"keyframe\": true }\n a keyframe an earlier Montage made, such as a keyframes-only one;\n \"revise\" writes these\n\nA <keyframe> is one of:\n\n <file> a stored image (png, jpg or webp)\n { \"image\": { \"prompt\", \"refs\"?, \"model\"? } }\n made by the image model before every clip, once for every Shot that\n names it: \"refs\" up to 6, each a <file> (a cast photo, a reference frame\n of a place) or { \"shot\": \"<id>\" } (that Shot's keyframe, made first);\n \"model\" \"nano-banana-2.1\" (default, 2K, 11 credits) or \"gpt-image-2\"\n (high quality, 43 credits). A failed keyframe costs nothing and fails\n what starts from it with \"keyframe_failed\"\n { \"shot\": \"<id>\" } that Shot's keyframe again\n\nA VARIANT\n\n { \"name\": \"H2\",\n \"replace\": { \"<shot id>\": [ <Shot>, ... ] }, other Shots in the place of one; an empty list leaves it out\n \"text\": { \"<shot id>\": \"words\" }, a plate on a Shot of the body\n \"post\": { \"shots\": [\"<shot id>\", ...], \"name\", \"handle\", \"text\", \"meta\"?, \"stats\"? } }\n these Shots are shown inside a social post: author, words, the\n picture in a window, subtitles inside it\n\nSOUND\n\nA clip that carries a line is cleaned of the background of its take (a denoiser takes about 20 dB off rain, traffic and\nroom noise; other people's voices stay) and set to the same level as every other; the lines are evened out, the music\nsits under them and dips while a line is spoken, and the finished video is set to -14 LUFS. A clip without any line\n(rain, a car) stays quiet, and a Shot that sounds without a line fades in and out over 0.15 s; cut from a clip that\ncarries lines, it plays at that clip's level. Sound asked from past the end of its clip is an error that names the\nShot.\n\nAN EXAMPLE\n\n {\n \"size\": \"1080x1920\", \"fps\": 24, \"subtitles\": true,\n \"disclaimer\": \"Illustrative. Individual results may vary. AI-generated.\",\n \"music\": { \"track\": { \"file\": \"music.mp3\" } },\n \"shots\": [\n { \"id\": \"door\", \"seconds\": 3.5, \"from\": 0.9, \"clip\": { \"generation\": \"<id>\", \"shot\": \"door\" }, \"sound\": true,\n \"say\": \"You said we were going!\" },\n { \"id\": \"mentor\", \"seconds\": 2.75, \"from\": 0.5, \"clip\": { \"generation\": \"<id>\", \"shot\": \"mentor\" }, \"sound\": true,\n \"say\": \"You think he was always this calm?\" },\n { \"id\": \"listens\", \"seconds\": 2.875, \"from\": 0.3, \"clip\": { \"generation\": \"<id>\", \"shot\": \"listens\" },\n \"sound\": { \"shot\": \"mentor\", \"from\": 3.25 }, \"say\": \"We play these little games every day.\\nFive minutes.\" },\n { \"id\": \"mentor-2\", \"seconds\": 2.5, \"from\": 6.125, \"reuse\": { \"shot\": \"mentor\" }, \"sound\": true,\n \"say\": \"The rules keep changing, that's the point.\" },\n { \"id\": \"day1\", \"seconds\": 4.375, \"clip\": { \"generation\": \"<id>\", \"shot\": \"day1\" }, \"sound\": true, \"text\": \"DAY 1\",\n \"say\": \"Now red means go!\\nThat's not fair!\" },\n { \"id\": \"cards\", \"seconds\": 7, \"from\": 73.8, \"clip\": { \"variation\": \"BND_vd001_01_H1\" }, \"clean\": true }\n ],\n \"variants\": [\n { \"name\": \"H1\" },\n { \"name\": \"H2\", \"post\": { \"shots\": [\"door\"], \"name\": \"Emma Clarke\", \"handle\": \"@emmaclarke\", \"text\": \"WHY DOES MY KID FALL APART EVERY TIME PLANS CHANGE?\" } },\n { \"name\": \"H3\", \"text\": { \"door\": \"HE'S NOT STUBBORN. HIS BRAIN CAN'T SWITCH GEARS \\u2014 YET.\" } }\n ]\n }\n";
9
9
  readonly takes: "\nTHE PROMPT OF A TAKE\n\nA take is one generated clip, 4 to 15 s, in which people do and say what the prompt tells them. Write it in this\norder; the example below is one prompt.\n\n1. One shot. Start with: \"Continuous, unbroken shot, static camera, no scene cuts, no zoom.\" Without it Gemini cuts\n between several shots of its own.\n2. Who and where, in one sentence, in the words of the keyframe.\n3. What happens, with times in square brackets. Put each line in double quotes after the person who says it, with the\n manner (\"quietly\", \"tired but trying to sound upbeat\"). Leave half a second before the first line and after the last.\n [0-1s] She looks down. [1-3.5s] She looks up at her friend and says quietly: \"The wedding's in four weeks.\"\n4. Who stays silent: \"The friend does not speak and keeps her mouth closed.\" A take without a line says \"No dialogue:\n nobody speaks.\" Otherwise the model gives everyone in the frame something to say.\n5. A line from outside the frame: \"From behind the camera his mother says gently: ...\". The person in the frame only\n listens.\n6. The voice of each speaker, the same words in every take of that person: the age, the kind of voice, the accent,\n and for a child what it is not.\n \"Mike, the father, speaks in a low, calm man's baritone with an American accent.\"\n \"Noah is a small boy of seven and sounds it: a high, thin, slightly hoarse little-boy voice with an American\n accent. It is never a woman's voice and never a teenager's.\"\n The manner of a line moves the voice. A child's line said \"calmly\" or \"quietly\" comes out in a grown woman's voice;\n \"small and bright, with a little smile\" keeps the child. The model has no reliable old voice: give a line to someone\n it voices well (a young woman rather than a grandmother), or plan several rerolls.\n7. Sound, for a take with a line: \"Sound design: the voice alone, recorded close and dry as in a studio: no rain, no\n engine, no room tone, no crowd, no other sound under it.\" Every take brings its own background otherwise, and the\n cut steps from one to the next at every line. Rain, a car or a playground belong to a take without a line\n (\"Sound design: rain on the glass\"). Then: \"No background music.\" The cut brings its own music.\n8. End with: \"No captions, no subtitles, no on-screen text.\"\n\nLines: 15 words or fewer a sentence; a take of 15 s holds about four sentences with pauses. A name is spelled as it\nsounds. One action per sentence, in order. Name what must stay as it is (\"We never see the phone's screen\").\n\nAn example of a whole prompt:\n\n Continuous, unbroken shot, static camera with a very slight handheld sway, no scene cuts, no zoom. A man talks to\n his wife, who is off camera, late at night in their kitchen. [0-3.5s] He says in a low, tired, worried voice: \"We\n can't change a single thing without a meltdown.\" [3.5-5s] He pauses and shakes his head slightly. [5-7.5s] He says:\n \"Kate's wedding is in four weeks.\" [7.5-8s] He presses his lips together and looks down. His lips move naturally\n with the words. Mike, the father, speaks in a low, calm man's baritone with an American accent. Sound design: the\n voice alone, recorded close and dry as in a studio: no room tone, no other sound under it. No background music. No\n captions, no subtitles, no on-screen text.\n\nA cutaway is a take of 4 s of the listener: what they do while they listen (lower the eyes, lean in, read a phone,\nstart to smile) and \"No dialogue: nobody speaks, her mouth stays closed.\"\n";
10
10
  readonly bloopers: "\nTHE BLOOPER LIST\n\nReroll the clip or cut again when any of these shows. Look at consecutive frames: fast motion hides a mistake in one\nframe and shows it in the next.\n\nIn a clip\n\n- Hands and limbs: a sixth finger, fused fingers, a limb that bends wrong, an arm that belongs to nobody, a foot that\n slides.\n- A changed person: another face, age, hair or outfit than the keyframe or the other Shots of the scene; someone who\n was not there. A wide laugh ages a face: ask for a soft smile.\n- Objects that morph, double or vanish: a ball, a cup, a phone, a seat belt.\n- A screen: any interface the model drew. A phone's screen stays turned away; a product screen is a recording.\n- Stray text: letters, logos or watermarks.\n- A mouth without a voice, a voice without a mouth: someone whose lips form words in a clip where they have no line,\n or the speaker in frame with closed lips while the line is heard.\n- The wrong voice: a man's line in a woman's voice, a child's in an adult's, a grandmother's in a young woman's, an\n accent the others do not have. \"heard\" cannot show it and pitch alone cannot either (a child's calm line at 290 Hz\n was a woman's voice to every listener): it takes listening (\"fgrove creatives montage guide listening\").\n- One character, two voices: the same person in another take sounds like someone else.\n- Cuts inside the clip: the model changed the shot. The prompt must start with \"Continuous, unbroken shot\".\n- Music or a voice-over the model added.\n\nIn the finished video\n\n- A line cut off: a word that starts before its Shot or ends after it. Move \"from\" or lengthen the Shot.\n- A breath or a laugh cut off by the end of its Shot.\n- The background steps at a cut: rain or traffic under one line, silence under the next. The take was not asked for a\n dry voice, or a Shot without a line plays its clip's air between clean lines.\n- A subtitle over a face, a subtitle that differs from the line by a letter, a subtitle left on a Shot where nobody\n speaks.\n- A plate over a face, or words that say what the picture under them contradicts.\n- A jump cut: two Shots with the same framing in a row.\n- A one-frame flash at a cut: the last frame of a Shot belongs to another moment.\n- A place that changes inside a scene: another door, other seats, the people on other sides.\n- Leftovers of the source: burned-in captions, a timer, another ad's graphics in reused footage.\n- A prop that argues with the story: a tablet in the background of an ad about less screen time.\n";
11
11
  readonly listening: "\nLISTENING WHEN YOU CANNOT HEAR\n\nYou read frames and words; you do not hear. \"heard\" gives the words of every clip, a meter gives a level, and neither\ntells whose voice a line is in, how old it sounds, or whether the background jumps at a cut. Someone or something that\nhears has to listen. Choose what you have.\n\nWHAT TO PREPARE\n\nOne sound file per line, cut from the take by the line's own times, and the finished video:\n\n ffmpeg -ss <from> -t <seconds> -i takes/clip-<shot>.mp4 -vn -ac 1 line-<character>-<n>.wav\n\nTHE PERSON YOU WORK FOR LISTENS\n\nSend them the lines of one character at a time, in the order of the film, and the finished video, with these\nquestions. It takes them about as long as the film is.\n\n- For each character: are these all one person? Which line is someone else, older, younger, or in another accent?\n- Does every voice fit who we see: the child a child, the grandmother old, the man a man?\n- In the finished video: does the noise behind the voices jump at a cut? Is a word, a breath or a laugh cut off? Is\n the music ever in the way of a line?\n\nA MODEL THAT HEARS LISTENS\n\nWhen you can call a model that takes audio (Gemini does), ask it these three things. Ask at least two models and act\nonly on what two of them report about the same line: one model alone hears two people in a single unbroken take.\n\n1. One voice, blind. Send one line and do not say who should be speaking:\n \"One person speaks in this clip. From what you hear: sex; age group (young child, older child, teenager, young\n adult, middle-aged, older adult); accent; how sure you are of the age group.\"\n Ask it of the take, and again of the same line cut out of the finished video: what was done to the sound in\n between can change the voice.\n2. One character. Send all the lines of one character as numbered clips, in the order of the film:\n \"All these clips should be the same character: <who>. The moods differ, which is normal for one person. Group\n the clips by voice; for each clip that stands apart say how it differs and how noticeable it is; give the age\n each clip sounds.\"\n Choosing between rerolls of one line: send three or four good lines of the character as the reference, then the\n candidates, and ask which a viewer would take for the same person.\n3. The finished video, with the list of lines and the times their Shots start:\n \"Report every problem a viewer could notice, with its time and how noticeable it is: a voice that changes or\n does not fit its speaker; clicks, a word cut off, a jump in background noise between two Shots; music too loud,\n pumping, a jarring start or end; a line too quiet or too loud.\"\n A model that knows the script hears what it expects: it called a child's line an adult's twice where the blind\n question and the character question both heard a child. Believe questions 1 and 2 over question 3 for voices, and\n question 3 for the background, cut-off sounds and the music. Ask for faults and their times, never for a verdict:\n asked whether a video would pass as professional work, both models failed one that people had already accepted.\n\nWHAT DOES NOT WORK\n\n- Pitch as a measure of age, and moving the pitch of a line to fix its voice: listeners hear the processing.\n- Removing a take's background afterwards with a speech isolator: it drops a child's scream and the tail of a breath,\n and it turned a girl of ten into a grown woman (the same take, left alone, was a child to every model). Ask for a\n dry voice in the take's prompt instead (\"fgrove creatives montage guide takes\").\n";
@@ -190,7 +190,8 @@ it into the finished video ("guide cut-sheet" has every field):
190
190
  fgrove creatives montage start cut.json --angle <angle> --brand <brand> --pack <creative> --wait
191
191
 
192
192
  This costs 1 credit per variant. Read "findings" of every variant and fix what they name; cut again as often as
193
- needed.
193
+ needed. Send the user each cut with its "editorUrl" from "montage show": in that editor they trim and reorder Shots,
194
+ retime and move subtitles, change plates and music, and save a new cut that pays only assembly.
194
195
 
195
196
  Done when every variant is delivered and its "findings" are empty or each one is explained to the user.
196
197
 
@@ -228,6 +229,7 @@ TOP LEVEL
228
229
  size "1080x1920" (default), "1080x1350", "1080x1080" or "1920x1080"
229
230
  fps 24, 25 or 30 (default 30); 24 when most Shots are generated
230
231
  subtitles true draws every Shot's "say" as subtitles (default false)
232
+ subtitleY 0.05 to 0.95: the height of every subtitle's middle (default 0.68, under the faces); not inside a post
231
233
  language two letters, the language of the lines (default "en"); used to recognize them
232
234
  disclaimer the small line at the bottom of every Shot
233
235
  textStyle "plate-light" (default: black words on a white plate) or "plate-dark"
@@ -261,6 +263,9 @@ and any of:
261
263
  file from that moment. Without "sound" a Shot is silent.
262
264
  say the line spoken during the Shot, up to 240 characters; a line break starts a new subtitle. It is drawn as
263
265
  subtitles and compared with what is heard. On a silent Shot it is a caption.
266
+ subtitles [{ "text", "from", "to" }, ...]: the Shot's own subtitles in place of the chunks of "say", each from "from"
267
+ to "to" seconds into the Shot, in order and apart, up to 56 characters each; [] draws none
268
+ subtitleY the height of this Shot's subtitles, in place of the cut sheet's
264
269
  text a plate of words in the upper half, up to 120 characters ("\\n" breaks a line)
265
270
  checklist up to 4 checked rows instead of the plate's words
266
271
  footer a small line near the bottom
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.378",
7
+ "repositoryCliVersion": "0.1.381",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.371",
10
+ "bundleVersion": "2.0.374",
11
11
  "stepContractVersion": 3,
12
12
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
13
13
  "managedFiles": [
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
48
- "sha256": "c9824113ecb5af312bcec7db02f096a1e47577c6de0f7b0e2ef162b33719c133"
48
+ "sha256": "e5698da9513ea856b8e3c8a7b68e0cf2820ed4b3f794f30f2092fc6281f3f6e0"
49
49
  },
50
50
  {
51
51
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -145,16 +145,16 @@
145
145
  },
146
146
  {
147
147
  "path": "funnel-docs.config.json",
148
- "sha256": "4972c8db1e7f2b02a584efdd147b78bc0764ab9df5ccf20d4961f3b880270fcc"
148
+ "sha256": "3c758542f2486e1cd8b8bac81cbcf1bd6bcffd2f4c4576968a74514e268d1eee"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.377",
154
+ "repositoryCliVersion": "0.1.380",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.370",
157
+ "bundleVersion": "2.0.373",
158
158
  "stepContractVersion": 3,
159
159
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
160
160
  "managedFiles": [
@@ -192,7 +192,7 @@
192
192
  },
193
193
  {
194
194
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
195
- "sha256": "8562244c23530dfec6a41ae726d3b783f7e97fe45f330e4b712251d3a5fdb964"
195
+ "sha256": "c664510cb88aee6d114b0738e3f739c99040a368411514f30d62783ffe1724f5"
196
196
  },
197
197
  {
198
198
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -292,16 +292,16 @@
292
292
  },
293
293
  {
294
294
  "path": "funnel-docs.config.json",
295
- "sha256": "40f7cc95b92b28762c32d6a869bbd63491d8042feecaf34ddcfb4f26d6fa2e71"
295
+ "sha256": "805c8d728fe89a06b5a29b5c05d0fdc89efbbd4fc8273d4b24c0ee525ec46993"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.376",
301
+ "repositoryCliVersion": "0.1.379",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.369",
304
+ "bundleVersion": "2.0.372",
305
305
  "stepContractVersion": 3,
306
306
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
307
307
  "managedFiles": [
@@ -339,7 +339,7 @@
339
339
  },
340
340
  {
341
341
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
342
- "sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf"
342
+ "sha256": "946878f82511de96e0534b4f1d3ab53d33869b1f02a886c4616538c630cbf983"
343
343
  },
344
344
  {
345
345
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -439,16 +439,16 @@
439
439
  },
440
440
  {
441
441
  "path": "funnel-docs.config.json",
442
- "sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368"
442
+ "sha256": "256ed4d24cb9cf76de511912d4ca7b864c499ec6d2c12915bf4c7d981562e5d1"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.375",
448
+ "repositoryCliVersion": "0.1.378",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.368",
451
+ "bundleVersion": "2.0.371",
452
452
  "stepContractVersion": 3,
453
453
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
454
454
  "managedFiles": [
@@ -486,7 +486,7 @@
486
486
  },
487
487
  {
488
488
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
489
- "sha256": "f241802bdd646f3d2a2278320626bac3394b60d02dcbddb0df91c5936f850718"
489
+ "sha256": "c9824113ecb5af312bcec7db02f096a1e47577c6de0f7b0e2ef162b33719c133"
490
490
  },
491
491
  {
492
492
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -586,16 +586,16 @@
586
586
  },
587
587
  {
588
588
  "path": "funnel-docs.config.json",
589
- "sha256": "1d0984a547eb8015bae73d1fdb468aed35324cf77c988fa0fa013370cf4bbfa3"
589
+ "sha256": "4972c8db1e7f2b02a584efdd147b78bc0764ab9df5ccf20d4961f3b880270fcc"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.374",
595
+ "repositoryCliVersion": "0.1.377",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.367",
598
+ "bundleVersion": "2.0.370",
599
599
  "stepContractVersion": 3,
600
600
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
601
601
  "managedFiles": [
@@ -633,7 +633,7 @@
633
633
  },
634
634
  {
635
635
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
636
- "sha256": "10c3663aaabb8dcb8dbdd23c588e6d6aab1d93aadc9fa0416a04b03ff341e43b"
636
+ "sha256": "8562244c23530dfec6a41ae726d3b783f7e97fe45f330e4b712251d3a5fdb964"
637
637
  },
638
638
  {
639
639
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -733,16 +733,16 @@
733
733
  },
734
734
  {
735
735
  "path": "funnel-docs.config.json",
736
- "sha256": "5d67b18fcfc8d7c3e630b8ce74ea3b6b71a80becc3d68f1d46f430b25c202a36"
736
+ "sha256": "40f7cc95b92b28762c32d6a869bbd63491d8042feecaf34ddcfb4f26d6fa2e71"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.373",
742
+ "repositoryCliVersion": "0.1.376",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.366",
745
+ "bundleVersion": "2.0.369",
746
746
  "stepContractVersion": 3,
747
747
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
748
748
  "managedFiles": [
@@ -780,7 +780,7 @@
780
780
  },
781
781
  {
782
782
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
783
- "sha256": "cfa50813a9abe7fa68c2af75ff17436fc85e74d1925477de8edcbce46ea4088e"
783
+ "sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf"
784
784
  },
785
785
  {
786
786
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -880,16 +880,16 @@
880
880
  },
881
881
  {
882
882
  "path": "funnel-docs.config.json",
883
- "sha256": "fe0596aab0c1fc32510645957f5aa57e968d716440a720b3619b30a0312d230e"
883
+ "sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.372",
889
+ "repositoryCliVersion": "0.1.375",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.365",
892
+ "bundleVersion": "2.0.368",
893
893
  "stepContractVersion": 3,
894
894
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
895
895
  "managedFiles": [
@@ -927,7 +927,7 @@
927
927
  },
928
928
  {
929
929
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
930
- "sha256": "3a4bed43f0853688e930f1a0c005f39cc362ed295b4601fe195396eb38acd89a"
930
+ "sha256": "f241802bdd646f3d2a2278320626bac3394b60d02dcbddb0df91c5936f850718"
931
931
  },
932
932
  {
933
933
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -1027,7 +1027,7 @@
1027
1027
  },
1028
1028
  {
1029
1029
  "path": "funnel-docs.config.json",
1030
- "sha256": "0b86aa9c6fd78412728225b661c7b1bac97394cf4a9bebaf4f0c54890021d027"
1030
+ "sha256": "1d0984a547eb8015bae73d1fdb468aed35324cf77c988fa0fa013370cf4bbfa3"
1031
1031
  }
1032
1032
  ]
1033
1033
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelsgrove/cli",
3
- "version": "0.1.378",
3
+ "version": "0.1.381",
4
4
  "description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.371",
3
+ "bundleVersion": "2.0.374",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "c9824113ecb5af312bcec7db02f096a1e47577c6de0f7b0e2ef162b33719c133"
41
+ "sha256": "e5698da9513ea856b8e3c8a7b68e0cf2820ed4b3f794f30f2092fc6281f3f6e0"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "4972c8db1e7f2b02a584efdd147b78bc0764ab9df5ccf20d4961f3b880270fcc"
141
+ "sha256": "3c758542f2486e1cd8b8bac81cbcf1bd6bcffd2f4c4576968a74514e268d1eee"
142
142
  }
143
143
  ]
144
144
  }
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
17
17
 
18
18
  ### Package release order
19
19
 
20
- Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.46.0`, then `@funnelsgrove/analytics` `0.29.0`, then `@funnelsgrove/payments` `0.73.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.378`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.47.0`, then `@funnelsgrove/analytics` `0.30.0`, then `@funnelsgrove/payments` `0.75.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.381`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
21
21
  <!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
22
22
 
23
23
  ## Version-last policy
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.371",
3
+ "bundleVersion": "2.0.374",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.371",
3
+ "bundleVersion": "2.0.374",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "c9824113ecb5af312bcec7db02f096a1e47577c6de0f7b0e2ef162b33719c133"
41
+ "sha256": "e5698da9513ea856b8e3c8a7b68e0cf2820ed4b3f794f30f2092fc6281f3f6e0"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "4972c8db1e7f2b02a584efdd147b78bc0764ab9df5ccf20d4961f3b880270fcc"
141
+ "sha256": "3c758542f2486e1cd8b8bac81cbcf1bd6bcffd2f4c4576968a74514e268d1eee"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "3f67691618feb0de9e1519ee6de6de2a528a66b65c6fd36efd79003d21edf028",
3
+ "sourceTreeHash": "873b57e837c1c567ff1434291ba3531700a9db96a83526c8b81243a0b6df99ce",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.371",
5
+ "docsBundleVersion": "2.0.374",
6
6
  "files": [
7
7
  {
8
8
  "path": ".env.example",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "path": ".funnelsgrove-docs.json",
19
- "sha256": "c164b3b5d49d0445db38532d3ec1ea7421dcda0df125ab98f8a28905bd8ee09e",
19
+ "sha256": "606b95b6409357f33e220c554b4198cf703506d1ce239c9667d0ee39d6f7b61f",
20
20
  "mode": "100644"
21
21
  },
22
22
  {
@@ -76,7 +76,7 @@
76
76
  },
77
77
  {
78
78
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
79
- "sha256": "c9824113ecb5af312bcec7db02f096a1e47577c6de0f7b0e2ef162b33719c133",
79
+ "sha256": "e5698da9513ea856b8e3c8a7b68e0cf2820ed4b3f794f30f2092fc6281f3f6e0",
80
80
  "mode": "100644"
81
81
  },
82
82
  {
@@ -206,7 +206,7 @@
206
206
  },
207
207
  {
208
208
  "path": "funnel-docs.config.json",
209
- "sha256": "4972c8db1e7f2b02a584efdd147b78bc0764ab9df5ccf20d4961f3b880270fcc",
209
+ "sha256": "3c758542f2486e1cd8b8bac81cbcf1bd6bcffd2f4c4576968a74514e268d1eee",
210
210
  "mode": "100644"
211
211
  },
212
212
  {
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
17
17
 
18
18
  ### Package release order
19
19
 
20
- Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.46.0`, then `@funnelsgrove/analytics` `0.29.0`, then `@funnelsgrove/payments` `0.73.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.378`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.47.0`, then `@funnelsgrove/analytics` `0.30.0`, then `@funnelsgrove/payments` `0.75.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.381`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
21
21
  <!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
22
22
 
23
23
  ## Version-last policy
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.371",
3
+ "bundleVersion": "2.0.374",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",