blume 2.1.1 → 2.1.2

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.
Files changed (171) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cli/{chunk-ncj7w596.js → chunk-0pmb4tr4.js} +22 -18
  3. package/dist/cli/{chunk-ncj7w596.js.map → chunk-0pmb4tr4.js.map} +3 -3
  4. package/dist/cli/{chunk-nq1d20w2.js → chunk-0w6hs479.js} +15 -15
  5. package/dist/cli/{chunk-ehweg4fr.js → chunk-124fvmzq.js} +1031 -903
  6. package/dist/cli/{chunk-ehweg4fr.js.map → chunk-124fvmzq.js.map} +20 -18
  7. package/dist/cli/{chunk-kma9f6sf.js → chunk-1f882900.js} +2 -2
  8. package/dist/cli/{chunk-e8xw9qkh.js → chunk-297ajdcv.js} +4 -4
  9. package/dist/cli/{chunk-e6atmn4h.js → chunk-32khwcb6.js} +7 -7
  10. package/dist/cli/{chunk-073rdvgb.js → chunk-36bxs9c7.js} +16 -16
  11. package/dist/cli/{chunk-mrcccgnh.js → chunk-53jqw8z0.js} +3 -3
  12. package/dist/cli/{chunk-ft9vfys6.js → chunk-58bt3hag.js} +4 -4
  13. package/dist/cli/{chunk-sds923fa.js → chunk-5cmts6dv.js} +3 -3
  14. package/dist/cli/{chunk-cfyg47zg.js → chunk-60hz265r.js} +4 -4
  15. package/dist/cli/{chunk-j134vrp2.js → chunk-74wfhv79.js} +1 -1
  16. package/dist/cli/{chunk-nrns10mj.js → chunk-9qzgg6mj.js} +3 -3
  17. package/dist/cli/{chunk-tphac74f.js → chunk-a57yh0h9.js} +5 -5
  18. package/dist/cli/{chunk-hebn0tpx.js → chunk-ave1wcbr.js} +1 -1
  19. package/dist/cli/{chunk-htrwgabr.js → chunk-bqxaqn5p.js} +6 -6
  20. package/dist/cli/{chunk-5vjtgs6e.js → chunk-bxwhtvw8.js} +5 -5
  21. package/dist/cli/{chunk-66w9j7p6.js → chunk-ckrcm08h.js} +5 -3
  22. package/dist/cli/{chunk-66w9j7p6.js.map → chunk-ckrcm08h.js.map} +3 -3
  23. package/dist/cli/{chunk-n0v7m8ry.js → chunk-desvm72z.js} +3 -3
  24. package/dist/cli/{chunk-3v3ffbrj.js → chunk-dhwtqnnd.js} +2 -2
  25. package/dist/cli/{chunk-gb420vvz.js → chunk-dpy8qdjf.js} +7 -4
  26. package/dist/cli/chunk-dpy8qdjf.js.map +17 -0
  27. package/dist/cli/{chunk-c1y538kd.js → chunk-dqhg54mr.js} +1 -1
  28. package/dist/cli/{chunk-42t4jxdx.js → chunk-dv2z0rzf.js} +1 -1
  29. package/dist/cli/{chunk-cm89scdv.js → chunk-es8h0v3j.js} +9 -11
  30. package/dist/cli/{chunk-cm89scdv.js.map → chunk-es8h0v3j.js.map} +3 -3
  31. package/dist/cli/{chunk-hx3xqnk9.js → chunk-gfc5fqvf.js} +14 -14
  32. package/dist/cli/{chunk-7ppf1rva.js → chunk-gxtg6ed2.js} +16 -16
  33. package/dist/cli/{chunk-8y2kmjv8.js → chunk-hvcxng5f.js} +6 -6
  34. package/dist/cli/{chunk-54ztw1nj.js → chunk-j1x92mx9.js} +1 -1
  35. package/dist/cli/{chunk-313vnn40.js → chunk-k3gr1nm9.js} +11 -9
  36. package/dist/cli/chunk-k3gr1nm9.js.map +10 -0
  37. package/dist/cli/{chunk-c887fj0s.js → chunk-kdpzw38a.js} +2 -2
  38. package/dist/cli/{chunk-t2m5j4pr.js → chunk-ms9z66nz.js} +2 -2
  39. package/dist/cli/{chunk-t2m5j4pr.js.map → chunk-ms9z66nz.js.map} +2 -2
  40. package/dist/cli/{chunk-ep6nd0rn.js → chunk-nbyvgnnm.js} +26 -14
  41. package/dist/cli/{chunk-ep6nd0rn.js.map → chunk-nbyvgnnm.js.map} +7 -7
  42. package/dist/cli/{chunk-w1r4vase.js → chunk-s0bdnc7v.js} +2 -2
  43. package/dist/cli/{chunk-fdrkhpjy.js → chunk-sc93apfs.js} +14 -14
  44. package/dist/cli/{chunk-dzwehpy7.js → chunk-tfycddbt.js} +2 -2
  45. package/dist/cli/{chunk-3x6x3pph.js → chunk-twy7psdz.js} +7 -7
  46. package/dist/cli/{chunk-e9q7a2ak.js → chunk-y4msrwm9.js} +15 -15
  47. package/dist/cli/{chunk-tdqhyxfz.js → chunk-ydp3065p.js} +5 -5
  48. package/dist/cli/index.js +18 -18
  49. package/dist/types/ai/ask.d.ts +24 -5
  50. package/dist/types/analytics/clics.d.ts +37 -0
  51. package/dist/types/analytics/index.d.ts +2 -0
  52. package/dist/types/analytics/schema.d.ts +18 -0
  53. package/dist/types/astro/integration.d.ts +6 -0
  54. package/dist/types/core/config-input.d.ts +7 -3
  55. package/dist/types/core/powered-by.d.ts +12 -0
  56. package/dist/types/core/schema.d.ts +109 -3
  57. package/dist/types/core/sources/lower.d.ts +10 -2
  58. package/dist/types/core/sources/notion.d.ts +8 -0
  59. package/dist/types/deploy/cloudflare-negotiation.d.ts +5 -2
  60. package/dist/types/deploy/node-headers.d.ts +12 -4
  61. package/dist/types/deploy/platforms/vercel.d.ts +2 -2
  62. package/dist/types/deploy/vercel-negotiation.d.ts +4 -2
  63. package/dist/types/narration/build.d.ts +34 -12
  64. package/dist/types/narration/provider.d.ts +96 -8
  65. package/dist/types/openapi/sentence.d.ts +11 -1
  66. package/dist/types/seo/jsonld.d.ts +11 -6
  67. package/dist/types/sources/notion.d.ts +8 -0
  68. package/dist/types/sources/registry.d.ts +9 -0
  69. package/docs/02-deployment.mdx +29 -1
  70. package/docs/03-upgrading.mdx +2 -1
  71. package/docs/04-migrating.mdx +9 -9
  72. package/docs/08-faq.mdx +12 -12
  73. package/docs/advanced/changelog.mdx +19 -2
  74. package/docs/advanced/custom-pages.mdx +1 -1
  75. package/docs/cli/doctor.mdx +1 -1
  76. package/docs/configuration/analytics.mdx +19 -1
  77. package/docs/configuration/index.mdx +1 -0
  78. package/docs/configuration/narration.mdx +43 -6
  79. package/docs/content/navigation.mdx +4 -2
  80. package/docs/content/sources/contentful.mdx +2 -0
  81. package/docs/content/sources/github-releases.mdx +2 -0
  82. package/docs/content/sources/notion.mdx +16 -1
  83. package/docs/content/sources/obsidian.mdx +2 -0
  84. package/docs/content/sources/payload.mdx +2 -0
  85. package/docs/content/sources/remote-mdx.mdx +2 -0
  86. package/docs/content/sources/sanity.mdx +2 -0
  87. package/docs/content/sources/strapi.mdx +2 -0
  88. package/docs/discoverability/mcp.mdx +2 -0
  89. package/docs/discoverability/structured-data.mdx +8 -6
  90. package/docs/references/asyncapi.mdx +2 -0
  91. package/docs/references/graphql.mdx +2 -0
  92. package/docs/references/openapi.mdx +14 -0
  93. package/package.json +1 -1
  94. package/skills/blume/SKILL.md +1 -1
  95. package/skills/blume-migrate/SKILL.md +1 -1
  96. package/skills/blume-migrate/assets/{oxfmt@0.67.0.patch → oxfmt@0.71.0.patch} +7 -7
  97. package/skills/blume-migrate/references/monorepo.md +5 -5
  98. package/src/ai/ask.ts +24 -6
  99. package/src/analytics/clics.ts +58 -0
  100. package/src/analytics/head.ts +5 -0
  101. package/src/analytics/index.ts +2 -0
  102. package/src/analytics/schema.ts +2 -0
  103. package/src/astro/generate.ts +13 -8
  104. package/src/astro/integration.ts +56 -9
  105. package/src/astro/render-deps.ts +10 -5
  106. package/src/astro/runtime-deps.ts +23 -2
  107. package/src/astro/templates.ts +4 -1
  108. package/src/cli/init/scaffold.ts +6 -3
  109. package/src/cli/required-secrets.ts +2 -1
  110. package/src/components/content/view-switcher.ts +7 -4
  111. package/src/components/layout/NavTree.astro +49 -5
  112. package/src/components/layout/NavTreeScript.astro +18 -0
  113. package/src/components/layout/PageLayout.astro +13 -3
  114. package/src/components/layout/RootLayout.astro +17 -12
  115. package/src/components/layout/analytics-client.ts +8 -8
  116. package/src/components/openapi/playground-client.ts +53 -53
  117. package/src/components/powered-by-middleware.ts +33 -0
  118. package/src/core/config-input.ts +11 -3
  119. package/src/core/powered-by.ts +12 -0
  120. package/src/core/schema.ts +5 -4
  121. package/src/core/sources/lower.ts +19 -3
  122. package/src/core/sources/notion.ts +27 -9
  123. package/src/deploy/cloudflare-negotiation.ts +36 -7
  124. package/src/deploy/headers.ts +15 -1
  125. package/src/deploy/node-headers.ts +32 -20
  126. package/src/deploy/platforms/cloudflare.ts +1 -0
  127. package/src/deploy/platforms/vercel.ts +4 -3
  128. package/src/deploy/vercel-negotiation.ts +38 -4
  129. package/src/markdown/base-links.ts +15 -14
  130. package/src/markdown/package-commands.ts +9 -8
  131. package/src/narration/build.ts +218 -40
  132. package/src/narration/provider.ts +89 -9
  133. package/src/openapi/render-mdx.ts +68 -8
  134. package/src/openapi/sentence.ts +29 -2
  135. package/src/registry/eject.ts +5 -1
  136. package/src/seo/jsonld.ts +38 -20
  137. package/src/sources/notion.ts +7 -0
  138. package/src/theme/color.ts +9 -10
  139. package/src/theme/entry.ts +14 -3
  140. package/dist/cli/chunk-313vnn40.js.map +0 -10
  141. package/dist/cli/chunk-gb420vvz.js.map +0 -17
  142. /package/dist/cli/{chunk-nq1d20w2.js.map → chunk-0w6hs479.js.map} +0 -0
  143. /package/dist/cli/{chunk-kma9f6sf.js.map → chunk-1f882900.js.map} +0 -0
  144. /package/dist/cli/{chunk-e8xw9qkh.js.map → chunk-297ajdcv.js.map} +0 -0
  145. /package/dist/cli/{chunk-e6atmn4h.js.map → chunk-32khwcb6.js.map} +0 -0
  146. /package/dist/cli/{chunk-073rdvgb.js.map → chunk-36bxs9c7.js.map} +0 -0
  147. /package/dist/cli/{chunk-mrcccgnh.js.map → chunk-53jqw8z0.js.map} +0 -0
  148. /package/dist/cli/{chunk-ft9vfys6.js.map → chunk-58bt3hag.js.map} +0 -0
  149. /package/dist/cli/{chunk-sds923fa.js.map → chunk-5cmts6dv.js.map} +0 -0
  150. /package/dist/cli/{chunk-cfyg47zg.js.map → chunk-60hz265r.js.map} +0 -0
  151. /package/dist/cli/{chunk-j134vrp2.js.map → chunk-74wfhv79.js.map} +0 -0
  152. /package/dist/cli/{chunk-nrns10mj.js.map → chunk-9qzgg6mj.js.map} +0 -0
  153. /package/dist/cli/{chunk-tphac74f.js.map → chunk-a57yh0h9.js.map} +0 -0
  154. /package/dist/cli/{chunk-hebn0tpx.js.map → chunk-ave1wcbr.js.map} +0 -0
  155. /package/dist/cli/{chunk-htrwgabr.js.map → chunk-bqxaqn5p.js.map} +0 -0
  156. /package/dist/cli/{chunk-5vjtgs6e.js.map → chunk-bxwhtvw8.js.map} +0 -0
  157. /package/dist/cli/{chunk-n0v7m8ry.js.map → chunk-desvm72z.js.map} +0 -0
  158. /package/dist/cli/{chunk-3v3ffbrj.js.map → chunk-dhwtqnnd.js.map} +0 -0
  159. /package/dist/cli/{chunk-c1y538kd.js.map → chunk-dqhg54mr.js.map} +0 -0
  160. /package/dist/cli/{chunk-42t4jxdx.js.map → chunk-dv2z0rzf.js.map} +0 -0
  161. /package/dist/cli/{chunk-hx3xqnk9.js.map → chunk-gfc5fqvf.js.map} +0 -0
  162. /package/dist/cli/{chunk-7ppf1rva.js.map → chunk-gxtg6ed2.js.map} +0 -0
  163. /package/dist/cli/{chunk-8y2kmjv8.js.map → chunk-hvcxng5f.js.map} +0 -0
  164. /package/dist/cli/{chunk-54ztw1nj.js.map → chunk-j1x92mx9.js.map} +0 -0
  165. /package/dist/cli/{chunk-c887fj0s.js.map → chunk-kdpzw38a.js.map} +0 -0
  166. /package/dist/cli/{chunk-w1r4vase.js.map → chunk-s0bdnc7v.js.map} +0 -0
  167. /package/dist/cli/{chunk-fdrkhpjy.js.map → chunk-sc93apfs.js.map} +0 -0
  168. /package/dist/cli/{chunk-dzwehpy7.js.map → chunk-tfycddbt.js.map} +0 -0
  169. /package/dist/cli/{chunk-3x6x3pph.js.map → chunk-twy7psdz.js.map} +0 -0
  170. /package/dist/cli/{chunk-e9q7a2ak.js.map → chunk-y4msrwm9.js.map} +0 -0
  171. /package/dist/cli/{chunk-tdqhyxfz.js.map → chunk-ydp3065p.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  packageSrc,
8
8
  registry,
9
9
  findItem
10
- } from "./chunk-c1y538kd.js";
10
+ } from "./chunk-dqhg54mr.js";
11
11
 
