blume 2.1.0 → 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 (450) hide show
  1. package/CHANGELOG.md +110 -0
  2. package/dist/cli/{chunk-ga0pf4aj.js → chunk-0n9xkp3d.js} +12 -3
  3. package/dist/cli/{chunk-ga0pf4aj.js.map → chunk-0n9xkp3d.js.map} +3 -3
  4. package/dist/cli/{chunk-43zcf4gz.js → chunk-0pmb4tr4.js} +541 -368
  5. package/dist/cli/chunk-0pmb4tr4.js.map +35 -0
  6. package/dist/cli/{chunk-9geymqns.js → chunk-0w6hs479.js} +15 -15
  7. package/dist/cli/{chunk-xkz5xbtv.js → chunk-124fvmzq.js} +2802 -1422
  8. package/dist/cli/chunk-124fvmzq.js.map +220 -0
  9. package/dist/cli/chunk-150jk7km.js +52 -0
  10. package/dist/cli/chunk-150jk7km.js.map +10 -0
  11. package/dist/cli/{chunk-y4ykbark.js → chunk-1f882900.js} +2 -2
  12. package/dist/cli/{chunk-5ffywsmb.js → chunk-297ajdcv.js} +8 -6
  13. package/dist/cli/{chunk-5ffywsmb.js.map → chunk-297ajdcv.js.map} +3 -3
  14. package/dist/cli/{chunk-h2a48yhd.js → chunk-32khwcb6.js} +120 -16
  15. package/dist/cli/{chunk-h2a48yhd.js.map → chunk-32khwcb6.js.map} +10 -10
  16. package/dist/cli/{chunk-5cg2rzgf.js → chunk-36bxs9c7.js} +20 -49
  17. package/dist/cli/{chunk-5cg2rzgf.js.map → chunk-36bxs9c7.js.map} +4 -5
  18. package/dist/cli/{chunk-py62fewh.js → chunk-53jqw8z0.js} +3 -3
  19. package/dist/cli/{chunk-5wj2qwn2.js → chunk-58bt3hag.js} +4 -4
  20. package/dist/cli/{chunk-e7vvk5ya.js → chunk-5cmts6dv.js} +3 -3
  21. package/dist/cli/{chunk-y5h4r2y0.js → chunk-60hz265r.js} +15 -5
  22. package/dist/cli/chunk-60hz265r.js.map +10 -0
  23. package/dist/cli/chunk-74wfhv79.js +65 -0
  24. package/dist/cli/chunk-74wfhv79.js.map +10 -0
  25. package/dist/cli/{chunk-g2z9x01v.js → chunk-9qzgg6mj.js} +3 -3
  26. package/dist/cli/{chunk-q3wxxq39.js → chunk-a57yh0h9.js} +5 -5
  27. package/dist/cli/{chunk-713mngdq.js → chunk-ave1wcbr.js} +76 -10
  28. package/dist/cli/chunk-ave1wcbr.js.map +14 -0
  29. package/dist/cli/{chunk-2n4ps1b3.js → chunk-bqxaqn5p.js} +40 -22
  30. package/dist/cli/chunk-bqxaqn5p.js.map +15 -0
  31. package/dist/cli/{chunk-jnwj5kjj.js → chunk-bxwhtvw8.js} +20 -7
  32. package/dist/cli/{chunk-jnwj5kjj.js.map → chunk-bxwhtvw8.js.map} +3 -3
  33. package/dist/cli/chunk-ckrcm08h.js +324 -0
  34. package/dist/cli/chunk-ckrcm08h.js.map +14 -0
  35. package/dist/cli/{chunk-2f3ndkpw.js → chunk-desvm72z.js} +3 -3
  36. package/dist/cli/{chunk-gp84za0h.js → chunk-dhwtqnnd.js} +2 -2
  37. package/dist/cli/{chunk-4h8z9vv5.js → chunk-dpy8qdjf.js} +93 -47
  38. package/dist/cli/chunk-dpy8qdjf.js.map +17 -0
  39. package/dist/cli/{chunk-2f7n4qzt.js → chunk-dqhg54mr.js} +1 -1
  40. package/dist/cli/{chunk-0gz36akr.js → chunk-dv2z0rzf.js} +21 -5
  41. package/dist/cli/chunk-dv2z0rzf.js.map +12 -0
  42. package/dist/cli/{chunk-cm89scdv.js → chunk-es8h0v3j.js} +9 -11
  43. package/dist/cli/{chunk-cm89scdv.js.map → chunk-es8h0v3j.js.map} +3 -3
  44. package/dist/cli/{chunk-zhvd6adm.js → chunk-gfc5fqvf.js} +14 -14
  45. package/dist/cli/{chunk-nd1821sk.js → chunk-gxtg6ed2.js} +33 -19
  46. package/dist/cli/chunk-gxtg6ed2.js.map +10 -0
  47. package/dist/cli/{chunk-p804f3pe.js → chunk-hvcxng5f.js} +6 -6
  48. package/dist/cli/{chunk-ta27feev.js → chunk-j1x92mx9.js} +21 -2
  49. package/dist/cli/chunk-j1x92mx9.js.map +10 -0
  50. package/dist/cli/{chunk-rekqz4qg.js → chunk-k3gr1nm9.js} +19 -16
  51. package/dist/cli/chunk-k3gr1nm9.js.map +10 -0
  52. package/dist/cli/{chunk-1n228xqb.js → chunk-kdpzw38a.js} +2 -2
  53. package/dist/cli/{chunk-cy5bm0j0.js → chunk-ms9z66nz.js} +2 -2
  54. package/dist/cli/{chunk-cy5bm0j0.js.map → chunk-ms9z66nz.js.map} +2 -2
  55. package/dist/cli/{chunk-zf748avv.js → chunk-nbyvgnnm.js} +193 -286
  56. package/dist/cli/chunk-nbyvgnnm.js.map +36 -0
  57. package/dist/cli/{chunk-6bm0xpgd.js → chunk-s0bdnc7v.js} +2 -2
  58. package/dist/cli/{chunk-yxmk4pec.js → chunk-sc93apfs.js} +17 -16
  59. package/dist/cli/{chunk-yxmk4pec.js.map → chunk-sc93apfs.js.map} +3 -3
  60. package/dist/cli/{chunk-cmtcnh9f.js → chunk-tfycddbt.js} +2 -2
  61. package/dist/cli/{chunk-9xr4dgee.js → chunk-twy7psdz.js} +29 -16
  62. package/dist/cli/chunk-twy7psdz.js.map +10 -0
  63. package/dist/cli/{chunk-ntv4qrt7.js → chunk-y4msrwm9.js} +15 -15
  64. package/dist/cli/{chunk-yj17vs39.js → chunk-ydp3065p.js} +5 -5
  65. package/dist/cli/index.js +24 -19
  66. package/dist/cli/index.js.map +3 -3
  67. package/dist/types/ai/ask-context.d.ts +6 -2
  68. package/dist/types/ai/ask.d.ts +24 -5
  69. package/dist/types/ai/component-markdown.d.ts +2 -0
  70. package/dist/types/ai/openapi-components.d.ts +4 -1
  71. package/dist/types/analytics/clics.d.ts +37 -0
  72. package/dist/types/analytics/index.d.ts +2 -0
  73. package/dist/types/analytics/schema.d.ts +18 -0
  74. package/dist/types/astro/integration.d.ts +11 -4
  75. package/dist/types/astro/markdown-negotiation.d.ts +3 -0
  76. package/dist/types/astro/pages.d.ts +10 -0
  77. package/dist/types/cli/init/scaffold.d.ts +1 -1
  78. package/dist/types/components/content/api-field.d.ts +4 -1
  79. package/dist/types/components/content/api-page.d.ts +6 -1
  80. package/dist/types/components/openapi/code-samples.d.ts +29 -0
  81. package/dist/types/components/openapi/helpers.d.ts +22 -1
  82. package/dist/types/components/openapi/security.d.ts +10 -0
  83. package/dist/types/components/openapi/snippets.d.ts +60 -0
  84. package/dist/types/core/changelog-index.d.ts +8 -0
  85. package/dist/types/core/config-input.d.ts +37 -6
  86. package/dist/types/core/data.d.ts +4 -0
  87. package/dist/types/core/i18n-ui.d.ts +2 -0
  88. package/dist/types/core/links.d.ts +8 -0
  89. package/dist/types/core/powered-by.d.ts +12 -0
  90. package/dist/types/core/probe.d.ts +2 -0
  91. package/dist/types/core/project-graph.d.ts +6 -0
  92. package/dist/types/core/redirect-patterns.d.ts +11 -3
  93. package/dist/types/core/schema.d.ts +228 -3
  94. package/dist/types/core/sources/cache.d.ts +3 -0
  95. package/dist/types/core/sources/contentful-rich-text.d.ts +11 -2
  96. package/dist/types/core/sources/contentful.d.ts +17 -1
  97. package/dist/types/core/sources/lexical.d.ts +5 -0
  98. package/dist/types/core/sources/lower.d.ts +10 -2
  99. package/dist/types/core/sources/normalize.d.ts +20 -1
  100. package/dist/types/core/sources/notion.d.ts +8 -0
  101. package/dist/types/core/sources/remote.d.ts +37 -10
  102. package/dist/types/core/sources/sanity.d.ts +1 -1
  103. package/dist/types/core/types.d.ts +17 -0
  104. package/dist/types/deploy/adapter-output.d.ts +2 -1
  105. package/dist/types/deploy/adapters/cloudflare.d.ts +7 -5
  106. package/dist/types/deploy/adapters/node.d.ts +58 -23
  107. package/dist/types/deploy/adapters/registry.d.ts +10 -0
  108. package/dist/types/deploy/adapters/types.d.ts +3 -2
  109. package/dist/types/deploy/cloudflare-negotiation.d.ts +5 -2
  110. package/dist/types/deploy/node-headers.d.ts +12 -4
  111. package/dist/types/deploy/platforms/cloudflare.d.ts +10 -7
  112. package/dist/types/deploy/platforms/node.d.ts +3 -1
  113. package/dist/types/deploy/platforms/types.d.ts +18 -7
  114. package/dist/types/deploy/platforms/vercel.d.ts +21 -2
  115. package/dist/types/deploy/redirects.d.ts +17 -1
  116. package/dist/types/deploy/sitemap.d.ts +2 -1
  117. package/dist/types/deploy/vercel-negotiation.d.ts +44 -21
  118. package/dist/types/narration/build.d.ts +34 -12
  119. package/dist/types/narration/provider.d.ts +96 -8
  120. package/dist/types/openapi/checks.d.ts +27 -0
  121. package/dist/types/openapi/graphql.d.ts +6 -0
  122. package/dist/types/openapi/model.d.ts +15 -4
  123. package/dist/types/openapi/parse.d.ts +3 -0
  124. package/dist/types/openapi/references.d.ts +16 -0
  125. package/dist/types/openapi/sentence.d.ts +11 -1
  126. package/dist/types/ratelimit/index.d.ts +1 -1
  127. package/dist/types/ratelimit/schema.d.ts +8 -0
  128. package/dist/types/ratelimit/upstash.d.ts +39 -14
  129. package/dist/types/reference/graphql.d.ts +76 -1
  130. package/dist/types/reference/index.d.ts +1 -1
  131. package/dist/types/reference/openapi.d.ts +2 -2
  132. package/dist/types/reference/options.d.ts +37 -1
  133. package/dist/types/reference/schema.d.ts +84 -0
  134. package/dist/types/search/adapters/registry.d.ts +3 -0
  135. package/dist/types/search/adapters/typesense.d.ts +14 -4
  136. package/dist/types/search/build.d.ts +3 -1
  137. package/dist/types/search/orama-index.d.ts +9 -9
  138. package/dist/types/search/sync/algolia.d.ts +5 -2
  139. package/dist/types/search/sync/index.d.ts +3 -1
  140. package/dist/types/search/sync/typesense.d.ts +11 -7
  141. package/dist/types/seo/jsonld.d.ts +11 -6
  142. package/dist/types/sources/contentful.d.ts +16 -0
  143. package/dist/types/sources/github-releases.d.ts +8 -1
  144. package/dist/types/sources/notion.d.ts +8 -0
  145. package/dist/types/sources/payload.d.ts +2 -0
  146. package/dist/types/sources/registry.d.ts +63 -0
  147. package/dist/types/sources/shared.d.ts +3 -0
  148. package/dist/types/sources/strapi.d.ts +2 -0
  149. package/docs/01-quickstart.mdx +4 -2
  150. package/docs/02-deployment.mdx +59 -13
  151. package/docs/03-upgrading.mdx +2 -1
  152. package/docs/04-migrating.mdx +9 -9
  153. package/docs/08-faq.mdx +12 -12
  154. package/docs/advanced/changelog.mdx +30 -2
  155. package/docs/advanced/custom-pages.mdx +1 -1
  156. package/docs/advanced/skills.mdx +1 -1
  157. package/docs/cli/audit.mdx +30 -7
  158. package/docs/cli/doctor.mdx +6 -2
  159. package/docs/cli/evals.mdx +4 -4
  160. package/docs/cli/translate.mdx +1 -0
  161. package/docs/cli/validate.mdx +4 -3
  162. package/docs/configuration/analytics.mdx +19 -1
  163. package/docs/configuration/assistant.mdx +6 -2
  164. package/docs/configuration/customization.mdx +4 -2
  165. package/docs/configuration/export.mdx +5 -3
  166. package/docs/configuration/index.mdx +4 -2
  167. package/docs/configuration/narration.mdx +43 -6
  168. package/docs/configuration/rate-limiting.mdx +23 -2
  169. package/docs/configuration/search.mdx +37 -14
  170. package/docs/content/components.mdx +2 -2
  171. package/docs/content/frontmatter.mdx +5 -3
  172. package/docs/content/i18n.mdx +2 -2
  173. package/docs/content/includes.mdx +1 -1
  174. package/docs/content/navigation.mdx +8 -6
  175. package/docs/content/sources/contentful.mdx +9 -4
  176. package/docs/content/sources/custom.mdx +7 -3
  177. package/docs/content/sources/github-releases.mdx +12 -2
  178. package/docs/content/sources/index.mdx +3 -3
  179. package/docs/content/sources/notion.mdx +17 -2
  180. package/docs/content/sources/obsidian.mdx +3 -1
  181. package/docs/content/sources/payload.mdx +5 -2
  182. package/docs/content/sources/remote-mdx.mdx +6 -0
  183. package/docs/content/sources/sanity.mdx +4 -2
  184. package/docs/content/sources/strapi.mdx +5 -2
  185. package/docs/content/syntax.mdx +2 -2
  186. package/docs/discoverability/agent-discovery.mdx +1 -1
  187. package/docs/discoverability/index.mdx +1 -1
  188. package/docs/discoverability/json-api.mdx +2 -0
  189. package/docs/discoverability/llms-txt.mdx +1 -1
  190. package/docs/discoverability/markdown.mdx +3 -1
  191. package/docs/discoverability/mcp.mdx +6 -0
  192. package/docs/discoverability/sitemap-and-robots.mdx +1 -1
  193. package/docs/discoverability/structured-data.mdx +8 -6
  194. package/docs/references/api-pages.mdx +1 -1
  195. package/docs/references/asyncapi.mdx +5 -1
  196. package/docs/references/graphql.mdx +15 -1
  197. package/docs/references/openapi.mdx +64 -8
  198. package/package.json +9 -9
  199. package/skills/blume/SKILL.md +1 -1
  200. package/skills/blume-migrate/SKILL.md +2 -2
  201. package/skills/blume-migrate/assets/{oxfmt@0.67.0.patch → oxfmt@0.71.0.patch} +7 -7
  202. package/skills/blume-migrate/references/docusaurus.md +4 -4
  203. package/skills/blume-migrate/references/fumadocs.md +17 -13
  204. package/skills/blume-migrate/references/monorepo.md +5 -5
  205. package/skills/blume-migrate/references/nextra.md +8 -5
  206. package/skills/blume-migrate/references/starlight.md +9 -7
  207. package/src/ai/ask-context.ts +33 -3
  208. package/src/ai/ask-limits.ts +13 -0
  209. package/src/ai/ask.ts +24 -6
  210. package/src/ai/changelog-markdown.ts +11 -6
  211. package/src/ai/component-markdown.ts +1 -1
  212. package/src/ai/cors.ts +12 -3
  213. package/src/ai/mcp/query.ts +14 -6
  214. package/src/ai/openapi-components.ts +28 -4
  215. package/src/ai/relative-links.ts +4 -38
  216. package/src/analytics/clics.ts +58 -0
  217. package/src/analytics/head.ts +5 -0
  218. package/src/analytics/index.ts +2 -0
  219. package/src/analytics/schema.ts +2 -0
  220. package/src/astro/generate.ts +91 -56
  221. package/src/astro/integration.ts +72 -22
  222. package/src/astro/markdown-negotiation.ts +3 -0
  223. package/src/astro/module-types.ts +3 -1
  224. package/src/astro/pages.ts +23 -0
  225. package/src/astro/render-deps.ts +10 -5
  226. package/src/astro/runtime-deps.ts +23 -2
  227. package/src/astro/templates.ts +129 -81
  228. package/src/audit/catalog.ts +19 -3
  229. package/src/audit/checks/links.ts +14 -1
  230. package/src/audit/checks/network.ts +110 -6
  231. package/src/audit/checks/redirects.ts +6 -4
  232. package/src/audit/checks/robots.ts +58 -2
  233. package/src/audit/run.ts +3 -0
  234. package/src/audit/types.ts +2 -0
  235. package/src/audit/url.ts +14 -5
  236. package/src/blume-modules.d.ts +5 -1
  237. package/src/cli/args.ts +51 -0
  238. package/src/cli/build-failure.ts +23 -0
  239. package/src/cli/commands/audit.ts +10 -1
  240. package/src/cli/commands/dev.ts +18 -2
  241. package/src/cli/commands/doctor.ts +45 -12
  242. package/src/cli/commands/eval.ts +36 -4
  243. package/src/cli/commands/init.ts +6 -4
  244. package/src/cli/commands/validate.ts +10 -1
  245. package/src/cli/init/scaffold.ts +9 -6
  246. package/src/cli/prepare.ts +6 -3
  247. package/src/cli/required-secrets.ts +3 -2
  248. package/src/components/content/ApiPlayground.astro +6 -2
  249. package/src/components/content/api-field.ts +4 -1
  250. package/src/components/content/api-page.ts +31 -7
  251. package/src/components/content/mermaid-element.ts +15 -1
  252. package/src/components/content/view-switcher.ts +7 -4
  253. package/src/components/islands/hooks.ts +27 -1
  254. package/src/components/layout/NavTree.astro +49 -5
  255. package/src/components/layout/NavTreeScript.astro +18 -0
  256. package/src/components/layout/PageActions.astro +139 -24
  257. package/src/components/layout/PageLayout.astro +13 -3
  258. package/src/components/layout/RootLayout.astro +27 -14
  259. package/src/components/layout/Search.astro +17 -3
  260. package/src/components/layout/TableOfContents.astro +24 -17
  261. package/src/components/layout/analytics-client.ts +8 -8
  262. package/src/components/layout/head-scripts.ts +6 -1
  263. package/src/components/layout/search/algolia.ts +10 -1
  264. package/src/components/layout/search/analytics.ts +42 -14
  265. package/src/components/layout/search/endpoint.ts +48 -5
  266. package/src/components/layout/search/pagefind.ts +114 -5
  267. package/src/components/layout/search/types.ts +12 -0
  268. package/src/components/layout/search/typesense.ts +18 -6
  269. package/src/components/openapi/AsyncApiOperation.astro +14 -7
  270. package/src/components/openapi/Authorization.astro +10 -0
  271. package/src/components/openapi/GraphqlOperation.astro +5 -0
  272. package/src/components/openapi/Operation.astro +24 -1
  273. package/src/components/openapi/ParametersTable.astro +8 -4
  274. package/src/components/openapi/Playground.astro +7 -1
  275. package/src/components/openapi/RequestBody.astro +19 -2
  276. package/src/components/openapi/Responses.astro +1 -0
  277. package/src/components/openapi/SchemaTable.astro +15 -3
  278. package/src/components/openapi/async-snippets.ts +61 -5
  279. package/src/components/openapi/async.ts +123 -29
  280. package/src/components/openapi/graphql-helpers.ts +35 -12
  281. package/src/components/openapi/helpers.ts +36 -2
  282. package/src/components/openapi/message-model.ts +54 -11
  283. package/src/components/openapi/message.ts +14 -4
  284. package/src/components/openapi/operation-model.ts +16 -7
  285. package/src/components/openapi/playground-client.ts +77 -58
  286. package/src/components/openapi/playground-schema.ts +1 -1
  287. package/src/components/openapi/schema-tree.ts +44 -14
  288. package/src/components/openapi/security.ts +10 -0
  289. package/src/components/openapi/snippets.ts +5 -3
  290. package/src/components/openapi/validate-json.ts +4 -3
  291. package/src/components/powered-by-middleware.ts +33 -0
  292. package/src/core/changelog-index.ts +31 -1
  293. package/src/core/component-diagnostics.ts +53 -0
  294. package/src/core/component-overrides.ts +32 -0
  295. package/src/core/config-input.ts +42 -6
  296. package/src/core/data.ts +2 -0
  297. package/src/core/diagnostics.ts +5 -0
  298. package/src/core/i18n-ui.ts +2 -0
  299. package/src/core/includes.ts +1 -1
  300. package/src/core/links.ts +47 -17
  301. package/src/core/powered-by.ts +12 -0
  302. package/src/core/probe.ts +26 -6
  303. package/src/core/project-graph.ts +59 -18
  304. package/src/core/redirect-patterns.ts +36 -7
  305. package/src/core/schema.ts +26 -6
  306. package/src/core/sources/cache.ts +6 -0
  307. package/src/core/sources/contentful-rich-text.ts +29 -6
  308. package/src/core/sources/contentful.ts +135 -25
  309. package/src/core/sources/filesystem.ts +26 -4
  310. package/src/core/sources/github-releases.ts +12 -1
  311. package/src/core/sources/lexical.ts +15 -10
  312. package/src/core/sources/lower.ts +19 -3
  313. package/src/core/sources/mdx-remote.ts +62 -10
  314. package/src/core/sources/normalize.ts +227 -41
  315. package/src/core/sources/notion.ts +34 -10
  316. package/src/core/sources/obsidian.ts +16 -3
  317. package/src/core/sources/payload.ts +38 -15
  318. package/src/core/sources/remote.ts +72 -15
  319. package/src/core/sources/resolve.ts +11 -1
  320. package/src/core/sources/sanity.ts +43 -25
  321. package/src/core/sources/strapi.ts +2 -2
  322. package/src/core/types.ts +18 -0
  323. package/src/core/ui-packs/ar.ts +1 -0
  324. package/src/core/ui-packs/bg.ts +1 -0
  325. package/src/core/ui-packs/bn.ts +1 -0
  326. package/src/core/ui-packs/ca.ts +1 -0
  327. package/src/core/ui-packs/cs.ts +1 -0
  328. package/src/core/ui-packs/da.ts +1 -0
  329. package/src/core/ui-packs/de.ts +1 -0
  330. package/src/core/ui-packs/el.ts +1 -0
  331. package/src/core/ui-packs/es.ts +1 -0
  332. package/src/core/ui-packs/fa.ts +1 -0
  333. package/src/core/ui-packs/fi.ts +1 -0
  334. package/src/core/ui-packs/fr.ts +1 -0
  335. package/src/core/ui-packs/he.ts +1 -0
  336. package/src/core/ui-packs/hi.ts +1 -0
  337. package/src/core/ui-packs/hr.ts +1 -0
  338. package/src/core/ui-packs/hu.ts +1 -0
  339. package/src/core/ui-packs/id.ts +1 -0
  340. package/src/core/ui-packs/it.ts +1 -0
  341. package/src/core/ui-packs/ja.ts +1 -0
  342. package/src/core/ui-packs/ko.ts +1 -0
  343. package/src/core/ui-packs/nl.ts +1 -0
  344. package/src/core/ui-packs/no.ts +1 -0
  345. package/src/core/ui-packs/pl.ts +1 -0
  346. package/src/core/ui-packs/pt-br.ts +1 -0
  347. package/src/core/ui-packs/pt.ts +1 -0
  348. package/src/core/ui-packs/ro.ts +1 -0
  349. package/src/core/ui-packs/ru.ts +1 -0
  350. package/src/core/ui-packs/sk.ts +1 -0
  351. package/src/core/ui-packs/sr.ts +1 -0
  352. package/src/core/ui-packs/sv.ts +1 -0
  353. package/src/core/ui-packs/th.ts +1 -0
  354. package/src/core/ui-packs/tr.ts +1 -0
  355. package/src/core/ui-packs/uk.ts +1 -0
  356. package/src/core/ui-packs/vi.ts +1 -0
  357. package/src/core/ui-packs/zh-tw.ts +1 -0
  358. package/src/core/ui-packs/zh.ts +1 -0
  359. package/src/deploy/adapter-output.ts +7 -2
  360. package/src/deploy/adapters/cloudflare.ts +7 -5
  361. package/src/deploy/adapters/node.ts +47 -9
  362. package/src/deploy/adapters/types.ts +7 -3
  363. package/src/deploy/artifacts.ts +2 -1
  364. package/src/deploy/cloudflare-negotiation.ts +36 -7
  365. package/src/deploy/headers.ts +15 -1
  366. package/src/deploy/node-headers.ts +32 -20
  367. package/src/deploy/platforms/cloudflare.ts +14 -9
  368. package/src/deploy/platforms/netlify.ts +2 -1
  369. package/src/deploy/platforms/node.ts +12 -2
  370. package/src/deploy/platforms/types.ts +21 -7
  371. package/src/deploy/platforms/vercel.ts +115 -17
  372. package/src/deploy/redirects.ts +66 -6
  373. package/src/deploy/rss.ts +3 -1
  374. package/src/deploy/sitemap.ts +39 -5
  375. package/src/deploy/vercel-negotiation.ts +325 -103
  376. package/src/eval/agents.ts +18 -1
  377. package/src/eval/prompts.ts +6 -3
  378. package/src/eval/report.ts +34 -13
  379. package/src/eval/run.ts +5 -0
  380. package/src/markdown/base-links.ts +15 -14
  381. package/src/markdown/package-commands.ts +9 -8
  382. package/src/markdown/relative-links.ts +3 -2
  383. package/src/narration/build.ts +218 -40
  384. package/src/narration/provider.ts +89 -9
  385. package/src/openapi/checks.ts +273 -0
  386. package/src/openapi/graphql-build.ts +21 -0
  387. package/src/openapi/graphql.ts +11 -0
  388. package/src/openapi/model.ts +15 -3
  389. package/src/openapi/parse.ts +127 -2
  390. package/src/openapi/references.ts +43 -3
  391. package/src/openapi/render-mdx.ts +68 -8
  392. package/src/openapi/sentence.ts +29 -2
  393. package/src/openapi/source.ts +39 -14
  394. package/src/ratelimit/index.ts +1 -1
  395. package/src/ratelimit/runtime.ts +37 -19
  396. package/src/ratelimit/upstash.ts +40 -10
  397. package/src/reference/graphql.ts +15 -1
  398. package/src/reference/index.ts +1 -0
  399. package/src/reference/openapi.ts +2 -2
  400. package/src/reference/options.ts +29 -1
  401. package/src/registry/eject.ts +8 -2
  402. package/src/search/adapters/locale-scope.ts +30 -0
  403. package/src/search/adapters/typesense.ts +14 -4
  404. package/src/search/build.ts +21 -3
  405. package/src/search/orama-index.ts +163 -31
  406. package/src/search/source-pages.ts +29 -0
  407. package/src/search/sync/algolia.ts +99 -9
  408. package/src/search/sync/index.ts +52 -13
  409. package/src/search/sync/typesense.ts +72 -27
  410. package/src/seo/jsonld.ts +38 -20
  411. package/src/sources/contentful.ts +12 -0
  412. package/src/sources/github-releases.ts +7 -1
  413. package/src/sources/notion.ts +7 -0
  414. package/src/sources/shared.ts +3 -0
  415. package/src/theme/color.ts +9 -10
  416. package/src/theme/entry.ts +43 -6
  417. package/src/translate/validate.ts +23 -1
  418. package/dist/cli/chunk-0gz36akr.js.map +0 -12
  419. package/dist/cli/chunk-2n4ps1b3.js.map +0 -15
  420. package/dist/cli/chunk-43zcf4gz.js.map +0 -36
  421. package/dist/cli/chunk-4ejxbzee.js +0 -39
  422. package/dist/cli/chunk-4ejxbzee.js.map +0 -10
  423. package/dist/cli/chunk-4h8z9vv5.js.map +0 -16
  424. package/dist/cli/chunk-713mngdq.js.map +0 -14
  425. package/dist/cli/chunk-9xr4dgee.js.map +0 -10
  426. package/dist/cli/chunk-amrb6hgh.js +0 -145
  427. package/dist/cli/chunk-amrb6hgh.js.map +0 -11
  428. package/dist/cli/chunk-nd1821sk.js.map +0 -10
  429. package/dist/cli/chunk-rekqz4qg.js.map +0 -10
  430. package/dist/cli/chunk-ta27feev.js.map +0 -10
  431. package/dist/cli/chunk-xkz5xbtv.js.map +0 -213
  432. package/dist/cli/chunk-y5h4r2y0.js.map +0 -10
  433. package/dist/cli/chunk-zf748avv.js.map +0 -37
  434. /package/dist/cli/{chunk-9geymqns.js.map → chunk-0w6hs479.js.map} +0 -0
  435. /package/dist/cli/{chunk-y4ykbark.js.map → chunk-1f882900.js.map} +0 -0
  436. /package/dist/cli/{chunk-py62fewh.js.map → chunk-53jqw8z0.js.map} +0 -0
  437. /package/dist/cli/{chunk-5wj2qwn2.js.map → chunk-58bt3hag.js.map} +0 -0
  438. /package/dist/cli/{chunk-e7vvk5ya.js.map → chunk-5cmts6dv.js.map} +0 -0
  439. /package/dist/cli/{chunk-g2z9x01v.js.map → chunk-9qzgg6mj.js.map} +0 -0
  440. /package/dist/cli/{chunk-q3wxxq39.js.map → chunk-a57yh0h9.js.map} +0 -0
  441. /package/dist/cli/{chunk-2f3ndkpw.js.map → chunk-desvm72z.js.map} +0 -0
  442. /package/dist/cli/{chunk-gp84za0h.js.map → chunk-dhwtqnnd.js.map} +0 -0
  443. /package/dist/cli/{chunk-2f7n4qzt.js.map → chunk-dqhg54mr.js.map} +0 -0
  444. /package/dist/cli/{chunk-zhvd6adm.js.map → chunk-gfc5fqvf.js.map} +0 -0
  445. /package/dist/cli/{chunk-p804f3pe.js.map → chunk-hvcxng5f.js.map} +0 -0
  446. /package/dist/cli/{chunk-1n228xqb.js.map → chunk-kdpzw38a.js.map} +0 -0
  447. /package/dist/cli/{chunk-6bm0xpgd.js.map → chunk-s0bdnc7v.js.map} +0 -0
  448. /package/dist/cli/{chunk-cmtcnh9f.js.map → chunk-tfycddbt.js.map} +0 -0
  449. /package/dist/cli/{chunk-ntv4qrt7.js.map → chunk-y4msrwm9.js.map} +0 -0
  450. /package/dist/cli/{chunk-yj17vs39.js.map → chunk-ydp3065p.js.map} +0 -0
