@funnelsgrove/cli 0.1.268 → 0.1.269

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
@@ -18,6 +18,38 @@ Use `fgrove update --dry-run` to inspect the installations first. The updater
18
18
  runs each installation's sibling `npm`, so duplicate global installs cannot
19
19
  silently remain on different CLI versions.
20
20
 
21
+ Create a new hosted funnel from one of three starter templates:
22
+
23
+ ```bash
24
+ fgrove whoami
25
+ fgrove projects list
26
+ fgrove templates list
27
+ fgrove templates show one-page-v2
28
+ fgrove funnels create --project fitness --template one-page-v2 --name FitBee --idempotency-key <creation-key> --json
29
+ fgrove sync down --funnel <returned-funnel-id> --dir ./fitbee
30
+ ```
31
+
32
+ Template cards include descriptions, suitable journeys, included screens and a
33
+ create command. `--json` works for both list and show. Discovery reads the
34
+ offered official catalog through the connected account, preserving its names,
35
+ keys and pinned demo/source versions; inspect the demo for the current journey.
36
+ Hosted creation requires an existing project; pass `--workspace`
37
+ when selecting a different workspace. Template slugs match the app: `default`,
38
+ `one-page`, and `one-page-v2`.
39
+
40
+ `funnels create` uses the same API setup workflow as the app. It waits for a
41
+ downloadable draft, while the automatic initial preview builds separately.
42
+ `--timeout` defaults to 120 seconds. Progress and recovery identity go to stderr;
43
+ stdout contains a tab-separated creation row, or one result object with `--json`.
44
+ Retain the creation key and reuse it if the request outcome is uncertain. A
45
+ wait timeout does not cancel or delete the hosted funnel. Download the returned
46
+ ID with `sync down`; `funnels clone` instead copies an existing funnel.
47
+
48
+ After downloading, establish the product/audience/offer/brand brief and root
49
+ `Design.md` before customization. The Fstack `create-funnel` skill owns that
50
+ intake workflow; starter artwork, proof and legal/offer copy need adaptation.
51
+ The starter preview includes later local changes only after sync and publish.
52
+
21
53
  Sync a funnel into its own local folder:
22
54
 