12
12
  // src/cli/commands/add.ts
13
13
  import { existsSync } from "node:fs";
@@ -96,4 +96,4 @@ export {
96
96
  };
97
97
 
98
98
  //# debugId=B640E77C94BA0A0364756E2164756E21
99
- //# sourceMappingURL=chunk-kma9f6sf.js.map
99
+ //# sourceMappingURL=chunk-1f882900.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  packageDirFrom,
4
4
  generateRuntime
5
- } from "./chunk-ep6nd0rn.js";
5
+ } from "./chunk-nbyvgnnm.js";
6
6
  import {
7
7
  loadEnvFiles,
8
8
  reportInternalError,
@@ -13,11 +13,11 @@ import {
13
13
  } from "./index.js";
14
14
  import {
15
15
  scanProject
16
- } from "./chunk-ncj7w596.js";
16
+ } from "./chunk-0pmb4tr4.js";
17
17
  import {
18
18
  serverFeatures,
19
19
  checkRequiredSecrets
20
- } from "./chunk-t2m5j4pr.js";
20
+ } from "./chunk-ms9z66nz.js";
21
21
 
22
22
  // src/cli/yarn-pnp.ts
23
23
  import { existsSync } from "node:fs";
@@ -121,4 +121,4 @@ var prepareProject = async (options) => {
121
121
  export { prepareProject };
122
122
 
123
123
  //# debugId=306EB25EAF65994264756E2164756E21
124
- //# sourceMappingURL=chunk-e8xw9qkh.js.map
124
+ //# sourceMappingURL=chunk-297ajdcv.js.map
@@ -19,7 +19,7 @@ import {
19
19
  writeAgentReport,
20
20
  fixPrompt,
21
21
  launchInstalledAgent
22
- } from "./chunk-42t4jxdx.js";
22
+ } from "./chunk-dv2z0rzf.js";
23
23
  import {
24
24
  routeSetFor,
25
25
  frontmatter_default,
@@ -29,7 +29,7 @@ import {
29
29
  probeAll,
30
30
  applyBaseToAstroRedirects,
31
31
  deployPlatform
32
- } from "./chunk-ehweg4fr.js";
32
+ } from "./chunk-124fvmzq.js";
33
33
  import {
34
34
  normalizeBasePath,
35
35
  normalizePath,
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  deployStaticDir,
40
40
  examplesRouteBase
41
- } from "./chunk-gb420vvz.js";
41
+ } from "./chunk-dpy8qdjf.js";
42
42
  import {
43
43
  parseColor,
44
44
  composite,
@@ -48,13 +48,13 @@ import {
48
48
  labelOn,
49
49
  resolveAccent,
50
50
  resolveAction
51
- } from "./chunk-cm89scdv.js";
51
+ } from "./chunk-es8h0v3j.js";
52
52
  import {
53
53
  scanProject
54
- } from "./chunk-ncj7w596.js";
54
+ } from "./chunk-0pmb4tr4.js";
55
55
  import {
56
56
  parseIgnoreFlag
57
- } from "./chunk-j134vrp2.js";
57
+ } from "./chunk-74wfhv79.js";
58
58
 
