@funnelsgrove/cli 0.1.26 → 0.1.28

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/README.md CHANGED
@@ -39,7 +39,9 @@ connected, commit and push source changes with normal git, then run `fgrove
39
39
  github pull` to sync GitHub into the hosted draft. Do not run `fgrove sync up`
40
40
  for the same local diff.
41
41
 
42
- Use `fgrove env pull` from a synced folder to refresh only the ignored local `.env` file after project settings change, without replacing source files.
42
+ Use `fgrove env pull` from a synced folder to refresh only the ignored local `.env` file after project settings change, without replacing source files. The generated file identifies the current hosted draft through `NEXT_PUBLIC_FUNNEL_VERSION_ID`, so transactional steps such as email capture work during local QA.
43
+
44
+ `fgrove offer-sets sync` reports the applied offer set and written generated files before waiting for GitHub. Pass `--no-github-sync` when the generated file will be committed through the normal repository workflow and the command must not wait for the shared GitHub queue.
43
45
 
44
46
  Create an experiment draft from a strict JSON spec:
45
47
 
@@ -70,6 +72,9 @@ fgrove publish --funnel claimbee-general --env preview
70
72
  The GitHub commands use the FunnelsGrove API only. `fgrove github pull` pulls
71
73
  the repository into the hosted draft after you push normal git commits.
72
74
  `fgrove publish` waits for the current draft to reach GitHub before publishing.
75
+ Use `--no-github-sync` to bypass only that CLI pre-publish wait when the hosted
76
+ draft is already known to match GitHub; the publish worker still performs its
77
+ normal best-effort post-publish GitHub synchronization.
73
78
  `fgrove github push` still exists for explicit hosted-draft-to-GitHub recovery
74
79
  work, but it is not the normal path for local source changes. Local `.env*`
75
80
  files remain CLI-local runtime material from `sync down`; they are not sent to
