create-ailk 0.40.2 → 0.40.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ailk",
3
- "version": "0.40.2",
3
+ "version": "0.40.3",
4
4
  "description": "Scaffolder for AI Launch Kit — `pnpm create ailk@latest <dir>` produces a starter repo consuming @working-theory/* from npm (per ADR 0007).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "tar": "^7.5.21"
29
29
  },
30
30
  "devDependencies": {
31
- "@working-theory/schema": "0.66.0",
32
- "@working-theory/templates": "0.66.0"
31
+ "@working-theory/schema": "0.67.0",
32
+ "@working-theory/templates": "0.67.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -36,7 +36,7 @@ import { consentVisitorHeader, readConsentVisitor } from "./lib/consent-visitor"
36
36
  import { formatMinorUnits, offeringsCheckoutHref } from "./lib/offerings-pricing";
37
37
  import { readShownOfferings } from "./lib/pricing-page";
38
38
  import { forwardedCookieInit } from "./lib/server-api";
39
- import { SITE_NAME } from "./lib/site-brand";
39
+ import { resolveSiteBrand } from "./lib/site-brand";
40
40
  import { siteBillingSections } from "./lib/site-contributions";
41
41
  import { siteLogo } from "./lib/site-logo";
42
42
  import {
@@ -77,7 +77,8 @@ export const site = {
77
77
  get signOutEndpoint() {
78
78
  return SIGN_OUT_ENDPOINT;
79
79
  },
80
- siteName: SITE_NAME,
80
+ // The hub identity's name when it holds one, else the file's (#11644).
81
+ siteName: async () => (await resolveSiteBrand()).siteName,
81
82
  siteLogo,
82
83
  readSession,
83
84
  readOwnAccounts,
@@ -21,6 +21,9 @@
21
21
  * the file registration's `baseUrl` (never the hub `url`, so no workspace
22
22
  * value moves an `@id`), else the module-load registration. A site that is not
23
23
  * hub-connected registers no reader and composes exactly as before.
24
+ *
25
+ * #11644 — a hub-connected site registers the page-title brand reader the same
26
+ * way, so a page title written against the file's `siteName` carries the hub's.
24
27
  */
25
28
 
26
29
  import { readdirSync, readFileSync } from "node:fs";
@@ -39,10 +42,17 @@ import {
39
42
  } from "@working-theory/page-renderer";
40
43
  import { featureListFromSections } from "@working-theory/schema";
41
44
  import { SiteIdentitySchema } from "@working-theory/site-config/schema";
45
+ import { setPageTitleBrandReader } from "@working-theory/site-pages";
42
46
  import { parse as parseYaml } from "yaml";
43
47
 
44
48
  import { hubConnected, readHubSite } from "./hub-site-config";
45
- import { brandFrom, resolveContentRoot, SITE_BASE_URL } from "./site-brand";
49
+ import {
50
+ brandFrom,
51
+ resolveContentRoot,
52
+ resolveSiteBrand,
53
+ SITE_BASE_URL,
54
+ SITE_NAME,
55
+ } from "./site-brand";
46
56
 
47
57
  const FRONTMATTER_RE = /^---\r?\n([\s\S]*?)\r?\n---/;
48
58
 
@@ -220,6 +230,10 @@ const fileRegistration = readSiteIdentity();
220
230
  setSiteIdentity(fileRegistration);
221
231
  if (hubConnected()) {
222
232
  setSiteIdentityReader(() => readHubSiteIdentity(fileRegistration));
233
+ setPageTitleBrandReader(async () => ({
234
+ fileName: SITE_NAME,
235
+ siteName: (await resolveSiteBrand()).siteName,
236
+ }));
223
237
  }
224
238
 
225
239
  // #10644 D3, D4 — under the database adapter the product's featureList is
package/versions.json CHANGED
@@ -1,69 +1,69 @@
1
1
  {
2
- "@working-theory/account": "0.66.0",
3
- "@working-theory/admin-ui": "0.66.0",
4
- "@working-theory/aeo": "0.66.0",
5
- "@working-theory/agent-context": "0.66.0",
2
+ "@working-theory/account": "0.67.0",
3
+ "@working-theory/admin-ui": "0.67.0",
4
+ "@working-theory/aeo": "0.67.0",
5
+ "@working-theory/agent-context": "0.67.0",
6
6
  "@working-theory/agent-contract": "0.1.0",
7
7
  "@working-theory/agent-memory": "0.0.0",
8
8
  "@working-theory/ai": "0.1.0",
9
- "@working-theory/analytics": "0.66.0",
10
- "@working-theory/api": "0.66.0",
11
- "@working-theory/api-client": "0.66.0",
12
- "@working-theory/auth": "0.66.0",
9
+ "@working-theory/analytics": "0.67.0",
10
+ "@working-theory/api": "0.67.0",
11
+ "@working-theory/api-client": "0.67.0",
12
+ "@working-theory/auth": "0.67.0",
13
13
  "@working-theory/cda-filesystem": "0.0.0",
14
- "@working-theory/cli": "0.66.0",
15
- "@working-theory/common": "0.66.0",
14
+ "@working-theory/cli": "0.67.0",
15
+ "@working-theory/common": "0.67.0",
16
16
  "@working-theory/consent": "0.1.0",
17
- "@working-theory/content-adapters": "0.66.0",
18
- "@working-theory/content-projection": "0.66.0",
19
- "@working-theory/email": "0.66.0",
17
+ "@working-theory/content-adapters": "0.67.0",
18
+ "@working-theory/content-projection": "0.67.0",
19
+ "@working-theory/email": "0.67.0",
20
20
  "@working-theory/env": "0.0.0",
21
- "@working-theory/eslint-config": "0.66.0",
22
- "@working-theory/fumadocs-schema": "0.66.0",
21
+ "@working-theory/eslint-config": "0.67.0",
22
+ "@working-theory/fumadocs-schema": "0.67.0",
23
23
  "@working-theory/ids": "0.21.0",
24
- "@working-theory/jsonld": "0.66.0",
25
- "@working-theory/license": "0.66.0",
26
- "@working-theory/mcp-server": "0.66.0",
27
- "@working-theory/metadata": "0.66.0",
28
- "@working-theory/observability": "0.66.0",
29
- "@working-theory/page-renderer": "0.66.0",
24
+ "@working-theory/jsonld": "0.67.0",
25
+ "@working-theory/license": "0.67.0",
26
+ "@working-theory/mcp-server": "0.67.0",
27
+ "@working-theory/metadata": "0.67.0",
28
+ "@working-theory/observability": "0.67.0",
29
+ "@working-theory/page-renderer": "0.67.0",
30
30
  "@working-theory/plugin-mcp": "0.1.3",
31
- "@working-theory/schema": "0.66.0",
32
- "@working-theory/schema-pack-registry": "0.66.0",
33
- "@working-theory/schema-validator": "0.66.0",
34
- "@working-theory/sections-registry": "0.66.0",
35
- "@working-theory/site-config": "0.66.0",
36
- "@working-theory/site-pages": "0.66.0",
37
- "@working-theory/spoke-checkout": "0.7.22",
38
- "@working-theory/stripe-client": "0.66.0",
39
- "@working-theory/templates": "0.66.0",
40
- "@working-theory/theme": "0.66.0",
41
- "@working-theory/ui": "0.66.0",
42
- "@working-theory/validation": "0.66.0",
43
- "@working-theory/web-i18n": "0.66.0",
44
- "@working-theory/admin": "0.18.0",
45
- "@working-theory/api-commerce": "0.2.0",
46
- "@working-theory/api-content-write": "0.11.0",
47
- "@working-theory/api-hub": "0.7.0",
48
- "@working-theory/api-multi-tenant": "0.4.0",
49
- "@working-theory/api-scheduling": "0.6.5",
50
- "@working-theory/api-signal-collectors": "0.6.6",
51
- "@working-theory/api-workspace": "0.12.0",
31
+ "@working-theory/schema": "0.67.0",
32
+ "@working-theory/schema-pack-registry": "0.67.0",
33
+ "@working-theory/schema-validator": "0.67.0",
34
+ "@working-theory/sections-registry": "0.67.0",
35
+ "@working-theory/site-config": "0.67.0",
36
+ "@working-theory/site-pages": "0.67.0",
37
+ "@working-theory/spoke-checkout": "0.7.23",
38
+ "@working-theory/stripe-client": "0.67.0",
39
+ "@working-theory/templates": "0.67.0",
40
+ "@working-theory/theme": "0.67.0",
41
+ "@working-theory/ui": "0.67.0",
42
+ "@working-theory/validation": "0.67.0",
43
+ "@working-theory/web-i18n": "0.67.0",
44
+ "@working-theory/admin": "0.18.1",
45
+ "@working-theory/api-commerce": "0.2.1",
46
+ "@working-theory/api-content-write": "0.11.1",
47
+ "@working-theory/api-hub": "0.7.1",
48
+ "@working-theory/api-multi-tenant": "0.4.1",
49
+ "@working-theory/api-scheduling": "0.6.6",
50
+ "@working-theory/api-signal-collectors": "0.6.7",
51
+ "@working-theory/api-workspace": "0.12.1",
52
52
  "@working-theory/billing-client": "0.0.0",
53
53
  "@working-theory/branding": "0.0.0",
54
54
  "@working-theory/license-client": "0.0.0",
55
55
  "@working-theory/license-manifest": "0.0.0",
56
- "@working-theory/mcp-scheduling": "0.4.7",
57
- "@working-theory/mcp-signal-collectors": "0.2.20",
58
- "@working-theory/mcp-workspace": "0.10.0",
56
+ "@working-theory/mcp-scheduling": "0.4.8",
57
+ "@working-theory/mcp-signal-collectors": "0.2.21",
58
+ "@working-theory/mcp-workspace": "0.10.1",
59
59
  "@working-theory/partner-session": "0.0.0",
60
60
  "@working-theory/preview-protocol": "0.0.0",
61
- "@working-theory/ui-commerce": "0.66.0",
62
- "@working-theory/ui-docs-blog": "0.66.0",
63
- "@working-theory/ui-scheduling": "0.66.0",
64
- "@working-theory/ui-signal-collectors": "0.66.0",
61
+ "@working-theory/ui-commerce": "0.67.0",
62
+ "@working-theory/ui-docs-blog": "0.67.0",
63
+ "@working-theory/ui-scheduling": "0.67.0",
64
+ "@working-theory/ui-signal-collectors": "0.67.0",
65
65
  "@working-theory/web": "0.0.0",
66
66
  "@working-theory/app-api": "1.0.0",
67
67
  "@working-theory/mcp": "0.0.0",
68
- "@working-theory/database": "0.66.0"
68
+ "@working-theory/database": "0.67.0"
69
69
  }