59
59
  // src/cli/commands/audit.ts
60
60
  import { defineCommand } from "citty";
@@ -2341,4 +2341,4 @@ export {
2341
2341
  };
2342
2342
 
2343
2343
  //# debugId=E0347EF127A1E50964756E2164756E21
2344
- //# sourceMappingURL=chunk-e6atmn4h.js.map
2344
+ //# sourceMappingURL=chunk-32khwcb6.js.map
@@ -7,50 +7,50 @@ import {
7
7
  } from "./index.js";
8
8
  import {
9
9
  deployPlatform
10
- } from "./chunk-ehweg4fr.js";
10
+ } from "./chunk-124fvmzq.js";
11
11
  import"./chunk-zccbjcj0.js";
12
- import"./chunk-ncj7w596.js";
12
+ import"./chunk-0pmb4tr4.js";
13
13
  import {
14
14
  publishBuildProject,
15
15
  ogCacheDir,
16
16
  pruneCardCache,
17
17
  cardCacheTally
18
- } from "./chunk-ep6nd0rn.js";
19
- import"./chunk-n0v7m8ry.js";
18
+ } from "./chunk-nbyvgnnm.js";
19
+ import"./chunk-desvm72z.js";
20
20
  import {
21
21
  deployOutputDir,
22
22
  deployStaticDir,
23
23
  surfaceAdapterOutput
24
- } from "./chunk-gb420vvz.js";
24
+ } from "./chunk-dpy8qdjf.js";
25
25
  import {
26
26
  ensureGitignore
27
27
  } from "./chunk-yzhm0j9q.js";
28
- import"./chunk-54ztw1nj.js";
28
+ import"./chunk-j1x92mx9.js";
29
29
  import {
30
30
  removedBuildFlags,
31
31
  flagList,
32
32
  removedBuildFlagsAdvice
33
- } from "./chunk-nrns10mj.js";
33
+ } from "./chunk-9qzgg6mj.js";
34
34
  import {
35
35
  astroBuildDiagnostics
36
36
  } from "./chunk-150jk7km.js";
37
37
  import {
38
38
  refuseIfDevRunning
39
- } from "./chunk-dzwehpy7.js";
39
+ } from "./chunk-tfycddbt.js";
40
40
  import {
41
41
  refuseIfEjected
42
- } from "./chunk-mrcccgnh.js";
43
- import"./chunk-66w9j7p6.js";
42
+ } from "./chunk-53jqw8z0.js";
43
+ import"./chunk-ckrcm08h.js";
44
44
  import"./chunk-jq5n4avg.js";
45
- import"./chunk-cm89scdv.js";
46
- import"./chunk-c1y538kd.js";
45
+ import"./chunk-es8h0v3j.js";
46
+ import"./chunk-dqhg54mr.js";
47
47
  import {
48
48
  prepareProject
49
- } from "./chunk-e8xw9qkh.js";
49
+ } from "./chunk-297ajdcv.js";
50
50
  import {
51
51
  serverFeatures
52
- } from "./chunk-t2m5j4pr.js";
53
- import"./chunk-w1r4vase.js";
52
+ } from "./chunk-ms9z66nz.js";
53
+ import"./chunk-s0bdnc7v.js";
54
54
 
55
55
  // src/cli/commands/build.ts
56
56
  import { existsSync } from "node:fs";
@@ -272,4 +272,4 @@ export {
272
272
  };
273
273
 
274
274
  //# debugId=5EAF9E033A01BFBE64756E2164756E21
275
- //# sourceMappingURL=chunk-073rdvgb.js.map
275
+ //# sourceMappingURL=chunk-36bxs9c7.js.map
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  commandsFor,
4
4
  detectProjectPackageManager
5
- } from "./chunk-ehweg4fr.js";
5
+ } from "./chunk-124fvmzq.js";
6
6
  import {
7
7
  EJECTED_CONFIG_HEADER
8
- } from "./chunk-gb420vvz.js";
8
+ } from "./chunk-dpy8qdjf.js";
9
9
  import {
10
10
  packageRoot,
11
11
  logger
@@ -86,4 +86,4 @@ var refuseIfEjected = async (root, command) => {
86
86
  export { updatePackageScripts, isEjectedProject, refuseIfEjected };
87
87
 
88
88
  //# debugId=BFC7CE556CF94E8564756E2164756E21
89
- //# sourceMappingURL=chunk-mrcccgnh.js.map
89
+ //# sourceMappingURL=chunk-53jqw8z0.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  loadConfig
4
- } from "./chunk-ehweg4fr.js";
4
+ } from "./chunk-124fvmzq.js";
5
5
  import"./chunk-zccbjcj0.js";
6
6
  import {
7
7
  commandMeta,
@@ -11,11 +11,11 @@ import {
11
11
  reportDiagnostics
12
12
  } from "./index.js";
13
13
  import"./chunk-jq5n4avg.js";
14
- import"./chunk-ncj7w596.js";
14
+ import"./chunk-0pmb4tr4.js";
15
15
  import {
16
16
  CutError,
17
17
  cutVersion
18
- } from "./chunk-sds923fa.js";
18
+ } from "./chunk-5cmts6dv.js";
19
19
 
20
20
  // src/cli/commands/version.ts
21
21
  import { defineCommand } from "citty";
@@ -88,4 +88,4 @@ export {
88
88
  };
89
89
 
90
90
  //# debugId=86F69482E9E3E55264756E2164756E21
91
- //# sourceMappingURL=chunk-ft9vfys6.js.map
91
+ //# sourceMappingURL=chunk-58bt3hag.js.map
@@ -8,7 +8,7 @@ import {
8
8
  VERSION_ID,
9
9
  VERSION_LIKE,
10
10
  versionizeRoute
11
- } from "./chunk-ehweg4fr.js";
11
+ } from "./chunk-124fvmzq.js";
12
12
  import {
13
13
  mountBasePath,
14
14
  stripBasePath
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  isWithin,
18
18
  scanProject
19
- } from "./chunk-ncj7w596.js";
19
+ } from "./chunk-0pmb4tr4.js";
20
20
 
21
21
  // src/core/version-cut.ts
22
22
  import { existsSync } from "node:fs";
@@ -280,4 +280,4 @@ var cutVersion = async (root, id, options = {}) => {
280
280
  export { CutError, unregisteredSnapshotDiagnostics, cutVersion };
281
281
 
282
282
  //# debugId=8631919BA7BA49B664756E2164756E21
283
- //# sourceMappingURL=chunk-sds923fa.js.map
283
+ //# sourceMappingURL=chunk-5cmts6dv.js.map
@@ -4,7 +4,7 @@ import {
4
4
  customStaticRoutes,
5
5
  hasGeneratedChangelog,
6
6
  validateLinks
7
- } from "./chunk-ehweg4fr.js";
7
+ } from "./chunk-124fvmzq.js";
8
8
  import {
9
9
  commandMeta,
10
10
  reportInternalError,
@@ -18,10 +18,10 @@ import"./chunk-zccbjcj0.js";
18
18
  import {
19
19
  buildManifest,
20
20
  scanProject
21
- } from "./chunk-ncj7w596.js";
21
+ } from "./chunk-0pmb4tr4.js";
22
22
  import {
23
23
  parseIgnoreFlag
24
- } from "./chunk-j134vrp2.js";
24
+ } from "./chunk-74wfhv79.js";
25
25
 
26
26
  // src/cli/commands/validate.ts
27
27
  import { existsSync } from "node:fs";
@@ -109,4 +109,4 @@ export {
109
109
  };
110
110
 
111
111
  //# debugId=8AE58981D23D676D64756E2164756E21
112
- //# sourceMappingURL=chunk-cfyg47zg.js.map
112
+ //# sourceMappingURL=chunk-60hz265r.js.map
@@ -62,4 +62,4 @@ var parseTimeoutSeconds = (value, fallback) => {
62
62
  export { parsePort, parseIgnoreFlag, parseTimeoutSeconds };
63
63
 
64
64
  //# debugId=1CED8804CB94605564756E2164756E21
65
- //# sourceMappingURL=chunk-j134vrp2.js.map
65
+ //# sourceMappingURL=chunk-74wfhv79.js.map
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  ComponentOverridesError,
7
7
  analyzeComponentOverrides
8
- } from "./chunk-54ztw1nj.js";
8
+ } from "./chunk-j1x92mx9.js";
9
9
  import {
10
10
  findConfigFile,
11
11
  findComponentsFile,
12
12
  ConfigValidationError,
13
13
  loadConfig
14
- } from "./chunk-ehweg4fr.js";
14
+ } from "./chunk-124fvmzq.js";
15
15
 
16
16
  // src/upgrade/upgrade.ts
17
17
  import { existsSync } from "node:fs";
