@funnelsgrove/cli 0.1.326 → 0.1.327

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/cli.js CHANGED
@@ -16,6 +16,7 @@ import { buildCommittedSyncManifest, buildDownloadedSyncManifest, buildSourceCan
16
16
  import { mergeTextSourceWithGit } from './sourceRebase.js';
17
17
  import { executeExperimentCreate, formatExperimentCreateSuccess, recoverExperimentCreateTransaction, } from './experimentCreate.js';
18
18
  import { pullEnvFile } from './envSync.js';
19
+ import { exportFunnelSource } from './sourceExport.js';
19
20
  import { executeFastDraftPatchSync, uploadDirectAssetWithFetch } from './draftPatchSync.js';
20
21
  import { updateCliInstallations } from './selfUpdate.js';
21
22
  import { executeExpensePublish, executeExpensePull } from './expenseCommands.js';
@@ -2870,9 +2871,8 @@ addExamples(syncCommand
2870
2871
  if (!options.force && hasLocalChanges) {
2871
2872
  throw new Error('Local sync directory has unuploaded changes. Run `fgrove sync rebase --dir <path>` to preserve them, or pass `--force` only if replacing hosted source paths is intentional; force creates an automatic backup.');
2872
2873
  }
2873
- const result = await callApi({
2874
- path: 'funnels.exportSource',
2875
- type: 'query',
2874
+ const result = await exportFunnelSource({
2875
+ callApi,
2876
2876
  token,
2877
2877
  data: {
2878
2878
  workspaceId: target.workspaceId,
@@ -2938,9 +2938,8 @@ addExamples(syncCommand
2938
2938
  if (!target.manifest) {
2939
2939
  throw Object.assign(new Error('No local sync baseline found. Run `fgrove sync down` into a new directory before rebasing.'), { code: 'FG-SYNC-REBASE-BASE' });
2940
2940
  }
2941
- const remote = await callApi({
2942
- path: 'funnels.exportSource',
2943
- type: 'query',
2941
+ const remote = await exportFunnelSource({
2942
+ callApi,
2944
2943
  token,
2945
2944
  data: {
2946
2945
  workspaceId: target.workspaceId,
@@ -2951,9 +2950,8 @@ addExamples(syncCommand
2951
2950
  console.log(`Local source is already based on hosted draft ${remote.draftVersionId}; no rebase is needed.`);
2952
2951
  return;
2953
2952
  }
2954
- const base = await callApi({
2955
- path: 'funnels.exportSource',
2956
- type: 'query',
2953
+ const base = await exportFunnelSource({
2954
+ callApi,
2957
2955
  token,
2958
2956
  data: {
2959
2957
  workspaceId: target.workspaceId,
package/dist/envSync.js CHANGED
@@ -9,6 +9,7 @@ export async function pullEnvFile(input) {
9
9
  data: {
10
10
  workspaceId: input.workspaceId,
11
11
  funnelId: input.funnelId,
12
+ assetDelivery: 'url',
12
13
  },
13
14
  });
14
15
  const wroteEnvFile = await writeLocalEnvFile(input.sourceDir, result.envFile);
@@ -0,0 +1,18 @@
1
+ import type { EnvPullCallApi } from './envSync.js';
2
+ import type { SourceFile } from './localSync.js';
3
+ type CliExportSourceResult = {
4
+ draftVersionId: string;
5
+ envFile: string;
6
+ files: SourceFile[];
7
+ };
8
+ export declare function exportFunnelSource(input: {
9
+ callApi: EnvPullCallApi;
10
+ token: string;
11
+ data: {
12
+ workspaceId: string;
13
+ funnelId: string;
14
+ versionId?: string;
15
+ };
16
+ fetchFn?: typeof fetch;
17
+ }): Promise<CliExportSourceResult>;
18
+ export {};
@@ -0,0 +1,58 @@
1
+ import { createHash } from 'node:crypto';
2
+ const CONTENT_ADDRESSED_ASSET_URL = /\/funnel-assets\/public\/([a-f0-9]{64})\.[a-z0-9]+$/;
3
+ const ASSET_DOWNLOAD_CONCURRENCY = 8;
4
+ const ASSET_DOWNLOAD_TIMEOUT_MS = 60_000;
5
+ const downloadAsset = async (file, fetchFn) => {
6
+ const sha256 = CONTENT_ADDRESSED_ASSET_URL.exec(new URL(file.publicUrl).pathname)?.[1];
7
+ if (!sha256) {
8
+ throw new Error(`Exported asset URL is not content-addressed: ${file.path}`);
9
+ }
10
+ const response = await fetchFn(file.publicUrl, { signal: AbortSignal.timeout(ASSET_DOWNLOAD_TIMEOUT_MS) });
11
+ if (!response.ok) {
12
+ throw new Error(`Exported asset download failed with ${response.status}: ${file.path}`);
13
+ }
14
+ const body = Buffer.from(await response.arrayBuffer());
15
+ if (createHash('sha256').update(body).digest('hex') !== sha256) {
16
+ throw new Error(`Exported asset bytes do not match their hash: ${file.path}`);
17
+ }
18
+ return {
19
+ path: file.path,
20
+ content: `data:${file.contentType};base64,${body.toString('base64')}`,
21
+ contentType: file.contentType,
22
+ };
23
+ };
24
+ const inlineAssetUrls = async (files, fetchFn) => {
25
+ const inlined = [...files];
26
+ let next = 0;
27
+ const worker = async () => {
28
+ while (next < inlined.length) {
29
+ const index = next++;
30
+ const { publicUrl, ...file } = inlined[index];
31
+ inlined[index] = publicUrl ? await downloadAsset({ ...file, publicUrl }, fetchFn) : file;
32
+ }
33
+ };
34
+ await Promise.all(Array.from({ length: ASSET_DOWNLOAD_CONCURRENCY }, worker));
35
+ return inlined;
36
+ };
37
+ // Inline exports carried every public asset as base64 (57 MB for one funnel), so
38
+ // the CLI asks for asset URLs and downloads the immutable objects itself.
39
+ export async function exportFunnelSource(input) {
40
+ const result = await input.callApi({
41
+ path: 'funnels.exportSource',
42
+ type: 'query',
43
+ token: input.token,
44
+ data: { ...input.data, assetDelivery: 'url' },
45
+ });
46
+ try {
47
+ return { ...result, files: await inlineAssetUrls(result.files, input.fetchFn ?? fetch) };
48
+ }
49
+ catch {
50
+ // The inline export restores a missing or damaged public object server-side.
51
+ return input.callApi({
52
+ path: 'funnels.exportSource',
53
+ type: 'query',
54
+ token: input.token,
55
+ data: input.data,
56
+ });
57
+ }
58
+ }
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.326",
7
+ "repositoryCliVersion": "0.1.327",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.319",
10
+ "bundleVersion": "2.0.320",
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": "0b7842793fe4ae286fef1fd46f3ed6207ab0ba265607a2f48360a09ffe2ebfa6"
48
+ "sha256": "64f0e149684f5d4a4cf024b38e5c7c77f4acaa34817bed9bb36745ca6b61b5d1"
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": "67934bae7d434f963b2432017ea7e6c2ea6de3711741b445588934fd39568054"
148
+ "sha256": "d47a44ae4d874e59083cee011b0bfcf2dba4713935cece3d7a87b070e6651ba8"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.325",
154
+ "repositoryCliVersion": "0.1.326",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.318",
157
+ "bundleVersion": "2.0.319",
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": "c8fc5362e2a49e8740957e92c51376277c48f0e65f3131939ac3ae608790192e"
195
+ "sha256": "0b7842793fe4ae286fef1fd46f3ed6207ab0ba265607a2f48360a09ffe2ebfa6"
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": "71af22dc8f14979908092254e6a8f404bfc90bf276a6d6114ee87116ff52f654"
295
+ "sha256": "67934bae7d434f963b2432017ea7e6c2ea6de3711741b445588934fd39568054"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.324",
301
+ "repositoryCliVersion": "0.1.325",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.317",
304
+ "bundleVersion": "2.0.318",
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": "6329048201c0169845894a6e2097b2d6e296a29716651d07892d7908e72ff03c"
342
+ "sha256": "c8fc5362e2a49e8740957e92c51376277c48f0e65f3131939ac3ae608790192e"
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": "cbbdd68a3678435ee4382ba9699920bd6443434f42685bf845b900dde324933a"
442
+ "sha256": "71af22dc8f14979908092254e6a8f404bfc90bf276a6d6114ee87116ff52f654"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.323",
448
+ "repositoryCliVersion": "0.1.324",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.316",
451
+ "bundleVersion": "2.0.317",
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": "cc9f7ddbd94e06c20df99b0da016e20dc5db7924bc85f38dd2700a64e1b98e94"
489
+ "sha256": "6329048201c0169845894a6e2097b2d6e296a29716651d07892d7908e72ff03c"
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": "36a8095dff5c9cc9917ad15b64f2ac6e46af72d6f7a726dfa3067a6bcd8f6f3e"
589
+ "sha256": "cbbdd68a3678435ee4382ba9699920bd6443434f42685bf845b900dde324933a"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.322",
595
+ "repositoryCliVersion": "0.1.323",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.315",
598
+ "bundleVersion": "2.0.316",
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": "dc39cf358311e119ec97d5d887285afbeb4fb85876996d67be4a273e0f7b6e2d"
636
+ "sha256": "cc9f7ddbd94e06c20df99b0da016e20dc5db7924bc85f38dd2700a64e1b98e94"
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": "700fc742b4044953df178d15661b37a2397bf905c4068b6f6dff340563ea668f"
736
+ "sha256": "36a8095dff5c9cc9917ad15b64f2ac6e46af72d6f7a726dfa3067a6bcd8f6f3e"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.321",
742
+ "repositoryCliVersion": "0.1.322",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.314",
745
+ "bundleVersion": "2.0.315",
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": "86e50d6e679a30ef36de2cf5c8ffd1668d8e074ebc7a87b5232a2b97db89db3a"
783
+ "sha256": "dc39cf358311e119ec97d5d887285afbeb4fb85876996d67be4a273e0f7b6e2d"
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": "310a6056913c3d582d2515faf7facc2915c37f5456ba8fa68374201d4a436577"
883
+ "sha256": "700fc742b4044953df178d15661b37a2397bf905c4068b6f6dff340563ea668f"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.320",
889
+ "repositoryCliVersion": "0.1.321",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.313",
892
+ "bundleVersion": "2.0.314",
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": "d7c457e9bcb24f0a92ee065d00cc5ace1fd622bfa2a2c98f5924b146c6f0008f"
930
+ "sha256": "86e50d6e679a30ef36de2cf5c8ffd1668d8e074ebc7a87b5232a2b97db89db3a"
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": "7d0d19a1da11a25451c227c00be48aa09c726159683a41f65f2a4b724e0f881c"
1030
+ "sha256": "310a6056913c3d582d2515faf7facc2915c37f5456ba8fa68374201d4a436577"
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.326",
3
+ "version": "0.1.327",
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.319",
3
+ "bundleVersion": "2.0.320",
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": "0b7842793fe4ae286fef1fd46f3ed6207ab0ba265607a2f48360a09ffe2ebfa6"
41
+ "sha256": "64f0e149684f5d4a4cf024b38e5c7c77f4acaa34817bed9bb36745ca6b61b5d1"
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": "67934bae7d434f963b2432017ea7e6c2ea6de3711741b445588934fd39568054"
141
+ "sha256": "d47a44ae4d874e59083cee011b0bfcf2dba4713935cece3d7a87b070e6651ba8"
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.42.0`, then `@funnelsgrove/analytics` `0.25.0`, then `@funnelsgrove/payments` `0.64.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.326`, 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.42.0`, then `@funnelsgrove/analytics` `0.25.0`, then `@funnelsgrove/payments` `0.64.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.327`, 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.319",
3
+ "bundleVersion": "2.0.320",
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.319",
3
+ "bundleVersion": "2.0.320",
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": "0b7842793fe4ae286fef1fd46f3ed6207ab0ba265607a2f48360a09ffe2ebfa6"
41
+ "sha256": "64f0e149684f5d4a4cf024b38e5c7c77f4acaa34817bed9bb36745ca6b61b5d1"
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": "67934bae7d434f963b2432017ea7e6c2ea6de3711741b445588934fd39568054"
141
+ "sha256": "d47a44ae4d874e59083cee011b0bfcf2dba4713935cece3d7a87b070e6651ba8"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "11cac8bee361e47c664eb3b5304d595c376c8642685b8a4a1f55e2d99d38a23c",
3
+ "sourceTreeHash": "faccec6485372f5c0071dc38ec75bd52dc56542b97c8e1184c807b7d068eefc3",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.319",
5
+ "docsBundleVersion": "2.0.320",
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": "165470c25401aa48db997c2d45f42e525d007774992a8dc3f226d1d3bc3209c0",
19
+ "sha256": "d0d0dbaeb94be2d47db962bff5fc0670ebd46f66f5550999bb6eedfd9314629e",
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": "0b7842793fe4ae286fef1fd46f3ed6207ab0ba265607a2f48360a09ffe2ebfa6",
79
+ "sha256": "64f0e149684f5d4a4cf024b38e5c7c77f4acaa34817bed9bb36745ca6b61b5d1",
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": "67934bae7d434f963b2432017ea7e6c2ea6de3711741b445588934fd39568054",
209
+ "sha256": "d47a44ae4d874e59083cee011b0bfcf2dba4713935cece3d7a87b070e6651ba8",
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.42.0`, then `@funnelsgrove/analytics` `0.25.0`, then `@funnelsgrove/payments` `0.64.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.326`, 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.42.0`, then `@funnelsgrove/analytics` `0.25.0`, then `@funnelsgrove/payments` `0.64.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.327`, 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.319",
3
+ "bundleVersion": "2.0.320",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",