@@ -342,6 +342,9 @@ export type SidebarItemConfig = string | {
342
342
  };
343
343
  /** The object form of `search`: the adapter plus its adapter-independent settings. */
344
344
  declare const searchOptionsSchema: z.ZodObject<{
345
+ analytics: z.ZodPrefault<z.ZodObject<{
346
+ queries: z.ZodDefault<z.ZodBoolean>;
347
+ }, z.core.$strict>>;
345
348
  indexing: z.ZodPrefault<z.ZodObject<{
346
349
  includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
347
350
  includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
@@ -407,6 +410,7 @@ declare const searchOptionsSchema: z.ZodObject<{
407
410
  apiKey: string;
408
411
  collection: string;
409
412
  host: string;
413
+ locale?: string | undefined;
410
414
  port?: number | undefined;
411
415
  protocol?: "http" | "https" | undefined;
412
416
  };
@@ -465,6 +469,7 @@ declare const searchOptionsSchema: z.ZodObject<{
465
469
  apiKey: z.ZodString;
466
470
  collection: z.ZodString;
467
471
  host: z.ZodString;
472
+ locale: z.ZodOptional<z.ZodString>;
468
473
  port: z.ZodOptional<z.ZodNumber>;
469
474
  protocol: z.ZodOptional<z.ZodEnum<{
470
475
  http: "http";
@@ -536,6 +541,7 @@ declare const searchOptionsSchema: z.ZodObject<{
536
541
  apiKey: string;
537
542
  collection: string;
538
543
  host: string;
544
+ locale?: string | undefined;
539
545
  port?: number | undefined;
540
546
  protocol?: "http" | "https" | undefined;
541
547
  };
@@ -1163,6 +1169,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
1163
1169
  }, z.core.$strict>;
1164
1170
  requiredSecrets: z.ZodArray<z.ZodString>;
1165
1171
  runtimeDeps: z.ZodArray<z.ZodString>;
1172
+ }, z.core.$strict>, z.ZodObject<{
1173
+ kind: z.ZodLiteral<"clics">;
1174
+ options: z.ZodObject<{
1175
+ allowLocalhost: z.ZodOptional<z.ZodBoolean>;
1176
+ disableOutboundLinks: z.ZodOptional<z.ZodBoolean>;
1177
+ projectId: z.ZodString;
1178
+ }, z.core.$strict>;
1179
+ requiredSecrets: z.ZodArray<z.ZodString>;
1180
+ runtimeDeps: z.ZodArray<z.ZodString>;
1166
1181
  }, z.core.$strict>, z.ZodObject<{
1167
1182
  kind: z.ZodLiteral<"cloudflare">;
1168
1183
  options: z.ZodObject<{
@@ -1337,6 +1352,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
1337
1352
  }, z.core.$strict>>;
1338
1353
  }, z.core.$strict>]>>;
1339
1354
  basePath: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
1355
+ changelog: z.ZodOptional<z.ZodObject<{
1356
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1357
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1358
+ }, z.core.$strict>>;
1340
1359
  consent: z.ZodPipe<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1341
1360
  kind: z.ZodLiteral<"ethyca">;
1342
1361
  options: z.ZodObject<{
@@ -1451,6 +1470,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1451
1470
  repo: string;
1452
1471
  pollInterval?: number | undefined;
1453
1472
  prefix?: string | undefined;
1473
+ baseUrl?: string | undefined;
1454
1474
  drafts?: boolean | undefined;
1455
1475
  limit?: number | undefined;
1456
1476
  prereleases?: boolean | undefined;
@@ -1483,6 +1503,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1483
1503
  pollInterval?: number | undefined;
1484
1504
  prefix?: string | undefined;
1485
1505
  concurrency?: number | undefined;
1506
+ mdx?: boolean | undefined;
1486
1507
  properties?: {
1487
1508
  description?: string | undefined;
1488
1509
  order?: string | undefined;
@@ -1506,11 +1527,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1506
1527
  body?: string | undefined;
1507
1528
  description?: string | undefined;
1508
1529
  lastModified?: string | undefined;
1530
+ order?: string | undefined;
1509
1531
  slug?: string | undefined;
1510
1532
  title?: string | undefined;
1511
1533
  } | undefined;
1534
+ host?: string | undefined;
1512
1535
  locale?: string | undefined;
1513
1536
  params?: Record<string, string> | undefined;
1537
+ previewHost?: string | undefined;
1514
1538
  };
1515
1539
  requiredSecrets: string[];
1516
1540
  runtimeDeps: string[];
@@ -1527,6 +1551,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1527
1551
  body?: string | undefined;
1528
1552
  description?: string | undefined;
1529
1553
  lastModified?: string | undefined;
1554
+ order?: string | undefined;
1530
1555
  slug?: string | undefined;
1531
1556
  title?: string | undefined;
1532
1557
  } | undefined;