@@ -199,4 +199,4 @@ When \`${options.runner} blume doctor\` reports no errors, run \`${options.runne
199
199
  export { UPGRADE_GUIDE_URL, UPGRADE_GUIDE_FILE, manualBumpAdvice, bumpBlumeDependency, isOutsideBlumeProject, removedBuildFlags, flagList, removedBuildFlagsAdvice, collectUpgradeFindings, upgradePrompt };
200
200
 
201
201
  //# debugId=1E503C224ED252A564756E2164756E21
202
- //# sourceMappingURL=chunk-nrns10mj.js.map
202
+ //# sourceMappingURL=chunk-9qzgg6mj.js.map
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import"./chunk-ehweg4fr.js";
2
+ import"./chunk-124fvmzq.js";
3
3
  import"./chunk-zccbjcj0.js";
4
4
  import {
5
5
  packageRoot,
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  AGENTS,
15
15
  launchInstalledAgent
16
- } from "./chunk-42t4jxdx.js";
16
+ } from "./chunk-dv2z0rzf.js";
17
17
  import {
18
18
  scanProject
19
- } from "./chunk-ncj7w596.js";
19
+ } from "./chunk-0pmb4tr4.js";
20
20
  import {
21
21
  siteSkillName
22
- } from "./chunk-w1r4vase.js";
22
+ } from "./chunk-s0bdnc7v.js";
23
23
 
24
24
  // src/cli/commands/skill.ts
25
25
  import { defineCommand } from "citty";
@@ -123,4 +123,4 @@ export {
123
123
  };
124
124
 
125
125
  //# debugId=3CB1C251215B1BE964756E2164756E21
126
- //# sourceMappingURL=chunk-tphac74f.js.map
126
+ //# sourceMappingURL=chunk-a57yh0h9.js.map
@@ -546,4 +546,4 @@ export {
546
546
  };
547
547
 
548
548
  //# debugId=E6710E6AD54250CC64756E2164756E21
549
- //# sourceMappingURL=chunk-hebn0tpx.js.map
549
+ //# sourceMappingURL=chunk-ave1wcbr.js.map
@@ -11,17 +11,17 @@ import {
11
11
  import {
12
12
  AGENTS,
13
13
  launchAgent
14
- } from "./chunk-42t4jxdx.js";
14
+ } from "./chunk-dv2z0rzf.js";
15
15
  import {
16
16
  YAML_SCHEMA
17
- } from "./chunk-ehweg4fr.js";
17
+ } from "./chunk-124fvmzq.js";
18
18
  import"./chunk-zccbjcj0.js";
19
19
  import {
20
20
  scanProject
21
- } from "./chunk-ncj7w596.js";
21
+ } from "./chunk-0pmb4tr4.js";
22
22
  import {
23
23
  buildMcpData
24
- } from "./chunk-n0v7m8ry.js";
24
+ } from "./chunk-desvm72z.js";
25
25
  import {
26
26
  seconds,
27
27
  money,
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-0n9xkp3d.js";
35
35
  import {
36
36
  parseTimeoutSeconds
37
- } from "./chunk-j134vrp2.js";
37
+ } from "./chunk-74wfhv79.js";
38
38
 
39
39
  // src/cli/commands/eval.ts
40
40
  import { existsSync } from "node:fs";
@@ -698,4 +698,4 @@ export {
698
698
  };
699
699
 
700
700
  //# debugId=7E23EC6FFD50900B64756E2164756E21
701
- //# sourceMappingURL=chunk-htrwgabr.js.map
701
+ //# sourceMappingURL=chunk-bqxaqn5p.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./index.js";
10
10
  import {
11
11
  AGENTS
12
- } from "./chunk-42t4jxdx.js";
12
+ } from "./chunk-dv2z0rzf.js";
13
13
  import {
14
14
  i18nEnabled,
15
15
  localeCodes,
@@ -18,7 +18,7 @@ import {
18
18
  folderMetaSchema,
19
19
  scanBody,
20
20
  createModuleLoader
21
- } from "./chunk-ehweg4fr.js";
21
+ } from "./chunk-124fvmzq.js";
22
22
  import {
23
23
  seconds,
24
24
  money,
@@ -34,11 +34,11 @@ import {
34
34
  import {
35
35
  findFolderMetaFiles,
36
36
  scanProject
37
- } from "./chunk-ncj7w596.js";
37
+ } from "./chunk-0pmb4tr4.js";
38
38
  import"./chunk-zccbjcj0.js";
39
39
  import {
40
40
  parseTimeoutSeconds
41
- } from "./chunk-j134vrp2.js";
41
+ } from "./chunk-74wfhv79.js";
42
42
 
43
43
  // src/cli/commands/translate.ts
44
44
  import { defineCommand } from "citty";
@@ -1212,4 +1212,4 @@ export {
1212
1212
  };
1213
1213
 
1214
1214
  //# debugId=7CBDF68DDB18B6AB64756E2164756E21
1215
- //# sourceMappingURL=chunk-5vjtgs6e.js.map
1215
+ //# sourceMappingURL=chunk-bxwhtvw8.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  commandsFor,
7
7
  detectProjectPackageManager
8
- } from "./chunk-ehweg4fr.js";
8
+ } from "./chunk-124fvmzq.js";
9
9
 
10
10
  // src/core/component-diagnostics.ts
11
11
  import { relative } from "pathe";
@@ -278,6 +278,7 @@ var unresolved = (owner, deps, root, pkgDir) => deps.filter((dep) => !(canResolv
278
278
  var searchProviderDependencies = (provider, root, pkgDir = packageRoot()) => unresolved(`Search adapter "${provider.kind}"`, provider.runtimeDeps, root, pkgDir);
279
279
  var sourceAdapterDependencies = (sources, root, pkgDir = packageRoot()) => sources.flatMap((source) => unresolved(`Content source "${source.kind}"`, source.runtimeDeps, root, pkgDir));
280
280
  var assistantProviderDependencies = (ask, root, pkgDir = packageRoot()) => ask?.enabled && !ask.endpoint ? unresolved(`Assistant provider "${ask.provider.kind}"`, ask.provider.runtimeDeps, root, pkgDir) : [];
281
+ var narrationProviderDependencies = (narration, root, pkgDir = packageRoot()) => narration.enabled && narration.provider ? unresolved(`Narration provider "${narration.provider.kind}"`, narration.provider.runtimeDeps, root, pkgDir) : [];
281
282
  var deploymentAdapterDependencies = (deployment, root, pkgDir = packageRoot()) => unresolved(`Deployment adapter "${deployment.kind}"`, deployment.runtimeDeps, root, pkgDir);
282
283
  var ISLAND_FRAMEWORK_DEPS = new Map([
283
284
  ["svelte", "@astrojs/svelte"],
@@ -297,6 +298,7 @@ var missingRuntimeDependencies = (config, root, frameworks = [], pkgDir = packag
297
298
  ...searchProviderDependencies(config.search.provider, root, pkgDir),
298
299
  ...sourceAdapterDependencies(config.content.sources, root, pkgDir),
299
300
  ...assistantProviderDependencies(config.ai.assistant, root, pkgDir),
301
+ ...narrationProviderDependencies(config.narration, root, pkgDir),
300
302
  ...deploymentAdapterDependencies(config.deployment, root, pkgDir),
301
303
  ...islandFrameworkDependencies(frameworks, root)
302
304
  ];
@@ -318,5 +320,5 @@ var missingDependencyDiagnostic = async (config, root, severity, frameworks = []
318
320
 
319
321
  export { validateUsedComponents, missingExampleDiagnostics, discoverIslands, EXAMPLE_SCAN_GLOB, exampleScanRoots, discoverExamples, exampleMarkdownLookup, missingDependencyDiagnostic };
320
322
 
321
- //# debugId=3F5B0EA1BEADD25C64756E2164756E21
322
- //# sourceMappingURL=chunk-66w9j7p6.js.map
323
+ //# debugId=88F80DB4180F01D164756E2164756E21
324
+ //# sourceMappingURL=chunk-ckrcm08h.js.map
@@ -6,9 +6,9 @@
6
6
  "/**\n * The MDX component tags Blume ships (the keys of the catch-all's component map,\n * plus composed sub-parts like `Color.Item`/`Tree.File`). Used by the\n * missing-component diagnostic to tell an unknown `<Tag>` from a built-in. Keep\n * in sync with the component map in `astro/templates.ts`.\n */\nexport const BUILTIN_MDX_TAGS = new Set<string>([\n \"Accordion\",\n \"AccordionItem\",\n \"ApiOverview\",\n \"ApiTagOperations\",\n \"AutoTypeTable\",\n \"Badge\",\n \"Callout\",\n \"Card\",\n \"CardGroup\",\n \"CodeBlock\",\n \"CodeGroup\",\n \"Color\",\n \"Column\",\n \"Columns\",\n \"Component\",\n \"Diff\",\n \"Expandable\",\n \"FileTree\",\n \"Frame\",\n \"GithubInfo\",\n \"Icon\",\n // Conditionally imported by the catch-all, but `detectUsesMath` matches any\n // authored `<Math`, so it is always wired wherever it can appear.\n \"Math\",\n \"Operation\",\n \"Panel\",\n \"ParamField\",\n \"Prompt\",\n \"RequestExample\",\n \"ResponseExample\",\n \"ResponseField\",\n \"Step\",\n \"Steps\",\n \"Tab\",\n \"Tabs\",\n \"Tile\",\n \"Tooltip\",\n \"Tree\",\n \"TypeTable\",\n \"View\",\n \"Visibility\",\n \"YouTube\",\n]);\n",
7
7
  "import { readFile } from \"node:fs/promises\";\n\nimport pMap from \"p-map\";\nimport { basename, join } from \"pathe\";\nimport { glob } from \"tinyglobby\";\n\n/** Astro hydration directives Blume applies to a convention island. */\nexport type IslandClientMode = \"idle\" | \"load\" | \"only\" | \"visible\";\n\n/** Client framework an island is authored in, inferred from its extension. */\nexport type IslandFramework = \"react\" | \"svelte\" | \"vue\";\n\n/** A discovered `islands/` component, ready to wrap and expose to MDX. */\nexport interface IslandSpec {\n /** Hydration directive, from `export const client` or the default. */\n client: IslandClientMode;\n /** Absolute path to the island source file. */\n file: string;\n /** Astro client framework, used to enable the renderer and for `client:only`. */\n framework: IslandFramework;\n /** Component name used in MDX — the file's basename without extension. */\n name: string;\n}\n\nexport interface IslandDiscovery {\n islands: IslandSpec[];\n warnings: string[];\n}\n\n/** Hydration mode used when an island doesn't declare one. */\nconst DEFAULT_CLIENT: IslandClientMode = \"visible\";\n\n/** Ceiling on concurrent island-file reads; unbounded fan-out risks EMFILE. */\nconst READ_CONCURRENCY = 16;\n\nconst VALID_MODES = new Set<IslandClientMode>([\n \"idle\",\n \"load\",\n \"only\",\n \"visible\",\n]);\n\n/** Whether a declared client mode is one Astro's directives support. */\nconst isClientMode = (mode: string): mode is IslandClientMode =>\n // SAFETY: `Set.has` only compares identity at runtime; the assertion widens\n // the lookup key so the narrower-typed set accepts it, and the `has` result\n // is exactly the predicate being claimed.\n VALID_MODES.has(mode as IslandClientMode);\n\n/** Island extensions mapped to the Astro renderer that handles them. */\nconst FRAMEWORK_BY_EXT = new Map<string, IslandFramework>([\n [\"jsx\", \"react\"],\n [\"svelte\", \"svelte\"],\n [\"tsx\", \"react\"],\n [\"vue\", \"vue\"],\n]);\n\n// Captures the extension so we can both strip it from the name and pick the\n// framework. Kept in sync with the glob below.\nconst ISLAND_FILE = /\\.(?<ext>jsx|svelte|tsx|vue)$/u;\n\n// Matches `export const client = \"load\"` (with optional type annotation and\n// either quote style). Read statically so we never execute island code in Node.\nconst CLIENT_EXPORT =\n /export\\s+const\\s+client\\s*(?::[^=]+)?=\\s*[\"'](?<mode>\\w+)[\"']/u;\n\nexport const readClientMode = (\n source: string,\n file: string,\n warnings: string[]\n): IslandClientMode => {\n const mode = source.match(CLIENT_EXPORT)?.groups?.mode;\n if (!mode) {\n return DEFAULT_CLIENT;\n }\n if (!isClientMode(mode)) {\n warnings.push(\n `Island \"${file}\" declares an unknown client mode \"${mode}\"; defaulting to \"${DEFAULT_CLIENT}\". Use \"load\", \"idle\", \"visible\", or \"only\".`\n );\n return DEFAULT_CLIENT;\n }\n return mode;\n};\n\n/**\n * Discover convention islands under `<root>/islands`. Every `.tsx`/`.jsx`/\n * `.vue`/`.svelte` file becomes a globally-available, hydrated MDX component\n * named after the file (which must be PascalCase to be usable as a JSX tag).\n * Hydration defaults to `client:visible`; a file opts out with `export const\n * client = \"load\" | \"idle\" | \"only\"`. Discovery is path-based (a glob), so no\n * user code is executed.\n */\nexport const discoverIslands = async (\n root: string\n): Promise<IslandDiscovery> => {\n const dir = join(root, \"islands\");\n // Enumerate everything and let ISLAND_FILE do the filtering below, so\n // unknown extensions take the skip guard instead of relying on a glob\n // pattern staying in sync with the regex and framework map.\n const matches = await glob([\"**/*\"], {\n absolute: true,\n cwd: dir,\n onlyFiles: true,\n });\n const files = matches.toSorted();\n const sources = await pMap(files, (file) => readFile(file, \"utf-8\"), {\n concurrency: READ_CONCURRENCY,\n });\n\n const islands: IslandSpec[] = [];\n const warnings: string[] = [];\n const seen = new Map<string, string>();\n\n // Extracted so the skip paths become early `return`s (one `continue` budget\n // per loop under the lint rule) instead of `continue` statements.\n const collectIsland = (file: string, source: string): void => {\n const base = basename(file);\n const ext = base.match(ISLAND_FILE)?.groups?.ext;\n const framework = ext ? FRAMEWORK_BY_EXT.get(ext) : undefined;\n if (!framework) {\n return;\n }\n const name = base.replace(ISLAND_FILE, \"\");\n // The name is used verbatim as both an MDX tag and an unquoted object key\n // in the generated island map, so it must be a plain PascalCase identifier\n // — a `-`, `.`, or space (e.g. `Time-Picker.tsx`) would otherwise emit a\n // syntax-error module and fail the whole build with no pointer to the file.\n if (!/^[A-Z][A-Za-z0-9_]*$/u.test(name)) {\n warnings.push(\n `Island \"${file}\" must have a PascalCase identifier filename to be used in MDX (letters, digits, and underscores only, e.g. Counter.tsx → <Counter />); skipping it.`\n );\n return;\n }\n const existing = seen.get(name);\n if (existing) {\n warnings.push(\n `Two islands both resolve to <${name}> (\"${existing}\" and \"${file}\"); ignoring the second. Give them distinct filenames.`\n );\n return;\n }\n seen.set(name, file);\n islands.push({\n client: readClientMode(source, file, warnings),\n file,\n framework,\n name,\n });\n };\n\n for (const [index, file] of files.entries()) {\n collectIsland(file, sources[index] ?? \"\");\n }\n\n return { islands, warnings };\n};\n",
