@funnelsgrove/cli 0.1.357 → 0.1.358
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.d.ts +57 -8
- package/dist/creativeCommands.js +70 -16
- 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
|
@@ -268,6 +268,8 @@ export type RemixSlot = {
|
|
|
268
268
|
box: unknown;
|
|
269
269
|
labelBox: unknown;
|
|
270
270
|
style: Record<string, unknown>;
|
|
271
|
+
hidden?: boolean;
|
|
272
|
+
added?: boolean;
|
|
271
273
|
};
|
|
272
274
|
export type ReferenceLayout = {
|
|
273
275
|
id: string;
|
|
@@ -282,7 +284,7 @@ export type ReferenceLayout = {
|
|
|
282
284
|
slots: RemixSlot[];
|
|
283
285
|
[key: string]: unknown;
|
|
284
286
|
};
|
|
285
|
-
/** `remix show`: the layout an agent edits, with a text set of the
|
|
287
|
+
/** `remix show`: the layout an agent edits, with a text set of the words it draws to copy into a texts file. */
|
|
286
288
|
export declare const summarizeLayout: (layout: ReferenceLayout) => {
|
|
287
289
|
id: string;
|
|
288
290
|
name: string;
|
|
@@ -293,19 +295,66 @@ export declare const summarizeLayout: (layout: ReferenceLayout) => {
|
|
|
293
295
|
sourceVariation: string | null;
|
|
294
296
|
sourceUrl: string;
|
|
295
297
|
plateUrl: string | null;
|
|
296
|
-
slots:
|
|
298
|
+
slots: {
|
|
299
|
+
hidden: boolean;
|
|
300
|
+
added: boolean;
|
|
301
|
+
id: string;
|
|
302
|
+
role: string;
|
|
303
|
+
kind: "text" | "button";
|
|
304
|
+
text: string;
|
|
305
|
+
box: unknown;
|
|
306
|
+
labelBox: unknown;
|
|
307
|
+
style: Record<string, unknown>;
|
|
308
|
+
}[];
|
|
297
309
|
textSet: {
|
|
298
310
|
[k: string]: string;
|
|
299
311
|
};
|
|
312
|
+
editing: {
|
|
313
|
+
command: string;
|
|
314
|
+
editable: string[];
|
|
315
|
+
fixed: string[];
|
|
316
|
+
boxes: string;
|
|
317
|
+
add: {
|
|
318
|
+
add: boolean;
|
|
319
|
+
role: string;
|
|
320
|
+
text: string;
|
|
321
|
+
box: {
|
|
322
|
+
x: number;
|
|
323
|
+
y: number;
|
|
324
|
+
width: number;
|
|
325
|
+
height: number;
|
|
326
|
+
};
|
|
327
|
+
style: {
|
|
328
|
+
family: string;
|
|
329
|
+
weight: number;
|
|
330
|
+
color: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
remove: {
|
|
334
|
+
id: string;
|
|
335
|
+
remove: boolean;
|
|
336
|
+
};
|
|
337
|
+
preview: string;
|
|
338
|
+
};
|
|
300
339
|
};
|
|
301
340
|
/** A texts file: one text set (slot id to words) per output, or a single text set. */
|
|
302
341
|
export declare const parseTextSets: (json: unknown) => Record<string, string>[];
|
|
303
|
-
/**
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
342
|
+
/**
|
|
343
|
+
* A slots file (CRE-BR-033): slot edits, added slots and removals, or the output of `remix show`. Edits send what a
|
|
344
|
+
* member may change (words, style, boxes, hidden) and leave out the role, kind and `added` flag the API keeps; an added
|
|
345
|
+
* slot sends its role (and kind, which the API accepts only as text).
|
|
346
|
+
*/
|
|
347
|
+
export declare const slotEditsFromFile: (json: unknown) => ({
|
|
348
|
+
add: boolean;
|
|
349
|
+
id?: undefined;
|
|
350
|
+
remove?: undefined;
|
|
351
|
+
} | {
|
|
352
|
+
id: unknown;
|
|
353
|
+
remove: boolean;
|
|
354
|
+
} | {
|
|
355
|
+
id: unknown;
|
|
356
|
+
remove?: undefined;
|
|
357
|
+
})[];
|
|
309
358
|
/** The `startGeneration` input of a Remix: a ready layout, the Angle and brand of its Variations, the text sets and a brand swap. */
|
|
310
359
|
export declare const remixRequest: (options: GenerateOptions, angles: Angle[], textSets: Record<string, string>[]) => Record<string, unknown>;
|
|
311
360
|
export declare const LAYOUT_WAIT_STOP: string[];
|
package/dist/creativeCommands.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto';
|
|
2
|
-
import { readdir, readFile, stat, writeFile } from 'node:fs/promises';
|
|
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
5
|
const ANGLE_STATUSES = ['working', 'burned_out', 'no_data', 'under_review', 'idea', 'failed'];
|
|
@@ -322,7 +322,21 @@ export const waitForGeneration = async (scope, generationId, options = {}) => {
|
|
|
322
322
|
await sleep(options.intervalMs ?? 5000);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
|
-
/** `remix show
|
|
325
|
+
/** What `remix show` says about editing a layout (CRE-BR-033), so an agent sees the editable fields next to the slots. */
|
|
326
|
+
const editingGuide = (layout) => ({
|
|
327
|
+
command: `fgrove creatives remix update ${layout.id} --slots slots.json`,
|
|
328
|
+
editable: [
|
|
329
|
+
'text', 'style.family', 'style.source', 'style.weight', 'style.italic', 'style.uppercase', 'style.color', 'style.accentColor', 'style.align',
|
|
330
|
+
'box', 'labelBox (buttons)', 'hidden',
|
|
331
|
+
],
|
|
332
|
+
fixed: ['id', 'role', 'kind'],
|
|
333
|
+
boxes: `{x, y, width, height} in pixels of the ${layout.size} reference, inside it and at least 24x16; a button's labelBox stays inside its box `
|
|
334
|
+
+ '(the button is drawn on the plate)',
|
|
335
|
+
add: { add: true, role: 'badge', text: 'NEW', box: { x: 40, y: 40, width: 200, height: 72 }, style: { family: 'Montserrat', weight: 800, color: '#ffffff' } },
|
|
336
|
+
remove: { id: '<an added slot>', remove: true },
|
|
337
|
+
preview: `fgrove creatives remix preview ${layout.id} --texts texts.json (free)`,
|
|
338
|
+
});
|
|
339
|
+
/** `remix show`: the layout an agent edits, with a text set of the words it draws to copy into a texts file. */
|
|
326
340
|
export const summarizeLayout = (layout) => ({
|
|
327
341
|
id: layout.id,
|
|
328
342
|
name: layout.name,
|
|
@@ -333,11 +347,12 @@ export const summarizeLayout = (layout) => ({
|
|
|
333
347
|
sourceVariation: layout.source_variation_name,
|
|
334
348
|
sourceUrl: layout.source_url,
|
|
335
349
|
plateUrl: layout.plate_url,
|
|
336
|
-
slots: layout.slots,
|
|
337
|
-
textSet: Object.fromEntries(layout.slots.map((slot) => [slot.id, slot.text])),
|
|
350
|
+
slots: layout.slots.map((slot) => ({ ...slot, hidden: slot.hidden ?? false, added: slot.added ?? false })),
|
|
351
|
+
textSet: Object.fromEntries(layout.slots.filter((slot) => !slot.hidden).map((slot) => [slot.id, slot.text])),
|
|
352
|
+
editing: editingGuide(layout),
|
|
338
353
|
});
|
|
339
354
|
const TEXTS_HINT = 'a JSON array of text sets such as [{"headline": "Last week to file", "cta": "See if you qualify"}] '
|
|
340
|
-
+ '(slot ids from "fgrove creatives remix show <id>"; a slot left out keeps its words)';
|
|
355
|
+
+ '(slot ids from "fgrove creatives remix show <id>"; a slot left out keeps its words, a hidden one is not drawn)';
|
|
341
356
|
/** A texts file: one text set (slot id to words) per output, or a single text set. */
|
|
342
357
|
export const parseTextSets = (json) => {
|
|
343
358
|
const sets = Array.isArray(json) ? json : [json];
|
|
@@ -347,15 +362,33 @@ export const parseTextSets = (json) => {
|
|
|
347
362
|
}
|
|
348
363
|
return sets;
|
|
349
364
|
};
|
|
350
|
-
|
|
365
|
+
const SLOTS_HINT = 'The slots file must be the output of "remix show" (edited) or an array of slot edits {"id", "text", "style", "box", "labelBox", '
|
|
366
|
+
+ '"hidden"}, new slots {"add": true, "role", "text", "box", "style"} and removals {"id", "remove": true}';
|
|
367
|
+
const isObject = (value) => Boolean(value) && typeof value === 'object' && !Array.isArray(value);
|
|
368
|
+
const pick = (slot, keys, check) => Object.fromEntries(keys.filter((key) => check(slot[key])).map((key) => [key, slot[key]]));
|
|
369
|
+
/**
|
|
370
|
+
* A slots file (CRE-BR-033): slot edits, added slots and removals, or the output of `remix show`. Edits send what a
|
|
371
|
+
* member may change (words, style, boxes, hidden) and leave out the role, kind and `added` flag the API keeps; an added
|
|
372
|
+
* slot sends its role (and kind, which the API accepts only as text).
|
|
373
|
+
*/
|
|
351
374
|
export const slotEditsFromFile = (json) => {
|
|
352
|
-
const slots = (
|
|
353
|
-
if (!Array.isArray(slots) || !slots.every((slot) => slot && typeof slot === '
|
|
354
|
-
throw new Error(
|
|
375
|
+
const slots = (isObject(json) && 'slots' in json ? json.slots : json);
|
|
376
|
+
if (!Array.isArray(slots) || !slots.every((slot) => isObject(slot) && (typeof slot.id === 'string' || slot.add === true))) {
|
|
377
|
+
throw new Error(SLOTS_HINT);
|
|
355
378
|
}
|
|
356
|
-
return slots.map((slot) =>
|
|
357
|
-
|
|
358
|
-
|
|
379
|
+
return slots.map((slot) => {
|
|
380
|
+
if (slot.add === true) {
|
|
381
|
+
return { add: true, ...pick(slot, ['id', 'role', 'kind', 'text'], (value) => typeof value === 'string'), ...pick(slot, ['box', 'style'], isObject),
|
|
382
|
+
...pick(slot, ['hidden'], (value) => typeof value === 'boolean') };
|
|
383
|
+
}
|
|
384
|
+
if (slot.remove === true) {
|
|
385
|
+
return { id: slot.id, remove: true };
|
|
386
|
+
}
|
|
387
|
+
return {
|
|
388
|
+
id: slot.id, ...pick(slot, ['text'], (value) => typeof value === 'string'), ...pick(slot, ['style', 'box', 'labelBox'], isObject),
|
|
389
|
+
...pick(slot, ['hidden'], (value) => typeof value === 'boolean'),
|
|
390
|
+
};
|
|
391
|
+
});
|
|
359
392
|
};
|
|
360
393
|
/** The `startGeneration` input of a Remix: a ready layout, the Angle and brand of its Variations, the text sets and a brand swap. */
|
|
361
394
|
export const remixRequest = (options, angles, textSets) => {
|
|
@@ -565,15 +598,17 @@ const registerGenerationRunCommands = (root, input) => {
|
|
|
565
598
|
.action(run((scope, options) => api(scope, 'referenceLayouts', 'query', {
|
|
566
599
|
...(options.limit ? { limit: parseNumber(options.limit) } : {}), ...(options.cursor ? { cursor: options.cursor } : {}),
|
|
567
600
|
})));
|
|
568
|
-
scoped(remix.command('show <id>').description('Show a layout with its slots (ids, words, boxes, style)
|
|
601
|
+
scoped(remix.command('show <id>').description('Show a layout with its slots (ids, words, boxes, style, hidden, added), a text set of the words it draws and what an edit may change')
|
|
569
602
|
.option('--wait', 'Poll until the layout is ready or failed').option('--full', 'Print every stored field, with the analysis'))
|
|
570
603
|
.action(run(async (scope, options, id) => {
|
|
571
604
|
const layout = options.wait ? await waitForLayout(scope, id) : await api(scope, 'referenceLayout', 'query', { layoutId: id });
|
|
572
605
|
return options.full ? layout : summarizeLayout(layout);
|
|
573
606
|
}));
|
|
574
|
-
scoped(remix.command('update <id>').description('Edit slots
|
|
575
|
-
+ 'A family is a Google Fonts family (source "google") or a Workspace Font (source "workspace"); a missing weight
|
|
576
|
-
|
|
607
|
+
scoped(remix.command('update <id>').description('Edit slots (words, style, box, a button\'s labelBox, hidden), add text slots over the plate, remove added '
|
|
608
|
+
+ 'ones, or rename; free. A family is a Google Fonts family (source "google") or a Workspace Font (source "workspace"); a missing weight '
|
|
609
|
+
+ 'becomes the next heavier one. Boxes are pixels of the reference size')
|
|
610
|
+
.option('--slots <file>', 'The output of "remix show" (edited) or an array of slot edits, {"add": true, ...} new slots and {"id", "remove": true}')
|
|
611
|
+
.option('--name <name>', 'New name'))
|
|
577
612
|
.action(run(async (scope, options, id) => {
|
|
578
613
|
if (!options.slots && !options.name) {
|
|
579
614
|
throw new Error('Pass --slots <file> or --name <name>');
|
|
@@ -584,6 +619,25 @@ const registerGenerationRunCommands = (root, input) => {
|
|
|
584
619
|
...(options.name ? { name: options.name } : {}),
|
|
585
620
|
}));
|
|
586
621
|
}));
|
|
622
|
+
scoped(remix.command('preview <id>').description('Render text sets over the clean plate for free, as a Remix would (no credits, no brand swap), '
|
|
623
|
+
+ 'and save one PNG each with the renderer QA')
|
|
624
|
+
.option('--texts <file>', TEXTS_HINT).option('--out <dir>', 'Directory for the PNGs (default: ./remix-preview-<first 8 of the id>)'))
|
|
625
|
+
.action(run(async (scope, options, id) => {
|
|
626
|
+
if (!options.texts) {
|
|
627
|
+
throw new Error(`Pass --texts <file>: ${TEXTS_HINT}`);
|
|
628
|
+
}
|
|
629
|
+
const textSets = parseTextSets(JSON.parse(await readFile(options.texts, 'utf8')));
|
|
630
|
+
const preview = await api(scope, 'previewReferenceLayout', 'mutation', { layoutId: id, textSets });
|
|
631
|
+
const out = path.resolve(options.out ?? `remix-preview-${id.slice(0, 8)}`);
|
|
632
|
+
await mkdir(out, { recursive: true });
|
|
633
|
+
const images = [];
|
|
634
|
+
for (const image of preview.images) {
|
|
635
|
+
const file = path.join(out, `set-${image.textSet}.png`);
|
|
636
|
+
await writeFile(file, Buffer.from(image.base64, 'base64'));
|
|
637
|
+
images.push({ textSet: image.textSet, path: file, hardFailures: image.qa.hardFailures, softFindings: image.qa.softFindings });
|
|
638
|
+
}
|
|
639
|
+
return { layoutId: preview.layoutId, size: preview.size, ok: preview.ok, note: preview.note, images };
|
|
640
|
+
}));
|
|
587
641
|
};
|
|
588
642
|
/** `fgrove creatives brand-kits|fonts|briefs|render`. */
|
|
589
643
|
const registerGenerationCommands = (root, input) => {
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.358",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.351",
|
|
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": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4"
|
|
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": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.357",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.350",
|
|
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": "d7849f21c005bcac20c8e8e6caca4e90eff1c19add790e6e19904129714f4fc5"
|
|
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": "ad07c811a7a8ac21e7aa01c324a2d7b764e8dc5af03ebcd8b36617859ea8bb42"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.356",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.349",
|
|
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": "7cf7ffb707ef0d534ad4c9b3377c1d192cb304a16ca30f5f014ce0a8a0be065e"
|
|
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": "7c4dc24661a335b885b43d7ed8a53abc288344ea81efc9250908a4ac0cce0991"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.355",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.348",
|
|
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": "c72e184744cef59f40141bc950e40027c15c00032db03893bf0868c76feb85ee"
|
|
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": "ed74a5d6792358e6f3475efb1af19506da635b4a7d5723c34bee4187a2f28b99"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.354",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.347",
|
|
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": "f1c2098061ec0f53fc655c29079ee6cb45889b24d86fa620ab1e406017facc50"
|
|
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": "a970838c18d563327669a681196c48b83bd3e00d9658c60d9402ccb226057428"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.353",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.346",
|
|
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": "7aeda8d18a85667010396e754ff77338acd30494b09819a23fdf257401ff7f15"
|
|
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": "7dacbe5ea0b190e1e6604033cfa5d933ff0da2aacd5c1035fcf0616601da4367"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.352",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.345",
|
|
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": "a66ccac6a2aa87361d491759c06c87c718755552f04250ca51768679fbade4ac"
|
|
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": "853f573a6667f1ec5ff4da9075ca8df488f82d984723c44bc947e60f020c6b51"
|
|
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.351",
|
|
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": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4"
|
|
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": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d"
|
|
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.
|
|
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.358`, 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.351",
|
|
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": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4"
|
|
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": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "bed457af5e3fc049907daa462d3c1ceb41b1071247025948ae1100deb92ec524",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.351",
|
|
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": "8311756ede498bbafdb61cee290915b7b899ff2a770e47c887b3cb91966148f9",
|
|
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": "f4296760cadbdb0c0c30fb6ef609dacb21a8ea9624f16851962e25b7612673b4",
|
|
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": "4ee7ede9c30a033dde7c0616792f0218f7eaeddb6bca22c70caa3ba67d04c65d",
|
|
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.
|
|
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.358`, 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
|