23
55
  ```bash
package/dist/cli.js CHANGED
@@ -23,6 +23,8 @@ import { executeEmailPull, executeEmailPush, executeEmailSend, executeEmailUpdat
23
23
  import { formatGitHubConnectRows, formatGitHubJobRows, formatGitHubStatusRows, } from './githubOutput.js';
24
24
  import { GitHubSyncTimeoutError, syncGitHubDraftIfConnected, } from './githubSyncFlow.js';
25
25
  import { reskinFunnel } from './reskin.js';
26
+ import { describeFunnelTemplate, renderFunnelTemplate } from './funnelTemplates.js';
27
+ import { createHostedFunnel } from './funnelCreation.js';
26
28
  import { TEMPLATE_DOCS_DIR } from './templateDocs.js';
27
29
  import { renderDocsHuman, renderDocsJson, } from './docsOutput.js';
28
30
  import { applyTemplateDocsUpdate, inspectTemplateDocs, loadBundledDocs, planTemplateDocsUpdate, recoverTemplateDocs, resolveTemplateDocsConflict, } from './docsTransaction.js';
@@ -2055,6 +2057,38 @@ addExpenseScopeOptions(expensesCommand
2055
2057
  const result = await executeExpensePublish(scope);
2056
2058
  console.log(`Published expenses: ${result.created} created, ${result.updated} updated.`);
2057
2059
  });
2060
+ const loadFunnelTemplateCards = async (workspace) => {
2061
+ const token = await readAuthToken();
2062
+ const workspaceId = await resolveWorkspaceId(token, workspace);
2063
+ const templates = await callApi({
2064
+ path: 'projects.listFunnelTemplates', type: 'query', token, data: { workspaceId },
2065
+ });
2066
+ return { token, workspaceId, templates: templates.map((template) => describeFunnelTemplate(template, workspaceId)) };
2067
+ };
2068
+ const templatesCommand = program.command('templates').description('Browse offered funnel templates from your connected account');
2069
+ templatesCommand.command('list')
2070
+ .description('List available funnel templates with descriptions and create commands')
2071
+ .option('--workspace <id-or-slug-or-name>', 'Workspace id, slug, or name')
2072
+ .option('--json', 'Emit machine-readable template cards')
2073
+ .action(async (options) => {
2074
+ const { templates } = await loadFunnelTemplateCards(options.workspace);
2075
+ process.stdout.write(options.json
2076
+ ? `${JSON.stringify(templates)}\n`
2077
+ : templates.length ? `${templates.map(renderFunnelTemplate).join('\n\n')}\n` : 'No funnel templates are currently offered.\n');
2078
+ });
2079
+ templatesCommand.command('show <slug>')
2080
+ .description('Describe an offered template and how to create it')
2081
+ .option('--workspace <id-or-slug-or-name>', 'Workspace id, slug, or name')
2082
+ .option('--json', 'Emit a machine-readable template card')
2083
+ .action(async (slug, options) => {
2084
+ const { templates } = await loadFunnelTemplateCards(options.workspace);
2085
+ const template = templates.find((item) => item.slug === slug);
2086
+ if (!template)
2087
+ throw new Error(`Funnel template "${slug}" is not available. Run fgrove templates list.`);
2088
+ process.stdout.write(options.json
2089
+ ? `${JSON.stringify(template)}\n`
2090
+ : `${renderFunnelTemplate(template)}\n`);
2091
+ });
2058
2092
  const funnelsCommand = addExamples(program.command('funnels').description('Manage funnels'), [
2059
2093
  'fgrove funnels list',
2060
2094
  'fgrove funnels clone --funnel claimbee --name claimbee-ios',
@@ -2072,6 +2106,44 @@ addExamples(funnelsCommand
2072
2106
  const funnels = await listFunnels(token, workspaceId);
2073
2107
  printRows(funnels, ['id', 'name', 'slug']);
2074
2108
  });
2109
+ addExamples(funnelsCommand
2110
+ .command('create')
2111
+ .description('Create a hosted funnel from a template and wait for downloadable source')
2112
+ .option('--workspace <id-or-slug-or-name>', 'Workspace id, slug, or name')
2113
+ .requiredOption('--project <id-or-slug-or-name>', 'Existing project id, slug, or name')
2114
+ .requiredOption('--template <slug>', 'Template from fgrove templates list')
2115
+ .requiredOption('--name <name>', 'New funnel name')
2116
+ .option('--idempotency-key <key>', 'Reuse this key when retrying the same creation')
2117
+ .option('--timeout <seconds>', 'Maximum wait for draft source (preview continues separately)', '120')
2118
+ .option('--json', 'Emit one machine-readable creation result'), ['fgrove funnels create --project fitness --template default --name FitBee --json'])
2119
+ .action(async (options) => {
2120
+ const name = options.name.trim();
2121
+ if (!/^[a-z0-9][a-z0-9-]{0,119}$/.test(options.template)) {
2122
+ throw new Error('--template must be a catalog key from fgrove templates list.');
2123
+ }
2124
+ const timeout = Number(options.timeout);
2125
+ const idempotencyKey = options.idempotencyKey ?? randomUUID();
2126
+ if (name.length < 2 || name.length > 120)
2127
+ throw new Error('Funnel name must contain 2 to 120 characters.');
2128
+ if (!Number.isFinite(timeout) || timeout < 1 || timeout > 1800) {
2129
+ throw new Error('--timeout must be between 1 and 1800 seconds.');
2130
+ }
2131
+ if (!idempotencyKey.trim() || idempotencyKey !== idempotencyKey.trim() || idempotencyKey.length > 200) {
2132
+ throw new Error('--idempotency-key must contain 1 to 200 characters with no surrounding whitespace.');
2133
+ }
2134
+ const token = await readAuthToken();
2135
+ const workspaceId = await resolveWorkspaceId(token, options.workspace);
2136
+ const project = await resolveProject(token, workspaceId, options.project);
2137
+ const result = await createHostedFunnel({
2138
+ callApi, token, workspaceId, projectId: project.id, template: options.template,
2139
+ name, idempotencyKey, timeoutMs: timeout * 1000,
2140
+ progress: (message) => process.stderr.write(`${message}\n`),
2141
+ });
2142
+ process.stdout.write(options.json
2143
+ ? `${JSON.stringify(result)}\n`
2144
+ : `${result.funnelId}\t${result.name}\t${result.slug}\t${result.template}\t${result.draftVersionId}\n`);
2145
+ process.stderr.write(`Download: fgrove sync down --workspace ${workspaceId} --funnel ${result.funnelId} --dir <new-folder>\n`);
2146
+ });
2075
2147
  addExamples(funnelsCommand
2076
2148
  .command('clone')
2077
2149
  .description('Copy an existing funnel')
@@ -0,0 +1,28 @@
1
+ type ApiCaller = <T>(input: {
2
+ path: string;
3
+ type: 'query' | 'mutation';
4
+ data?: unknown;
5
+ token?: string | null;
6
+ }) => Promise<T>;
7
+ export declare const createHostedFunnel: (input: {
8
+ callApi: ApiCaller;
9
+ token: string;
10
+ workspaceId: string;
11
+ projectId: string;
12
+ template: string;
13
+ name: string;
14
+ idempotencyKey: string;
15
+ timeoutMs: number;
16
+ progress: (message: string) => void;
17
+ }) => Promise<{
18
+ workspaceId: string;
19
+ projectId: string;
20
+ funnelId: string;
21
+ name: string;
22
+ slug: string;
23
+ template: string;
24
+ draftVersionId: string;
25
+ setupStatus: string;
26
+ idempotencyKey: string;
27
+ }>;
28
+ export {};
@@ -0,0 +1,28 @@
1
+ export const createHostedFunnel = async (input) => {
2
+ const { workspaceId, projectId, template, name, idempotencyKey } = input;
3
+ input.progress(`Creating ${template} in project ${projectId}; initial preview builds automatically. Creation key: ${idempotencyKey}`);
4
+ const created = await input.callApi({
5
+ path: 'projects.createFunnel', type: 'mutation', token: input.token,
6
+ data: { workspaceId, projectId, template, name, idempotencyKey },
7
+ });
8
+ let funnel = created.funnel;
9
+ input.progress(`Funnel ${funnel.id} created. Waiting for downloadable source; preview may continue building.`);
10
+ const deadline = Date.now() + input.timeoutMs;
11
+ while (!funnel.draft_version_id) {
12
+ if (funnel.setup_status === 'failed') {
13
+ throw new Error(`Funnel ${funnel.id} setup failed: ${funnel.setup_error || 'Unknown setup error'}. Keep creation key ${idempotencyKey}; inspect this funnel in FunnelsGrove before retrying.`);
14
+ }
15
+ if (Date.now() >= deadline) {
16
+ throw new Error(`Funnel ${funnel.id} exists, but source is still being prepared. Retry creation with the same --idempotency-key ${idempotencyKey}, or download it later with fgrove sync down --workspace ${workspaceId} --funnel ${funnel.id} --dir <new-folder>.`);
17
+ }
18
+ await new Promise((resolve) => setTimeout(resolve, 1_000));
19
+ ({ funnel } = await input.callApi({
20
+ path: 'funnels.detail', type: 'query', token: input.token,
21
+ data: { workspaceId, funnelId: funnel.id },
22
+ }));
23
+ }
24
+ return {
25
+ workspaceId, projectId, funnelId: funnel.id, name: funnel.name, slug: funnel.slug,
26
+ template, draftVersionId: funnel.draft_version_id, setupStatus: funnel.setup_status, idempotencyKey,
27
+ };
28
+ };
@@ -0,0 +1,17 @@
1
+ export type CatalogFunnelTemplate = {
2
+ key: string;
3
+ displayName: string;
4
+ sourceVersionId: string;
5
+ demoPath: string;
6
+ };
7
+ export declare const describeFunnelTemplate: (template: CatalogFunnelTemplate, workspaceId: string) => {
8
+ sourceVersionId: string;
9
+ demoPath: string;
10
+ createCommand: string;
11
+ description: string;
12
+ bestFor: string;
13
+ includes: string[];
14
+ slug: string;
15
+ name: string;
16
+ };
17
+ export declare const renderFunnelTemplate: (template: ReturnType<typeof describeFunnelTemplate>) => string;
@@ -0,0 +1,38 @@
1
+ const TEMPLATE_DESCRIPTIONS = {
2
+ default: {
3
+ description: 'A guided quiz-to-paywall journey with encouragement screens, answer-derived plan preparation and email capture.',
4
+ bestFor: 'A personalized onboarding journey; the initial catalog example is Gavus Dogs Training.',
5
+ includes: ['Quiz', 'Encouragement bridges', 'Plan preparation', 'Email capture', 'Long-form paywall'],
6
+ },
7
+ 'one-page': {
8
+ description: 'An app-store-style single-page offer with checkout and subscription handoff.',
9
+ bestFor: 'Visitors who already understand the product and need a concise path to purchase.',
10
+ includes: ['Single-page offer', 'Checkout', 'Subscription handoff', 'Subscription management'],
11
+ },
12
+ 'one-page-v2': {
13
+ description: 'A long-form single-page offer with a sticky app header, feature imagery, FAQ and wallet/card entry.',
14
+ bestFor: 'A visual product story that needs more explanation and proof before checkout.',
15
+ includes: ['Long-form offer', 'Feature carousel', 'FAQ', 'Wallet and card entry', 'Subscription management'],
16
+ },
17
+ };
18
+ export const describeFunnelTemplate = (template, workspaceId) => ({
19
+ slug: template.key,
20
+ name: template.displayName,
21
+ ...(TEMPLATE_DESCRIPTIONS[template.key] ?? {
22
+ description: `Published ${template.displayName} starter. Inspect its pinned demo before choosing this journey.`,
23
+ bestFor: 'A product whose journey matches the published template demo.',
24
+ includes: ['Published template source; inspect the demo for its exact screens'],
25
+ }),
26
+ sourceVersionId: template.sourceVersionId,
27
+ demoPath: template.demoPath,
28
+ createCommand: `fgrove funnels create --workspace ${workspaceId} --project <project> --template ${template.key} --name <name>`,
29
+ });
30
+ export const renderFunnelTemplate = (template) => [
31
+ `${template.name} (${template.slug})`,
32
+ ` ${template.description}`,
33
+ ` Best for: ${template.bestFor}`,
34
+ ` Includes: ${template.includes.join(', ')}`,
35
+ ` Demo: ${template.demoPath} (source version ${template.sourceVersionId})`,
36
+ ' Inspect the current demo; starter copy, artwork and offer terms need adaptation to your product.',
37
+ ` Create: ${template.createCommand}`,
38
+ ].join('\n');
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.268",
7
+ "repositoryCliVersion": "0.1.269",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.261",
10
+ "bundleVersion": "2.0.262",
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": "bdb3f01b62ddce29fe8cf51fb4b8a9466d9d8a22768aa09ef11d17f0cf410435"
48
+ "sha256": "6065bf89f8f09486ae0a83654dc061b57d326dc5e94e3d5f91e9429d47bae702"
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": "9ff3b21173e861067ffe9ec0e594d3be6b57c5245f2f1a389c679a6c327fc7de"
148
+ "sha256": "e4e115c55bd9cc2ffe2ed097bdc10876eb931012730189933c422245b22f80b1"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.267",
154
+ "repositoryCliVersion": "0.1.268",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.260",
157
+ "bundleVersion": "2.0.261",
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": "bfe6ab1080a10b02abd9bb2c6438235b0f741524ebfa38d36f357a47e75a5a5b"
195
+ "sha256": "bdb3f01b62ddce29fe8cf51fb4b8a9466d9d8a22768aa09ef11d17f0cf410435"
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": "cbd2957d78ab7ccb93292dfb53ca9f2bf9b5cdbb14515ac8a8b03cc33d7a1983"
295
+ "sha256": "9ff3b21173e861067ffe9ec0e594d3be6b57c5245f2f1a389c679a6c327fc7de"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.266",
301
+ "repositoryCliVersion": "0.1.267",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.259",
304
+ "bundleVersion": "2.0.260",
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": "a73414cd33b42bef5cf55b9d007485751bf84412dc690b2c7dd883e6c7b127f1"
342
+ "sha256": "bfe6ab1080a10b02abd9bb2c6438235b0f741524ebfa38d36f357a47e75a5a5b"
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": "8f841dfc3f38d4e3d911aaf74d1911b9e36e1d653594fcf3e4188dbdb45ae82b"
442
+ "sha256": "cbd2957d78ab7ccb93292dfb53ca9f2bf9b5cdbb14515ac8a8b03cc33d7a1983"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.265",
448
+ "repositoryCliVersion": "0.1.266",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.258",
451
+ "bundleVersion": "2.0.259",
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": "e529cbfc0ab172d5168301efcb09e2f7ed7459d3c8c7f27db9198b4ccce069ba"
489
+ "sha256": "a73414cd33b42bef5cf55b9d007485751bf84412dc690b2c7dd883e6c7b127f1"
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": "4cc4c05d6f0048162c5fc0a534050e11a8c14585783a7fae61a98462e880cc65"
589
+ "sha256": "8f841dfc3f38d4e3d911aaf74d1911b9e36e1d653594fcf3e4188dbdb45ae82b"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.264",
595
+ "repositoryCliVersion": "0.1.265",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.257",
598
+ "bundleVersion": "2.0.258",
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": "a299775572c2aac26afb8905d770417e1dd2f5a0ff1026d5212ba080ef1d5e82"
636
+ "sha256": "e529cbfc0ab172d5168301efcb09e2f7ed7459d3c8c7f27db9198b4ccce069ba"
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": "693f0649aedbb45a62b88661d482cbafeb01eb3fdb5279b473732b1a0c83e8ac"
736
+ "sha256": "4cc4c05d6f0048162c5fc0a534050e11a8c14585783a7fae61a98462e880cc65"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.263",
742
+ "repositoryCliVersion": "0.1.264",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.256",
745
+ "bundleVersion": "2.0.257",
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": "afba67a5679827efbd37d706d290e393558d4abf13271b5606e069b1694960e8"
783
+ "sha256": "a299775572c2aac26afb8905d770417e1dd2f5a0ff1026d5212ba080ef1d5e82"
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": "ac03af2c7446ffefd0acd9e28db1c4d6fa7a04848b1c2a562a3e722d16f9a98a"
883
+ "sha256": "693f0649aedbb45a62b88661d482cbafeb01eb3fdb5279b473732b1a0c83e8ac"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.262",
889
+ "repositoryCliVersion": "0.1.263",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.255",
892
+ "bundleVersion": "2.0.256",
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": "d733607091b48f87b667e43c68984116b4f5c82cdc5ca04af688ccc7160c0e36"
930
+ "sha256": "afba67a5679827efbd37d706d290e393558d4abf13271b5606e069b1694960e8"
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": "3bb975a7ced201ae60030e863b150e51fc8b5d496e0d0fb93fc92c48953e0c39"
1030
+ "sha256": "ac03af2c7446ffefd0acd9e28db1c4d6fa7a04848b1c2a562a3e722d16f9a98a"
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.268",
3
+ "version": "0.1.269",
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.261",
3
+ "bundleVersion": "2.0.262",
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": "bdb3f01b62ddce29fe8cf51fb4b8a9466d9d8a22768aa09ef11d17f0cf410435"
41
+ "sha256": "6065bf89f8f09486ae0a83654dc061b57d326dc5e94e3d5f91e9429d47bae702"
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": "9ff3b21173e861067ffe9ec0e594d3be6b57c5245f2f1a389c679a6c327fc7de"
141
+ "sha256": "e4e115c55bd9cc2ffe2ed097bdc10876eb931012730189933c422245b22f80b1"
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.26.0`, then `@funnelsgrove/analytics` `0.8.0`, then `@funnelsgrove/payments` `0.30.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.268`, 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.26.0`, then `@funnelsgrove/analytics` `0.8.0`, then `@funnelsgrove/payments` `0.30.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.269`, 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.261",
3
+ "bundleVersion": "2.0.262",
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.261",
3
+ "bundleVersion": "2.0.262",
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": "bdb3f01b62ddce29fe8cf51fb4b8a9466d9d8a22768aa09ef11d17f0cf410435"
41
+ "sha256": "6065bf89f8f09486ae0a83654dc061b57d326dc5e94e3d5f91e9429d47bae702"
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": "9ff3b21173e861067ffe9ec0e594d3be6b57c5245f2f1a389c679a6c327fc7de"
141
+ "sha256": "e4e115c55bd9cc2ffe2ed097bdc10876eb931012730189933c422245b22f80b1"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "e025e7e02f36b34bdbb7a7ba5c694f057a885769842ec2183163304ed0b6a7c8",
3
+ "sourceTreeHash": "af198058c64590b2cbc184136fe75ce91ab6adc330cdd233374b3a579596766a",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.261",
5
+ "docsBundleVersion": "2.0.262",
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": "175da617d78d007c8faecf9ed92ecaba3242ff3a6aaa20a8e7fd2357a282b648",
19
+ "sha256": "0eb8888e99f00f1d744be0972ae94edd22c4c7d5397e0914c052c39665541a04",
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": "bdb3f01b62ddce29fe8cf51fb4b8a9466d9d8a22768aa09ef11d17f0cf410435",
79
+ "sha256": "6065bf89f8f09486ae0a83654dc061b57d326dc5e94e3d5f91e9429d47bae702",
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": "9ff3b21173e861067ffe9ec0e594d3be6b57c5245f2f1a389c679a6c327fc7de",
209
+ "sha256": "e4e115c55bd9cc2ffe2ed097bdc10876eb931012730189933c422245b22f80b1",
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.26.0`, then `@funnelsgrove/analytics` `0.8.0`, then `@funnelsgrove/payments` `0.30.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.268`, 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.26.0`, then `@funnelsgrove/analytics` `0.8.0`, then `@funnelsgrove/payments` `0.30.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.269`, 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.261",
3
+ "bundleVersion": "2.0.262",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",