8
8
  "import { readFile } from \"node:fs/promises\";\n\nimport pMap from \"p-map\";\nimport { isAbsolute, join, relative } from \"pathe\";\nimport { glob } from \"tinyglobby\";\n\nimport type { ExampleLookup } from \"../core/types.ts\";\nimport type { IslandClientMode } from \"./islands.ts\";\nimport { readClientMode } from \"./islands.ts\";\n\n/** Framework an example is authored in, inferred from its extension. */\nexport type ExampleFramework = \"astro\" | \"react\" | \"svelte\" | \"vue\";\n\n/** A discovered `examples/` file, ready to wrap (live) and show (source). */\nexport interface ExampleSpec {\n /** Hydration directive for a framework example; `undefined` for `.astro`. */\n client?: IslandClientMode;\n /** Absolute path to the example source file. */\n file: string;\n /** Framework, or `astro` for a server-rendered (static) example. */\n framework: ExampleFramework;\n /** Shiki language for the source pane — the file extension. */\n lang: string;\n /** MDX-facing key: the path under `examples/`, sans extension, `/`-joined. */\n path: string;\n /** Raw source text shown in the code tab. */\n source: string;\n}\n\nexport interface ExampleDiscovery {\n /**\n * Absolute directory the examples were discovered under: the configured\n * `examples.source` (or a glob's static prefix) resolved against the root.\n */\n dir: string;\n examples: ExampleSpec[];\n warnings: string[];\n}\n\n/** Example extensions mapped to the framework that renders them. */\ninterface FrameworkByExtension {\n [extension: string]: ExampleFramework;\n}\n\nconst FRAMEWORK_BY_EXT: FrameworkByExtension = {\n astro: \"astro\",\n jsx: \"react\",\n svelte: \"svelte\",\n tsx: \"react\",\n vue: \"vue\",\n};\n\n// Captures the extension so we can strip it from the path key and pick the\n// framework. Kept in sync with the glob below — non-matching files a user glob\n// happens to sweep in (e.g. a registry's `.ts` sources) are dropped here.\nconst EXAMPLE_FILE = /\\.(?<ext>astro|jsx|svelte|tsx|vue)$/u;\n\n// Renderable example files when `examples` names a plain directory.\nconst DEFAULT_EXAMPLE_GLOB = \"**/*.{astro,jsx,svelte,tsx,vue}\";\n\n/** Ceiling on concurrent example-file reads; unbounded fan-out risks EMFILE. */\nconst READ_CONCURRENCY = 16;\n\n/**\n * Files the preview-frame Tailwind entry scans for utility classes, appended\n * to each directory from `exampleScanRoots`.\n */\nexport const EXAMPLE_SCAN_GLOB = \"**/*.{astro,jsx,svelte,ts,tsx,vue}\";\n\n/**\n * Directories the `<Component />` preview sheet scans for utility classes:\n * the project root, plus the examples directory when it lives outside the\n * root (a sibling workspace package, say). Tailwind's `@source` is a file\n * glob, not an import graph, so an out-of-root examples directory would\n * otherwise contribute no utilities and previews would render half-styled.\n */\nexport const exampleScanRoots = (\n root: string,\n examplesDir: string\n): string[] => {\n const path = relative(root, examplesDir);\n const outside = path.startsWith(\"..\") || isAbsolute(path);\n return outside ? [root, examplesDir] : [root];\n};\n\n// Glob magic that turns `examples` from a plain directory into a pattern. `()`,\n// `@`, and `+` are excluded so literal path segments (npm scopes, parens) keep\n// resolving as directories; the extglob leads `*?!` still trigger here.\nconst GLOB_MAGIC = /[!*?[\\]{}]/u;\n\n/**\n * Split a glob into its static directory prefix and the remaining pattern, so\n * discovered files can be keyed relative to that prefix (e.g.\n * `registry/x/**\\/examples/*` → `{ base: \"registry/x\", rest: \"**\\/examples/*\" }`).\n */\nconst splitGlobBase = (pattern: string) => {\n const segments = pattern.split(\"/\");\n // Only called when the pattern contains glob magic (see the caller), and `/`\n // is never magic, so the magic char always lands in a segment — `findIndex`\n // is never -1 here.\n const firstMagic = segments.findIndex((segment) => GLOB_MAGIC.test(segment));\n return {\n base: segments.slice(0, firstMagic).join(\"/\"),\n rest: segments.slice(firstMagic).join(\"/\"),\n };\n};\n\n/**\n * Discover preview examples for the `examples` config (default `examples`).\n * Every `.astro`/`.tsx`/`.jsx`/`.vue`/`.svelte` file becomes addressable by\n * `<Component path=\"...\">`, where the path is the file's location without its\n * extension (e.g. `forms/login.tsx` → `forms/login`).\n *\n * `pattern` is a directory by default, but may be a glob (anything with\n * `*`/`?`/`[]`/`{}`/`!`) — then only matching files are discovered and each\n * `<Component path>` key is relative to the glob's static prefix. This lets a\n * registry layout that colocates component sources with their examples be\n * targeted directly (e.g. `registry/<pkg>/**\\/examples/*`) without the sources —\n * which have no default export and so can't be wrapped — being swept in.\n *\n * Discovery is path-based (a glob), so no example code is executed. Framework\n * examples carry a hydration mode (default `client:visible`, overridable via\n * `export const client`); `.astro` examples render statically with no client\n * directive.\n */\nexport const discoverExamples = async (\n root: string,\n pattern = \"examples\"\n): Promise<ExampleDiscovery> => {\n const { base, rest } = GLOB_MAGIC.test(pattern)\n ? splitGlobBase(pattern)\n : { base: pattern, rest: DEFAULT_EXAMPLE_GLOB };\n const dir = join(root, base);\n const matches = await glob([rest], {\n absolute: true,\n cwd: dir,\n onlyFiles: true,\n });\n const files = matches.toSorted();\n const sources = await pMap(files, (file) => readFile(file, \"utf-8\"), {\n concurrency: READ_CONCURRENCY,\n });\n\n const examples: ExampleSpec[] = [];\n const warnings: string[] = [];\n const seen = new Map<string, string>();\n\n // Extracted so the two skip paths become early `return`s (one `continue`\n // budget per loop under the lint rule) instead of `continue` statements.\n const collectExample = (file: string, source: string): void => {\n const ext = file.match(EXAMPLE_FILE)?.groups?.ext;\n const framework = ext ? FRAMEWORK_BY_EXT[ext] : undefined;\n if (!(ext && framework)) {\n return;\n }\n // Strip the trailing `.<ext>` to form the `<Component path>` key.\n const path = relative(dir, file).slice(0, -(ext.length + 1));\n const existing = seen.get(path);\n if (existing) {\n warnings.push(\n `Two examples both resolve to \"${path}\" (\"${existing}\" and \"${file}\"); ignoring the second. Give them distinct paths.`\n );\n return;\n }\n seen.set(path, file);\n examples.push({\n client:\n framework === \"astro\"\n ? undefined\n : readClientMode(source, file, warnings),\n file,\n framework,\n lang: ext,\n path,\n source,\n });\n };\n\n for (const [index, file] of files.entries()) {\n collectExample(file, sources[index] ?? \"\");\n }\n\n return { dir, examples, warnings };\n};\n\n/**\n * Reduce discovered examples to the `<Component path>` → source lookup the\n * agent-facing Markdown downleveler needs (see {@link BlumeProject.examples}).\n */\nexport const exampleMarkdownLookup = (examples: ExampleSpec[]): ExampleLookup =>\n Object.fromEntries(\n examples.map((example) => [\n example.path,\n { lang: example.lang, source: example.source },\n ])\n );\n",