@@ -1545,6 +1570,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1545
1570
  body?: string | undefined;
1546
1571
  description?: string | undefined;
1547
1572
  lastModified?: string | undefined;
1573
+ order?: string | undefined;
1548
1574
  slug?: string | undefined;
1549
1575
  title?: string | undefined;
1550
1576
  } | undefined;
@@ -1604,6 +1630,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1604
1630
  repo: string;
1605
1631
  pollInterval?: number | undefined;
1606
1632
  prefix?: string | undefined;
1633
+ baseUrl?: string | undefined;
1607
1634
  drafts?: boolean | undefined;
1608
1635
  limit?: number | undefined;
1609
1636
  prereleases?: boolean | undefined;
@@ -1636,6 +1663,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1636
1663
  pollInterval?: number | undefined;
1637
1664
  prefix?: string | undefined;
1638
1665
  concurrency?: number | undefined;
1666
+ mdx?: boolean | undefined;
1639
1667
  properties?: {
1640
1668
  description?: string | undefined;
1641
1669
  order?: string | undefined;
@@ -1659,11 +1687,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1659
1687
  body?: string | undefined;
1660
1688
  description?: string | undefined;
1661
1689
  lastModified?: string | undefined;
1690
+ order?: string | undefined;
1662
1691
  slug?: string | undefined;
1663
1692
  title?: string | undefined;
1664
1693
  } | undefined;