@@ -101,6 +101,7 @@ export type MarketingCohortPerformanceRow = {
101
101
  funnelUrl: string;
102
102
  mediaSource: string;
103
103
  spend: number;
104
+ spendCurrency: string | null;
104
105
  subscribers: number;
105
106
  subscribersAlive: number;
106
107
  subscribersAlivePercent: number | null;
@@ -108,6 +109,16 @@ export type MarketingCohortPerformanceRow = {
108
109
  revenueDay3: number;
109
110
  revenueDay90: number;
110
111
  revenueDay180: number;
112
+ revenueCurrency: string | null;
113
+ revenueCurrencySafe: boolean;
114
+ predictedNetRevenueDay3Minor: number | null;
115
+ predictedNetRevenueDay3Currency: string | null;
116
+ predictedNetRevenueDay90Minor: number | null;
117
+ predictedNetRevenueDay90Currency: string | null;
118
+ predictedNetRevenueDay180Minor: number | null;
119
+ predictedNetRevenueDay180Currency: string | null;
120
+ predictedNetRevenueDay365Minor: number | null;
121
+ predictedNetRevenueDay365Currency: string | null;
111
122
  pLtvCurrency: string | null;
112
123
  pLtv: number | null;
113
124
  pLtvPredictedNetRevenueDay365Minor: number | null;
@@ -226,9 +226,16 @@ export const formatConversionsTable = (input) => {
226
226
  };
227
227
  const flattenCohortRows = (rows) => rows.flatMap((row) => [row, ...(row.segments || []), ...(row.children || [])]);
228
228
  const normalizeCurrency = (value) => {
229
- const currency = value?.trim().toUpperCase() || '';
229
+ if (typeof value !== 'string') {
230
+ return null;
231
+ }
232
+ const currency = value.trim().toUpperCase();
230
233
  return /^[A-Z]{3}$/.test(currency) ? currency : null;
231
234
  };
235
+ const sameCurrency = (left, right) => {
236
+ const normalizedLeft = normalizeCurrency(left);
237
+ return normalizedLeft !== null && normalizedLeft === normalizeCurrency(right);
238
+ };
232
239
  const predictedAverageLtv = (row) => {
233
240
  if (!normalizeCurrency(row.pLtvCurrency)) {
234
241
  return null;
@@ -245,19 +252,49 @@ const predictedAverageLtv = (row) => {
245
252
  ? row.pLtv
246
253
  : null;
247
254
  };
248
- const ratioToSpend = (value, spend) => (Number.isFinite(value) && Number.isFinite(spend) && spend !== 0 ? value / spend : null);
255
+ const ratioToSpend = (value, spend) => (Number.isFinite(value) && Number.isFinite(spend) && spend > 0 ? value / spend : null);
249
256
  const formatRoi = (profit, spend) => {
250
257
  const ratio = ratioToSpend(profit, spend);
251
258
  return ratio === null ? '' : `${(ratio * 100).toFixed(2)}%`;
252
259
  };
253
- const formatRoas = (revenue, spend) => {
254
- const ratio = ratioToSpend(revenue, spend);
255
- return ratio === null ? '' : `${ratio.toFixed(2)}x`;
260
+ const forecastDefinitions = {
261
+ day3: {
262
+ minor: 'predictedNetRevenueDay3Minor',
263
+ currency: 'predictedNetRevenueDay3Currency',
264
+ },
265
+ day90: {
266
+ minor: 'predictedNetRevenueDay90Minor',
267
+ currency: 'predictedNetRevenueDay90Currency',
268
+ },
269
+ day180: {
270
+ minor: 'predictedNetRevenueDay180Minor',
271
+ currency: 'predictedNetRevenueDay180Currency',
272
+ },
273
+ day365: {
274
+ minor: 'predictedNetRevenueDay365Minor',
275
+ currency: 'predictedNetRevenueDay365Currency',
276
+ },
277
+ };
278
+ const formatForecastRoas = (row, forecast) => {
279
+ const minor = row[forecast.minor];
280
+ if (typeof minor !== 'number'
281
+ || !Number.isFinite(minor)
282
+ || !Number.isFinite(row.spend)
283
+ || row.spend <= 0) {
284
+ return '';
285
+ }
286
+ if (!normalizeCurrency(row.spendCurrency)) {
287
+ return '';
288
+ }
289
+ if (minor !== 0 && !sameCurrency(row[forecast.currency], row.spendCurrency)) {
290
+ return '';
291
+ }
292
+ return `${((minor / 100 / row.spend) * 100).toFixed(2)}%`;
256
293
  };
257
294
  export const formatCohortTable = (input) => {
258
295
  const lines = [
259
296
  `Cohort\t${input.date}`,
260
- 'cohort\tmediaSource\tfunnelUrl\tspend\tsubscribers\taliveRate\trevenue\tpLtv\tpLtvCurrency\tcpa\tpredictedProfit\tpROI\tROAS\tROAS d3\tROAS d90\tROAS d180',
297
+ 'cohort\tmediaSource\tfunnelUrl\tspend\tsubscribers\taliveRate\trevenue\tpLtv\tpLtvCurrency\tcpa\tpRevenue\tpredictedProfit\tpROI\tROAS\tROAS d3\tROAS d90\tROAS d180',
261
298
  ];
262
299
  for (const row of flattenCohortRows(input.cohort.rows)) {
263
300
  const cpa = row.subscribers > 0 ? row.spend / row.subscribers : 0;
@@ -265,31 +302,41 @@ export const formatCohortTable = (input) => {
265
302
  const predictedRevenue = averageLtv === null
266
303
  ? null
267
304
  : averageLtv * row.subscribers;
268
- const predictedProfit = predictedRevenue === null
269
- ? null
270
- : predictedRevenue - row.spend;
305
+ const predictedProfit = predictedRevenue !== null
306
+ && sameCurrency(row.pLtvCurrency, row.spendCurrency)
307
+ ? predictedRevenue - row.spend
308
+ : null;
309
+ const spendCurrency = normalizeCurrency(row.spendCurrency);
310
+ const revenueCurrency = row.revenueCurrencySafe === true
311
+ ? normalizeCurrency(row.revenueCurrency)
312
+ : null;
271
313
  const pLtvCurrency = normalizeCurrency(row.pLtvCurrency);
272
314
  lines.push([
273
315
  row.cohortDate,
274
316
  row.mediaSource,
275
317
  row.funnelUrl,
276
- formatCurrency(row.spend),
318
+ spendCurrency === null ? '' : formatCurrency(row.spend, spendCurrency),
277
319
  formatNumber(row.subscribers),
278
320
  formatPercentPoints(row.subscribersAlivePercent),
279
- formatCurrency(row.revenue),
321
+ revenueCurrency === null ? '' : formatCurrency(row.revenue, revenueCurrency),
280
322
  row.pLtv === null || pLtvCurrency === null
281
323
  ? ''
282
324
  : formatCurrency(row.pLtv, pLtvCurrency),
283
325
  pLtvCurrency || '',
284
- row.subscribers > 0 ? formatCurrency(cpa) : '',
326
+ row.subscribers > 0 && spendCurrency !== null
327
+ ? formatCurrency(cpa, spendCurrency)
328
+ : '',
329
+ predictedRevenue === null || pLtvCurrency === null
330
+ ? ''
331
+ : formatCurrency(predictedRevenue, pLtvCurrency),
285
332
  predictedProfit === null
286
333
  ? ''
287
334
  : formatCurrency(predictedProfit, pLtvCurrency || 'USD'),
288
335
  predictedProfit === null ? '' : formatRoi(predictedProfit, row.spend),
289
- formatRoas(row.revenue, row.spend),
290
- formatRoas(row.revenueDay3, row.spend),
291
- formatRoas(row.revenueDay90, row.spend),
292
- formatRoas(row.revenueDay180, row.spend),
336
+ formatForecastRoas(row, forecastDefinitions.day365),
337
+ formatForecastRoas(row, forecastDefinitions.day3),
338
+ formatForecastRoas(row, forecastDefinitions.day90),
339
+ formatForecastRoas(row, forecastDefinitions.day180),
293
340
  ].join('\t'));
294
341
  }
295
342
  return `${lines.join('\n')}\n`;
package/dist/cli.d.ts CHANGED
@@ -196,6 +196,13 @@ export declare function buildGeneratedConfigSyncInput(input: {
196
196
  };
197
197
  export declare function selectGeneratedConfigFiles(files: SourceFile[], kinds: GeneratedConfigKind[]): SourceFile[];
198
198
  export declare function assertCanDraftSyncSource(status: GitHubStatusResponse): void;
199
+ export declare const shouldSyncGitHubDraft: (options: {
200
+ githubSync?: boolean;
201
+ }) => boolean;
202
+ export declare const formatOfferSetSyncSuccess: (input: {
203
+ offerSetLabel: string;
204
+ generatedFileCount: number;
205
+ }) => string[];
199
206
  export declare const program: Command;
200
207
  type AnalyticsApiCall = (input: {
201
208
  path: string;
package/dist/cli.js CHANGED
@@ -1412,6 +1412,11 @@ const syncGitHubDraftForCli = async (input) => {
1412
1412
  }
1413
1413
  };
1414
1414
  const formatGeneratedFileCount = (count) => `${count} generated config ${count === 1 ? 'file' : 'files'}`;
1415
+ export const shouldSyncGitHubDraft = (options) => options.githubSync !== false;
1416
+ export const formatOfferSetSyncSuccess = (input) => [
1417
+ `Synced offer set ${input.offerSetLabel} to funnel draft`,
1418
+ `Wrote ${formatGeneratedFileCount(input.generatedFileCount)}`,
1419
+ ];
1415
1420
  const syncGeneratedConfigFilesForCli = async (input) => {
1416
1421
  const result = await callApi({
1417
1422
  path: 'funnels.generatedConfigFiles',
@@ -1621,6 +1626,7 @@ addExamples(offerSetsCommand
1621
1626
  .option('--workspace <id-or-slug-or-name>', 'Workspace id, slug, or name')
1622
1627
  .option('--funnel <id-or-slug>', 'Funnel id or slug')
1623
1628
  .option('--dir <path>', 'Local source directory for reading sync manifest', '.')
1629
+ .option('--no-github-sync', 'Skip waiting for an additional GitHub draft push')
1624
1630
  .requiredOption('--offer-set <key-or-id>', 'Offer set key or id'), [
1625
1631
  'fgrove offer-sets sync --offer-set default-paywall',
1626
1632
  'fgrove offers sync --funnel claimbee-ios --offer-set quarterly-test',
@@ -1648,14 +1654,18 @@ addExamples(offerSetsCommand
1648
1654
  target,
1649
1655
  kinds: ['offerSets'],
1650
1656
  });
1651
- await syncGitHubDraftForCli({
1652
- token,
1653
- workspaceId: target.workspaceId,
1654
- funnelId: target.funnelId,
1655
- });
1656
1657
  const offerSetLabel = result.offerSet?.key || result.offerSet?.display_name || options.offerSet.trim();
1657
- console.log(`Synced offer set ${offerSetLabel} to funnel draft`);
1658
- console.log(`Wrote ${formatGeneratedFileCount(generatedFiles.length)}`);
1658
+ console.log(formatOfferSetSyncSuccess({
1659
+ offerSetLabel,
1660
+ generatedFileCount: generatedFiles.length,
1661
+ }).join('\n'));
1662
+ if (shouldSyncGitHubDraft(options)) {
1663
+ await syncGitHubDraftForCli({
1664
+ token,
1665
+ workspaceId: target.workspaceId,
1666
+ funnelId: target.funnelId,
1667
+ });
1668
+ }
1659
1669
  });
1660
1670
  const experimentsCommand = addExamples(program.command('experiments').description('Manage funnel experiments'), [
1661
1671
  'fgrove experiments create --spec experiment.json --dir .',
@@ -2209,7 +2219,8 @@ addExamples(program
2209
2219
  .option('--dir <path>', 'Local source directory for reading sync manifest', '.')
2210
2220
  .option('--env <preview-or-production>', 'Publish environment', 'preview')
2211
2221
  .option('--domain <domain>', 'Production custom domain')
2212
- .option('--message <message>', 'Publish version message'), [
2222
+ .option('--message <message>', 'Publish version message')
2223
+ .option('--no-github-sync', 'Skip the pre-publish GitHub draft push wait'), [
2213
2224
  'fgrove publish --env preview --message "Preview copy updates"',
2214
2225
  'fgrove publish --env production --domain claimbee.example.com --message "Launch"',
2215
2226
  ])
@@ -2230,11 +2241,13 @@ addExamples(program
2230
2241
  funnel: options.funnel,
2231
2242
  dir: options.dir,
2232
2243
  });
2233
- await syncGitHubDraftForCli({
2234
- token,
2235
- workspaceId: target.workspaceId,
2236
- funnelId: target.funnelId,
2237
- });
2244
+ if (shouldSyncGitHubDraft(options)) {
2245
+ await syncGitHubDraftForCli({
2246
+ token,
2247
+ workspaceId: target.workspaceId,
2248
+ funnelId: target.funnelId,
2249
+ });
2250
+ }
2238
2251
  const result = await callApi({
2239
2252
  path: 'funnels.publish',
2240
2253
  type: 'mutation',
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.26",
7
+ "repositoryCliVersion": "0.1.28",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.14",
10
+ "bundleVersion": "2.0.16",
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
48
+ "sha256": "b2e3022c5ce21cf70f125c49502b367156abd0eb23d728727c2956d46cf53b2e"
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
148
+ "sha256": "7281cd1676e9bd30c9dd7c5f1b7aac8b24f923f6f9772e427fd7b75c15171eec"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.25",
154
+ "repositoryCliVersion": "0.1.27",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.13",
157
+ "bundleVersion": "2.0.15",
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": "66cd0134a5c0be3e28e966513370c0fc4d8fa427a8927620d4f5f688b96422ca"
195
+ "sha256": "790e5f36fb47f256da4ab25b1b1fbe453f1de61af2d278c400cb9a5edfeedeaf"
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": "556e7f6ce51fceaae062f60e98fd891c3344e40faf088d22174af4345fc7917c"
295
+ "sha256": "1e57699834211909ee3a9a6eabfc957e5cc4952a07d4621b26fc7328be960973"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.24",
301
+ "repositoryCliVersion": "0.1.26",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.12",
304
+ "bundleVersion": "2.0.14",
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": "2a25df4203ff0ca8a8532a22bdb5c11ab687b00b369894e3a3376caa378028d7"
342
+ "sha256": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
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": "06ea750a825821a578161e287b01388d229ec1c82e3c2fbc956a7e57a0c3888d"
442
+ "sha256": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.23",
448
+ "repositoryCliVersion": "0.1.25",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.11",
451
+ "bundleVersion": "2.0.13",
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": "5b135f70a2d005a2818f4992f79cd71865e00429f7adb73fc9aa88d2b3e1c2e4"
489
+ "sha256": "66cd0134a5c0be3e28e966513370c0fc4d8fa427a8927620d4f5f688b96422ca"
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": "84fb5735b12d84f76796ed17f1697e4891e27e416316e57027a629b54cd15fd5"
589
+ "sha256": "556e7f6ce51fceaae062f60e98fd891c3344e40faf088d22174af4345fc7917c"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.22",
595
+ "repositoryCliVersion": "0.1.24",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.10",
598
+ "bundleVersion": "2.0.12",
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": "b481733e085697910f34bbd62d830edb8248990d00660a24a73b6ee45b967241"
636
+ "sha256": "2a25df4203ff0ca8a8532a22bdb5c11ab687b00b369894e3a3376caa378028d7"
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": "f7a7894dfbd8a8e254e6dfe49b4f52cd25e19f6525a0296f7c666a7eef178e53"
736
+ "sha256": "06ea750a825821a578161e287b01388d229ec1c82e3c2fbc956a7e57a0c3888d"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.21",
742
+ "repositoryCliVersion": "0.1.23",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.9",
745
+ "bundleVersion": "2.0.11",
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": "5ff5fdbbe6d1dabfc7d1ba5b19eaf5cc146de57b255dffbe747927bca59afb89"
783
+ "sha256": "5b135f70a2d005a2818f4992f79cd71865e00429f7adb73fc9aa88d2b3e1c2e4"
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": "251d4e0d416a94dd43dd9a7d0c0765904efed4a98ad298d38064f55c10c19283"
883
+ "sha256": "84fb5735b12d84f76796ed17f1697e4891e27e416316e57027a629b54cd15fd5"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.20",
889
+ "repositoryCliVersion": "0.1.22",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.8",
892
+ "bundleVersion": "2.0.10",
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": "963e849027819a4b924ea0af2a09e23c610b838125477bd3a79d104cdbda3d8d"
930
+ "sha256": "b481733e085697910f34bbd62d830edb8248990d00660a24a73b6ee45b967241"
931
931
  },
932
932
  {
933
933
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -947,7 +947,7 @@
947
947
  },
948
948
  {
949
949
  "path": "docs/funnelsgrove/recipes/add-experiment.md",
950
- "sha256": "832b4331d6690d0596800c5aeb969f608dd62cf63d9ae527054e832fb60f8abd"
950
+ "sha256": "9918b577f47a9577c3c98d9a6a7a8762ddfeedb667efe13000900d1a1daee1f9"
951
951
  },
952
952
  {
953
953
  "path": "docs/funnelsgrove/recipes/add-step.md",
@@ -1027,7 +1027,7 @@
1027
1027
  },
1028
1028
  {
1029
1029
  "path": "funnel-docs.config.json",
1030
- "sha256": "734116ac17d631bcf7b5e34b2cf58097aef7952a36b47f3bd7f0533223ff4ed2"
1030
+ "sha256": "f7a7894dfbd8a8e254e6dfe49b4f52cd25e19f6525a0296f7c666a7eef178e53"
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.26",
3
+ "version": "0.1.28",
4
4
  "description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.14",
3
+ "bundleVersion": "2.0.16",
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
41
+ "sha256": "b2e3022c5ce21cf70f125c49502b367156abd0eb23d728727c2956d46cf53b2e"
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
141
+ "sha256": "7281cd1676e9bd30c9dd7c5f1b7aac8b24f923f6f9772e427fd7b75c15171eec"
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/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.26`. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.28`. 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.14",
3
+ "bundleVersion": "2.0.16",
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.14",
3
+ "bundleVersion": "2.0.16",
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": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044"
41
+ "sha256": "b2e3022c5ce21cf70f125c49502b367156abd0eb23d728727c2956d46cf53b2e"
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": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c"
141
+ "sha256": "7281cd1676e9bd30c9dd7c5f1b7aac8b24f923f6f9772e427fd7b75c15171eec"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "a271052a1c008ebf769480051d47c0f941cb4987a2a9aa5f3475c01892e23b78",
3
+ "sourceTreeHash": "502e7627544f88ecfa05d71d230538a3006f0eb1b3e0433d80468a74d603fb85",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.14",
5
+ "docsBundleVersion": "2.0.16",
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": "fafd9bbf52e7eb1a5dd3c4f429b6b004d8b8afa3ce652f40b55ea8743e26ce84",
19
+ "sha256": "8642026a790d2e0bfb45999299d5114666cc9e80375843ed34e2a7924132c44b",
20
20
  "mode": "100644"
21
21
  },
22
22
  {
@@ -101,7 +101,7 @@
101
101
  },
102
102
  {
103
103
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
104
- "sha256": "b9d539ce9e5330d267afbf694529cf5b7e7be7fc2d28a9d9deceba88f85d5044",
104
+ "sha256": "b2e3022c5ce21cf70f125c49502b367156abd0eb23d728727c2956d46cf53b2e",
105
105
  "mode": "100644"
106
106
  },
107
107
  {
@@ -236,12 +236,12 @@
236
236
  },
237
237
  {
238
238
  "path": "funnel-agent-docs.test.ts",
239
- "sha256": "0a44b1c46be244ba95237c34ed157306932f82ea2e30654cb0e35b9dfa2f0a84",
239
+ "sha256": "e557366cf246340c74681736ce0cc2dd7ef0b2e4166dcd005197576b4d195088",
240
240
  "mode": "100644"
241
241
  },
242
242
  {
243
243
  "path": "funnel-docs.config.json",
244
- "sha256": "1ac242e7ed583c7688fc8939536f9cd212c88db0fcafe34a4abee1280de52c1c",
244
+ "sha256": "7281cd1676e9bd30c9dd7c5f1b7aac8b24f923f6f9772e427fd7b75c15171eec",
245
245
  "mode": "100644"
246
246
  },
247
247
  {
@@ -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/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.26`. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.1.60` first, then `@funnelsgrove/analytics` `0.1.37`, then `@funnelsgrove/payments` `0.1.55`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.28`. 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
@@ -340,7 +340,7 @@ describe('funnel agent documentation supply', () => {
340
340
 
341
341
  expect(manifest).toMatchObject({
342
342
  schemaVersion: 1,
343
- bundleVersion: '2.0.14',
343
+ bundleVersion: '2.0.16',
344
344
  stepContractVersion: contract.stepContractVersion,
345
345
  contractHash: contract.contractHash,
346
346
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.14",
3
+ "bundleVersion": "2.0.16",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",