9
- "import { createRequire } from \"node:module\";\nimport { pathToFileURL } from \"node:url\";\n\nimport { join } from \"pathe\";\n\nimport {\n commandsFor,\n detectProjectPackageManager,\n} from \"../cli/init/scaffold.ts\";\nimport { packageRoot } from \"../core/package-root.ts\";\nimport type { ResolvedConfig } from \"../core/schema.ts\";\nimport type { Diagnostic } from \"../core/types.ts\";\n\n/** Whether a module specifier resolves from a directory via node resolution. */\nexport const canResolveFrom = (fromDir: string, spec: string): boolean => {\n try {\n createRequire(pathToFileURL(join(fromDir, \"_.js\")).href).resolve(spec);\n return true;\n } catch {\n return false;\n }\n};\n\n/** A package a configured feature imports that the project can't resolve. */\nexport interface MissingDependency {\n /** The package whose absence was detected. */\n dep: string;\n /** Every package to install for the feature (a framework and its integration). */\n install: string[];\n /** What needs it, as the message names it: `Search adapter \"algolia\"`. */\n owner: string;\n}\n\n/**\n * The declared `deps` of one feature that resolve neither from the project\n * root nor from the Blume package itself. A dep is available when the project\n * installed it OR Blume ships it (the same set the `.blume` deps link exposes\n * to the build). Resolving from the project root alone falsely flagged a\n * shipped SDK like Orama (the default provider) as missing whenever it wasn't\n * hoisted into the project, e.g. under isolated linkers. Each package is\n * resolved from its real location rather than through the `.blume` junction,\n * which can't be traversed reliably for store-symlinked deps.\n */\nconst unresolved = (\n owner: string,\n deps: readonly string[],\n root: string,\n pkgDir: string\n): MissingDependency[] =>\n deps\n .filter(\n (dep) => !(canResolveFrom(root, dep) || canResolveFrom(pkgDir, dep))\n )\n .map((dep) => ({ dep, install: [dep], owner }));\n\n/**\n * The search adapter's SDK, when missing. Provider SDKs are optional peers,\n * so a hosted adapter's client import fails in Vite without one.\n */\nexport const searchProviderDependencies = (\n provider: ResolvedConfig[\"search\"][\"provider\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n unresolved(\n `Search adapter \"${provider.kind}\"`,\n provider.runtimeDeps,\n root,\n pkgDir\n );\n\n/** Content source SDKs (`@notionhq/client`, `@sanity/client`), when missing. */\nexport const sourceAdapterDependencies = (\n sources: ResolvedConfig[\"content\"][\"sources\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n sources.flatMap((source) =>\n unresolved(\n `Content source \"${source.kind}\"`,\n source.runtimeDeps,\n root,\n pkgDir\n )\n );\n\n/**\n * The assistant adapter's provider SDK, when missing — only `gateway` needs\n * nothing beyond the core `ai` package Blume ships. An external `endpoint`\n * means no generated route, so no SDK is imported.\n */\nexport const assistantProviderDependencies = (\n ask: ResolvedConfig[\"ai\"][\"assistant\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n ask?.enabled && !ask.endpoint\n ? unresolved(\n `Assistant provider \"${ask.provider.kind}\"`,\n ask.provider.runtimeDeps,\n root,\n pkgDir\n )\n : [];\n\n/**\n * The deployment adapter's package, when missing. Node and Vercel ship with\n * Blume, so theirs always resolve; Netlify and Cloudflare are optional peers.\n * The generated astro.config.mjs imports the package directly, so without it\n * the build dies with an opaque ERR_MODULE_NOT_FOUND from the hidden config.\n */\nexport const deploymentAdapterDependencies = (\n deployment: ResolvedConfig[\"deployment\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n unresolved(\n `Deployment adapter \"${deployment.kind}\"`,\n deployment.runtimeDeps,\n root,\n pkgDir\n );\n\n/** Astro integration package each non-React island framework needs installed. */\nconst ISLAND_FRAMEWORK_DEPS = new Map([\n [\"svelte\", \"@astrojs/svelte\"],\n [\"vue\", \"@astrojs/vue\"],\n]);\n\n/**\n * A Vue/Svelte island's Astro integration, when missing — the generated config\n * imports it. React ships with Blume, so it never needs this. The framework\n * itself is installed alongside its integration.\n */\nexport const islandFrameworkDependencies = (\n frameworks: Iterable<string>,\n root: string\n): MissingDependency[] =>\n [...frameworks].flatMap((framework) => {\n const dep = ISLAND_FRAMEWORK_DEPS.get(framework);\n return dep && !canResolveFrom(root, dep)\n ? [\n {\n dep,\n install: [dep, framework],\n owner: `Island framework \"${framework}\"`,\n },\n ]\n : [];\n });\n\n/**\n * Every package the resolved config's adapters (and the given island\n * frameworks) import that isn't installed: the search SDK, content source\n * SDKs, the assistant provider SDK, the deployment adapter, and island\n * integrations. The adapters' `runtimeDeps` are the one place that knows.\n */\nexport const missingRuntimeDependencies = (\n config: ResolvedConfig,\n root: string,\n frameworks: Iterable<string> = [],\n pkgDir: string = packageRoot()\n): MissingDependency[] => [\n ...searchProviderDependencies(config.search.provider, root, pkgDir),\n ...sourceAdapterDependencies(config.content.sources, root, pkgDir),\n ...assistantProviderDependencies(config.ai.assistant, root, pkgDir),\n ...deploymentAdapterDependencies(config.deployment, root, pkgDir),\n ...islandFrameworkDependencies(frameworks, root),\n];\n\n/**\n * One diagnostic for every package the config imports that isn't installed,\n * with the command that installs them all through the project's package\n * manager (`npm install`, `pnpm add`, …), or undefined when nothing is\n * missing. `blume build` raises it as an error and `blume dev` as a warning;\n * `blume doctor` reports it before a build ever runs.\n */\nexport const missingDependencyDiagnostic = async (\n config: ResolvedConfig,\n root: string,\n severity: Diagnostic[\"severity\"],\n frameworks: Iterable<string> = [],\n pkgDir: string = packageRoot()\n): Promise<Diagnostic | undefined> => {\n const missing = missingRuntimeDependencies(config, root, frameworks, pkgDir);\n if (missing.length === 0) {\n return undefined;\n }\n const { add } = commandsFor(await detectProjectPackageManager(root));\n const needs = missing.map(({ dep, owner }) => `${owner} needs \"${dep}\"`);\n const packages = [...new Set(missing.flatMap(({ install }) => install))];\n return {\n code: \"BLUME_DEPENDENCY_MISSING\",\n message:\n missing.length === 1\n ? `${needs[0]}, which isn't installed.`\n : `These packages aren't installed: ${needs.join(\"; \")}.`,\n severity,\n suggestion: `Install ${packages.length === 1 ? \"it\" : \"them\"}: \\`${add} ${packages.join(\" \")}\\`.`,\n };\n};\n"
9
+ "import { createRequire } from \"node:module\";\nimport { pathToFileURL } from \"node:url\";\n\nimport { join } from \"pathe\";\n\nimport {\n commandsFor,\n detectProjectPackageManager,\n} from \"../cli/init/scaffold.ts\";\nimport { packageRoot } from \"../core/package-root.ts\";\nimport type { ResolvedConfig } from \"../core/schema.ts\";\nimport type { Diagnostic } from \"../core/types.ts\";\n\n/** Whether a module specifier resolves from a directory via node resolution. */\nexport const canResolveFrom = (fromDir: string, spec: string): boolean => {\n try {\n createRequire(pathToFileURL(join(fromDir, \"_.js\")).href).resolve(spec);\n return true;\n } catch {\n return false;\n }\n};\n\n/** A package a configured feature imports that the project can't resolve. */\nexport interface MissingDependency {\n /** The package whose absence was detected. */\n dep: string;\n /** Every package to install for the feature (a framework and its integration). */\n install: string[];\n /** What needs it, as the message names it: `Search adapter \"algolia\"`. */\n owner: string;\n}\n\n/**\n * The declared `deps` of one feature that resolve neither from the project\n * root nor from the Blume package itself. A dep is available when the project\n * installed it OR Blume ships it (the same set the `.blume` deps link exposes\n * to the build). Resolving from the project root alone falsely flagged a\n * shipped SDK like Orama (the default provider) as missing whenever it wasn't\n * hoisted into the project, e.g. under isolated linkers. Each package is\n * resolved from its real location rather than through the `.blume` junction,\n * which can't be traversed reliably for store-symlinked deps.\n */\nconst unresolved = (\n owner: string,\n deps: readonly string[],\n root: string,\n pkgDir: string\n): MissingDependency[] =>\n deps\n .filter(\n (dep) => !(canResolveFrom(root, dep) || canResolveFrom(pkgDir, dep))\n )\n .map((dep) => ({ dep, install: [dep], owner }));\n\n/**\n * The search adapter's SDK, when missing. Provider SDKs are optional peers,\n * so a hosted adapter's client import fails in Vite without one.\n */\nexport const searchProviderDependencies = (\n provider: ResolvedConfig[\"search\"][\"provider\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n unresolved(\n `Search adapter \"${provider.kind}\"`,\n provider.runtimeDeps,\n root,\n pkgDir\n );\n\n/** Content source SDKs (`@notionhq/client`, `@sanity/client`), when missing. */\nexport const sourceAdapterDependencies = (\n sources: ResolvedConfig[\"content\"][\"sources\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n sources.flatMap((source) =>\n unresolved(\n `Content source \"${source.kind}\"`,\n source.runtimeDeps,\n root,\n pkgDir\n )\n );\n\n/**\n * The assistant adapter's provider SDK, when missing — only `gateway` needs\n * nothing beyond the core `ai` package Blume ships. An external `endpoint`\n * means no generated route, so no SDK is imported.\n */\nexport const assistantProviderDependencies = (\n ask: ResolvedConfig[\"ai\"][\"assistant\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n ask?.enabled && !ask.endpoint\n ? unresolved(\n `Assistant provider \"${ask.provider.kind}\"`,\n ask.provider.runtimeDeps,\n root,\n pkgDir\n )\n : [];\n\n/**\n * The narration provider's SDK, when missing: `openai()` speaks through\n * `@ai-sdk/openai`, which the build loads to generate the clips, while\n * `gateway()` needs nothing beyond the core `ai` package Blume ships.\n */\nexport const narrationProviderDependencies = (\n narration: ResolvedConfig[\"narration\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n narration.enabled && narration.provider\n ? unresolved(\n `Narration provider \"${narration.provider.kind}\"`,\n narration.provider.runtimeDeps,\n root,\n pkgDir\n )\n : [];\n\n/**\n * The deployment adapter's package, when missing. Node and Vercel ship with\n * Blume, so theirs always resolve; Netlify and Cloudflare are optional peers.\n * The generated astro.config.mjs imports the package directly, so without it\n * the build dies with an opaque ERR_MODULE_NOT_FOUND from the hidden config.\n */\nexport const deploymentAdapterDependencies = (\n deployment: ResolvedConfig[\"deployment\"],\n root: string,\n pkgDir: string = packageRoot()\n): MissingDependency[] =>\n unresolved(\n `Deployment adapter \"${deployment.kind}\"`,\n deployment.runtimeDeps,\n root,\n pkgDir\n );\n\n/** Astro integration package each non-React island framework needs installed. */\nconst ISLAND_FRAMEWORK_DEPS = new Map([\n [\"svelte\", \"@astrojs/svelte\"],\n [\"vue\", \"@astrojs/vue\"],\n]);\n\n/**\n * A Vue/Svelte island's Astro integration, when missing — the generated config\n * imports it. React ships with Blume, so it never needs this. The framework\n * itself is installed alongside its integration.\n */\nexport const islandFrameworkDependencies = (\n frameworks: Iterable<string>,\n root: string\n): MissingDependency[] =>\n [...frameworks].flatMap((framework) => {\n const dep = ISLAND_FRAMEWORK_DEPS.get(framework);\n return dep && !canResolveFrom(root, dep)\n ? [\n {\n dep,\n install: [dep, framework],\n owner: `Island framework \"${framework}\"`,\n },\n ]\n : [];\n });\n\n/**\n * Every package the resolved config's adapters (and the given island\n * frameworks) import that isn't installed: the search SDK, content source\n * SDKs, the assistant and narration provider SDKs, the deployment adapter,\n * and island integrations. The adapters' `runtimeDeps` are the one place that\n * knows.\n */\nexport const missingRuntimeDependencies = (\n config: ResolvedConfig,\n root: string,\n frameworks: Iterable<string> = [],\n pkgDir: string = packageRoot()\n): MissingDependency[] => [\n ...searchProviderDependencies(config.search.provider, root, pkgDir),\n ...sourceAdapterDependencies(config.content.sources, root, pkgDir),\n ...assistantProviderDependencies(config.ai.assistant, root, pkgDir),\n ...narrationProviderDependencies(config.narration, root, pkgDir),\n ...deploymentAdapterDependencies(config.deployment, root, pkgDir),\n ...islandFrameworkDependencies(frameworks, root),\n];\n\n/**\n * One diagnostic for every package the config imports that isn't installed,\n * with the command that installs them all through the project's package\n * manager (`npm install`, `pnpm add`, …), or undefined when nothing is\n * missing. `blume build` raises it as an error and `blume dev` as a warning;\n * `blume doctor` reports it before a build ever runs.\n */\nexport const missingDependencyDiagnostic = async (\n config: ResolvedConfig,\n root: string,\n severity: Diagnostic[\"severity\"],\n frameworks: Iterable<string> = [],\n pkgDir: string = packageRoot()\n): Promise<Diagnostic | undefined> => {\n const missing = missingRuntimeDependencies(config, root, frameworks, pkgDir);\n if (missing.length === 0) {\n return undefined;\n }\n const { add } = commandsFor(await detectProjectPackageManager(root));\n const needs = missing.map(({ dep, owner }) => `${owner} needs \"${dep}\"`);\n const packages = [...new Set(missing.flatMap(({ install }) => install))];\n return {\n code: \"BLUME_DEPENDENCY_MISSING\",\n message:\n missing.length === 1\n ? `${needs[0]}, which isn't installed.`\n : `These packages aren't installed: ${needs.join(\"; \")}.`,\n severity,\n suggestion: `Install ${packages.length === 1 ? \"it\" : \"them\"}: \\`${add} ${packages.join(\" \")}\\`.`,\n };\n};\n"
10
10
  ],