1694
+ host?: string | undefined;
1665
1695
  locale?: string | undefined;
1666
1696
  params?: Record<string, string> | undefined;
1697
+ previewHost?: string | undefined;
1667
1698
  };
1668
1699
  requiredSecrets: string[];
1669
1700
  runtimeDeps: string[];
@@ -1680,6 +1711,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1680
1711
  body?: string | undefined;
1681
1712
  description?: string | undefined;
1682
1713
  lastModified?: string | undefined;
1714
+ order?: string | undefined;
1683
1715
  slug?: string | undefined;
1684
1716
  title?: string | undefined;
1685
1717
  } | undefined;
@@ -1698,6 +1730,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1698
1730
  body?: string | undefined;
1699
1731
  description?: string | undefined;
1700
1732
  lastModified?: string | undefined;
1733
+ order?: string | undefined;
1701
1734
  slug?: string | undefined;
1702
1735
  title?: string | undefined;
1703
1736
  } | undefined;
@@ -1755,6 +1788,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1755
1788
  options: z.ZodObject<{
1756
1789
  pollInterval: z.ZodOptional<z.ZodNumber>;
1757
1790
  prefix: z.ZodOptional<z.ZodString>;
1791
+ baseUrl: z.ZodOptional<z.ZodString>;
1758
1792
  drafts: z.ZodOptional<z.ZodBoolean>;
1759
1793
  limit: z.ZodOptional<z.ZodNumber>;
1760
1794
  owner: z.ZodString;
@@ -1789,6 +1823,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1789
1823
  prefix: z.ZodOptional<z.ZodString>;
1790
1824
  concurrency: z.ZodOptional<z.ZodNumber>;
1791
1825
  database: z.ZodString;
1826
+ mdx: z.ZodOptional<z.ZodBoolean>;
1792
1827
  properties: z.ZodOptional<z.ZodObject<{
1793
1828
  description: z.ZodOptional<z.ZodString>;
1794
1829
  order: z.ZodOptional<z.ZodString>;
@@ -1811,11 +1846,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1811
1846
  body: z.ZodOptional<z.ZodString>;
1812
1847
  description: z.ZodOptional<z.ZodString>;
1813
1848
  lastModified: z.ZodOptional<z.ZodString>;
1849
+ order: z.ZodOptional<z.ZodString>;
1814
1850
  slug: z.ZodOptional<z.ZodString>;
1815
1851
  title: z.ZodOptional<z.ZodString>;
1816
1852
  }, z.core.$strict>>;
1853
+ host: z.ZodOptional<z.ZodString>;
1817
1854
  locale: z.ZodOptional<z.ZodString>;
1818
1855
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1856
+ previewHost: z.ZodOptional<z.ZodString>;
1819
1857
  space: z.ZodString;
1820
1858
  }, z.core.$strict>;
