@funnelsgrove/cli 0.1.360 → 0.1.361

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.
@@ -261,6 +261,7 @@ type GenerateOptions = {
261
261
  texts?: string;
262
262
  swap?: string;
263
263
  pack?: string;
264
+ captions?: string;
264
265
  formats?: string;
265
266
  variants?: string;
266
267
  persuasionAngle?: string;
@@ -554,7 +555,63 @@ export declare const summarizeFormatGeneration: (detail: GenerationDetail & {
554
555
  keptVariationId: string | null;
555
556
  }[];
556
557
  };
557
- /** `fgrove creatives …`: angles, creatives, variations, dictionaries and files of one project. */
558
+ export type CaptionWordInput = {
559
+ text: string;
560
+ start: number;
561
+ end: number;
562
+ emphasis?: boolean;
563
+ emoji?: string | null;
564
+ };
565
+ /** A words file: the track JSON export, or a bare array of words. */
566
+ export declare const parseCaptionWords: (json: unknown) => {
567
+ language: string | null;
568
+ words: CaptionWordInput[];
569
+ };
570
+ /** Uploads a local video to caption and names it for the start request. */
571
+ export declare const uploadCaptionVideo: (scope: CreativeScope, file: string, fetchFn?: typeof fetch) => Promise<{
572
+ key: string;
573
+ sha256: string;
574
+ }>;
575
+ /** The caption document's words of a Generation, as `captions show` prints them: from the video output, else the transcript. */
576
+ export declare const summarizeCaptions: ({ generation, outputs }: GenerationDetail) => {
577
+ captions: {
578
+ styleId: string | null;
579
+ source: string;
580
+ language: string | null;
581
+ words: CaptionWordInput[];
582
+ editing: string;
583
+ } | null;
584
+ id: string;
585
+ status: string;
586
+ kind: string;
587
+ model: string;
588
+ provider: string;
589
+ credits: {
590
+ reserved: number;
591
+ settled: number;
592
+ released: number;
593
+ };
594
+ coverUrl: string | null;
595
+ videoUrl: string | null;
596
+ error: string | null;
597
+ outputs: {
598
+ id: string;
599
+ role: string;
600
+ sceneIndex: number | null;
601
+ status: string;
602
+ urls: {
603
+ size: string;
604
+ url: string;
605
+ }[] | {
606
+ url: string;
607
+ }[];
608
+ softFindings: {
609
+ [k: string]: unknown;
610
+ }[];
611
+ error: string | null;
612
+ keptVariationId: string | null;
613
+ }[];
614
+ };
558
615
  export declare const registerCreativeCommands: (program: Command, deps: {
559
616
  resolveScope: (options: {
560
617
  workspace?: string;
@@ -432,6 +432,8 @@ export const generationRequest = (options, angles) => {
432
432
  ...(options.count ? { count: parseNumber(options.count) } : {}),
433
433
  ...(options.reference ? { referenceImageUrls: parseSizes(options.reference) } : {}),
434
434
  ...(options.autoApprove ? { autoApprove: true } : {}),
435
+ // CRE-BR-041: animated captions over the assembled video, in a preset style.
436
+ ...(options.captions ? { captions: { styleId: options.captions } } : {}),
435
437
  };
436
438
  if (options.brief) {
437
439
  return { briefId: options.brief, ...settings };
@@ -540,6 +542,7 @@ const registerGenerationRunCommands = (root, input) => {
540
542
  .option('--sizes <list>', 'Comma-separated sizes, such as 1080x1350,1080x1920').option('--count <n>', 'Images to make (1-4); each is rendered in every size')
541
543
  .option('--reference <urls>', 'Comma-separated reference image URLs')
542
544
  .option('--auto-approve', 'Video: skip the keyframe approval stop')
545
+ .option('--captions <style>', 'Video: burn animated captions in this style after assembly (fgrove creatives captions styles)')
543
546
  .option('--wait', 'Poll until finished or awaiting approval, then print output URLs')
544
547
  .option('--estimate', 'Print the credits per step and the balance; start nothing'))
545
548
  .action(run(async (scope, options) => {
@@ -1038,6 +1041,172 @@ const registerGenerationCommands = (root, input) => {
1038
1041
  }));
1039
1042
  };
1040
1043
  /** `fgrove creatives …`: angles, creatives, variations, dictionaries and files of one project. */
1044
+ // --- Animated captions (CRE-BR-040 to CRE-BR-043) ---
1045
+ const VIDEO_TYPES = { '.mp4': 'video/mp4', '.mov': 'video/quicktime', '.webm': 'video/webm' };
1046
+ const WORDS_HINT = 'a JSON file with { "language": "en", "words": [{ "text": "Stop", "start": 0.1, "end": 0.4, "emphasis": true, "emoji": "🔥" }, …] } '
1047
+ + 'or just the words array (the output of "captions export --format json")';
1048
+ /** A words file: the track JSON export, or a bare array of words. */
1049
+ export const parseCaptionWords = (json) => {
1050
+ const words = Array.isArray(json) ? json : isObject(json) && Array.isArray(json.words) ? json.words : null;
1051
+ if (!words || words.length === 0 || !words.every((word) => isObject(word) && typeof word.text === 'string' && typeof word.start === 'number' && typeof word.end === 'number')) {
1052
+ throw new Error(`The words file must be ${WORDS_HINT}`);
1053
+ }
1054
+ return {
1055
+ language: isObject(json) && typeof json.language === 'string' ? json.language : null,
1056
+ words: words.map((word) => ({
1057
+ text: word.text, start: word.start, end: word.end,
1058
+ ...(word.emphasis === true ? { emphasis: true } : {}), ...(typeof word.emoji === 'string' && word.emoji ? { emoji: word.emoji } : {}),
1059
+ })),
1060
+ };
1061
+ };
1062
+ /** Uploads a local video to caption and names it for the start request. */
1063
+ export const uploadCaptionVideo = async (scope, file, fetchFn = fetch) => {
1064
+ const contentType = VIDEO_TYPES[path.extname(file).toLowerCase()];
1065
+ if (!contentType) {
1066
+ throw new Error('Use an mp4, mov or webm video');
1067
+ }
1068
+ const body = await readFile(file);
1069
+ const hash = sha256(body);
1070
+ const prepared = await api(scope, 'prepareCaptionVideoUpload', 'mutation', {
1071
+ contentType, sizeBytes: body.byteLength, sha256: hash,
1072
+ });
1073
+ const response = await fetchFn(prepared.uploadUrl, { method: 'PUT', headers: prepared.headers, body: new Uint8Array(body) });
1074
+ if (!response.ok) {
1075
+ throw new Error(`Upload failed with HTTP ${response.status}`);
1076
+ }
1077
+ return { key: prepared.key, sha256: hash };
1078
+ };
1079
+ /** The `captionVideo` part of a start: an uploaded file or a Variation's video. */
1080
+ const captionSource = async (scope, options, variations) => {
1081
+ if (Boolean(options.video) === Boolean(options.variation)) {
1082
+ throw new Error('Pass either a video file or --variation');
1083
+ }
1084
+ if (options.video) {
1085
+ return { upload: await uploadCaptionVideo(scope, options.video) };
1086
+ }
1087
+ const variation = findVariation(await variations(), options.variation);
1088
+ return { variationId: variation.id, ...(options.size ? { size: options.size } : {}) };
1089
+ };
1090
+ /** The caption document's words of a Generation, as `captions show` prints them: from the video output, else the transcript. */
1091
+ export const summarizeCaptions = ({ generation, outputs }) => {
1092
+ const holder = outputs.find((output) => output.role === 'video');
1093
+ const transcript = outputs.find((output) => output.role === 'transcript');
1094
+ const document = holder?.captions ?? null;
1095
+ const track = document?.track ?? transcript?.words ?? null;
1096
+ return {
1097
+ ...summarizeGeneration({ generation, outputs }),
1098
+ captions: track ? {
1099
+ styleId: document?.styleId ?? null, source: document?.source ?? 'transcription', language: track.language, words: track.words,
1100
+ editing: `Edit the words, then: fgrove creatives captions approve ${generation.id} --words words.json (or captions rerender once rendered)`,
1101
+ } : null,
1102
+ };
1103
+ };
1104
+ /** `fgrove creatives captions …` */
1105
+ const registerCaptionCommands = (root, input) => {
1106
+ const { scoped, run } = input;
1107
+ const captions = root.command('captions').description('Animated captions: styles, transcription and burning captions into a video (CRE-BR-040 to CRE-BR-043)');
1108
+ scoped(captions.command('styles').description('List the caption style presets as data, with the default and the JSON Schema they are checked against'))
1109
+ .action(run((scope) => api(scope, 'captionStyles', 'query')));
1110
+ const sourceOptions = (command) => command
1111
+ .option('--variation <variation>', 'Caption a Variation\'s video file instead of a local file (id, full name or st003_02)')
1112
+ .option('--size <size>', 'The Variation file to use, such as 1080x1920')
1113
+ .option('--angle <angle>', 'Angle code or slug of the Variations an approved output makes').option('--brand <brand>', 'Brand with a Brand Kit')
1114
+ .option('--pack <creative>', 'Approve outputs into this existing Creative, such as vid003 (default: one new Creative per batch)');
1115
+ const startCaptions = async (scope, options, video) => {
1116
+ const missing = ['angle', 'brand'].filter((key) => !options[key]);
1117
+ if (missing.length > 0) {
1118
+ throw new Error(`Captions need --${missing.join(', --')}`);
1119
+ }
1120
+ const words = options.words ? parseCaptionWords(JSON.parse(await readFile(options.words, 'utf8'))) : null;
1121
+ const request = {
1122
+ captionVideo: {
1123
+ ...await captionSource(scope, { ...options, video }, () => input.variations(scope)),
1124
+ angleId: findAngle(await input.angles(scope), options.angle).id, brand: options.brand, styleId: options.style ?? 'bold-pop',
1125
+ ...(options.language ? { language: options.language } : words?.language ? { language: words.language } : {}),
1126
+ ...(words ? { words: words.words } : {}),
1127
+ },
1128
+ ...(options.autoApprove ? { autoApprove: true } : {}),
1129
+ ...(options.pack ? { packCreativeId: findCreative(await input.creatives(scope), options.pack).id } : {}),
1130
+ };
1131
+ if (options.estimate) {
1132
+ return api(scope, 'estimateGeneration', 'query', request);
1133
+ }
1134
+ return api(scope, 'startGeneration', 'mutation', request);
1135
+ };
1136
+ scoped(sourceOptions(captions.command('transcribe [video]').description('Transcribe a video word by word and propose emphasis and emoji; '
1137
+ + 'the Generation then waits for "captions approve". Reserves the transcription credits'))
1138
+ .option('--style <id>', 'Caption style preset (default bold-pop); changed later with approve --style')
1139
+ .option('--language <code>', 'Spoken language, such as en or ru (default: detected)')
1140
+ .option('--estimate', 'Print the credits per step and the balance; start nothing')
1141
+ .option('--wait', 'Poll until the words are ready for review'))
1142
+ .action(run(async (scope, options, video) => {
1143
+ const started = await startCaptions(scope, options, video);
1144
+ if (options.estimate) {
1145
+ return started;
1146
+ }
1147
+ const detail = started;
1148
+ return summarizeCaptions(options.wait ? await waitForGeneration(scope, detail.generation.id) : detail);
1149
+ }));
1150
+ scoped(sourceOptions(captions.command('render [video]').description('Caption a video in a style: transcribe (or take --words), pick emphasis and emoji, burn the captions in; '
1151
+ + 'runs without a review stop and prints the captioned video URL with --wait'))
1152
+ .requiredOption('--style <id>', 'Caption style preset (fgrove creatives captions styles)')
1153
+ .option('--words <file>', `Skip the transcription: ${WORDS_HINT}`)
1154
+ .option('--language <code>', 'Spoken language, such as en or ru (default: detected, or the words file\'s)')
1155
+ .option('--estimate', 'Print the credits per step and the balance; start nothing')
1156
+ .option('--wait', 'Poll until the captioned video is ready'))
1157
+ .action(run(async (scope, options, video) => {
1158
+ const started = await startCaptions(scope, { ...options, autoApprove: true }, video);
1159
+ if (options.estimate) {
1160
+ return started;
1161
+ }
1162
+ const detail = started;
1163
+ return summarizeCaptions(options.wait ? await waitForGeneration(scope, detail.generation.id) : detail);
1164
+ }));
1165
+ scoped(captions.command('show <generationId>').description('Show a caption Generation with its words, timing, emphasis and emoji'))
1166
+ .action(run(async (scope, _options, generationId) => summarizeCaptions(await api(scope, 'generation', 'query', { generationId }))));
1167
+ scoped(captions.command('approve <generationId>').description('Approve the reviewed words of a transcribed video (optionally replacing them and the style first) and render the captions; reserves the render credits')
1168
+ .option('--words <file>', `Replace the words first: ${WORDS_HINT}`)
1169
+ .option('--style <id>', 'Change the caption style first')
1170
+ .option('--wait', 'Poll until the captioned video is ready'))
1171
+ .action(run(async (scope, options, generationId) => {
1172
+ if (options.words || options.style) {
1173
+ const words = options.words ? parseCaptionWords(JSON.parse(await readFile(options.words, 'utf8'))) : null;
1174
+ await api(scope, 'updateCaptions', 'mutation', {
1175
+ generationId, ...(words ? { words: words.words, ...(words.language ? { language: words.language } : {}) } : {}), ...(options.style ? { styleId: options.style } : {}),
1176
+ });
1177
+ }
1178
+ const detail = await api(scope, 'approveCaptions', 'mutation', { generationId });
1179
+ return summarizeCaptions(options.wait ? await waitForGeneration(scope, generationId) : detail);
1180
+ }));
1181
+ scoped(captions.command('rerender <generationId>').description('Render the captions of a finished Generation again, after editing its words (--words) or style (--style); costs the caption price')
1182
+ .option('--words <file>', `Replace the words first: ${WORDS_HINT}`)
1183
+ .option('--style <id>', 'Change the caption style first')
1184
+ .option('--wait', 'Poll until the captioned video is ready'))
1185
+ .action(run(async (scope, options, generationId) => {
1186
+ if (options.words || options.style) {
1187
+ const words = options.words ? parseCaptionWords(JSON.parse(await readFile(options.words, 'utf8'))) : null;
1188
+ await api(scope, 'updateCaptions', 'mutation', {
1189
+ generationId, ...(words ? { words: words.words, ...(words.language ? { language: words.language } : {}) } : {}), ...(options.style ? { styleId: options.style } : {}),
1190
+ });
1191
+ }
1192
+ const detail = await api(scope, 'rerenderCaptions', 'mutation', { generationId });
1193
+ return summarizeCaptions(options.wait ? await waitForGeneration(scope, generationId) : detail);
1194
+ }));
1195
+ scoped(captions.command('export <generationId>').description('Export the captions as srt, vtt or the words json; prints the text, or writes --out')
1196
+ .option('--format <format>', 'srt | vtt | json', 'srt')
1197
+ .option('--out <file>', 'Write the export to this file instead of printing it'))
1198
+ .action(run(async (scope, options, generationId) => {
1199
+ if (!['srt', 'vtt', 'json'].includes(options.format)) {
1200
+ throw new Error('--format is srt, vtt or json');
1201
+ }
1202
+ const exported = await api(scope, 'captionsExport', 'query', { generationId, format: options.format });
1203
+ if (options.out) {
1204
+ await writeFile(options.out, exported.content, 'utf8');
1205
+ return { written: options.out, fileName: exported.fileName, contentType: exported.contentType };
1206
+ }
1207
+ return { fileName: exported.fileName, contentType: exported.contentType, content: exported.content };
1208
+ }));
1209
+ };
1041
1210
  export const registerCreativeCommands = (program, deps) => {
1042
1211
  const run = (work) => (async (...args) => {
1043
1212
  const command = args[args.length - 1];
@@ -1089,7 +1258,13 @@ Examples:
1089
1258
  fgrove creatives formats preview --texts copy.json --size 1080x1920 --project acme
1090
1259
  fgrove creatives generations start --flow format --texts copy.json --sizes 1080x1350,1080x1920 --estimate --project acme
1091
1260
  fgrove creatives variations tag --estimate --project acme
1092
- fgrove creatives formats stats --project acme`);
1261
+ fgrove creatives formats stats --project acme
1262
+ fgrove creatives captions styles --project claimbee
1263
+ fgrove creatives generate --brief <video brief id> --captions bold-pop --auto-approve --wait --project claimbee
1264
+ fgrove creatives captions render ./talk.mp4 --style highlight-box --angle C004 --brand Amazon --wait --project claimbee
1265
+ fgrove creatives captions transcribe ./talk.mp4 --angle C004 --brand Amazon --wait --project claimbee > words.json
1266
+ fgrove creatives captions approve <generation id> --words words.json --style neon-glow --wait --project claimbee
1267
+ fgrove creatives captions export <generation id> --format srt --out talk.srt --project claimbee`);
1093
1268
  const settings = root.command('settings').description('Project creative settings');
1094
1269
  scoped(settings.command('show').description('Show the name prefix and dictionaries'))
1095
1270
  .action(run((scope) => api(scope, 'settings', 'query')));
@@ -1237,4 +1412,5 @@ Examples:
1237
1412
  registerGenerationCommands(root, { scoped, run, angles });
1238
1413
  registerGenerationRunCommands(root, { scoped, run, angles, creatives });
1239
1414
  registerFormatCommands(root, { scoped, run, angles });
1415
+ registerCaptionCommands(root, { scoped, run, angles, creatives, variations });
1240
1416
  };
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.360",
7
+ "repositoryCliVersion": "0.1.361",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.353",
10
+ "bundleVersion": "2.0.354",
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": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce"
48
+ "sha256": "743837afa746bd63ffb9fbd2caa0ee6d64137f017802ab43fb746549cf57affa"
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": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942"
148
+ "sha256": "9a17d1b37d62b21a7306cde0affe58f9563af24a34ff2b1024f29dc0c10617c9"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.359",
154
+ "repositoryCliVersion": "0.1.360",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.352",
157
+ "bundleVersion": "2.0.353",
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": "eaf84a1cc28753b4b832831ebb43fedba90330000fff223c4512d79e94500086"
195
+ "sha256": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce"
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": "23ae803bc80a092a62680147747e0b74b66bd923d23d75606d502815f2946a75"
295
+ "sha256": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.358",
301
+ "repositoryCliVersion": "0.1.359",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.351",
304
+ "bundleVersion": "2.0.352",
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": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4"
342
+ "sha256": "eaf84a1cc28753b4b832831ebb43fedba90330000fff223c4512d79e94500086"
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": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d"
442
+ "sha256": "23ae803bc80a092a62680147747e0b74b66bd923d23d75606d502815f2946a75"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.357",
448
+ "repositoryCliVersion": "0.1.358",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.350",
451
+ "bundleVersion": "2.0.351",
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": "d7849f21c005bcac20c8e8e6caca4e90eff1c19add790e6e19904129714f4fc5"
489
+ "sha256": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4"
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": "ad07c811a7a8ac21e7aa01c324a2d7b764e8dc5af03ebcd8b36617859ea8bb42"
589
+ "sha256": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.356",
595
+ "repositoryCliVersion": "0.1.357",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.349",
598
+ "bundleVersion": "2.0.350",
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": "7cf7ffb707ef0d534ad4c9b3377c1d192cb304a16ca30f5f014ce0a8a0be065e"
636
+ "sha256": "d7849f21c005bcac20c8e8e6caca4e90eff1c19add790e6e19904129714f4fc5"
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": "7c4dc24661a335b885b43d7ed8a53abc288344ea81efc9250908a4ac0cce0991"
736
+ "sha256": "ad07c811a7a8ac21e7aa01c324a2d7b764e8dc5af03ebcd8b36617859ea8bb42"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.355",
742
+ "repositoryCliVersion": "0.1.356",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.348",
745
+ "bundleVersion": "2.0.349",
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": "c72e184744cef59f40141bc950e40027c15c00032db03893bf0868c76feb85ee"
783
+ "sha256": "7cf7ffb707ef0d534ad4c9b3377c1d192cb304a16ca30f5f014ce0a8a0be065e"
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": "ed74a5d6792358e6f3475efb1af19506da635b4a7d5723c34bee4187a2f28b99"
883
+ "sha256": "7c4dc24661a335b885b43d7ed8a53abc288344ea81efc9250908a4ac0cce0991"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.354",
889
+ "repositoryCliVersion": "0.1.355",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.347",
892
+ "bundleVersion": "2.0.348",
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": "f1c2098061ec0f53fc655c29079ee6cb45889b24d86fa620ab1e406017facc50"
930
+ "sha256": "c72e184744cef59f40141bc950e40027c15c00032db03893bf0868c76feb85ee"
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": "a970838c18d563327669a681196c48b83bd3e00d9658c60d9402ccb226057428"
1030
+ "sha256": "ed74a5d6792358e6f3475efb1af19506da635b4a7d5723c34bee4187a2f28b99"
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.360",
3
+ "version": "0.1.361",
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.353",
3
+ "bundleVersion": "2.0.354",
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": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce"
41
+ "sha256": "743837afa746bd63ffb9fbd2caa0ee6d64137f017802ab43fb746549cf57affa"
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": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942"
141
+ "sha256": "9a17d1b37d62b21a7306cde0affe58f9563af24a34ff2b1024f29dc0c10617c9"
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.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.71.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.360`, 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.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.71.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.361`, 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.353",
3
+ "bundleVersion": "2.0.354",
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.353",
3
+ "bundleVersion": "2.0.354",
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": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce"
41
+ "sha256": "743837afa746bd63ffb9fbd2caa0ee6d64137f017802ab43fb746549cf57affa"
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": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942"
141
+ "sha256": "9a17d1b37d62b21a7306cde0affe58f9563af24a34ff2b1024f29dc0c10617c9"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "c70ea8a38ce9b80ce8a03dae7c55e96d6a9a8b7a49a1b74f6a8d9d8d503834cb",
3
+ "sourceTreeHash": "d7fd829de7da51533a57683dc37fd647e1d553468fca262e7c4c7f4504faa5a5",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.353",
5
+ "docsBundleVersion": "2.0.354",
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": "3075ab60339b4b909d1eeae657d8a5ce6a9f712b7e685779476cf25c1c9f446e",
19
+ "sha256": "729f8ed96762eaac8d0b3404903d4fb6fe61db19c755da29f313e43f4678f09e",
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": "29ebaa7fce53e6025ea19caf347d953866575963f1f5e96df8050788674b56ce",
79
+ "sha256": "743837afa746bd63ffb9fbd2caa0ee6d64137f017802ab43fb746549cf57affa",
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": "c36088a7c3173139a24d4f425a761dc02618b56e0e5e410e29aab314d06d5942",
209
+ "sha256": "9a17d1b37d62b21a7306cde0affe58f9563af24a34ff2b1024f29dc0c10617c9",
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.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.71.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.360`, 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.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.71.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.361`, 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.353",
3
+ "bundleVersion": "2.0.354",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",