create-ailk 0.29.1 → 0.30.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/dist/add-route.js +1 -0
- package/dist/cli.js +15 -1
- package/dist/lib/env-catalog.js +1 -1
- package/dist/lib/scaffold-render-sweep.d.ts +1 -1
- package/dist/lib/scaffold-render-sweep.js +1 -1
- package/dist/module-architecture.js +6 -1
- package/dist/provision-env.d.ts +28 -0
- package/dist/provision-env.js +210 -0
- package/dist/surfaces.js +3 -0
- package/dist/topology.js +4 -0
- package/package.json +3 -3
- package/templates/.env.example +7 -0
- package/templates/apps/api/CLAUDE.md +6 -2
- package/templates/apps/mcp/.env.example +20 -0
- package/templates/apps/mcp/CLAUDE.md +42 -8
- package/templates/apps/web/CLAUDE.md +24 -1
- package/templates/apps/web/app/.well-known/ai-plugin.json/route.ts +9 -1
- package/templates/apps/web/app/.well-known/mcp.json/build-manifest.ts +58 -0
- package/templates/apps/web/app/.well-known/mcp.json/route.ts +16 -0
- package/templates/apps/web/app/.well-known/oauth-authorization-server/route.ts +53 -0
- package/templates/apps/web/app/[locale]/(auth)/__tests__/password-reset.test.tsx +8 -1
- package/templates/apps/web/app/[locale]/(auth)/consent/__tests__/consent-actions.test.ts +56 -0
- package/templates/apps/web/app/[locale]/(auth)/consent/__tests__/page.test.tsx +164 -0
- package/templates/apps/web/app/[locale]/(auth)/consent/consent-form.tsx +132 -0
- package/templates/apps/web/app/[locale]/(auth)/consent/consent.actions.ts +51 -0
- package/templates/apps/web/app/[locale]/(auth)/consent/page.tsx +144 -0
- package/templates/apps/web/app/[locale]/about/__tests__/about-routes.test.tsx +2 -2
- package/templates/apps/web/app/api/auth/hub/continuation.ts +8 -3
- package/templates/apps/web/app/api/auth/mcp/__tests__/continuation.test.ts +92 -0
- package/templates/apps/web/app/api/auth/mcp/continuation.ts +89 -0
- package/templates/apps/web/app/api/auth/mcp/continue/[ref]/__tests__/route.test.ts +59 -0
- package/templates/apps/web/app/api/auth/mcp/continue/[ref]/route.ts +41 -0
- package/templates/apps/web/app/llms.txt/route.ts +10 -0
- package/templates/apps/web/app/openapi.json/__tests__/route.test.ts +40 -0
- package/templates/apps/web/app/openapi.json/route.ts +4 -0
- package/templates/apps/web/app/robots.txt/route.ts +18 -1
- package/templates/apps/web/app/sitemap.xml/route.ts +10 -0
- package/templates/apps/web/auth.ts +184 -7
- package/templates/apps/web/lib/__tests__/auth-routes.test.ts +2 -1
- package/templates/apps/web/lib/auth-routes.ts +5 -3
- package/templates/apps/web/lib/mcp-oauth.ts +702 -0
- package/templates/apps/web/messages/en.json +42 -13
- package/templates/database/seed.ts +6 -0
- package/versions.json +48 -48
|
@@ -1399,10 +1399,11 @@
|
|
|
1399
1399
|
"toolChanges": "Show unsaved changes",
|
|
1400
1400
|
"backLabel": "Pages",
|
|
1401
1401
|
"statusDraft": "Draft",
|
|
1402
|
-
"statusNotYetLive": "Not yet live",
|
|
1403
1402
|
"statusPublished": "Published",
|
|
1403
|
+
"statusPublishedNewer": "Published, newer changes not live",
|
|
1404
1404
|
"publishedSwitch": "Published",
|
|
1405
|
-
"publishBlockedHint": "
|
|
1405
|
+
"publishBlockedHint": "Publish waits until the page is ready.",
|
|
1406
|
+
"publishChanges": "Publish changes",
|
|
1406
1407
|
"unsaved": "Unsaved",
|
|
1407
1408
|
"unsavedChanges": "Unsaved changes",
|
|
1408
1409
|
"discardButton": "Discard",
|
|
@@ -1427,15 +1428,16 @@
|
|
|
1427
1428
|
"toolLink": "Link",
|
|
1428
1429
|
"toolImage": "Insert image",
|
|
1429
1430
|
"toolView": "View",
|
|
1430
|
-
"toolRendered": "Rendered —
|
|
1431
|
+
"toolRendered": "Rendered — your words, formatted",
|
|
1431
1432
|
"toolCode": "Markdown — the words with their marks",
|
|
1433
|
+
"toolPreview": "Preview — the built page, with its sections",
|
|
1432
1434
|
"toolInsert": "Insert from your library",
|
|
1433
1435
|
"insertMeeting": "Add meeting",
|
|
1434
1436
|
"insertMagnet": "Add magnet",
|
|
1435
1437
|
"insertOffer": "Add offer",
|
|
1436
1438
|
"insertAsset": "Add asset",
|
|
1437
1439
|
"tips": {
|
|
1438
|
-
"h1": "Your
|
|
1440
|
+
"h1": "Your headline is the page's one H1; sections start at H2.",
|
|
1439
1441
|
"h2": "Types ## before the line → a section heading.",
|
|
1440
1442
|
"h3": "Types ### before the line → a smaller heading.",
|
|
1441
1443
|
"bold": "Types **word** → bold.",
|
|
@@ -1449,10 +1451,16 @@
|
|
|
1449
1451
|
"issueRequired": "{field} is required.",
|
|
1450
1452
|
"issueInvalid": "{field} isn't a valid choice.",
|
|
1451
1453
|
"forYou": {
|
|
1452
|
-
"
|
|
1453
|
-
|
|
1454
|
+
"tags": {
|
|
1455
|
+
"needsInput": "Needs input",
|
|
1456
|
+
"needsDecision": "Needs decision",
|
|
1457
|
+
"recommendation": "Recommendation"
|
|
1458
|
+
},
|
|
1454
1459
|
"fixWhy": "The page can't go live until this is fixed.",
|
|
1455
1460
|
"fixOutcome": "Once it is fixed, the Published switch turns on.",
|
|
1461
|
+
"checkWhy": "Publish waits until this is written.",
|
|
1462
|
+
"checkOutcome": "Once it is written, the page can go live.",
|
|
1463
|
+
"fix": "Fix",
|
|
1456
1464
|
"descriptionTitle": "Add a search description",
|
|
1457
1465
|
"descriptionWhy": "Search engines and AI answers show this line under the page's title. Without it they write their own.",
|
|
1458
1466
|
"descriptionOutcome": "A sentence you chose appears wherever this page is listed.",
|
|
@@ -1475,15 +1483,9 @@
|
|
|
1475
1483
|
"diffLegendAdded": "Added",
|
|
1476
1484
|
"diffLegendRemoved": "Removed",
|
|
1477
1485
|
"diffLegendUnchanged": "Unchanged",
|
|
1486
|
+
"bodyCodeOnly": "This page has markup only the Code view can show, so it opens in Code.",
|
|
1478
1487
|
"tagPlaceholder": "{kind}: {slug}"
|
|
1479
1488
|
},
|
|
1480
|
-
"sections": {
|
|
1481
|
-
"heading": "Sections",
|
|
1482
|
-
"arrayAdd": "Add",
|
|
1483
|
-
"arrayRemove": "Remove",
|
|
1484
|
-
"unsupportedField": "This field is edited as raw JSON",
|
|
1485
|
-
"sectionLevelErrors": "Other problems with this section"
|
|
1486
|
-
},
|
|
1487
1489
|
"body": {
|
|
1488
1490
|
"label": "Body",
|
|
1489
1491
|
"hint": "Markdown. Headings, links, lists and images all work.",
|
|
@@ -1531,5 +1533,32 @@
|
|
|
1531
1533
|
"body": "The link may have expired. Go back to the site you came from and sign in again.",
|
|
1532
1534
|
"back": "Back to your account"
|
|
1533
1535
|
}
|
|
1536
|
+
},
|
|
1537
|
+
"mcpConsent": {
|
|
1538
|
+
"metaTitle": "Connect an app",
|
|
1539
|
+
"heading": "Connect an app to a workspace",
|
|
1540
|
+
"signedInAs": "Signed in as {email}.",
|
|
1541
|
+
"signOut": "Not you? Sign out",
|
|
1542
|
+
"clientClaim": "{name} — this app registered itself; the name is its own claim and has not been checked.",
|
|
1543
|
+
"returnsTo": "If you allow it, access is sent to {origin}.",
|
|
1544
|
+
"workspaceLegend": "Choose the workspace this app may use",
|
|
1545
|
+
"scopesLegend": "What it may also do there",
|
|
1546
|
+
"memberReads": "Any approval also lets the app read what a member can read in that workspace.",
|
|
1547
|
+
"noScopes": "Your role in this workspace offers nothing beyond member reads.",
|
|
1548
|
+
"allow": "Allow",
|
|
1549
|
+
"deny": "Deny",
|
|
1550
|
+
"unavailable": "This request can't continue. Go back to the app and connect again.",
|
|
1551
|
+
"noWorkspace": "You have no workspace to connect this app to.",
|
|
1552
|
+
"scopes": {
|
|
1553
|
+
"content-edit": "Edit pages and docs",
|
|
1554
|
+
"content-publish": "Publish pages and docs",
|
|
1555
|
+
"assets-write": "Upload and replace files",
|
|
1556
|
+
"magnets-manage": "Manage forms and magnets",
|
|
1557
|
+
"meeting-types-manage": "Manage meeting types",
|
|
1558
|
+
"people-read": "See your people",
|
|
1559
|
+
"member-pieces-manage": "Manage what members see",
|
|
1560
|
+
"people-memory-propose": "Suggest notes about people",
|
|
1561
|
+
"inbox-act": "Act on the inbox"
|
|
1562
|
+
}
|
|
1534
1563
|
}
|
|
1535
1564
|
}
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
REQUEST_QUOTE_FLOW_SLUG,
|
|
42
42
|
REQUEST_QUOTE_FLOW_TITLE,
|
|
43
43
|
requestQuoteFlowConfig,
|
|
44
|
+
STANDARD_MAGNET_TAGS,
|
|
44
45
|
TRIAL_FLOW_LANDING_PAGE,
|
|
45
46
|
TRIAL_FLOW_SLUG,
|
|
46
47
|
TRIAL_FLOW_TITLE,
|
|
@@ -150,6 +151,7 @@ export async function provisionDefaultWorkspace(
|
|
|
150
151
|
status: "draft",
|
|
151
152
|
customersEnabled: true,
|
|
152
153
|
completion: "invite",
|
|
154
|
+
tags: [STANDARD_MAGNET_TAGS[REQUEST_QUOTE_FLOW_SLUG]!],
|
|
153
155
|
},
|
|
154
156
|
update: {},
|
|
155
157
|
});
|
|
@@ -171,6 +173,7 @@ export async function provisionDefaultWorkspace(
|
|
|
171
173
|
status: "live",
|
|
172
174
|
customersEnabled: false,
|
|
173
175
|
completion: "lead",
|
|
176
|
+
tags: [STANDARD_MAGNET_TAGS[CONTACT_FORM_FLOW_SLUG]!],
|
|
174
177
|
landingPage: CONTACT_FORM_LANDING_PAGE,
|
|
175
178
|
},
|
|
176
179
|
update: {},
|
|
@@ -193,6 +196,7 @@ export async function provisionDefaultWorkspace(
|
|
|
193
196
|
status: "live",
|
|
194
197
|
customersEnabled: false,
|
|
195
198
|
completion: "invite",
|
|
199
|
+
tags: [STANDARD_MAGNET_TAGS[JOB_APPLICATION_FLOW_SLUG]!],
|
|
196
200
|
landingPage: JOB_APPLICATION_LANDING_PAGE,
|
|
197
201
|
},
|
|
198
202
|
update: {},
|
|
@@ -216,6 +220,7 @@ export async function provisionDefaultWorkspace(
|
|
|
216
220
|
status: "live",
|
|
217
221
|
customersEnabled: false,
|
|
218
222
|
completion: "lead",
|
|
223
|
+
tags: [STANDARD_MAGNET_TAGS[NEWSLETTER_FLOW_SLUG]!],
|
|
219
224
|
landingPage: NEWSLETTER_LANDING_PAGE,
|
|
220
225
|
},
|
|
221
226
|
update: {},
|
|
@@ -239,6 +244,7 @@ export async function provisionDefaultWorkspace(
|
|
|
239
244
|
status: "live",
|
|
240
245
|
customersEnabled: false,
|
|
241
246
|
completion: "lead",
|
|
247
|
+
tags: [STANDARD_MAGNET_TAGS[TRIAL_FLOW_SLUG]!],
|
|
242
248
|
landingPage: TRIAL_FLOW_LANDING_PAGE,
|
|
243
249
|
},
|
|
244
250
|
update: {},
|
package/versions.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@working-theory/admin-ui": "0.
|
|
3
|
-
"@working-theory/aeo": "0.
|
|
4
|
-
"@working-theory/agent-context": "0.
|
|
2
|
+
"@working-theory/admin-ui": "0.53.0",
|
|
3
|
+
"@working-theory/aeo": "0.53.0",
|
|
4
|
+
"@working-theory/agent-context": "0.53.0",
|
|
5
5
|
"@working-theory/agent-contract": "0.1.0",
|
|
6
6
|
"@working-theory/agent-memory": "0.0.0",
|
|
7
7
|
"@working-theory/ai": "0.1.0",
|
|
8
|
-
"@working-theory/analytics": "0.
|
|
9
|
-
"@working-theory/api": "0.
|
|
10
|
-
"@working-theory/api-client": "0.
|
|
8
|
+
"@working-theory/analytics": "0.53.0",
|
|
9
|
+
"@working-theory/api": "0.53.0",
|
|
10
|
+
"@working-theory/api-client": "0.53.0",
|
|
11
11
|
"@working-theory/cda-filesystem": "0.0.0",
|
|
12
|
-
"@working-theory/cli": "0.
|
|
13
|
-
"@working-theory/common": "0.
|
|
12
|
+
"@working-theory/cli": "0.53.0",
|
|
13
|
+
"@working-theory/common": "0.53.0",
|
|
14
14
|
"@working-theory/consent": "0.1.0",
|
|
15
|
-
"@working-theory/content-adapters": "0.
|
|
16
|
-
"@working-theory/content-projection": "0.
|
|
17
|
-
"@working-theory/email": "0.
|
|
15
|
+
"@working-theory/content-adapters": "0.53.0",
|
|
16
|
+
"@working-theory/content-projection": "0.53.0",
|
|
17
|
+
"@working-theory/email": "0.53.0",
|
|
18
18
|
"@working-theory/env": "0.0.0",
|
|
19
|
-
"@working-theory/eslint-config": "0.
|
|
20
|
-
"@working-theory/fumadocs-schema": "0.
|
|
21
|
-
"@working-theory/ids": "0.
|
|
22
|
-
"@working-theory/jsonld": "0.
|
|
23
|
-
"@working-theory/license": "0.
|
|
24
|
-
"@working-theory/mcp-server": "0.
|
|
25
|
-
"@working-theory/metadata": "0.
|
|
26
|
-
"@working-theory/observability": "0.
|
|
27
|
-
"@working-theory/page-renderer": "0.
|
|
19
|
+
"@working-theory/eslint-config": "0.53.0",
|
|
20
|
+
"@working-theory/fumadocs-schema": "0.53.0",
|
|
21
|
+
"@working-theory/ids": "0.18.0",
|
|
22
|
+
"@working-theory/jsonld": "0.53.0",
|
|
23
|
+
"@working-theory/license": "0.53.0",
|
|
24
|
+
"@working-theory/mcp-server": "0.53.0",
|
|
25
|
+
"@working-theory/metadata": "0.53.0",
|
|
26
|
+
"@working-theory/observability": "0.53.0",
|
|
27
|
+
"@working-theory/page-renderer": "0.53.0",
|
|
28
28
|
"@working-theory/plugin-mcp": "0.1.3",
|
|
29
|
-
"@working-theory/schema": "0.
|
|
30
|
-
"@working-theory/schema-pack-registry": "0.
|
|
31
|
-
"@working-theory/schema-validator": "0.
|
|
32
|
-
"@working-theory/sections-registry": "0.
|
|
33
|
-
"@working-theory/site-config": "0.
|
|
34
|
-
"@working-theory/spoke-checkout": "0.7.
|
|
35
|
-
"@working-theory/stripe-client": "0.
|
|
36
|
-
"@working-theory/templates": "0.
|
|
37
|
-
"@working-theory/theme": "0.
|
|
38
|
-
"@working-theory/ui": "0.
|
|
39
|
-
"@working-theory/validation": "0.
|
|
40
|
-
"@working-theory/web-i18n": "0.
|
|
41
|
-
"@working-theory/admin": "0.
|
|
42
|
-
"@working-theory/api-commerce": "0.1.
|
|
43
|
-
"@working-theory/api-content-write": "0.
|
|
44
|
-
"@working-theory/api-hub": "0.3.
|
|
45
|
-
"@working-theory/api-multi-tenant": "0.2.
|
|
46
|
-
"@working-theory/api-scheduling": "0.4.
|
|
47
|
-
"@working-theory/api-signal-collectors": "0.
|
|
48
|
-
"@working-theory/api-workspace": "0.
|
|
29
|
+
"@working-theory/schema": "0.53.0",
|
|
30
|
+
"@working-theory/schema-pack-registry": "0.53.0",
|
|
31
|
+
"@working-theory/schema-validator": "0.53.0",
|
|
32
|
+
"@working-theory/sections-registry": "0.53.0",
|
|
33
|
+
"@working-theory/site-config": "0.53.0",
|
|
34
|
+
"@working-theory/spoke-checkout": "0.7.9",
|
|
35
|
+
"@working-theory/stripe-client": "0.53.0",
|
|
36
|
+
"@working-theory/templates": "0.53.0",
|
|
37
|
+
"@working-theory/theme": "0.53.0",
|
|
38
|
+
"@working-theory/ui": "0.53.0",
|
|
39
|
+
"@working-theory/validation": "0.53.0",
|
|
40
|
+
"@working-theory/web-i18n": "0.53.0",
|
|
41
|
+
"@working-theory/admin": "0.9.0",
|
|
42
|
+
"@working-theory/api-commerce": "0.1.7",
|
|
43
|
+
"@working-theory/api-content-write": "0.4.0",
|
|
44
|
+
"@working-theory/api-hub": "0.3.4",
|
|
45
|
+
"@working-theory/api-multi-tenant": "0.2.2",
|
|
46
|
+
"@working-theory/api-scheduling": "0.4.4",
|
|
47
|
+
"@working-theory/api-signal-collectors": "0.3.0",
|
|
48
|
+
"@working-theory/api-workspace": "0.4.0",
|
|
49
49
|
"@working-theory/billing-client": "0.0.0",
|
|
50
50
|
"@working-theory/branding": "0.0.0",
|
|
51
51
|
"@working-theory/license-client": "0.0.0",
|
|
52
52
|
"@working-theory/license-manifest": "0.0.0",
|
|
53
|
-
"@working-theory/mcp-scheduling": "0.3.
|
|
54
|
-
"@working-theory/mcp-signal-collectors": "0.2.
|
|
55
|
-
"@working-theory/mcp-workspace": "0.
|
|
53
|
+
"@working-theory/mcp-scheduling": "0.3.6",
|
|
54
|
+
"@working-theory/mcp-signal-collectors": "0.2.7",
|
|
55
|
+
"@working-theory/mcp-workspace": "0.5.0",
|
|
56
56
|
"@working-theory/partner-session": "0.0.0",
|
|
57
57
|
"@working-theory/preview-protocol": "0.0.0",
|
|
58
|
-
"@working-theory/ui-commerce": "0.23.
|
|
59
|
-
"@working-theory/ui-docs-blog": "0.23.
|
|
60
|
-
"@working-theory/ui-scheduling": "0.25.
|
|
61
|
-
"@working-theory/ui-signal-collectors": "0.27.
|
|
58
|
+
"@working-theory/ui-commerce": "0.23.31",
|
|
59
|
+
"@working-theory/ui-docs-blog": "0.23.31",
|
|
60
|
+
"@working-theory/ui-scheduling": "0.25.5",
|
|
61
|
+
"@working-theory/ui-signal-collectors": "0.27.9",
|
|
62
62
|
"@working-theory/web": "0.0.0",
|
|
63
63
|
"@working-theory/app-api": "1.0.0",
|
|
64
64
|
"@working-theory/mcp": "0.0.0",
|
|
65
|
-
"@working-theory/database": "0.
|
|
65
|
+
"@working-theory/database": "0.53.0"
|
|
66
66
|
}
|