1821
1859
  requiredSecrets: z.ZodArray<z.ZodString>;
@@ -1832,6 +1870,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1832
1870
  body: z.ZodOptional<z.ZodString>;
1833
1871
  description: z.ZodOptional<z.ZodString>;
1834
1872
  lastModified: z.ZodOptional<z.ZodString>;
1873
+ order: z.ZodOptional<z.ZodString>;
1835
1874
  slug: z.ZodOptional<z.ZodString>;
1836
1875
  title: z.ZodOptional<z.ZodString>;
1837
1876
  }, z.core.$strict>>;
@@ -1850,6 +1889,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1850
1889
  body: z.ZodOptional<z.ZodString>;
1851
1890
  description: z.ZodOptional<z.ZodString>;
1852
1891
  lastModified: z.ZodOptional<z.ZodString>;
1892
+ order: z.ZodOptional<z.ZodString>;
1853
1893
  slug: z.ZodOptional<z.ZodString>;
1854
1894
  title: z.ZodOptional<z.ZodString>;
1855
1895
  }, z.core.$strict>>;
@@ -1910,6 +1950,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1910
1950
  repo: string;
1911
1951
  pollInterval?: number | undefined;
1912
1952
  prefix?: string | undefined;
1953
+ baseUrl?: string | undefined;
1913
1954
  drafts?: boolean | undefined;
