@funnelsgrove/cli 0.1.375 → 0.1.376
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/creativeCommands.js +3 -2
- package/dist/creativeMontage.d.ts +30 -2
- package/dist/creativeMontage.js +36 -5
- package/dist/creativeMontageGuide.d.ts +2 -2
- package/dist/creativeMontageGuide.js +26 -39
- package/funnel-contract-compatibility.json +28 -28
- package/package.json +1 -1
- package/template_docs/.funnelsgrove-docs.json +3 -3
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +3 -3
- package/template_scaffold/.funnelsgrove-scaffold.json +5 -5
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/funnel-docs.config.json +1 -1
package/dist/creativeCommands.js
CHANGED
|
@@ -1318,7 +1318,7 @@ video may be written { "variation": "<full name or vd005_01>", "size": "1080x192
|
|
|
1318
1318
|
const detail = options.wait ? await waitForGeneration(scope, generationId) : await api(scope, 'generation', 'query', { generationId });
|
|
1319
1319
|
return { ...montageSummary(detail), ...(options.download ? { downloaded: await downloadMontage(detail, options.download) } : {}) };
|
|
1320
1320
|
}));
|
|
1321
|
-
scoped(montage.command('revise <generationId>').description('Write the cut sheet of a follow-up Montage: delivered generated clips and
|
|
1321
|
+
scoped(montage.command('revise <generationId>').description('Write the cut sheet of a follow-up Montage: delivered generated clips, music and converted voices are reused at no cost, '
|
|
1322
1322
|
+ 'rerolled and undelivered Shots generate again')
|
|
1323
1323
|
.option('--reroll <shots...>', 'Generated Shots to make again, by id')
|
|
1324
1324
|
.option('--out <file>', 'Where to write the cut sheet (default: montage-<first 8 of the id>.revised.json)'))
|
|
@@ -1327,7 +1327,8 @@ video may be written { "variation": "<full name or vd005_01>", "size": "1080x192
|
|
|
1327
1327
|
const revised = await reviseCutSheet(await read(generationId), options.reroll ?? [], read);
|
|
1328
1328
|
const out = options.out ?? `montage-${generationId.slice(0, 8)}.revised.json`;
|
|
1329
1329
|
await writeFile(out, `${JSON.stringify(revised.cutSheet, null, 2)}\n`, 'utf8');
|
|
1330
|
-
return { written: out, reused: revised.reused, generating: revised.generating, ...(revised.music ? { music: revised.music } : {})
|
|
1330
|
+
return { written: out, reused: revised.reused, generating: revised.generating, ...(revised.music ? { music: revised.music } : {}),
|
|
1331
|
+
...(revised.voices ? { voices: revised.voices } : {}) };
|
|
1331
1332
|
}));
|
|
1332
1333
|
};
|
|
1333
1334
|
export const registerCreativeCommands = (program, deps) => {
|
|
@@ -85,6 +85,14 @@ export type MontageRecipe = {
|
|
|
85
85
|
prompt: string;
|
|
86
86
|
seconds: number;
|
|
87
87
|
} | null;
|
|
88
|
+
/** CRE-BR-053: each voice's converted takes, in the order of their voiceover outputs. */
|
|
89
|
+
voices?: {
|
|
90
|
+
name: string;
|
|
91
|
+
conversions: {
|
|
92
|
+
seconds: number;
|
|
93
|
+
shots: string[];
|
|
94
|
+
}[];
|
|
95
|
+
}[];
|
|
88
96
|
variants: {
|
|
89
97
|
name: string;
|
|
90
98
|
seconds: number;
|
|
@@ -110,10 +118,25 @@ export declare const montageOutputs: (detail: GenerationDetail) => {
|
|
|
110
118
|
prompt: string;
|
|
111
119
|
seconds: number;
|
|
112
120
|
} | null;
|
|
121
|
+
voices: {
|
|
122
|
+
output: GenerationOutput | undefined;
|
|
123
|
+
seconds: number;
|
|
124
|
+
shots: string[];
|
|
125
|
+
voice: string;
|
|
126
|
+
}[];
|
|
113
127
|
};
|
|
114
128
|
/** The `montage` part of `montage show`: each variant's video and each generated clip, with their outputs. */
|
|
115
129
|
export declare const summarizeMontage: (detail: GenerationDetail) => {
|
|
116
130
|
approving?: string | undefined;
|
|
131
|
+
voices?: {
|
|
132
|
+
voice: string;
|
|
133
|
+
shots: string[];
|
|
134
|
+
seconds: number;
|
|
135
|
+
outputId: string | null;
|
|
136
|
+
status: string | null;
|
|
137
|
+
url: string | null;
|
|
138
|
+
error: string | null;
|
|
139
|
+
}[] | undefined;
|
|
117
140
|
music?: {
|
|
118
141
|
seconds: number;
|
|
119
142
|
outputId: string | null;
|
|
@@ -150,12 +173,17 @@ export declare const summarizeMontage: (detail: GenerationDetail) => {
|
|
|
150
173
|
export declare const downloadMontage: (detail: GenerationDetail, dir: string, fetchFn?: typeof fetch) => Promise<string[]>;
|
|
151
174
|
/**
|
|
152
175
|
* The cut sheet of a follow-up Montage (CRE-BR-045): each `generate` Shot whose clip was delivered becomes a `clip`
|
|
153
|
-
* naming that clip, unless it is rerolled,
|
|
154
|
-
*
|
|
176
|
+
* naming that clip, unless it is rerolled, a delivered generated music track becomes a stored track (CRE-BR-052), and a
|
|
177
|
+
* voiced Shot whose converted take was delivered plays it as stored audio (CRE-BR-053); everything else is copied as
|
|
178
|
+
* stored. A rerolled Shot that shows a clip an
|
|
155
179
|
* earlier Montage generated gets that Montage's keyframe and prompt back (`earlier` reads it), so a Shot can be made
|
|
156
180
|
* again in any later revision.
|
|
157
181
|
*/
|
|
158
182
|
export declare const reviseCutSheet: (detail: GenerationDetail, reroll: string[], earlier: (generationId: string) => Promise<GenerationDetail>) => Promise<{
|
|
183
|
+
voices?: {
|
|
184
|
+
reused: string[];
|
|
185
|
+
converting: string[];
|
|
186
|
+
} | undefined;
|
|
159
187
|
music?: "reused" | "generating" | undefined;
|
|
160
188
|
cutSheet: Json;
|
|
161
189
|
reused: string[];
|
package/dist/creativeMontage.js
CHANGED
|
@@ -202,13 +202,15 @@ export const montageOutputs = (detail) => {
|
|
|
202
202
|
variants: recipe.variants.map((variant, index) => ({ ...variant, output: videos[index] })),
|
|
203
203
|
clips: recipe.clips.map((clip, index) => ({ ...clip, output: detail.outputs.find((output) => output.role === 'clip' && output.scene_index === index) })),
|
|
204
204
|
music: recipe.music ? { ...recipe.music, output: detail.outputs.find((output) => output.role === 'music') } : null,
|
|
205
|
+
voices: (recipe.voices ?? []).flatMap((voice) => voice.conversions.map((conversion) => ({ voice: voice.name, ...conversion })))
|
|
206
|
+
.map((conversion, index) => ({ ...conversion, output: detail.outputs.find((output) => output.role === 'voiceover' && output.scene_index === index) })),
|
|
205
207
|
};
|
|
206
208
|
};
|
|
207
209
|
/** `music.mp3` or `music.wav`, after the stored track. */
|
|
208
210
|
const musicFileName = (output) => `music.${/\.wav(\?|$)/.test(urlOf(output) ?? '') ? 'wav' : 'mp3'}`;
|
|
209
211
|
/** The `montage` part of `montage show`: each variant's video and each generated clip, with their outputs. */
|
|
210
212
|
export const summarizeMontage = (detail) => {
|
|
211
|
-
const { variants, clips, music } = montageOutputs(detail);
|
|
213
|
+
const { variants, clips, music, voices } = montageOutputs(detail);
|
|
212
214
|
const videoIds = variants.flatMap(({ output }) => (delivered(output) ? [output.id] : []));
|
|
213
215
|
return {
|
|
214
216
|
variants: variants.map(({ name, seconds, output }) => ({
|
|
@@ -225,6 +227,8 @@ export const summarizeMontage = (detail) => {
|
|
|
225
227
|
})),
|
|
226
228
|
...(music ? { music: { seconds: music.seconds, outputId: music.output?.id ?? null, status: music.output?.status ?? null,
|
|
227
229
|
url: music.output ? urlOf(music.output) : null, error: music.output?.error?.message ?? null } } : {}),
|
|
230
|
+
...(voices.length > 0 ? { voices: voices.map(({ voice, shots, seconds, output }) => ({ voice, shots, seconds, outputId: output?.id ?? null,
|
|
231
|
+
status: output?.status ?? null, url: output ? urlOf(output) : null, error: output?.error?.message ?? null })) } : {}),
|
|
228
232
|
...(videoIds.length > 0 ? { approving: `fgrove creatives generations approve ${videoIds.join(' ')}` } : {}),
|
|
229
233
|
};
|
|
230
234
|
};
|
|
@@ -254,13 +258,14 @@ const shotsOf = (sheet) => [
|
|
|
254
258
|
].filter(isObject);
|
|
255
259
|
/**
|
|
256
260
|
* The cut sheet of a follow-up Montage (CRE-BR-045): each `generate` Shot whose clip was delivered becomes a `clip`
|
|
257
|
-
* naming that clip, unless it is rerolled,
|
|
258
|
-
*
|
|
261
|
+
* naming that clip, unless it is rerolled, a delivered generated music track becomes a stored track (CRE-BR-052), and a
|
|
262
|
+
* voiced Shot whose converted take was delivered plays it as stored audio (CRE-BR-053); everything else is copied as
|
|
263
|
+
* stored. A rerolled Shot that shows a clip an
|
|
259
264
|
* earlier Montage generated gets that Montage's keyframe and prompt back (`earlier` reads it), so a Shot can be made
|
|
260
265
|
* again in any later revision.
|
|
261
266
|
*/
|
|
262
267
|
export const reviseCutSheet = async (detail, reroll, earlier) => {
|
|
263
|
-
const { recipe, clips, music } = montageOutputs(detail);
|
|
268
|
+
const { recipe, clips, music, voices } = montageOutputs(detail);
|
|
264
269
|
const generated = new Set(recipe.clips.map((clip) => clip.shotId));
|
|
265
270
|
const sheet = recipe.cutSheet;
|
|
266
271
|
const restored = new Map();
|
|
@@ -317,5 +322,31 @@ export const reviseCutSheet = async (detail, reroll, earlier) => {
|
|
|
317
322
|
const { generate: _generate, ...rest } = sheet.music;
|
|
318
323
|
cutSheet.music = { ...rest, track: { generation: detail.generation.id, music: true } };
|
|
319
324
|
}
|
|
320
|
-
|
|
325
|
+
// A converted take is reused while the take it was made from is: a take made again is converted again.
|
|
326
|
+
const takeOf = (shot) => (shot.sound === true ? (isObject(shot.reuse) ? shot.reuse.shot : shot.id) : isObject(shot.sound) ? shot.sound.shot : undefined);
|
|
327
|
+
const byId = new Map(shotsOf(sheet).map((shot) => [shot.id, shot]));
|
|
328
|
+
const voiced = new Set(voices.filter(({ output }) => delivered(output)).flatMap(({ shots }) => shots)
|
|
329
|
+
.filter((id) => !generating.includes(takeOf(byId.get(id) ?? {}) ?? id)));
|
|
330
|
+
const playConverted = (shot) => {
|
|
331
|
+
if (!isObject(shot) || !voiced.has(shot.id)) {
|
|
332
|
+
return shot;
|
|
333
|
+
}
|
|
334
|
+
const from = shot.sound === true ? shot.from ?? 0 : shot.sound.from;
|
|
335
|
+
return { ...shot, sound: { audio: { generation: detail.generation.id, shot: shot.id, voice: true }, from } };
|
|
336
|
+
};
|
|
337
|
+
cutSheet.shots = cutSheet.shots.map(playConverted);
|
|
338
|
+
if (Array.isArray(cutSheet.variants)) {
|
|
339
|
+
cutSheet.variants = cutSheet.variants.map((variant) => (isObject(variant) && isObject(variant.replace)
|
|
340
|
+
? { ...variant, replace: Object.fromEntries(Object.entries(variant.replace).map(([id, shots]) => [id, shots.map(playConverted)])) }
|
|
341
|
+
: variant));
|
|
342
|
+
}
|
|
343
|
+
const sheetVoices = (Array.isArray(sheet.voices) ? sheet.voices : []).filter(isObject);
|
|
344
|
+
if (sheetVoices.length > 0) {
|
|
345
|
+
cutSheet.voices = sheetVoices.map((voice) => ({ ...voice, shots: voice.shots.filter((id) => !voiced.has(id)) }))
|
|
346
|
+
.filter((voice) => voice.shots.length > 0);
|
|
347
|
+
}
|
|
348
|
+
return {
|
|
349
|
+
cutSheet, reused: [...reuse], generating, ...(generatedMusic ? { music: delivered(music?.output) ? 'reused' : 'generating' } : {}),
|
|
350
|
+
...(sheetVoices.length > 0 ? { voices: { reused: [...voiced], converting: sheetVoices.flatMap((voice) => voice.shots).filter((id) => !voiced.has(id)) } } : {}),
|
|
351
|
+
};
|
|
321
352
|
};
|
|
@@ -5,10 +5,10 @@
|
|
|
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\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\": <file>, \"prompt\", \"seconds\"?, \"model\"?, \"resolution\"? }\n a clip made from your 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). 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\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 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\": <file>, \"prompt\", \"seconds\"?, \"model\"?, \"resolution\"? }\n a clip made from your 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\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
|
-
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\
|
|
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";
|
|
12
12
|
};
|
|
13
13
|
export type MontageGuideTopic = keyof typeof MONTAGE_GUIDE_TOPICS;
|
|
14
14
|
/** The guide, or one of its topics; an unknown topic is an error that names the topics. */
|
|
@@ -21,27 +21,13 @@ This is the order of work. Four topics hold the detail of a step; read each when
|
|
|
21
21
|
|
|
22
22
|
Every command prints JSON. Choose the workspace and project once with "fgrove use", or pass --project.
|
|
23
23
|
|
|
24
|
-
THE USER'S THREE CHECKS
|
|
25
|
-
|
|
26
|
-
You measure whatever has a number. The user judges what needs eyes, ears and taste, at three checks and nowhere else.
|
|
27
|
-
A check costs them three minutes at most: send what to look at and how long it takes, questions each answered in a
|
|
28
|
-
word, and your recommendation; then wait for the answer. A short listen by a person settled what several hundred model
|
|
29
|
-
listens had not.
|
|
30
|
-
|
|
31
|
-
1. The board, end of step 3. Does the story read? Are these the people and the places? Which Shots to redo? Is the
|
|
32
|
-
estimate accepted? Nothing is paid for before it.
|
|
33
|
-
2. The rough cut, end of step 6. The whole cut and the doubt reel (step 6). For each doubt: fine or redo. After it
|
|
34
|
-
the Shots' lengths are frozen, and one round of fixes follows.
|
|
35
|
-
3. The final, step 7. One variant end to end: approve, or what to change.
|
|
36
|
-
|
|
37
|
-
"Minor is fine" from the user closes a doubt: note it and do not raise it again.
|
|
38
|
-
|
|
39
24
|
COSTS
|
|
40
25
|
|
|
41
26
|
A generated clip costs per started 5 seconds: Gemini Omni 1.2 Flash 105 credits at 1080p (70 at 720p), Kling 4.0 236
|
|
42
|
-
(157). A generated music track costs 30 credits per started minute of its length.
|
|
43
|
-
per
|
|
44
|
-
|
|
27
|
+
(157). A generated music track costs 30 credits per started minute of its length. Takes converted to one voice cost 24
|
|
28
|
+
credits per started minute of all of them together. An assembled video costs 1 credit per variant. Previews,
|
|
29
|
+
uploads, stored clips and stored music are free. 100 credits are $1. A 90-second drama of 25 takes is about 3 000
|
|
30
|
+
credits. Before anything paid:
|
|
45
31
|
|
|
46
32
|
fgrove creatives credits
|
|
47
33
|
fgrove creatives montage start cut.json --angle <angle> --brand <brand> --estimate
|
|
@@ -100,10 +86,11 @@ now) and render the words over the keyframes:
|
|
|
100
86
|
|
|
101
87
|
fgrove creatives montage preview cut.json --out storyboard
|
|
102
88
|
|
|
103
|
-
Open storyboard/index.html: plates, the first subtitle of each line, the post of a variant.
|
|
104
|
-
|
|
89
|
+
Open storyboard/index.html: plates, the first subtitle of each line, the post of a variant. When the user asked to see a
|
|
90
|
+
storyboard, send it now, name every place where you departed from the script, and keep working on what does not depend
|
|
91
|
+
on their answer.
|
|
105
92
|
|
|
106
|
-
Done when no plate or subtitle covers a face and the user has
|
|
93
|
+
Done when no plate or subtitle covers a face and the user has what they asked to review.
|
|
107
94
|
|
|
108
95
|
4. FIRST CUT: BUY THE TAKES
|
|
109
96
|
|
|
@@ -142,8 +129,6 @@ kling-4.
|
|
|
142
129
|
- Reroll what fails; everything delivered is reused at no cost:
|
|
143
130
|
fgrove creatives montage revise <generationId> --reroll <shot> [<shot> ...] --out takes-2.json
|
|
144
131
|
Edit the rerolled Shots' prompts in takes-2.json and start it like the first cut.
|
|
145
|
-
- Two rerolls per Shot at most. After that, restage it: the line from off screen over the listener, a cutaway, the
|
|
146
|
-
Shot split in two, or the sound of an accepted take under the new picture.
|
|
147
132
|
|
|
148
133
|
Done when every take says its lines exactly and passes the blooper list frame by frame, and every character's lines
|
|
149
134
|
have been listened to as one voice.
|
|
@@ -152,8 +137,8 @@ have been listened to as one voice.
|
|
|
152
137
|
|
|
153
138
|
fgrove creatives montage revise <generationId> --out cut.json
|
|
154
139
|
|
|
155
|
-
writes a cut sheet in which every delivered clip,
|
|
156
|
-
finished video ("guide cut-sheet" has every field):
|
|
140
|
+
writes a cut sheet in which every delivered clip, a generated music track and a converted take is a stored file. Turn
|
|
141
|
+
it into the finished video ("guide cut-sheet" has every field):
|
|
157
142
|
|
|
158
143
|
- A Shot per line. Set "from" and "seconds" from the clip's "words": start 0.3 s before the line's first word, end
|
|
159
144
|
0.4 s after its last. Recognition often puts the first word after a silence too early: trust the word's end.
|
|
@@ -172,6 +157,11 @@ finished video ("guide cut-sheet" has every field):
|
|
|
172
157
|
puts a plate on a Shot.
|
|
173
158
|
- An end card from an earlier ad: a "clip" of that Variation from the card's first clean frame, with "clean": true, so
|
|
174
159
|
nothing is drawn over the card's own graphics.
|
|
160
|
+
- A voice that drifts: a character who sounds like another person from take to take gets a "voices" entry. Its
|
|
161
|
+
"sample" is the take of that character the user accepted (that Shot's id, or its clip); its "shots" are the other
|
|
162
|
+
Shots of the character. Each of their takes is converted whole to the sample's voice, keeping its timing, and the
|
|
163
|
+
cut plays the converted sound; the sample keeps its own. Listening stays with the user: have them hear the cut
|
|
164
|
+
before it is approved.
|
|
175
165
|
- Music: one instrumental track, a file or "generate": { "prompt" }, made as long as the longest variant. Keep the
|
|
176
166
|
prompt plain (style, mood, instruments): one that spelled the ending out in bars came back 48 s long for 30. With
|
|
177
167
|
lines in the cut it becomes a bed under them and dips while someone speaks; turn it down further with "volume".
|
|
@@ -182,14 +172,7 @@ finished video ("guide cut-sheet" has every field):
|
|
|
182
172
|
This costs 1 credit per variant. Read "findings" of every variant and fix what they name; cut again as often as
|
|
183
173
|
needed.
|
|
184
174
|
|
|
185
|
-
|
|
186
|
-
question. It is one more Montage of the delivered clips, 1 credit: a Shot per doubt with the same "clip" and "from" as
|
|
187
|
-
the moment, 2 to 4 s, "sound": true, and a "text" that numbers it and asks ("2 of 4. Jess: the same woman as in 1?").
|
|
188
|
-
Put the listening models' shortlist ("guide listening") in it, never their verdict. A doubt about the mix (the music, a
|
|
189
|
-
jump in the background at a cut) is a time in the whole cut instead.
|
|
190
|
-
|
|
191
|
-
Done when every variant is delivered, its "findings" are empty or each one is explained to the user, and the user has
|
|
192
|
-
passed check 2.
|
|
175
|
+
Done when every variant is delivered and its "findings" are empty or each one is explained to the user.
|
|
193
176
|
|
|
194
177
|
7. CHECK THE FINISHED VIDEOS, THEN APPROVE
|
|
195
178
|
|
|
@@ -206,7 +189,6 @@ passed check 2.
|
|
|
206
189
|
- Hand the videos to a reviewer that did not make them: a subagent with the shot list, the lines and the cut times,
|
|
207
190
|
told to assume there are mistakes and to report each with a timestamp and a saved frame. You have seen every clip too
|
|
208
191
|
often to see it.
|
|
209
|
-
- Check 3: send the user one variant end to end and what you changed since check 2.
|
|
210
192
|
|
|
211
193
|
fgrove creatives generations approve <outputId> [<outputId> ...]
|
|
212
194
|
|
|
@@ -234,6 +216,9 @@ TOP LEVEL
|
|
|
234
216
|
default the longest variant rounded up; 30 credits per started minute, made once for every variant
|
|
235
217
|
shots the body in order: up to 80 Shots, 120 s, 40 generated clips
|
|
236
218
|
variants up to 5; without any, one video
|
|
219
|
+
voices up to 10 of { "name", "sample": { "shot": "<id>" } or { "clip": <file> }, "shots": ["<id>", ...] }: the
|
|
220
|
+
speech of those Shots in the voice of the sample; each Shot sounds from a clip, generate or reuse take
|
|
221
|
+
and is in one voice; 24 credits per started minute of every converted take together
|
|
237
222
|
|
|
238
223
|
A SHOT
|
|
239
224
|
|
|
@@ -252,7 +237,8 @@ and exactly one picture:
|
|
|
252
237
|
and any of:
|
|
253
238
|
|
|
254
239
|
sound true: the Shot plays its own clip's sound. { "shot": "<id>", "from": <seconds> }: it plays another Shot's
|
|
255
|
-
clip from that moment (a cutaway under a voice).
|
|
240
|
+
clip from that moment (a cutaway under a voice). { "audio": <file>, "from"?: <seconds> }: a stored audio
|
|
241
|
+
file from that moment. Without "sound" a Shot is silent.
|
|
256
242
|
say the line spoken during the Shot, up to 240 characters; a line break starts a new subtitle. It is drawn as
|
|
257
243
|
subtitles and compared with what is heard. On a silent Shot it is a caption.
|
|
258
244
|
text a plate of words in the upper half, up to 120 characters ("\\n" breaks a line)
|
|
@@ -267,6 +253,8 @@ A <file> is one of:
|
|
|
267
253
|
{ "variation": "BND_vd001_01_H1" } a Variation's video ("size" picks one)
|
|
268
254
|
{ "generation": "<id>", "shot": "<id>" } a clip an earlier Montage generated; "montage revise" writes these
|
|
269
255
|
{ "generation": "<id>", "music": true } the music track an earlier Montage generated; "revise" writes it
|
|
256
|
+
{ "generation": "<id>", "shot": "<id>", "voice": true }
|
|
257
|
+
a Shot's take an earlier Montage converted to a voice, as "audio"
|
|
270
258
|
|
|
271
259
|
A VARIANT
|
|
272
260
|
|
|
@@ -412,8 +400,8 @@ One sound file per line, cut from the take by the line's own times, and the fini
|
|
|
412
400
|
|
|
413
401
|
THE PERSON YOU WORK FOR LISTENS
|
|
414
402
|
|
|
415
|
-
|
|
416
|
-
|
|
403
|
+
Send them the lines of one character at a time, in the order of the film, and the finished video, with these
|
|
404
|
+
questions. It takes them about as long as the film is.
|
|
417
405
|
|
|
418
406
|
- For each character: are these all one person? Which line is someone else, older, younger, or in another accent?
|
|
419
407
|
- Does every voice fit who we see: the child a child, the grandmother old, the man a man?
|
|
@@ -422,8 +410,7 @@ under its question, about 20 seconds; a whole film to listen to waits for hours.
|
|
|
422
410
|
|
|
423
411
|
A MODEL THAT HEARS LISTENS
|
|
424
412
|
|
|
425
|
-
|
|
426
|
-
does), ask it these three things. Ask at least two models and act
|
|
413
|
+
When you can call a model that takes audio (Gemini does), ask it these three things. Ask at least two models and act
|
|
427
414
|
only on what two of them report about the same line: one model alone hears two people in a single unbroken take.
|
|
428
415
|
|
|
429
416
|
1. One voice, blind. Send one line and do not say who should be speaking:
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.376",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.369",
|
|
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": "
|
|
48
|
+
"sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf"
|
|
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": "
|
|
148
|
+
"sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.375",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.368",
|
|
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": "
|
|
195
|
+
"sha256": "f241802bdd646f3d2a2278320626bac3394b60d02dcbddb0df91c5936f850718"
|
|
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": "
|
|
295
|
+
"sha256": "1d0984a547eb8015bae73d1fdb468aed35324cf77c988fa0fa013370cf4bbfa3"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.374",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.367",
|
|
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": "
|
|
342
|
+
"sha256": "10c3663aaabb8dcb8dbdd23c588e6d6aab1d93aadc9fa0416a04b03ff341e43b"
|
|
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": "
|
|
442
|
+
"sha256": "5d67b18fcfc8d7c3e630b8ce74ea3b6b71a80becc3d68f1d46f430b25c202a36"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.373",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.366",
|
|
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": "
|
|
489
|
+
"sha256": "cfa50813a9abe7fa68c2af75ff17436fc85e74d1925477de8edcbce46ea4088e"
|
|
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": "
|
|
589
|
+
"sha256": "fe0596aab0c1fc32510645957f5aa57e968d716440a720b3619b30a0312d230e"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.372",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.365",
|
|
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": "
|
|
636
|
+
"sha256": "3a4bed43f0853688e930f1a0c005f39cc362ed295b4601fe195396eb38acd89a"
|
|
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": "
|
|
736
|
+
"sha256": "0b86aa9c6fd78412728225b661c7b1bac97394cf4a9bebaf4f0c54890021d027"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.371",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.364",
|
|
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": "
|
|
783
|
+
"sha256": "73fb5bc68fe203f8375380139af08baebe7b4af45421872f60d839f8c229aa5f"
|
|
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": "
|
|
883
|
+
"sha256": "58201e37f2a2fb93d912e2ed8d0335ca4dccbb4fbbf5fb892c4cdc32cdaa96b9"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.370",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.363",
|
|
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": "
|
|
930
|
+
"sha256": "20fa52d74baf761ec9fa1b8042bb1e680872c5bef8c6d253da658867dca419ba"
|
|
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": "
|
|
1030
|
+
"sha256": "67f7d08d21485b19fb066e639a119095934545097c5623635f7862edfc2d304a"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.369",
|
|
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": "
|
|
41
|
+
"sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf"
|
|
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": "
|
|
141
|
+
"sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368"
|
|
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.
|
|
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.376`, 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.
|
|
3
|
+
"bundleVersion": "2.0.369",
|
|
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": "
|
|
41
|
+
"sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf"
|
|
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": "
|
|
141
|
+
"sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "4c82e04d82e25fe0007eeff662b5bb6c06ef044374c13094678a9cf826a6fd40",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.369",
|
|
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": "
|
|
19
|
+
"sha256": "15f1996ff196cef79f0d1378f2d39689116157418e632a72bb5940cc07882c56",
|
|
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": "
|
|
79
|
+
"sha256": "935aba10baa60e209ac6c7af37b66d3c990a669861cea579042bde9b87e8e1cf",
|
|
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": "
|
|
209
|
+
"sha256": "e9873f658d4ca6534769cb2019cb8b04bf0c09088fed1edda4a93fb810f95368",
|
|
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.
|
|
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.376`, 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
|