11
- "mappings": ";;;;;;;;;;AAAA;;;ACMO,IAAM,mBAAmB,IAAI,IAAY;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;;;AD3CD,IAAM,UAAU,CAAC,QACf,IACG,WAAW,uCAAuC,mBAAmB,EACrE,YAAY;AASV,IAAM,yBAAyB,CACpC,OACA,WACA,kBACiB;AAAA,EACjB,MAAM,cAA4B,CAAC;AAAA,EACnC,MAAM,OAAO,IAAI;AAAA,EACjB,WAAW,QAAQ,OAAO;AAAA,IACxB,WAAW,OAAO,KAAK,kBAAkB,CAAC,GAAG;AAAA,MAC3C,IAAI,iBAAiB,IAAI,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,KAAK,IAAI,GAAG,GAAG;AAAA,QACpE;AAAA,MACF;AAAA,MACA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;AAAA,EAClE,GAAG,0BAA0B,OAAO,QAAQ,SAAS,MAAM,MAAM;AAAA,EACjE,GAAG,8BAA8B,OAAO,GAAG,WAAW,MAAM,MAAM;AAAA,EAClE,GAAG,8BAA8B,OAAO,WAAW,MAAM,MAAM;AAAA,EAC/D,GAAG,8BAA8B,OAAO,YAAY,MAAM,MAAM;AAAA,EAChE,GAAG,4BAA4B,YAAY,IAAI;AACjD;AASO,IAAM,8BAA8B,OACzC,QACA,MACA,UACA,aAA+B,CAAC,GAChC,SAAiB,YAAY,MACO;AAAA,EACpC,MAAM,UAAU,2BAA2B,QAAQ,MAAM,YAAY,MAAM;AAAA,EAC3E,IAAI,QAAQ,WAAW,GAAG;AAAA,IACxB;AAAA,EACF;AAAA,EACA,QAAQ,QAAQ,YAAY,MAAM,4BAA4B,IAAI,CAAC;AAAA,EACnE,MAAM,QAAQ,QAAQ,IAAI,GAAG,KAAK,YAAY,GAAG,gBAAgB,MAAM;AAAA,EACvE,MAAM,WAAW,CAAC,GAAG,IAAI,IAAI,QAAQ,QAAQ,GAAG,cAAc,OAAO,CAAC,CAAC;AAAA,EACvE,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SACE,QAAQ,WAAW,IACf,GAAG,MAAM,+BACT,oCAAoC,MAAM,KAAK,IAAI;AAAA,IACzD;AAAA,IACA,YAAY,WAAW,SAAS,WAAW,IAAI,OAAO,aAAa,OAAO,SAAS,KAAK,GAAG;AAAA,EAC7F;AAAA;",
12
+ "debugId": "88F80DB4180F01D164756E2164756E21",
13
13
  "names": []