1914
1955
  limit?: number | undefined;
1915
1956
  prereleases?: boolean | undefined;
@@ -1942,6 +1983,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1942
1983
  pollInterval?: number | undefined;
1943
1984
  prefix?: string | undefined;
1944
1985
  concurrency?: number | undefined;
1986
+ mdx?: boolean | undefined;
1945
1987
  properties?: {
1946
1988
  description?: string | undefined;
1947
1989
  order?: string | undefined;
@@ -1965,11 +2007,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1965
2007
  body?: string | undefined;
1966
2008
  description?: string | undefined;
1967
2009
  lastModified?: string | undefined;
2010
+ order?: string | undefined;
1968
2011
  slug?: string | undefined;
1969
2012
  title?: string | undefined;
1970
2013
  } | undefined;
2014
+ host?: string | undefined;
1971
2015
  locale?: string | undefined;
1972
2016
  params?: Record<string, string> | undefined;
2017
+ previewHost?: string | undefined;
1973
2018
  };
1974
2019
  requiredSecrets: string[];
1975
2020
  runtimeDeps: string[];
@@ -1986,6 +2031,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1986
2031
  body?: string | undefined;
1987
2032
  description?: string | undefined;
1988
2033
  lastModified?: string | undefined;
2034
+ order?: string | undefined;
1989
2035
  slug?: string | undefined;
1990
2036
  title?: string | undefined;
1991
2037
  } | undefined;
@@ -2004,6 +2050,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2004
2050
  body?: string | undefined;
2005
2051
  description?: string | undefined;
2006
2052
  lastModified?: string | undefined;
2053
+ order?: string | undefined;
2007
2054
  slug?: string | undefined;
2008
2055
  title?: string | undefined;
2009
2056
  } | undefined;
@@ -2063,6 +2110,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2063
2110
  repo: string;
2064
2111
  pollInterval?: number | undefined;
2065
2112
  prefix?: string | undefined;
2113
+ baseUrl?: string | undefined;
2066
2114
  drafts?: boolean | undefined;
2067
2115
  limit?: number | undefined;
2068
2116
  prereleases?: boolean | undefined;
@@ -2095,6 +2143,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2095
2143
  pollInterval?: number | undefined;
2096
2144
  prefix?: string | undefined;
2097
2145
  concurrency?: number | undefined;
2146
+ mdx?: boolean | undefined;
2098
2147
  properties?: {
2099
2148
  description?: string | undefined;
2100
2149
  order?: string | undefined;
@@ -2118,11 +2167,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2118
2167
  body?: string | undefined;
2119
2168
  description?: string | undefined;
2120
2169
  lastModified?: string | undefined;
2170
+ order?: string | undefined;
2121
2171
  slug?: string | undefined;
2122
2172
  title?: string | undefined;
2123
2173
  } | undefined;
2174
+ host?: string | undefined;
2124
2175
  locale?: string | undefined;
2125
2176
  params?: Record<string, string> | undefined;
2177
+ previewHost?: string | undefined;
2126
2178
  };
2127
2179
  requiredSecrets: string[];
2128
2180
  runtimeDeps: string[];
@@ -2139,6 +2191,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2139
2191
  body?: string | undefined;
2140
2192
  description?: string | undefined;
2141
2193
  lastModified?: string | undefined;
2194
+ order?: string | undefined;
2142
2195
  slug?: string | undefined;
2143
2196
  title?: string | undefined;
2144
2197
  } | undefined;
@@ -2157,6 +2210,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2157
2210
  body?: string | undefined;
2158
2211
  description?: string | undefined;
2159
2212
  lastModified?: string | undefined;
2213
+ order?: string | undefined;
2160
2214
  slug?: string | undefined;
2161
2215
  title?: string | undefined;
2162
2216
  } | undefined;
@@ -2222,6 +2276,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2222
2276
  repo: string;
2223
2277
  pollInterval?: number | undefined;
2224
2278
  prefix?: string | undefined;
2279
+ baseUrl?: string | undefined;
2225
2280
  drafts?: boolean | undefined;
2226
2281
  limit?: number | undefined;
2227
2282
  prereleases?: boolean | undefined;
@@ -2254,6 +2309,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2254
2309
  pollInterval?: number | undefined;
2255
2310
  prefix?: string | undefined;
2256
2311
  concurrency?: number | undefined;
2312
+ mdx?: boolean | undefined;
2257
2313
  properties?: {
2258
2314
  description?: string | undefined;
2259
2315
  order?: string | undefined;
@@ -2277,11 +2333,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2277
2333
  body?: string | undefined;
2278
2334
  description?: string | undefined;
2279
2335
  lastModified?: string | undefined;
2336
+ order?: string | undefined;
2280
2337
  slug?: string | undefined;
2281
2338
  title?: string | undefined;
2282
2339
  } | undefined;
2340
+ host?: string | undefined;
2283
2341
  locale?: string | undefined;
2284
2342
  params?: Record<string, string> | undefined;
2343
+ previewHost?: string | undefined;
2285
2344
  };
2286
2345
  requiredSecrets: string[];
2287
2346
  runtimeDeps: string[];
@@ -2298,6 +2357,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2298
2357
  body?: string | undefined;
2299
2358
  description?: string | undefined;
2300
2359
  lastModified?: string | undefined;
2360
+ order?: string | undefined;
2301
2361
  slug?: string | undefined;
2302
2362
  title?: string | undefined;
2303
2363
  } | undefined;
@@ -2316,6 +2376,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2316
2376
  body?: string | undefined;
2317
2377
  description?: string | undefined;
2318
2378
  lastModified?: string | undefined;
2379
+ order?: string | undefined;
2319
2380
  slug?: string | undefined;
2320
2381
  title?: string | undefined;
2321
2382
  } | undefined;
@@ -2392,6 +2453,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2392
2453
  repo: string;
2393
2454
  pollInterval?: number | undefined;
