create-ailk 0.37.0 → 0.38.0
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 +149 -2
- package/component-catalog.json +44 -6
- package/component-catalog.md +6 -5
- package/dist/add-module.js +16 -1
- package/dist/add-route.d.ts +7 -2
- package/dist/add-route.js +28 -13
- package/dist/cli.js +52 -0
- package/dist/declined-routes.d.ts +13 -0
- package/dist/declined-routes.js +74 -0
- package/dist/derive-architecture.d.ts +0 -6
- package/dist/derive-architecture.js +9 -15
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/language-import.d.ts +93 -0
- package/dist/language-import.js +270 -43
- package/dist/lib/import-mdx.js +1 -1
- package/dist/lib/scaffold-render-sweep.d.ts +6 -3
- package/dist/lib/scaffold-render-sweep.js +8 -4
- package/dist/migrate-content.d.ts +6 -2
- package/dist/migrate-content.js +62 -5
- package/dist/module-architecture.js +139 -103
- package/dist/paid-sections.d.ts +13 -0
- package/dist/paid-sections.js +35 -5
- package/dist/programmatic.js +6 -16
- package/dist/remove-module.js +67 -0
- package/dist/routes.d.ts +103 -0
- package/dist/routes.js +708 -0
- package/dist/site-manifest.js +1 -1
- package/dist/site-roster.d.ts +2 -1
- package/dist/site-roster.js +30 -8
- package/dist/spoke-checkout.d.ts +28 -27
- package/dist/spoke-checkout.js +71 -102
- package/dist/surfaces.d.ts +18 -0
- package/dist/surfaces.js +47 -282
- package/dist/sync-routes.d.ts +28 -1
- package/dist/sync-routes.js +144 -11
- package/dist/template-record.d.ts +11 -0
- package/dist/template-record.js +18 -0
- package/dist/topology.d.ts +15 -1
- package/dist/topology.js +20 -4
- package/dist/update.d.ts +31 -2
- package/dist/update.js +627 -99
- package/package.json +3 -3
- package/templates/README.md +1 -1
- package/templates/apps/mcp/CLAUDE.md +5 -3
- package/templates/apps/web/CLAUDE.md +62 -20
- package/templates/apps/web/account.config.tsx +101 -0
- package/templates/apps/web/app/[locale]/(authed)/account/appointments/[slug]/page.tsx +3 -161
- package/templates/apps/web/app/[locale]/(authed)/account/appointments/page.tsx +3 -139
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/[pieceId]/page.tsx +3 -406
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/[pieceId]/versions/[version]/file/route.ts +2 -190
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/page.tsx +3 -182
- package/templates/apps/web/app/[locale]/(authed)/account/billing/page.tsx +8 -420
- package/templates/apps/web/app/[locale]/(authed)/account/connect/page.tsx +1 -1
- package/templates/apps/web/app/[locale]/(authed)/account/general/page.tsx +8 -214
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/[kind]/[id]/page.tsx +8 -115
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/message/[id]/file/route.ts +2 -80
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/thread/page.tsx +8 -121
- package/templates/apps/web/app/[locale]/(authed)/account/invitations/[invitationId]/page.tsx +3 -154
- package/templates/apps/web/app/[locale]/(authed)/account/layout.tsx +7 -149
- package/templates/apps/web/app/[locale]/(authed)/account/notifications/page.tsx +3 -143
- package/templates/apps/web/app/[locale]/(authed)/account/onboarding/page.tsx +3 -126
- package/templates/apps/web/app/[locale]/(authed)/account/page.tsx +8 -302
- package/templates/apps/web/app/[locale]/(authed)/account/privacy/export/route.ts +2 -102
- package/templates/apps/web/app/[locale]/(authed)/account/privacy/page.tsx +3 -240
- package/templates/apps/web/app/[locale]/(authed)/account/security/page.tsx +3 -131
- package/templates/apps/web/app/[locale]/(authed)/account/settings/page.tsx +2 -24
- package/templates/apps/web/app/[locale]/(authed)/account/support/page.tsx +3 -60
- package/templates/apps/web/app/[locale]/layout.tsx +45 -28
- package/templates/apps/web/app/apple-icon.tsx +72 -0
- package/templates/apps/web/app/llms.txt/__tests__/site-listing.test.ts +22 -12
- package/templates/apps/web/app/og/__tests__/__snapshots__/card.test.tsx.snap +3 -0
- package/templates/apps/web/app/og/__tests__/card.test.tsx +129 -0
- package/templates/apps/web/app/og/__tests__/route.test.ts +3 -4
- package/templates/apps/web/app/og/route.tsx +155 -72
- package/templates/apps/web/app/sitemap.xml/__tests__/site-listing.test.ts +12 -0
- package/templates/apps/web/i18n/request.ts +44 -1
- package/templates/apps/web/jest.config.cjs +13 -1
- package/templates/apps/web/lib/__tests__/auth-phone.test.ts +11 -0
- package/templates/apps/web/lib/__tests__/fixtures/site-topology.ts +70 -0
- package/templates/apps/web/lib/__tests__/nav-label-keys.test.ts +14 -0
- package/templates/apps/web/lib/__tests__/profile-back-link.test.ts +148 -61
- package/templates/apps/web/lib/__tests__/served-pages.test.ts +77 -0
- package/templates/apps/web/lib/__tests__/server-api.test.ts +37 -5
- package/templates/apps/web/lib/__tests__/structured-data.test.tsx +26 -13
- package/templates/apps/web/lib/listings.tsx +2 -2
- package/templates/apps/web/lib/nav-label-keys.ts +16 -2
- package/templates/apps/web/lib/paid-section-contracts.ts +35 -6
- package/templates/apps/web/lib/paid-sections.generated.ts +8 -0
- package/templates/apps/web/lib/profile-back-link.ts +105 -32
- package/templates/apps/web/lib/served-pages.ts +95 -0
- package/templates/apps/web/lib/site-brand.tsx +3 -5
- package/templates/apps/web/messages/en.json +8 -684
- package/templates/apps/web/middleware.ts +3 -1
- package/templates/apps/web/next.config.mjs +27 -0
- package/templates/apps/web/package.json +1 -0
- package/templates/customizations.yaml +9 -0
- package/templates/package.json +3 -1
- package/templates/tools/lint-architecture.ts +164 -11
- package/versions.json +48 -47
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/account-frame-sign-out.test.tsx +0 -175
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/agreements-prompt.test.tsx +0 -301
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/billing.test.tsx +0 -515
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/general.test.tsx +0 -883
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/hub-mode.test.tsx +0 -758
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/item.test.tsx +0 -264
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/layout-sign-out.test.tsx +0 -167
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/layout.test.tsx +0 -730
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/new-menu.test.tsx +0 -355
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/new-popups.test.tsx +0 -97
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/notifications.test.tsx +0 -375
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/onboarding.test.tsx +0 -323
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/page.test.tsx +0 -1208
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/popups.test.tsx +0 -418
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/privacy.test.tsx +0 -462
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/rich-translator.ts +0 -63
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/security.test.tsx +0 -406
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/settings.test.tsx +0 -93
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/support.test.tsx +0 -208
- package/templates/apps/web/app/[locale]/(authed)/account/__tests__/thread.test.tsx +0 -340
- package/templates/apps/web/app/[locale]/(authed)/account/account-data.ts +0 -182
- package/templates/apps/web/app/[locale]/(authed)/account/account-frame.tsx +0 -353
- package/templates/apps/web/app/[locale]/(authed)/account/actions.ts +0 -57
- package/templates/apps/web/app/[locale]/(authed)/account/agreements-actions.ts +0 -58
- package/templates/apps/web/app/[locale]/(authed)/account/agreements-gate.ts +0 -61
- package/templates/apps/web/app/[locale]/(authed)/account/agreements-prompt.tsx +0 -184
- package/templates/apps/web/app/[locale]/(authed)/account/appointments/__tests__/page.test.tsx +0 -426
- package/templates/apps/web/app/[locale]/(authed)/account/appointments/appointments-data.ts +0 -76
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/[pieceId]/pay-form.tsx +0 -65
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/[pieceId]/review-form.tsx +0 -172
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/__tests__/file-route.test.ts +0 -333
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/__tests__/page.test.tsx +0 -936
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/__tests__/pay.test.tsx +0 -193
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/__tests__/review.test.tsx +0 -476
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/artifact-actions.ts +0 -184
- package/templates/apps/web/app/[locale]/(authed)/account/artifacts/artifact-data.ts +0 -197
- package/templates/apps/web/app/[locale]/(authed)/account/billing/__tests__/offerings.test.ts +0 -99
- package/templates/apps/web/app/[locale]/(authed)/account/billing/offerings.ts +0 -123
- package/templates/apps/web/app/[locale]/(authed)/account/billing-source.ts +0 -303
- package/templates/apps/web/app/[locale]/(authed)/account/components/request-quote.tsx +0 -274
- package/templates/apps/web/app/[locale]/(authed)/account/error-row.tsx +0 -35
- package/templates/apps/web/app/[locale]/(authed)/account/for-you-labels.ts +0 -36
- package/templates/apps/web/app/[locale]/(authed)/account/general/__tests__/phone-verification.test.tsx +0 -215
- package/templates/apps/web/app/[locale]/(authed)/account/general/__tests__/seam-imports.test.ts +0 -65
- package/templates/apps/web/app/[locale]/(authed)/account/general/account-name.ts +0 -36
- package/templates/apps/web/app/[locale]/(authed)/account/general/billing-anchor.tsx +0 -27
- package/templates/apps/web/app/[locale]/(authed)/account/general/contact-actions.ts +0 -149
- package/templates/apps/web/app/[locale]/(authed)/account/general/contact-details.tsx +0 -42
- package/templates/apps/web/app/[locale]/(authed)/account/general/deletion-request.tsx +0 -132
- package/templates/apps/web/app/[locale]/(authed)/account/general/phone-actions.ts +0 -122
- package/templates/apps/web/app/[locale]/(authed)/account/general/phone-verification.tsx +0 -215
- package/templates/apps/web/app/[locale]/(authed)/account/general/photo-actions.ts +0 -73
- package/templates/apps/web/app/[locale]/(authed)/account/general/profile-form.tsx +0 -107
- package/templates/apps/web/app/[locale]/(authed)/account/general/profile-source.ts +0 -87
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/message/[id]/file/__tests__/route.test.ts +0 -215
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/thread/member-thread-composer.tsx +0 -43
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/thread/thread-data.ts +0 -88
- package/templates/apps/web/app/[locale]/(authed)/account/inbox/thread/thread-write.ts +0 -31
- package/templates/apps/web/app/[locale]/(authed)/account/invitations/[invitationId]/__tests__/invitation-id.test.ts +0 -35
- package/templates/apps/web/app/[locale]/(authed)/account/invitations/[invitationId]/__tests__/page.test.tsx +0 -266
- package/templates/apps/web/app/[locale]/(authed)/account/invitations/[invitationId]/actions.ts +0 -116
- package/templates/apps/web/app/[locale]/(authed)/account/invitations/[invitationId]/invitation-id.ts +0 -12
- package/templates/apps/web/app/[locale]/(authed)/account/new-actions.ts +0 -219
- package/templates/apps/web/app/[locale]/(authed)/account/new-menu.tsx +0 -365
- package/templates/apps/web/app/[locale]/(authed)/account/new-popups.tsx +0 -86
- package/templates/apps/web/app/[locale]/(authed)/account/onboarding/actions.ts +0 -120
- package/templates/apps/web/app/[locale]/(authed)/account/onboarding/onboarding-form.tsx +0 -322
- package/templates/apps/web/app/[locale]/(authed)/account/privacy/__tests__/export-route.test.ts +0 -173
- package/templates/apps/web/app/[locale]/(authed)/account/privacy/actions.ts +0 -103
- package/templates/apps/web/app/[locale]/(authed)/account/profile-actions.ts +0 -116
- package/templates/apps/web/app/[locale]/(authed)/account/retry-button.tsx +0 -27
- package/templates/apps/web/app/[locale]/(authed)/account/security/__tests__/hub-variant.test.tsx +0 -258
- package/templates/apps/web/app/[locale]/(authed)/account/security/security-panel.tsx +0 -130
- package/templates/apps/web/app/[locale]/(authed)/account/security/security-source.ts +0 -92
- package/templates/apps/web/app/[locale]/(authed)/account/settings-frame.tsx +0 -121
- package/templates/apps/web/app/[locale]/(authed)/account/sign-in-method.ts +0 -37
- package/templates/apps/web/app/[locale]/(authed)/account/support/support-form.tsx +0 -98
- package/templates/apps/web/app/[locale]/(authed)/account/support-actions.ts +0 -100
- package/templates/apps/web/app/[locale]/checkout/__tests__/pages.test.tsx +0 -139
- package/templates/apps/web/app/[locale]/checkout/__tests__/thank-you-account.test.tsx +0 -146
- package/templates/apps/web/app/[locale]/checkout/thank-you/page.tsx +0 -114
- package/templates/apps/web/app/[locale]/checkout/unavailable/page.tsx +0 -51
- package/templates/apps/web/app/[locale]/flows/[slug]/FlowStepperClient.tsx +0 -614
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.count.test.tsx +0 -43
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.deliverable.test.tsx +0 -214
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.ending.test.tsx +0 -197
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.invite.test.tsx +0 -286
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.permalink.test.tsx +0 -520
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.test.tsx +0 -376
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/FlowStepperClient.thanks-by-tier.test.tsx +0 -306
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/account-invite.actions.test.ts +0 -69
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/flow.actions.test.ts +0 -398
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/magnet-page.test.tsx +0 -704
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/save.actions.test.ts +0 -173
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/two-route-tool.test.tsx +0 -141
- package/templates/apps/web/app/[locale]/flows/[slug]/__tests__/verify.test.tsx +0 -249
- package/templates/apps/web/app/[locale]/flows/[slug]/account-invite.actions.ts +0 -35
- package/templates/apps/web/app/[locale]/flows/[slug]/email-moment.ts +0 -92
- package/templates/apps/web/app/[locale]/flows/[slug]/flow.actions.ts +0 -177
- package/templates/apps/web/app/[locale]/flows/[slug]/magnet-page.tsx +0 -472
- package/templates/apps/web/app/[locale]/flows/[slug]/page.tsx +0 -48
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/LevelChart.tsx +0 -100
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/ResultsCard.tsx +0 -99
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/ResultsClient.tsx +0 -820
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/ResultsEmailStep.tsx +0 -203
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/ResultsClient.no-commerce.test.tsx +0 -194
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/ResultsClient.report.test.tsx +0 -284
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/by-result.test.tsx +0 -302
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/cards.test.tsx +0 -402
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/landing.test.tsx +0 -293
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/page.test.tsx +0 -485
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/__tests__/score.test.tsx +0 -231
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/checkout-seam.ts +0 -74
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/meeting-seam.ts +0 -36
- package/templates/apps/web/app/[locale]/flows/[slug]/results/[payload]/page.tsx +0 -420
- package/templates/apps/web/app/[locale]/flows/[slug]/save.actions.ts +0 -85
- package/templates/apps/web/app/[locale]/flows/[slug]/served-flow.ts +0 -91
- package/templates/apps/web/app/[locale]/flows/[slug]/start/page.tsx +0 -32
- package/templates/apps/web/app/[locale]/flows/[slug]/verify/page.tsx +0 -153
- package/templates/apps/web/app/[locale]/flows/[slug]/verify.actions.ts +0 -151
- package/templates/apps/web/app/[locale]/meet/confirmed/BookingHandOff.tsx +0 -128
- package/templates/apps/web/app/[locale]/meet/confirmed/__tests__/BookingHandOff.test.tsx +0 -126
- package/templates/apps/web/app/[locale]/purchase/__tests__/cancel.test.tsx +0 -162
- package/templates/apps/web/app/[locale]/purchase/__tests__/module-scope.test.ts +0 -68
- package/templates/apps/web/app/[locale]/purchase/__tests__/success.test.tsx +0 -411
- package/templates/apps/web/app/[locale]/purchase/cancel/page.tsx +0 -115
- package/templates/apps/web/app/[locale]/purchase/success/page.tsx +0 -348
- package/templates/apps/web/lib/__tests__/account-config.test.ts +0 -704
- package/templates/apps/web/lib/account-config.ts +0 -678
- package/templates/apps/web/lib/checkout-config.ts +0 -16
- package/templates/apps/web/src/lib/__tests__/commerce-sections.test.ts +0 -57
- package/templates/apps/web/src/lib/commerce-sections.ts +0 -55
package/dist/surfaces.js
CHANGED
|
@@ -88,6 +88,40 @@ export function isRemovedPublicRoutePath(destRel) {
|
|
|
88
88
|
return false;
|
|
89
89
|
return !HUB_KEPT_ROUTE_DIRS.includes(rest[0]);
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* The route trees a page package ships (ADR 0040): the package's pages
|
|
93
|
+
* mount through the route files `create-ailk routes` generates from its
|
|
94
|
+
* manifest, so `sync-routes` has nothing to sync under the prefix — the
|
|
95
|
+
* generator writes, checks and records those files, never the route copier.
|
|
96
|
+
* A `siteOwned` route under the prefix stays the site's own page (one the
|
|
97
|
+
* package leaves to a later slice) and `sync-routes` keeps it in scope. One
|
|
98
|
+
* entry per page package, mirroring its `routes.json` (`prefix`, and each
|
|
99
|
+
* `siteOwned` routing file's directory); `sync-routes.test.ts` pins
|
|
100
|
+
* `@working-theory/account`'s to the package's manifest.
|
|
101
|
+
*/
|
|
102
|
+
export const PAGE_PACKAGE_ROUTES = [
|
|
103
|
+
{ package: "@working-theory/account", prefix: "(authed)/account", siteOwned: ["(authed)/account/connect"] },
|
|
104
|
+
// #11251 — the flows pages; the snapshot carries none of the tree, so a
|
|
105
|
+
// scaffold has its route files only once the package is installed.
|
|
106
|
+
{ package: "@working-theory/ui-signal-collectors", prefix: "flows", siteOwned: [] },
|
|
107
|
+
// #11252 — the booking pages; likewise absent from the snapshot. One entry
|
|
108
|
+
// per prefix of the package's two-prefix manifest.
|
|
109
|
+
{ package: "@working-theory/ui-scheduling", prefix: "meet", siteOwned: [] },
|
|
110
|
+
{ package: "@working-theory/ui-scheduling", prefix: "private", siteOwned: [] },
|
|
111
|
+
// #11253 — the checkout and purchase return pages; likewise absent from the
|
|
112
|
+
// snapshot, one entry per prefix of the package's two-prefix manifest.
|
|
113
|
+
{ package: "@working-theory/ui-commerce", prefix: "checkout", siteOwned: [] },
|
|
114
|
+
{ package: "@working-theory/ui-commerce", prefix: "purchase", siteOwned: [] },
|
|
115
|
+
// #11254 — the docs and blog catch-alls; likewise absent from the snapshot,
|
|
116
|
+
// one entry per prefix of the package's two-prefix manifest.
|
|
117
|
+
{ package: "@working-theory/ui-docs-blog", prefix: "docs", siteOwned: [] },
|
|
118
|
+
{ package: "@working-theory/ui-docs-blog", prefix: "blog", siteOwned: [] },
|
|
119
|
+
];
|
|
120
|
+
/** The page package that ships `route` (a ROUTE_ROOT-relative dir), or `undefined` when no page package does. */
|
|
121
|
+
export function pagePackageOfRoute(route) {
|
|
122
|
+
const under = (dir) => route === dir || route.startsWith(`${dir}/`);
|
|
123
|
+
return PAGE_PACKAGE_ROUTES.find((entry) => under(entry.prefix) && !entry.siteOwned.some(under))?.package;
|
|
124
|
+
}
|
|
91
125
|
/** Template-relative route directories that are always copied. */
|
|
92
126
|
export const CORE_ROUTE_DIRS = [
|
|
93
127
|
`${ROUTE_ROOT}/about`,
|
|
@@ -113,19 +147,6 @@ export const CORE_ROUTE_DIRS = [
|
|
|
113
147
|
// scaffold carrying it and no content is byte-for-byte a scaffold with one
|
|
114
148
|
// more 404, nothing else.
|
|
115
149
|
`${ROUTE_ROOT}/[slug]`,
|
|
116
|
-
// #6084 D12 (the operator's shape-2 disposition) — the checkout return
|
|
117
|
-
// pair. The launchers pointing at them (`apps/mcp/src/tools/purchase.ts`,
|
|
118
|
-
// `apps/web/.../dev/purchase/purchase.actions.ts`) are ALREADY
|
|
119
|
-
// unconditional base-tree code under D-64, so gating the return pages
|
|
120
|
-
// behind a scaffold-time surface would leave a licence-added commerce
|
|
121
|
-
// site with a working checkout and a 404 return page — the exact defect
|
|
122
|
-
// this issue exists to close. `CORE_ROUTE_DIRS` is the right home for the
|
|
123
|
-
// same reason `[slug]` immediately above is: inert (a request-time
|
|
124
|
-
// `notFound()`, `src/lib/commerce-claim.ts`) for every scaffold that never
|
|
125
|
-
// buys the `commerce` claim, so carrying it costs nothing beyond two more
|
|
126
|
-
// 404s. Neither `GATEABLE_SURFACES` nor `MODULE_SURFACES.commerce` gains
|
|
127
|
-
// an entry — the claim decides whether the pages serve, not the scaffold.
|
|
128
|
-
`${ROUTE_ROOT}/purchase`,
|
|
129
150
|
// #8438 D17/D21 — the one unsubscribe landing every signed link calls.
|
|
130
151
|
// Consent logging is part of the never-gated privacy floor (CLAUDE.md §
|
|
131
152
|
// License & tier hygiene's never-gate list), so this ships unconditionally
|
|
@@ -267,7 +288,10 @@ export const GATEABLE_SURFACES = [
|
|
|
267
288
|
// schedule/ directory by #5563), and the private index `/private`
|
|
268
289
|
// (#8843 D10), a second directory gated with it. API-backed like
|
|
269
290
|
// `flows`: every meeting fact comes from apps/api's
|
|
270
|
-
// `GET /v1/schedule/meetings`, so there is no MDX of its own.
|
|
291
|
+
// `GET /v1/schedule/meetings`, so there is no MDX of its own. Since
|
|
292
|
+
// #11252 the pages ship in `@working-theory/ui-scheduling` and the
|
|
293
|
+
// snapshot carries neither directory; the surface still gates the nav
|
|
294
|
+
// label and the Free placeholders.
|
|
271
295
|
id: "meet",
|
|
272
296
|
routes: [`${ROUTE_ROOT}/meet`, `${ROUTE_ROOT}/private`],
|
|
273
297
|
content: [],
|
|
@@ -674,10 +698,9 @@ export const ROUTE_SINCE = {
|
|
|
674
698
|
features: "0.27.0",
|
|
675
699
|
"features/[slug]": "0.27.0",
|
|
676
700
|
faq: "0.0.0",
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
"flows/[slug]/verify": "0.56.0",
|
|
701
|
+
// #11251 — no `flows/…` key: the flows route files are generated from
|
|
702
|
+
// `@working-theory/ui-signal-collectors`'s manifest (`create-ailk routes`),
|
|
703
|
+
// never synced from the snapshot.
|
|
681
704
|
// #6658 — genuinely new route directories (D4, D5), attaching at today's
|
|
682
705
|
// fixed-group version, the same "attach at today's version" rule #6084,
|
|
683
706
|
// #5977, #5678, #5479, #5371 and #5048 applied. `book-a-call` was a third
|
|
@@ -688,12 +711,9 @@ export const ROUTE_SINCE = {
|
|
|
688
711
|
integrations: "0.0.0",
|
|
689
712
|
"integrations/[slug]": "0.0.0",
|
|
690
713
|
"launch-service": "0.0.0",
|
|
691
|
-
meet:
|
|
692
|
-
//
|
|
693
|
-
//
|
|
694
|
-
// in rather than the "predates the manifest" 0.0.0 above.
|
|
695
|
-
"meet/[slug]": "0.5.0",
|
|
696
|
-
"meet/confirmed": "0.0.0",
|
|
714
|
+
// #11252 — no `meet…` or `private` key: the booking pages' route files are
|
|
715
|
+
// generated from `@working-theory/ui-scheduling`'s manifest (`create-ailk
|
|
716
|
+
// routes`), never synced from the snapshot.
|
|
697
717
|
newsletter: "0.26.0",
|
|
698
718
|
partners: "0.0.0",
|
|
699
719
|
"partners/[slug]": "0.0.0",
|
|
@@ -717,11 +737,9 @@ export const ROUTE_SINCE = {
|
|
|
717
737
|
// question set is the SITE's content. A scaffolded site adds its own route
|
|
718
738
|
// beside this file and passes its own config.
|
|
719
739
|
"projects/apply": "0.18.0",
|
|
720
|
-
// #
|
|
721
|
-
//
|
|
722
|
-
//
|
|
723
|
-
"purchase/success": "0.24.0",
|
|
724
|
-
"purchase/cancel": "0.24.0",
|
|
740
|
+
// #11253 — no `purchase/…` key: the checkout return pair's route files are
|
|
741
|
+
// generated from `@working-theory/ui-commerce`'s manifest (`create-ailk
|
|
742
|
+
// routes`), never synced from the snapshot.
|
|
725
743
|
resources: "0.0.0",
|
|
726
744
|
"resources/[slug]": "0.0.0",
|
|
727
745
|
services: "0.0.0",
|
|
@@ -886,9 +904,6 @@ export const ROUTE_SINCE = {
|
|
|
886
904
|
// new route directory, so it attaches at today's fixed-group version, the
|
|
887
905
|
// same rule applied above.
|
|
888
906
|
"[slug]/[detail]": "0.28.0",
|
|
889
|
-
// #8843 D8 — the private meeting index, a new route directory gated with
|
|
890
|
-
// `meet`, attached at today's fixed-group version by the same rule.
|
|
891
|
-
private: "0.43.0",
|
|
892
907
|
};
|
|
893
908
|
/**
|
|
894
909
|
* Surface id of the registry that owns `routeDir` (ROUTE_ROOT-relative): the
|
|
@@ -966,234 +981,6 @@ export const ROUTE_DEPENDENCIES = {
|
|
|
966
981
|
"apps/web/lib/auth-routes.ts",
|
|
967
982
|
"apps/web/lib/sign-up-agreements.ts",
|
|
968
983
|
],
|
|
969
|
-
"(authed)/account": [
|
|
970
|
-
"apps/web/lib/account-config.ts",
|
|
971
|
-
"apps/web/lib/consent-policies.ts",
|
|
972
|
-
"apps/web/lib/server-api.ts",
|
|
973
|
-
"apps/web/lib/site-brand.tsx",
|
|
974
|
-
"apps/web/lib/site-logo.tsx",
|
|
975
|
-
// #8438 D13/D21, #8765 D7 — the agreements interstitial the layout shows
|
|
976
|
-
// a member with no current grant (`agreements-prompt.tsx`), its accept
|
|
977
|
-
// action (`agreements-actions.ts`) and the read the layout and the Inbox
|
|
978
|
-
// share (`agreements-gate.ts`). Listed because a scaffold
|
|
979
|
-
// whose `(authed)/account` predates #8438 needs them added, which the
|
|
980
|
-
// directory-level sync alone would not do (sync never overwrites or adds
|
|
981
|
-
// to a directory it already has). Both live in this directory, never in
|
|
982
|
-
// `(auth)/**` — a sign-in seed a sign-in-less spoke drops, so a
|
|
983
|
-
// cross-directory reach from here into it would dangle.
|
|
984
|
-
`${ROUTE_ROOT}/(authed)/account/agreements-prompt.tsx`,
|
|
985
|
-
`${ROUTE_ROOT}/(authed)/account/agreements-actions.ts`,
|
|
986
|
-
`${ROUTE_ROOT}/(authed)/account/agreements-gate.ts`,
|
|
987
|
-
],
|
|
988
|
-
// #7430 — the three child routes also import files in their PARENT's
|
|
989
|
-
// directory. A scaffold whose `(authed)/account` predates #7430 keeps its
|
|
990
|
-
// own copy of that route (sync-routes never overwrites), so the files the
|
|
991
|
-
// children need travel with them: each is new in #7430, never a changed
|
|
992
|
-
// file sync-routes could not update.
|
|
993
|
-
"(authed)/account/inbox/[kind]/[id]": [
|
|
994
|
-
"apps/web/lib/account-config.ts",
|
|
995
|
-
"apps/web/lib/server-api.ts",
|
|
996
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
997
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
998
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
999
|
-
// #8233 C9 — the New menu's files beside account-config.ts: new-popups.tsx
|
|
1000
|
-
// binds the config's actions to the popups, which import the menu and its
|
|
1001
|
-
// server actions. (account-config.ts itself imports none of them — a
|
|
1002
|
-
// spoke without sign-in drops the `(authed)` group and keeps the config.)
|
|
1003
|
-
// #11152 — Send message is a link to the thread page; its popup is gone.
|
|
1004
|
-
`${ROUTE_ROOT}/(authed)/account/new-menu.tsx`,
|
|
1005
|
-
`${ROUTE_ROOT}/(authed)/account/new-actions.ts`,
|
|
1006
|
-
`${ROUTE_ROOT}/(authed)/account/new-popups.tsx`,
|
|
1007
|
-
`${ROUTE_ROOT}/(authed)/account/components/request-quote.tsx`,
|
|
1008
|
-
],
|
|
1009
|
-
// #7920 — the member file read re-serves the hub's bytes with the
|
|
1010
|
-
// credential `forwardedCookieInit` returns.
|
|
1011
|
-
"(authed)/account/inbox/message/[id]/file": ["apps/web/lib/server-api.ts"],
|
|
1012
|
-
// #8232 D13 — the settings route is a redirect now. #11167 dropped its
|
|
1013
|
-
// `theme-modes.ts` (Color mode renders on every site), so it imports
|
|
1014
|
-
// nothing outside itself; the brand and theme files it once carried stay
|
|
1015
|
-
// listed so an older scaffold's copies still compile.
|
|
1016
|
-
"(authed)/account/settings": [
|
|
1017
|
-
"apps/web/lib/site-brand.tsx",
|
|
1018
|
-
"apps/web/lib/site-theme.ts",
|
|
1019
|
-
],
|
|
1020
|
-
// #8232 D13 — General and Billing import files in their parent's directory
|
|
1021
|
-
// too. Each listed parent file is new in #8232 or unchanged by it, so a
|
|
1022
|
-
// scaffold that already has one keeps a copy that still compiles; the
|
|
1023
|
-
// settings components General changed moved into `general/` instead (C3).
|
|
1024
|
-
// `profile-actions.ts` imports `lib/hub-session/reseal.ts` by its own path,
|
|
1025
|
-
// since a scaffold's existing `lib/hub-session/index.ts` is never updated.
|
|
1026
|
-
//
|
|
1027
|
-
// #8339 D11 — `settings/color-mode.tsx` drops: General's own color-mode
|
|
1028
|
-
// control is now the shared `AccountSettings` composition's
|
|
1029
|
-
// (@working-theory/templates/account). `sign-in-method.ts` stays: General no
|
|
1030
|
-
// longer renders the Sign-in section itself (moved to Security), but it
|
|
1031
|
-
// still imports `sign-in-method.ts` transitively through
|
|
1032
|
-
// `profile-source.ts`'s `via` derivation.
|
|
1033
|
-
"(authed)/account/general": [
|
|
1034
|
-
"apps/web/lib/account-config.ts",
|
|
1035
|
-
"apps/web/lib/auth-env.ts",
|
|
1036
|
-
"apps/web/lib/server-api.ts",
|
|
1037
|
-
"apps/web/lib/site-brand.tsx",
|
|
1038
|
-
"apps/web/lib/site-theme.ts",
|
|
1039
|
-
"apps/web/lib/hub-session/reseal.ts",
|
|
1040
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1041
|
-
`${ROUTE_ROOT}/(authed)/account/settings-frame.tsx`,
|
|
1042
|
-
`${ROUTE_ROOT}/(authed)/account/sign-in-method.ts`,
|
|
1043
|
-
`${ROUTE_ROOT}/(authed)/account/profile-actions.ts`,
|
|
1044
|
-
// #8233 C9 — the New menu's files beside account-config.ts: new-popups.tsx
|
|
1045
|
-
// binds the config's actions to the popups, which import the menu and its
|
|
1046
|
-
// server actions. (account-config.ts itself imports none of them — a
|
|
1047
|
-
// spoke without sign-in drops the `(authed)` group and keeps the config.)
|
|
1048
|
-
// #11152 — Send message is a link to the thread page; its popup is gone.
|
|
1049
|
-
`${ROUTE_ROOT}/(authed)/account/new-menu.tsx`,
|
|
1050
|
-
`${ROUTE_ROOT}/(authed)/account/new-actions.ts`,
|
|
1051
|
-
`${ROUTE_ROOT}/(authed)/account/new-popups.tsx`,
|
|
1052
|
-
`${ROUTE_ROOT}/(authed)/account/components/request-quote.tsx`,
|
|
1053
|
-
],
|
|
1054
|
-
// #8339 D11 — Security holds the former Sign-in section, moved verbatim
|
|
1055
|
-
// from General: `sign-in-method.ts` and what it imports. #8431 D8 — the
|
|
1056
|
-
// tab's failed-read row (`error-row.tsx` and its `retry-button.tsx`); its
|
|
1057
|
-
// own `security-source.ts` and `security-panel.tsx` live in the route dir
|
|
1058
|
-
// and copy with it.
|
|
1059
|
-
"(authed)/account/security": [
|
|
1060
|
-
"apps/web/lib/account-config.ts",
|
|
1061
|
-
"apps/web/lib/auth-env.ts",
|
|
1062
|
-
"apps/web/lib/server-api.ts",
|
|
1063
|
-
"apps/web/lib/hub-session/config.ts",
|
|
1064
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1065
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1066
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1067
|
-
`${ROUTE_ROOT}/(authed)/account/settings-frame.tsx`,
|
|
1068
|
-
`${ROUTE_ROOT}/(authed)/account/sign-in-method.ts`,
|
|
1069
|
-
],
|
|
1070
|
-
// #8339 D11 — Notifications holds the former Privacy section's
|
|
1071
|
-
// cookie-settings link, moved verbatim from General. #8438 D15 — that
|
|
1072
|
-
// link moved on again, to Privacy; Notifications now reads the registry
|
|
1073
|
-
// through `member.consents` instead, so it keeps the same dependency set.
|
|
1074
|
-
"(authed)/account/notifications": [
|
|
1075
|
-
"apps/web/lib/account-config.ts",
|
|
1076
|
-
"apps/web/lib/server-api.ts",
|
|
1077
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1078
|
-
`${ROUTE_ROOT}/(authed)/account/settings-frame.tsx`,
|
|
1079
|
-
`${ROUTE_ROOT}/(authed)/account/privacy/actions.ts`,
|
|
1080
|
-
],
|
|
1081
|
-
// #8438 D14 — Privacy reads the registry through `member.consents`;
|
|
1082
|
-
// #11164 reshapes it (the lead, the data-use row, the training switch and
|
|
1083
|
-
// the Your data table) and drops the deletion request, so General's
|
|
1084
|
-
// deletion files are no longer its dependencies — only `profile-source.ts`
|
|
1085
|
-
// (which decides whether Support may take an account-deletion request) and
|
|
1086
|
-
// the `sign-in-method.ts` it imports, the same cross-directory rule #8339
|
|
1087
|
-
// D11 applied to Notifications' cookie-settings link.
|
|
1088
|
-
"(authed)/account/privacy": [
|
|
1089
|
-
"apps/web/lib/account-config.ts",
|
|
1090
|
-
"apps/web/lib/consent-policies.ts",
|
|
1091
|
-
"apps/web/lib/server-api.ts",
|
|
1092
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1093
|
-
`${ROUTE_ROOT}/(authed)/account/settings-frame.tsx`,
|
|
1094
|
-
`${ROUTE_ROOT}/(authed)/account/sign-in-method.ts`,
|
|
1095
|
-
`${ROUTE_ROOT}/(authed)/account/general/profile-source.ts`,
|
|
1096
|
-
],
|
|
1097
|
-
// #11164 AC-3 — the export route re-serves the member API's attachment
|
|
1098
|
-
// with the caller's own credential, the message file route's shape.
|
|
1099
|
-
"(authed)/account/privacy/export": ["apps/web/lib/server-api.ts"],
|
|
1100
|
-
"(authed)/account/billing": [
|
|
1101
|
-
"apps/web/lib/account-config.ts",
|
|
1102
|
-
// #9401 D7 — the site's own Billing sections, the frozen stub the page imports.
|
|
1103
|
-
"apps/web/lib/site-contributions.ts",
|
|
1104
|
-
"apps/web/lib/server-api.ts",
|
|
1105
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1106
|
-
`${ROUTE_ROOT}/(authed)/account/actions.ts`,
|
|
1107
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1108
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1109
|
-
`${ROUTE_ROOT}/(authed)/account/settings-frame.tsx`,
|
|
1110
|
-
`${ROUTE_ROOT}/(authed)/account/billing-source.ts`,
|
|
1111
|
-
// #8233 C9 — the New menu's files beside account-config.ts: new-popups.tsx
|
|
1112
|
-
// binds the config's actions to the popups, which import the menu and its
|
|
1113
|
-
// server actions. (account-config.ts itself imports none of them — a
|
|
1114
|
-
// spoke without sign-in drops the `(authed)` group and keeps the config.)
|
|
1115
|
-
// #11152 — Send message is a link to the thread page; its popup is gone.
|
|
1116
|
-
`${ROUTE_ROOT}/(authed)/account/new-menu.tsx`,
|
|
1117
|
-
`${ROUTE_ROOT}/(authed)/account/new-actions.ts`,
|
|
1118
|
-
`${ROUTE_ROOT}/(authed)/account/new-popups.tsx`,
|
|
1119
|
-
`${ROUTE_ROOT}/(authed)/account/components/request-quote.tsx`,
|
|
1120
|
-
],
|
|
1121
|
-
// #8234 — the Artifacts pages import files in their parent's directory, as
|
|
1122
|
-
// #7430's children do; the artifact page also imports its own parent's
|
|
1123
|
-
// `artifact-data.ts` and `artifact-actions.ts`, which an older synced
|
|
1124
|
-
// `artifacts/` might lack. The file route re-serves the hub's bytes with
|
|
1125
|
-
// the credential `forwardedCookieInit` returns.
|
|
1126
|
-
"(authed)/account/artifacts": [
|
|
1127
|
-
"apps/web/lib/account-config.ts",
|
|
1128
|
-
"apps/web/lib/server-api.ts",
|
|
1129
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1130
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1131
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1132
|
-
],
|
|
1133
|
-
"(authed)/account/artifacts/[pieceId]": [
|
|
1134
|
-
"apps/web/lib/account-config.ts",
|
|
1135
|
-
"apps/web/lib/server-api.ts",
|
|
1136
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1137
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1138
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1139
|
-
`${ROUTE_ROOT}/(authed)/account/artifacts/artifact-data.ts`,
|
|
1140
|
-
`${ROUTE_ROOT}/(authed)/account/artifacts/artifact-actions.ts`,
|
|
1141
|
-
],
|
|
1142
|
-
"(authed)/account/artifacts/[pieceId]/versions/[version]/file": ["apps/web/lib/server-api.ts"],
|
|
1143
|
-
// #11154 — the Appointments pages import files in their parent's directory,
|
|
1144
|
-
// as the Artifacts pages do; the booking page also imports its own parent's
|
|
1145
|
-
// `appointments-data.ts`, which an older synced `appointments/` might lack.
|
|
1146
|
-
"(authed)/account/appointments": [
|
|
1147
|
-
"apps/web/lib/server-api.ts",
|
|
1148
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1149
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1150
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1151
|
-
],
|
|
1152
|
-
"(authed)/account/appointments/[slug]": [
|
|
1153
|
-
"apps/web/lib/server-api.ts",
|
|
1154
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1155
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1156
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1157
|
-
`${ROUTE_ROOT}/(authed)/account/appointments/appointments-data.ts`,
|
|
1158
|
-
],
|
|
1159
|
-
// #11152 — the member thread page imports its parent's reads, error row
|
|
1160
|
-
// and the New menu's server actions (its composer posts through
|
|
1161
|
-
// `sendMessage`), plus the account config the reads come from.
|
|
1162
|
-
"(authed)/account/inbox/thread": [
|
|
1163
|
-
"apps/web/lib/account-config.ts",
|
|
1164
|
-
"apps/web/lib/server-api.ts",
|
|
1165
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1166
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1167
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1168
|
-
`${ROUTE_ROOT}/(authed)/account/new-actions.ts`,
|
|
1169
|
-
`${ROUTE_ROOT}/(authed)/account/new-popups.tsx`,
|
|
1170
|
-
],
|
|
1171
|
-
// #8515 D12 — the onboarding page imports its parent's account-data.ts
|
|
1172
|
-
// and error-row.tsx (which renders retry-button.tsx); its actions forward
|
|
1173
|
-
// the credential `forwardedCookieInit` returns. account-data.ts reads the
|
|
1174
|
-
// account config, as the Artifacts pages' does.
|
|
1175
|
-
"(authed)/account/onboarding": [
|
|
1176
|
-
"apps/web/lib/account-config.ts",
|
|
1177
|
-
"apps/web/lib/server-api.ts",
|
|
1178
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1179
|
-
`${ROUTE_ROOT}/(authed)/account/error-row.tsx`,
|
|
1180
|
-
`${ROUTE_ROOT}/(authed)/account/retry-button.tsx`,
|
|
1181
|
-
],
|
|
1182
|
-
"(authed)/account/support": [
|
|
1183
|
-
"apps/web/lib/account-config.ts",
|
|
1184
|
-
"apps/web/lib/server-api.ts",
|
|
1185
|
-
`${ROUTE_ROOT}/(authed)/account/account-data.ts`,
|
|
1186
|
-
`${ROUTE_ROOT}/(authed)/account/support-actions.ts`,
|
|
1187
|
-
// #8233 C9 — the New menu's files beside account-config.ts: new-popups.tsx
|
|
1188
|
-
// binds the config's actions to the popups, which import the menu and its
|
|
1189
|
-
// server actions. (account-config.ts itself imports none of them — a
|
|
1190
|
-
// spoke without sign-in drops the `(authed)` group and keeps the config.)
|
|
1191
|
-
// #11152 — Send message is a link to the thread page; its popup is gone.
|
|
1192
|
-
`${ROUTE_ROOT}/(authed)/account/new-menu.tsx`,
|
|
1193
|
-
`${ROUTE_ROOT}/(authed)/account/new-actions.ts`,
|
|
1194
|
-
`${ROUTE_ROOT}/(authed)/account/new-popups.tsx`,
|
|
1195
|
-
`${ROUTE_ROOT}/(authed)/account/components/request-quote.tsx`,
|
|
1196
|
-
],
|
|
1197
984
|
"(authed)/admin": [
|
|
1198
985
|
"apps/web/lib/server-api.ts",
|
|
1199
986
|
`${ROUTE_ROOT}/(authed)/waitlist/components/ForbiddenState.tsx`,
|
|
@@ -1234,11 +1021,6 @@ export const ROUTE_DEPENDENCIES = {
|
|
|
1234
1021
|
// #9851 D7 — the Integrations tab: the nav plus the Slack bindings.
|
|
1235
1022
|
"(authed)/admin/integrations": ADMIN_PANEL_ROUTE_DEPENDENCIES,
|
|
1236
1023
|
"(authed)/waitlist": ["apps/web/lib/server-api.ts"],
|
|
1237
|
-
// #8843 D6 — the booking pages share one builder over the meetings read;
|
|
1238
|
-
// `/private` returns the index frame that lives under `meet/`.
|
|
1239
|
-
meet: ["apps/web/lib/meetings.tsx"],
|
|
1240
|
-
"meet/[slug]": ["apps/web/lib/meetings.tsx"],
|
|
1241
|
-
private: ["apps/web/lib/meetings.tsx", `${ROUTE_ROOT}/meet/meeting-index.tsx`],
|
|
1242
1024
|
// #8927 D8 — /pricing maps the Offerings shown set through the mapper.
|
|
1243
1025
|
// #9480 — and reads its browser-facing API origin through the topology seam
|
|
1244
1026
|
// (#7874 D12), so a spoke with /pricing reads no refused name. Every
|
|
@@ -1297,23 +1079,6 @@ export const ROUTE_MESSAGE_NAMESPACES = {
|
|
|
1297
1079
|
"(auth)/reset-password": ["auth"],
|
|
1298
1080
|
"(auth)/verify-email": ["auth"],
|
|
1299
1081
|
"(auth)/consent": ["mcpConsent"],
|
|
1300
|
-
"(authed)/account": ["account"],
|
|
1301
|
-
"(authed)/account/inbox/[kind]/[id]": ["account"],
|
|
1302
|
-
"(authed)/account/settings": ["account"],
|
|
1303
|
-
"(authed)/account/support": ["account"],
|
|
1304
|
-
"(authed)/account/general": ["account"],
|
|
1305
|
-
"(authed)/account/security": ["account"],
|
|
1306
|
-
"(authed)/account/notifications": ["account"],
|
|
1307
|
-
"(authed)/account/privacy": ["account"],
|
|
1308
|
-
"(authed)/account/billing": ["account"],
|
|
1309
|
-
// #8234 — the two Artifacts pages; the file route renders no string.
|
|
1310
|
-
"(authed)/account/artifacts": ["account"],
|
|
1311
|
-
"(authed)/account/artifacts/[pieceId]": ["account"],
|
|
1312
|
-
// #11154 — the two Appointments pages.
|
|
1313
|
-
"(authed)/account/appointments": ["account"],
|
|
1314
|
-
"(authed)/account/appointments/[slug]": ["account"],
|
|
1315
|
-
// #8515 — the onboarding page.
|
|
1316
|
-
"(authed)/account/onboarding": ["account"],
|
|
1317
1082
|
// #9966 D2 — the hub's consent page reads its own namespace.
|
|
1318
1083
|
"(authed)/account/connect": ["hubConnect"],
|
|
1319
1084
|
"(authed)/admin": ["admin"],
|
package/dist/sync-routes.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ export interface SyncRoutesOptions {
|
|
|
17
17
|
versions: WorkspaceVersionMap;
|
|
18
18
|
/** Copy the missing routes into the target. Default false = check only. */
|
|
19
19
|
apply?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The create-ailk version the copied files are recorded at in
|
|
22
|
+
* `.ailk-template-files.json` (#11213). Defaults to the running package's
|
|
23
|
+
* own — the scaffold marker `CREATE_AILK_VERSION`, which `scaffold()`
|
|
24
|
+
* records a fresh copy at too. Only read with `apply`.
|
|
25
|
+
*/
|
|
26
|
+
version?: string;
|
|
20
27
|
/**
|
|
21
28
|
* Surface ids to treat as carried whether or not any of their route dirs
|
|
22
29
|
* exists yet (#6653 D8) — `add-module` passes the added module's
|
|
@@ -70,6 +77,13 @@ export interface SyncRoutesResult {
|
|
|
70
77
|
missingDependencies: string[];
|
|
71
78
|
/** Dependency files copied this run. Sorted. */
|
|
72
79
|
appliedDependencies: string[];
|
|
80
|
+
/**
|
|
81
|
+
* The copied files `--apply` recorded in `.ailk-template-files.json`
|
|
82
|
+
* (#11213): every recordable route and dependency file it wrote, when the
|
|
83
|
+
* site has a record. Empty without `apply`, and for a site with none.
|
|
84
|
+
* Sorted.
|
|
85
|
+
*/
|
|
86
|
+
recorded: string[];
|
|
73
87
|
/**
|
|
74
88
|
* `ROUTE_MESSAGE_NAMESPACES` dot-paths, of any route in `missing`, absent
|
|
75
89
|
* from the target's `messages/en.json`. CHECK-ONLY — never copied (see
|
|
@@ -78,6 +92,12 @@ export interface SyncRoutesResult {
|
|
|
78
92
|
missingMessageNamespaces: string[];
|
|
79
93
|
/** Gateable surface ids the target does not carry, sorted. */
|
|
80
94
|
skippedSurfaces: string[];
|
|
95
|
+
/**
|
|
96
|
+
* In-scope template route dirs the site declined in `customizations.yaml`
|
|
97
|
+
* `declined_routes` (#11260), sorted by route: never missing, never
|
|
98
|
+
* modified, never copied.
|
|
99
|
+
*/
|
|
100
|
+
declined: RouteReport[];
|
|
81
101
|
/**
|
|
82
102
|
* The template route dirs left out of scope because the site has dropped the
|
|
83
103
|
* `marketing` module (#10040 D10): its manifest lists no `marketing`,
|
|
@@ -85,6 +105,13 @@ export interface SyncRoutesResult {
|
|
|
85
105
|
* drift — not reported missing, not copied, `forceSurfaces` included.
|
|
86
106
|
*/
|
|
87
107
|
publicTreeRemoved: string[];
|
|
108
|
+
/**
|
|
109
|
+
* The template route dirs a page package ships (ADR 0040,
|
|
110
|
+
* `PAGE_PACKAGE_ROUTES`), sorted: `create-ailk routes` writes their
|
|
111
|
+
* generated files, so they are out of this command's scope — never
|
|
112
|
+
* missing, never modified, never copied.
|
|
113
|
+
*/
|
|
114
|
+
pagePackageRoutes: string[];
|
|
88
115
|
/**
|
|
89
116
|
* When `apply` added a route the template exempts in its structured-data
|
|
90
117
|
* test and the site's copy of that test is site-edited (its bytes differ
|
|
@@ -190,7 +217,7 @@ export interface SyncRoutesArgs {
|
|
|
190
217
|
apply: boolean;
|
|
191
218
|
help: boolean;
|
|
192
219
|
}
|
|
193
|
-
export declare const SYNC_ROUTES_HELP = "create-ailk sync-routes \u2014 copy template routes an existing site is missing.\n\nUsage:\n create-ailk sync-routes [<target-dir>] [--apply]\n\nArguments:\n <target-dir> An already-scaffolded repo (contains\n architecture.yaml). Defaults to the current dir.\n\nOptions:\n --apply Copy the missing route directories into the target.\n Without it the command only reports: exit 1 when a\n route is missing, 0 when in sync.\n --help, -h Print this message.\n\nChecks every core route plus the routes of each surface the site carries; a\nsurface gated off at scaffold time is skipped, not drift. A route the site
|
|
220
|
+
export declare const SYNC_ROUTES_HELP = "create-ailk sync-routes \u2014 copy template routes an existing site is missing.\n\nUsage:\n create-ailk sync-routes [<target-dir>] [--apply]\n\nArguments:\n <target-dir> An already-scaffolded repo (contains\n architecture.yaml). Defaults to the current dir.\n\nOptions:\n --apply Copy the missing route directories into the target.\n Without it the command only reports: exit 1 when a\n route is missing, 0 when in sync.\n --help, -h Print this message.\n\nChecks every core route plus the routes of each surface the site carries; a\nsurface gated off at scaffold time is skipped, not drift. A route the site lists\nin customizations.yaml declined_routes is reported as declined and never copied\n(#11260). A route the site has changed locally is reported and never\noverwritten. Nothing is deleted except,\non a spoke, the retired legacy checkout's files that still match create-ailk's\ncopy: --apply removes them and rewrites the generated billing action (#9142).\nEvery file --apply copies is recorded in .ailk-template-files.json, when the\nsite has one, so `create-ailk update` carries it forward (#11213).\n";
|
|
194
221
|
/**
|
|
195
222
|
* Parse the argv AFTER the `sync-routes` word. Strict `node:util` parseArgs,
|
|
196
223
|
* like `parseCliArgs`; at most one positional.
|