14
14
  }
@@ -15,11 +15,11 @@ import {
15
15
  applyAudienceVisibility,
16
16
  agentMarkdown,
17
17
  buildRawMarkdown
18
- } from "./chunk-ehweg4fr.js";
18
+ } from "./chunk-124fvmzq.js";
19
19
  import {
20
20
  directiveSource,
21
21
  contentIndexable
22
- } from "./chunk-ncj7w596.js";
22
+ } from "./chunk-0pmb4tr4.js";
23
23
  import {
24
24
  normalizeBasePath
25
25
  } from "./chunk-zccbjcj0.js";
@@ -401,4 +401,4 @@ var buildMcpData = async (project) => {
401
401
  export { EXPANDABLE_VISIBLE_LINES, buildSearchDocuments, buildMcpData };
402
402
 
403
403
  //# debugId=8C4562DED97D02A064756E2164756E21
404
- //# sourceMappingURL=chunk-n0v7m8ry.js.map
404
+ //# sourceMappingURL=chunk-desvm72z.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  commandsFor
4
- } from "./chunk-ehweg4fr.js";
4
+ } from "./chunk-124fvmzq.js";
5
5
 
6
6
  // src/cli/init/install.ts
7
7
  import { spawn } from "node:child_process";
@@ -36,4 +36,4 @@ var installDependencies = async (root, pm, { quiet }) => {
36
36
  export { installDependencies };
37
37
 
38
38
  //# debugId=3BBCF1D4B57D128664756E2164756E21
39
- //# sourceMappingURL=chunk-3v3ffbrj.js.map
39
+ //# sourceMappingURL=chunk-dhwtqnnd.js.map
@@ -16,7 +16,7 @@ import {
16
16
  distDir,
17
17
  adapterRoot,
18
18
  deployPlatform
19
- } from "./chunk-ehweg4fr.js";
19
+ } from "./chunk-124fvmzq.js";
20
20
  import {
21
21
  trimChar,
22
22
  normalizeBasePath
@@ -429,7 +429,10 @@ var renderRuntimeModuleWiring = (generatedModulesDir) => {
429
429
  return { aliasLines, imports: [], pluginEntry: "" };
430
430
  };
431
431
  var blumeIntegrationOptions = (options) => {
432
- const shared = { pages: options.pages };
432
+ const shared = {
433
+ pages: options.pages,
434
+ poweredBy: options.config.poweredBy
435
+ };
433
436
  if (options.redirects.length > 0) {
434
437
  shared.redirects = options.redirects;
435
438
  }
@@ -2798,5 +2801,5 @@ var runtimeTsconfigTemplate = () => `${JSON.stringify({
2798
2801
 
2799
2802
  export { deployOutputDir, deployStaticDir, surfaceAdapterOutput, planComponentSlots, publishRuntimeModules, runtimeDependencies, EJECTED_CONFIG_HEADER, astroConfigTemplate, stagedContentDir, contentConfigTemplate, askEndpointTemplate, askComponentTemplate, searchEndpointTemplate, featuresTemplate, consentClientTemplate, searchClientTemplate, mixedbreadSearchEndpointTemplate, rawMarkdownEndpointTemplate, contentAssetsEndpointTemplate, mcpPageFile, mcpEndpointTemplate, playgroundProxyTemplate, staticJsonEndpointTemplate, rssEndpointTemplate, navFragmentTemplate, ogEndpointTemplate, scalarReferenceTemplate, catchAllPageTemplate, changelogIndexTemplate, notFoundPageTemplate, notFoundMarkdownTemplate, notFoundJsonTemplate, apiPagesIndexTemplate, apiPageTemplate, apiNavigationTemplate, apiSearchTemplate, apiNotFoundTemplate, exampleSlug, exampleWrapperTemplate, examplesRouteBase, exampleMapTemplate, examplesPageTemplate, runtimePackageTemplate, runtimeTsconfigTemplate };
2800
2803
 
2801
- //# debugId=5E4553A34E0C7B9D64756E2164756E21
2802
- //# sourceMappingURL=chunk-gb420vvz.js.map
2804
+ //# debugId=FCEABB4236B6B32C64756E2164756E21
2805
+ //# sourceMappingURL=chunk-dpy8qdjf.js.map