2394
2455
  prefix?: string | undefined;
2456
+ baseUrl?: string | undefined;
2395
2457
  drafts?: boolean | undefined;
2396
2458
  limit?: number | undefined;
2397
2459
  prereleases?: boolean | undefined;
@@ -2424,6 +2486,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2424
2486
  pollInterval?: number | undefined;
2425
2487
  prefix?: string | undefined;
2426
2488
  concurrency?: number | undefined;
2489
+ mdx?: boolean | undefined;
2427
2490
  properties?: {
2428
2491
  description?: string | undefined;
2429
2492
  order?: string | undefined;
@@ -2447,11 +2510,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2447
2510
  body?: string | undefined;
2448
2511
  description?: string | undefined;
2449
2512
  lastModified?: string | undefined;
2513
+ order?: string | undefined;
2450
2514
  slug?: string | undefined;
2451
2515
  title?: string | undefined;
2452
2516
  } | undefined;
2517
+ host?: string | undefined;
2453
2518
  locale?: string | undefined;
2454
2519
  params?: Record<string, string> | undefined;
2520
+ previewHost?: string | undefined;
2455
2521
  };
2456
2522
  requiredSecrets: string[];
2457
2523
  runtimeDeps: string[];
@@ -2468,6 +2534,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2468
2534
  body?: string | undefined;
2469
2535
  description?: string | undefined;
2470
2536
  lastModified?: string | undefined;
2537
+ order?: string | undefined;
2471
2538
  slug?: string | undefined;
2472
2539
  title?: string | undefined;
2473
2540
  } | undefined;
@@ -2486,6 +2553,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2486
2553
  body?: string | undefined;
2487
2554
  description?: string | undefined;
2488
2555
  lastModified?: string | undefined;
2556
+ order?: string | undefined;
2489
2557
  slug?: string | undefined;
2490
2558
  title?: string | undefined;
2491
2559
  } | undefined;
@@ -2601,6 +2669,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2601
2669
  server: "server";
2602
2670
  }>>;
2603
2671
  site: z.ZodOptional<z.ZodURL>;
2672
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodObject<{
2673
+ hostname: z.ZodOptional<z.ZodString>;
2674
+ port: z.ZodOptional<z.ZodString>;
2675
+ protocol: z.ZodOptional<z.ZodString>;
2676
+ }, z.core.$strict>>>;
2604
2677
  }, z.core.$catchall<z.ZodJSONSchema>>;
2605
2678
  requiredSecrets: z.ZodArray<z.ZodString>;
2606
2679
  runtimeDeps: z.ZodArray<z.ZodString>;
@@ -2647,6 +2720,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2647
2720
  base?: string | undefined;
2648
2721
  output?: "static" | "server" | undefined;
2649
2722
  site?: string | undefined;
2723
+ allowedDomains?: {
2724
+ hostname?: string | undefined;
2725
+ port?: string | undefined;
2726
+ protocol?: string | undefined;
2727
+ }[] | undefined;
2650
2728
  };
2651
2729
  requiredSecrets: string[];
2652
2730
  runtimeDeps: string[];
@@ -2792,11 +2870,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2792
2870
  }, z.core.$strict>>;
2793
2871
  narration: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2794
2872
  enabled: z.ZodDefault<z.ZodBoolean>;
2795
- provider: z.ZodOptional<z.ZodObject<{
2873
+ provider: z.ZodOptional<z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
2796
2874
  kind: z.ZodLiteral<"gateway">;
2797
2875
  options: z.ZodObject<{
2798
- instructions: z.ZodOptional<z.ZodString>;
2799
2876
  model: z.ZodDefault<z.ZodString>;
2877
+ instructions: z.ZodOptional<z.ZodString>;
2800
2878
  voice: z.ZodDefault<z.ZodString>;
2801
2879
  apiKeyEnv: z.ZodDefault<z.ZodString>;
2802
2880
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2804,7 +2882,70 @@ export declare const blumeConfigSchema: z.ZodObject<{
2804
2882
  }, z.core.$strict>;
2805
2883
  requiredSecrets: z.ZodArray<z.ZodString>;
2806
2884
  runtimeDeps: z.ZodArray<z.ZodString>;
2807
- }, z.core.$strict>>;
2885
+ }, z.core.$strict>, z.ZodObject<{
2886
+ kind: z.ZodLiteral<"openai">;
2887
+ options: z.ZodObject<{
2888
+ apiKeyEnv: z.ZodOptional<z.ZodString>;
2889
+ baseUrl: z.ZodOptional<z.ZodURL>;
2890
+ model: z.ZodString;
2891
+ instructions: z.ZodOptional<z.ZodString>;
2892
+ voice: z.ZodDefault<z.ZodString>;
2893
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2894
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2895
+ }, z.core.$strict>;
2896
+ requiredSecrets: z.ZodArray<z.ZodString>;
2897
+ runtimeDeps: z.ZodArray<z.ZodString>;
2898
+ }, z.core.$strict>], "kind">, z.ZodTransform<{
2899
+ kind: "gateway";
2900
+ options: {
2901
+ model: string;
2902
+ voice: string;
2903
+ apiKeyEnv: string;
2904
+ instructions?: string | undefined;
2905
+ headers?: Record<string, string> | undefined;
2906
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2907
+ };
2908
+ requiredSecrets: string[];
2909
+ runtimeDeps: string[];
2910
+ } | {
2911
+ options: {
2912
+ model: string;
2913
+ voice: string;
2914
+ apiKeyEnv?: string | undefined;
2915
+ baseUrl?: string | undefined;
2916
+ instructions?: string | undefined;
2917
+ headers?: Record<string, string> | undefined;
2918
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2919
+ };
2920
+ requiredSecrets: string[];
2921
+ runtimeDeps: string[];
2922
+ kind: "openai";
2923
+ }, {
2924
+ kind: "gateway";
2925
+ options: {
2926
+ model: string;
2927
+ voice: string;
2928
+ apiKeyEnv: string;
2929
+ instructions?: string | undefined;
2930
+ headers?: Record<string, string> | undefined;
2931
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2932
+ };
2933
+ requiredSecrets: string[];
2934
+ runtimeDeps: string[];
2935
+ } | {
2936
+ kind: "openai";
2937
+ options: {
2938
+ model: string;
2939
+ voice: string;
2940
+ apiKeyEnv?: string | undefined;
2941
+ baseUrl?: string | undefined;
2942
+ instructions?: string | undefined;
2943
+ headers?: Record<string, string> | undefined;
2944
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2945
+ };
2946
+ requiredSecrets: string[];
2947
+ runtimeDeps: string[];
2948
+ }>>>;
2808
2949
  }, z.core.$strict>]>, z.ZodTransform<{
2809
2950
  enabled: boolean;
2810
2951
  provider: {
@@ -2819,6 +2960,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
2819
2960
  };
2820
2961
  requiredSecrets: string[];
2821
2962
  runtimeDeps: string[];
2963
+ } | {
2964
+ options: {
2965
+ model: string;
2966
+ voice: string;
2967
+ apiKeyEnv?: string | undefined;
2968
+ baseUrl?: string | undefined;
2969
+ instructions?: string | undefined;
2970
+ headers?: Record<string, string> | undefined;
2971
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2972
+ };
2973
+ requiredSecrets: string[];
2974
+ runtimeDeps: string[];
2975
+ kind: "openai";
2822
2976
  } | null;
2823
2977
  }, boolean | {
2824
2978
  enabled: boolean;
@@ -2834,6 +2988,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
2834
2988
  };
2835
2989
  requiredSecrets: string[];
2836
2990
  runtimeDeps: string[];
2991
+ } | {
2992
+ options: {
2993
+ model: string;
2994
+ voice: string;
2995
+ apiKeyEnv?: string | undefined;
2996
+ baseUrl?: string | undefined;
2997
+ instructions?: string | undefined;
2998
+ headers?: Record<string, string> | undefined;
2999
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
3000
+ };
3001
+ requiredSecrets: string[];
3002
+ runtimeDeps: string[];
3003
+ kind: "openai";
2837
3004
  } | undefined;
2838
3005
  }>>>;
2839
3006
  navigation: z.ZodPrefault<z.ZodObject<{
@@ -2895,6 +3062,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2895
3062
  path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2896
3063
  }, z.core.$strict>>>;
2897
3064
  }, z.core.$strict>>;
3065
+ poweredBy: z.ZodDefault<z.ZodBoolean>;
2898
3066
  rateLimit: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2899
3067
  kind: z.ZodLiteral<"cloudflare">;
2900
3068
  options: z.ZodObject<{
@@ -2917,6 +3085,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
2917
3085
  options: z.ZodObject<{
2918
3086
  requests: z.ZodOptional<z.ZodNumber>;
2919
3087
  window: z.ZodOptional<z.ZodNumber>;
3088
+ tokenEnv: z.ZodOptional<z.ZodString>;
3089
+ urlEnv: z.ZodOptional<z.ZodString>;
2920
3090
  }, z.core.$strict>;
2921
3091
  requiredSecrets: z.ZodArray<z.ZodString>;
2922
3092
  runtimeDeps: z.ZodArray<z.ZodString>;
@@ -2942,6 +3112,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
2942
3112
  options: {
2943
3113
  requests?: number | undefined;
2944
3114
  window?: number | undefined;
3115
+ tokenEnv?: string | undefined;
3116
+ urlEnv?: string | undefined;
2945
3117
  };
2946
3118
  requiredSecrets: string[];
2947
3119
  runtimeDeps: string[];
@@ -2967,6 +3139,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
2967
3139
  options: {
2968
3140
  requests?: number | undefined;
2969
3141
  window?: number | undefined;
3142
+ tokenEnv?: string | undefined;
3143
+ urlEnv?: string | undefined;
2970
3144
  };
2971
3145
  requiredSecrets: string[];
2972
3146
  runtimeDeps: string[];
@@ -3047,6 +3221,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
3047
3221
  }, z.core.$strict>, z.ZodObject<{
3048
3222
  kind: z.ZodLiteral<"graphql">;
3049
3223
  options: z.ZodPipe<z.ZodObject<{
3224
+ auth: z.ZodOptional<z.ZodObject<{
3225
+ method: z.ZodEnum<{
3226
+ none: "none";
3227
+ key: "key";
3228
+ bearer: "bearer";
3229
+ basic: "basic";
3230
+ }>;
3231
+ name: z.ZodOptional<z.ZodString>;
3232
+ }, z.core.$strict>>;
3050
3233
  endpoint: z.ZodOptional<z.ZodString>;
3051
3234
  sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
3052
3235
  includeInLlms: z.ZodDefault<z.ZodBoolean>;
@@ -3056,6 +3239,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
3056
3239
  route: z.ZodOptional<z.ZodString>;
3057
3240
  seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
3058
3241
  spec: z.ZodString;
3242
+ auth: z.ZodOptional<z.ZodObject<{
3243
+ method: z.ZodEnum<{
3244
+ none: "none";
3245
+ key: "key";
3246
+ bearer: "bearer";
3247
+ basic: "basic";
3248
+ }>;
3249
+ name: z.ZodOptional<z.ZodString>;
3250
+ }, z.core.$strict>>;
3059
3251
  endpoint: z.ZodOptional<z.ZodString>;
3060
3252
  }, z.core.$strict>>>;
3061
3253
  codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
@@ -3080,6 +3272,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3080
3272
  spec: string;
3081
3273
  label?: string | undefined;
3082
3274
  route?: string | undefined;
3275
+ auth?: {
3276
+ method: "none" | "key" | "bearer" | "basic";
3277
+ name?: string | undefined;
3278
+ } | undefined;
3083
3279
  endpoint?: string | undefined;
3084
3280
  }[];
3085
3281
  codeSamples: false | string[];
@@ -3088,6 +3284,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3088
3284
  proxy: string | boolean;
3089
3285
  };
3090
3286
  route: string;
3287
+ auth?: {
3288
+ method: "none" | "key" | "bearer" | "basic";
3289
+ name?: string | undefined;
3290
+ } | undefined;
3091
3291
  endpoint?: string | undefined;
3092
3292
  spec?: string | undefined;
3093
3293
  }, "spec" | "overlays">, {
@@ -3099,6 +3299,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3099
3299
  spec: string;
3100
3300
  label?: string | undefined;
3101
3301
  route?: string | undefined;
3302
+ auth?: {
3303
+ method: "none" | "key" | "bearer" | "basic";
3304
+ name?: string | undefined;
3305
+ } | undefined;
3102
3306
  endpoint?: string | undefined;
3103
3307
  }[];
3104
3308
  codeSamples: false | string[];
@@ -3107,6 +3311,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3107
3311
  proxy: string | boolean;
3108
3312
  };
3109
3313
  route: string;
3314
+ auth?: {
3315
+ method: "none" | "key" | "bearer" | "basic";
3316
+ name?: string | undefined;
3317
+ } | undefined;
3110
3318
  endpoint?: string | undefined;
3111
3319
  spec?: string | undefined;
3112
3320
  }>>;
@@ -3252,6 +3460,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3252
3460
  spec: string;
3253
3461
  label?: string | undefined;
3254
3462
  route?: string | undefined;
3463
+ auth?: {
3464
+ method: "none" | "key" | "bearer" | "basic";
3465
+ name?: string | undefined;
3466
+ } | undefined;
3255
3467
  endpoint?: string | undefined;
3256
3468
  }[];
3257
3469
  codeSamples: false | string[];
@@ -3260,6 +3472,10 @@ export declare const blumeConfigSchema: z.ZodObject<{
3260
3472
  proxy: string | boolean;
3261
3473
  };
3262
3474
  route: string;
3475
+ auth?: {
3476
+ method: "none" | "key" | "bearer" | "basic";
3477
+ name?: string | undefined;
3478
+ } | undefined;
3263
3479
  endpoint?: string | undefined;
3264
3480
  spec?: string | undefined;
3265
3481
  }, "spec" | "overlays">;
@@ -3292,6 +3508,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
3292
3508
  runtimeDeps: string[];
3293
3509
  }>>>>;
3294
3510
  search: z.ZodPrefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<SearchConfigInput, SearchConfigInput>, z.ZodTransform<{
3511
+ analytics?: {
3512
+ queries?: boolean | undefined;
3513
+ } | undefined;
3295
3514
  indexing?: {
3296
3515
  includeCodeBlocks?: boolean | undefined;
3297
3516
  includeHiddenPages?: boolean | undefined;
@@ -3303,6 +3522,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
3303
3522
  }[] | undefined;
3304
3523
  provider?: false | SearchAdapterInput | undefined;
3305
3524
  }, SearchConfigInput>>, z.ZodObject<{
3525
+ analytics: z.ZodPrefault<z.ZodObject<{
3526
+ queries: z.ZodDefault<z.ZodBoolean>;
3527
+ }, z.core.$strict>>;
3306
3528
  indexing: z.ZodPrefault<z.ZodObject<{
3307
3529
  includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
3308
3530
  includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
@@ -3368,6 +3590,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3368
3590
  apiKey: string;
3369
3591
  collection: string;
3370
3592
  host: string;
3593
+ locale?: string | undefined;
3371
3594
  port?: number | undefined;
3372
3595
  protocol?: "http" | "https" | undefined;
3373
3596
  };
@@ -3426,6 +3649,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3426
3649
  apiKey: z.ZodString;
3427
3650
  collection: z.ZodString;
3428
3651
  host: z.ZodString;
3652
+ locale: z.ZodOptional<z.ZodString>;
3429
3653
  port: z.ZodOptional<z.ZodNumber>;
3430
3654
  protocol: z.ZodOptional<z.ZodEnum<{
3431
3655
  http: "http";
@@ -3497,6 +3721,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3497
3721
  apiKey: string;
3498
3722
  collection: string;
3499
3723
  host: string;
3724
+ locale?: string | undefined;
3500
3725
  port?: number | undefined;
3501
3726
  protocol?: "http" | "https" | undefined;
3502
3727
  };