blume 2.0.3 → 2.1.1

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 (607) hide show
  1. package/AGENTS.md +1 -0
  2. package/CHANGELOG.md +142 -0
  3. package/README.md +1 -1
  4. package/dist/cli/{chunk-5f86nr5m.js → chunk-073rdvgb.js} +21 -48
  5. package/dist/cli/{chunk-5f86nr5m.js.map → chunk-073rdvgb.js.map} +4 -5
  6. package/dist/cli/{chunk-ga0pf4aj.js → chunk-0n9xkp3d.js} +12 -3
  7. package/dist/cli/{chunk-ga0pf4aj.js.map → chunk-0n9xkp3d.js.map} +3 -3
  8. package/dist/cli/chunk-150jk7km.js +52 -0
  9. package/dist/cli/chunk-150jk7km.js.map +10 -0
  10. package/dist/cli/{chunk-9t7a85s3.js → chunk-313vnn40.js} +30 -19
  11. package/dist/cli/chunk-313vnn40.js.map +10 -0
  12. package/dist/cli/{chunk-tkacnehg.js → chunk-3v3ffbrj.js} +2 -2
  13. package/dist/cli/{chunk-q58y5e6a.js → chunk-3x6x3pph.js} +46 -24
  14. package/dist/cli/chunk-3x6x3pph.js.map +10 -0
  15. package/dist/cli/{chunk-1d7ve1dm.js → chunk-42t4jxdx.js} +37 -5
  16. package/dist/cli/chunk-42t4jxdx.js.map +12 -0
  17. package/dist/cli/{chunk-8ktnccpt.js → chunk-54ztw1nj.js} +21 -2
  18. package/dist/cli/chunk-54ztw1nj.js.map +10 -0
  19. package/dist/cli/{chunk-hm3vjy5s.js → chunk-5vjtgs6e.js} +28 -10
  20. package/dist/cli/{chunk-hm3vjy5s.js.map → chunk-5vjtgs6e.js.map} +4 -4
  21. package/dist/cli/chunk-66w9j7p6.js +322 -0
  22. package/dist/cli/chunk-66w9j7p6.js.map +14 -0
  23. package/dist/cli/{chunk-2hsdwb9n.js → chunk-7ppf1rva.js} +34 -18
  24. package/dist/cli/chunk-7ppf1rva.js.map +10 -0
  25. package/dist/cli/{chunk-r9rcc4w7.js → chunk-8y2kmjv8.js} +7 -7
  26. package/dist/cli/{chunk-r20tn01b.js → chunk-c1y538kd.js} +8 -2
  27. package/dist/cli/{chunk-r20tn01b.js.map → chunk-c1y538kd.js.map} +3 -3
  28. package/dist/cli/{chunk-2eytanqx.js → chunk-c887fj0s.js} +2 -2
  29. package/dist/cli/{chunk-p3v96n38.js → chunk-cfyg47zg.js} +16 -6
  30. package/dist/cli/chunk-cfyg47zg.js.map +10 -0
  31. package/dist/cli/chunk-cm89scdv.js +443 -0
  32. package/dist/cli/chunk-cm89scdv.js.map +11 -0
  33. package/dist/cli/{chunk-akbpwfxc.js → chunk-dzwehpy7.js} +2 -2
  34. package/dist/cli/{chunk-wrr3j9w9.js → chunk-e6atmn4h.js} +299 -72
  35. package/dist/cli/chunk-e6atmn4h.js.map +36 -0
  36. package/dist/cli/{chunk-tzmab476.js → chunk-e8xw9qkh.js} +8 -6
  37. package/dist/cli/{chunk-tzmab476.js.map → chunk-e8xw9qkh.js.map} +3 -3
  38. package/dist/cli/{chunk-6dsbexzp.js → chunk-e9q7a2ak.js} +17 -15
  39. package/dist/cli/{chunk-6dsbexzp.js.map → chunk-e9q7a2ak.js.map} +2 -2
  40. package/dist/cli/{chunk-pv29h0wf.js → chunk-ehweg4fr.js} +5155 -1249
  41. package/dist/cli/chunk-ehweg4fr.js.map +218 -0
  42. package/dist/cli/{chunk-c8chx29p.js → chunk-ep6nd0rn.js} +390 -318
  43. package/dist/cli/chunk-ep6nd0rn.js.map +36 -0
  44. package/dist/cli/{chunk-p73c0m7w.js → chunk-fdrkhpjy.js} +18 -15
  45. package/dist/cli/{chunk-p73c0m7w.js.map → chunk-fdrkhpjy.js.map} +3 -3
  46. package/dist/cli/{chunk-2z928egk.js → chunk-ft9vfys6.js} +5 -5
  47. package/dist/cli/{chunk-5m5nmvyq.js → chunk-gb420vvz.js} +316 -79
  48. package/dist/cli/chunk-gb420vvz.js.map +17 -0
  49. package/dist/cli/{chunk-vg9r4eb9.js → chunk-hebn0tpx.js} +86 -13
  50. package/dist/cli/chunk-hebn0tpx.js.map +14 -0
  51. package/dist/cli/{chunk-35d4wj9f.js → chunk-htrwgabr.js} +41 -23
  52. package/dist/cli/chunk-htrwgabr.js.map +15 -0
  53. package/dist/cli/{chunk-g4hq16wv.js → chunk-hx3xqnk9.js} +16 -14
  54. package/dist/cli/{chunk-g4hq16wv.js.map → chunk-hx3xqnk9.js.map} +2 -2
  55. package/dist/cli/chunk-j134vrp2.js +65 -0
  56. package/dist/cli/chunk-j134vrp2.js.map +10 -0
  57. package/dist/cli/{chunk-a58773jm.js → chunk-kma9f6sf.js} +2 -2
  58. package/dist/cli/chunk-kwrg63tm.js +31 -0
  59. package/dist/cli/chunk-kwrg63tm.js.map +10 -0
  60. package/dist/cli/{chunk-ey84smr6.js → chunk-mrcccgnh.js} +6 -6
  61. package/dist/cli/{chunk-ey84smr6.js.map → chunk-mrcccgnh.js.map} +1 -1
  62. package/dist/cli/{chunk-yfyb25rh.js → chunk-n0v7m8ry.js} +24 -8
  63. package/dist/cli/chunk-n0v7m8ry.js.map +14 -0
  64. package/dist/cli/{chunk-j85vccga.js → chunk-ncj7w596.js} +576 -367
  65. package/dist/cli/chunk-ncj7w596.js.map +35 -0
  66. package/dist/cli/{chunk-5xvm6tfj.js → chunk-nq1d20w2.js} +17 -15
  67. package/dist/cli/{chunk-5xvm6tfj.js.map → chunk-nq1d20w2.js.map} +2 -2
  68. package/dist/cli/{chunk-pehfxfta.js → chunk-nrns10mj.js} +6 -98
  69. package/dist/cli/chunk-nrns10mj.js.map +10 -0
  70. package/dist/cli/{chunk-crgn1q09.js → chunk-sds923fa.js} +4 -4
  71. package/dist/cli/chunk-t2m5j4pr.js +104 -0
  72. package/dist/cli/chunk-t2m5j4pr.js.map +11 -0
  73. package/dist/cli/{chunk-acanzt5p.js → chunk-tdqhyxfz.js} +6 -6
  74. package/dist/cli/chunk-tphac74f.js +126 -0
  75. package/dist/cli/chunk-tphac74f.js.map +11 -0
  76. package/dist/cli/chunk-w1r4vase.js +18 -0
  77. package/dist/cli/chunk-w1r4vase.js.map +10 -0
  78. package/dist/cli/{chunk-3em5wd2y.js → chunk-zccbjcj0.js} +4 -3
  79. package/dist/cli/{chunk-3em5wd2y.js.map → chunk-zccbjcj0.js.map} +2 -2
  80. package/dist/cli/index.js +31 -20
  81. package/dist/cli/index.js.map +5 -5
  82. package/dist/types/ai/agent-surface.d.ts +8 -7
  83. package/dist/types/ai/ai-catalog.d.ts +7 -0
  84. package/dist/types/ai/ask-context.d.ts +26 -0
  85. package/dist/types/ai/ask.d.ts +271 -58
  86. package/dist/types/ai/component-markdown.d.ts +2 -0
  87. package/dist/types/ai/index.d.ts +2 -2
  88. package/dist/types/ai/openapi-components.d.ts +4 -1
  89. package/dist/types/ai/site-skill.d.ts +26 -0
  90. package/dist/types/ai/skills.d.ts +16 -0
  91. package/dist/types/astro/integration.d.ts +9 -0
  92. package/dist/types/astro/markdown-negotiation.d.ts +3 -0
  93. package/dist/types/astro/pages.d.ts +10 -0
  94. package/dist/types/captcha/hcaptcha.d.ts +27 -0
  95. package/dist/types/captcha/index.d.ts +28 -0
  96. package/dist/types/captcha/schema.d.ts +29 -0
  97. package/dist/types/captcha/turnstile.d.ts +28 -0
  98. package/dist/types/cli/init/scaffold.d.ts +1 -1
  99. package/dist/types/components/content/api-field.d.ts +62 -0
  100. package/dist/types/components/content/api-page.d.ts +100 -0
  101. package/dist/types/components/layout/nav-utils.d.ts +26 -0
  102. package/dist/types/components/openapi/code-samples.d.ts +29 -0
  103. package/dist/types/components/openapi/helpers.d.ts +158 -0
  104. package/dist/types/components/openapi/security.d.ts +95 -0
  105. package/dist/types/components/openapi/snippets.d.ts +60 -0
  106. package/dist/types/consent/ethyca.d.ts +48 -0
  107. package/dist/types/consent/index.d.ts +37 -0
  108. package/dist/types/consent/native.d.ts +28 -0
  109. package/dist/types/consent/osano.d.ts +42 -0
  110. package/dist/types/consent/schema.d.ts +110 -0
  111. package/dist/types/core/changelog-index.d.ts +8 -0
  112. package/dist/types/core/config-input.d.ts +217 -23
  113. package/dist/types/core/data.d.ts +53 -4
  114. package/dist/types/core/footer.d.ts +8 -0
  115. package/dist/types/core/i18n-ui.d.ts +88 -0
  116. package/dist/types/core/includes.d.ts +8 -2
  117. package/dist/types/core/links.d.ts +8 -0
  118. package/dist/types/core/localizable.d.ts +7 -0
  119. package/dist/types/core/page-modes.d.ts +29 -0
  120. package/dist/types/core/probe.d.ts +2 -0
  121. package/dist/types/core/project-graph.d.ts +6 -0
  122. package/dist/types/core/redirect-patterns.d.ts +152 -0
  123. package/dist/types/core/related.d.ts +40 -0
  124. package/dist/types/core/schema.d.ts +670 -56
  125. package/dist/types/core/sources/cache.d.ts +3 -0
  126. package/dist/types/core/sources/contentful-rich-text.d.ts +11 -2
  127. package/dist/types/core/sources/contentful.d.ts +17 -1
  128. package/dist/types/core/sources/lexical.d.ts +5 -0
  129. package/dist/types/core/sources/normalize.d.ts +20 -1
  130. package/dist/types/core/sources/read.d.ts +5 -0
  131. package/dist/types/core/sources/remote.d.ts +37 -10
  132. package/dist/types/core/sources/sanity.d.ts +1 -1
  133. package/dist/types/core/types.d.ts +18 -1
  134. package/dist/types/core/variables.d.ts +42 -0
  135. package/dist/types/deploy/adapter-output.d.ts +2 -1
  136. package/dist/types/deploy/adapters/cloudflare.d.ts +7 -5
  137. package/dist/types/deploy/adapters/node.d.ts +58 -23
  138. package/dist/types/deploy/adapters/registry.d.ts +10 -0
  139. package/dist/types/deploy/adapters/types.d.ts +3 -2
  140. package/dist/types/deploy/node-headers.d.ts +13 -2
  141. package/dist/types/deploy/platforms/cloudflare.d.ts +15 -7
  142. package/dist/types/deploy/platforms/netlify.d.ts +7 -0
  143. package/dist/types/deploy/platforms/node.d.ts +3 -1
  144. package/dist/types/deploy/platforms/types.d.ts +18 -7
  145. package/dist/types/deploy/platforms/vercel.d.ts +26 -1
  146. package/dist/types/deploy/redirects.d.ts +55 -11
  147. package/dist/types/deploy/sitemap.d.ts +2 -1
  148. package/dist/types/deploy/vercel-negotiation.d.ts +51 -21
  149. package/dist/types/markdown/code-title.d.ts +17 -0
  150. package/dist/types/markdown/features.d.ts +3 -2
  151. package/dist/types/narration/build.d.ts +70 -0
  152. package/dist/types/narration/provider.d.ts +26 -0
  153. package/dist/types/narration/script.d.ts +154 -0
  154. package/dist/types/openapi/checks.d.ts +27 -0
  155. package/dist/types/openapi/graphql.d.ts +6 -0
  156. package/dist/types/openapi/model.d.ts +27 -10
  157. package/dist/types/openapi/overlay.d.ts +54 -0
  158. package/dist/types/openapi/parse.d.ts +16 -0
  159. package/dist/types/openapi/references.d.ts +30 -4
  160. package/dist/types/ratelimit/cloudflare.d.ts +39 -0
  161. package/dist/types/ratelimit/index.d.ts +27 -0
  162. package/dist/types/ratelimit/memory.d.ts +36 -0
  163. package/dist/types/ratelimit/schema.d.ts +119 -0
  164. package/dist/types/ratelimit/upstash.d.ts +46 -0
  165. package/dist/types/ratelimit/wrangler.d.ts +23 -0
  166. package/dist/types/reference/asyncapi.d.ts +10 -10
  167. package/dist/types/reference/graphql.d.ts +89 -11
  168. package/dist/types/reference/index.d.ts +1 -1
  169. package/dist/types/reference/openapi.d.ts +33 -12
  170. package/dist/types/reference/options.d.ts +82 -6
  171. package/dist/types/reference/scalar.d.ts +13 -0
  172. package/dist/types/reference/schema.d.ts +144 -36
  173. package/dist/types/search/adapters/registry.d.ts +3 -0
  174. package/dist/types/search/adapters/typesense.d.ts +14 -4
  175. package/dist/types/search/build.d.ts +3 -1
  176. package/dist/types/search/documents.d.ts +12 -1
  177. package/dist/types/search/orama-index.d.ts +13 -9
  178. package/dist/types/search/sync/algolia.d.ts +5 -2
  179. package/dist/types/search/sync/index.d.ts +3 -1
  180. package/dist/types/search/sync/typesense.d.ts +11 -7
  181. package/dist/types/seo/metatags.d.ts +20 -0
  182. package/dist/types/sources/contentful.d.ts +16 -0
  183. package/dist/types/sources/github-releases.d.ts +8 -1
  184. package/dist/types/sources/payload.d.ts +2 -0
  185. package/dist/types/sources/registry.d.ts +54 -0
  186. package/dist/types/sources/shared.d.ts +3 -0
  187. package/dist/types/sources/strapi.d.ts +2 -0
  188. package/docs/01-quickstart.mdx +4 -2
  189. package/docs/02-deployment.mdx +71 -17
  190. package/docs/03-upgrading.mdx +4 -4
  191. package/docs/04-migrating.mdx +1 -1
  192. package/docs/advanced/changelog.mdx +13 -2
  193. package/docs/advanced/skills.mdx +15 -1
  194. package/docs/cli/audit.mdx +51 -8
  195. package/docs/cli/doctor.mdx +5 -1
  196. package/docs/cli/evals.mdx +4 -4
  197. package/docs/cli/index.mdx +1 -0
  198. package/docs/cli/translate.mdx +1 -0
  199. package/docs/cli/validate.mdx +4 -3
  200. package/docs/configuration/analytics.mdx +3 -1
  201. package/docs/configuration/assistant.mdx +194 -38
  202. package/docs/configuration/consent.mdx +100 -0
  203. package/docs/configuration/customization.mdx +8 -6
  204. package/docs/configuration/export.mdx +5 -3
  205. package/docs/configuration/index.mdx +64 -5
  206. package/docs/configuration/meta.ts +3 -0
  207. package/docs/configuration/narration.mdx +119 -0
  208. package/docs/configuration/rate-limiting.mdx +90 -0
  209. package/docs/configuration/search.mdx +63 -12
  210. package/docs/configuration/theming.mdx +3 -1
  211. package/docs/content/components.mdx +108 -2
  212. package/docs/content/frontmatter.mdx +80 -2
  213. package/docs/content/i18n.mdx +39 -4
  214. package/docs/content/includes.mdx +16 -0
  215. package/docs/content/meta.mdx +1 -0
  216. package/docs/content/meta.ts +1 -0
  217. package/docs/content/navigation.mdx +32 -10
  218. package/docs/content/sources/contentful.mdx +35 -0
  219. package/docs/content/sources/custom.mdx +43 -0
  220. package/docs/content/sources/github-releases.mdx +39 -0
  221. package/docs/content/sources/index.mdx +91 -0
  222. package/docs/content/sources/meta.ts +16 -0
  223. package/docs/content/sources/notion.mdx +32 -0
  224. package/docs/content/sources/obsidian.mdx +37 -0
  225. package/docs/content/sources/payload.mdx +31 -0
  226. package/docs/content/sources/remote-mdx.mdx +44 -0
  227. package/docs/content/sources/sanity.mdx +29 -0
  228. package/docs/content/sources/strapi.mdx +32 -0
  229. package/docs/content/syntax.mdx +69 -4
  230. package/docs/content/variables.mdx +41 -0
  231. package/docs/discoverability/agent-discovery.mdx +29 -2
  232. package/docs/discoverability/index.mdx +2 -2
  233. package/docs/discoverability/json-api.mdx +2 -0
  234. package/docs/discoverability/llms-txt.mdx +2 -2
  235. package/docs/discoverability/markdown.mdx +3 -1
  236. package/docs/discoverability/mcp.mdx +4 -0
  237. package/docs/discoverability/metadata.mdx +17 -0
  238. package/docs/discoverability/sitemap-and-robots.mdx +1 -1
  239. package/docs/references/api-pages.mdx +74 -0
  240. package/docs/references/asyncapi.mdx +4 -2
  241. package/docs/references/graphql.mdx +14 -2
  242. package/docs/references/meta.ts +1 -1
  243. package/docs/references/openapi.mdx +148 -7
  244. package/docs/references/scalar.mdx +3 -1
  245. package/package.json +43 -8
  246. package/skills/blume/SKILL.md +3 -0
  247. package/skills/blume-migrate/SKILL.md +6 -6
  248. package/skills/blume-migrate/references/docusaurus.md +7 -7
  249. package/skills/blume-migrate/references/fumadocs.md +17 -13
  250. package/skills/blume-migrate/references/mintlify.md +37 -19
  251. package/skills/blume-migrate/references/nextra.md +10 -7
  252. package/skills/blume-migrate/references/starlight.md +11 -8
  253. package/skills/blume-migrate/scripts/mintlify-codemod.mjs +60 -14
  254. package/skills/blume-write-skill/SKILL.md +82 -0
  255. package/src/ai/agent-readability.ts +2 -1
  256. package/src/ai/agent-surface.ts +9 -7
  257. package/src/ai/ai-catalog.ts +6 -3
  258. package/src/ai/ask-context.ts +103 -20
  259. package/src/ai/ask-data.ts +6 -0
  260. package/src/ai/ask-limits.ts +13 -0
  261. package/src/ai/ask-tools.ts +142 -0
  262. package/src/ai/ask.ts +354 -76
  263. package/src/ai/changelog-markdown.ts +11 -6
  264. package/src/ai/component-markdown.ts +76 -1
  265. package/src/ai/cors.ts +14 -3
  266. package/src/ai/index.ts +12 -0
  267. package/src/ai/llms.ts +6 -2
  268. package/src/ai/markdown.ts +2 -1
  269. package/src/ai/mcp/data.ts +6 -0
  270. package/src/ai/mcp/query.ts +14 -6
  271. package/src/ai/openapi-components.ts +36 -6
  272. package/src/ai/relative-links.ts +4 -38
  273. package/src/ai/site-skill.ts +274 -0
  274. package/src/ai/skills.ts +35 -2
  275. package/src/ai/write-skill.ts +97 -0
  276. package/src/astro/generate.ts +210 -66
  277. package/src/astro/index.ts +1 -0
  278. package/src/astro/integration.ts +42 -4
  279. package/src/astro/markdown-negotiation.ts +3 -0
  280. package/src/astro/module-types.ts +9 -1
  281. package/src/astro/pages.ts +23 -0
  282. package/src/astro/templates.ts +406 -108
  283. package/src/astro/variables.ts +31 -0
  284. package/src/audit/catalog.ts +38 -3
  285. package/src/audit/checks/contrast.ts +183 -0
  286. package/src/audit/checks/i18n.ts +2 -3
  287. package/src/audit/checks/indexability.ts +2 -3
  288. package/src/audit/checks/links.ts +19 -13
  289. package/src/audit/checks/network.ts +110 -6
  290. package/src/audit/checks/redirects.ts +6 -4
  291. package/src/audit/checks/robots.ts +58 -2
  292. package/src/audit/checks/sitemap.ts +2 -3
  293. package/src/audit/redirects.ts +46 -15
  294. package/src/audit/run.ts +5 -0
  295. package/src/audit/types.ts +4 -1
  296. package/src/audit/url.ts +14 -5
  297. package/src/blume-modules.d.ts +12 -1
  298. package/src/captcha/client.ts +152 -0
  299. package/src/captcha/hcaptcha.ts +36 -0
  300. package/src/captcha/index.ts +28 -0
  301. package/src/captcha/schema.ts +32 -0
  302. package/src/captcha/turnstile.ts +38 -0
  303. package/src/captcha/verify.ts +71 -0
  304. package/src/cli/args.ts +51 -0
  305. package/src/cli/build-failure.ts +23 -0
  306. package/src/cli/command-meta.ts +5 -0
  307. package/src/cli/commands/audit.ts +10 -1
  308. package/src/cli/commands/dev.ts +18 -2
  309. package/src/cli/commands/doctor.ts +67 -28
  310. package/src/cli/commands/eval.ts +36 -4
  311. package/src/cli/commands/init.ts +6 -4
  312. package/src/cli/commands/skill.ts +96 -0
  313. package/src/cli/commands/validate.ts +10 -1
  314. package/src/cli/index.ts +5 -0
  315. package/src/cli/init/scaffold.ts +3 -3
  316. package/src/cli/prepare.ts +6 -3
  317. package/src/cli/required-secrets.ts +72 -30
  318. package/src/components/BlumePage.astro +2 -0
  319. package/src/components/content/ApiEndpoint.astro +18 -0
  320. package/src/components/content/ApiField.astro +79 -0
  321. package/src/components/content/ApiPlayground.astro +66 -0
  322. package/src/components/content/ApiRail.astro +19 -0
  323. package/src/components/content/Color.astro +1 -0
  324. package/src/components/content/FileTree.astro +1 -0
  325. package/src/components/content/GithubInfo.astro +1 -0
  326. package/src/components/content/Panel.astro +1 -0
  327. package/src/components/content/ParamField.astro +25 -0
  328. package/src/components/content/RequestExample.astro +17 -0
  329. package/src/components/content/ResponseExample.astro +17 -0
  330. package/src/components/content/ResponseField.astro +32 -0
  331. package/src/components/content/Step.astro +1 -0
  332. package/src/components/content/Tile.astro +1 -0
  333. package/src/components/content/Tooltip.astro +1 -0
  334. package/src/components/content/Tree.astro +1 -0
  335. package/src/components/content/TypeTable.astro +4 -1
  336. package/src/components/content/View.astro +21 -0
  337. package/src/components/content/ViewSwitcher.astro +168 -0
  338. package/src/components/content/api-field.ts +103 -0
  339. package/src/components/content/api-page.ts +248 -0
  340. package/src/components/content/mermaid-element.ts +15 -1
  341. package/src/components/content/view-switcher.ts +71 -0
  342. package/src/components/index.ts +2 -0
  343. package/src/components/islands/Assistant.astro +10 -1
  344. package/src/components/islands/assistant.tsx +104 -14
  345. package/src/components/islands/code-question.ts +62 -0
  346. package/src/components/islands/hooks.ts +136 -21
  347. package/src/components/islands/support-link.ts +68 -0
  348. package/src/components/layout/Analytics.astro +11 -2
  349. package/src/components/layout/Banner.astro +14 -10
  350. package/src/components/layout/Breadcrumbs.astro +6 -2
  351. package/src/components/layout/ConsentBanner.astro +62 -0
  352. package/src/components/layout/ConsentHead.astro +38 -0
  353. package/src/components/layout/Directory.astro +94 -0
  354. package/src/components/layout/DrawerSwitchers.astro +51 -0
  355. package/src/components/layout/Empty.astro +2 -2
  356. package/src/components/layout/Header.astro +122 -80
  357. package/src/components/layout/LanguageSwitcher.astro +48 -15
  358. package/src/components/layout/NarrationPlayer.astro +1085 -0
  359. package/src/components/layout/NavSelector.astro +33 -7
  360. package/src/components/layout/PageActions.astro +139 -24
  361. package/src/components/layout/PageFeedback.astro +54 -49
  362. package/src/components/layout/PageLayout.astro +71 -3
  363. package/src/components/layout/ReferenceLayout.astro +17 -6
  364. package/src/components/layout/RelatedPages.astro +42 -0
  365. package/src/components/layout/RootLayout.astro +318 -47
  366. package/src/components/layout/Search.astro +47 -19
  367. package/src/components/layout/SiteFooter.astro +124 -0
  368. package/src/components/layout/SiteMetatags.astro +16 -0
  369. package/src/components/layout/TableOfContents.astro +24 -17
  370. package/src/components/layout/consent/native.ts +79 -0
  371. package/src/components/layout/consent/types.ts +37 -0
  372. package/src/components/layout/footer-links.ts +53 -0
  373. package/src/components/layout/footer-socials.ts +87 -0
  374. package/src/components/layout/head-scripts.ts +6 -1
  375. package/src/components/layout/locale-redirect.ts +107 -0
  376. package/src/components/layout/nav-utils.ts +83 -0
  377. package/src/components/layout/page-feedback.ts +96 -0
  378. package/src/components/layout/search/algolia.ts +10 -1
  379. package/src/components/layout/search/analytics.ts +126 -0
  380. package/src/components/layout/search/endpoint.ts +48 -5
  381. package/src/components/layout/search/flexsearch.ts +17 -5
  382. package/src/components/layout/search/orama-cloud.ts +26 -14
  383. package/src/components/layout/search/pagefind.ts +114 -5
  384. package/src/components/layout/search/types.ts +32 -0
  385. package/src/components/layout/search/typesense.ts +19 -3
  386. package/src/components/openapi/AsyncApiOperation.astro +14 -7
  387. package/src/components/openapi/Authorization.astro +10 -0
  388. package/src/components/openapi/GraphqlOperation.astro +5 -0
  389. package/src/components/openapi/Operation.astro +184 -13
  390. package/src/components/openapi/ParametersTable.astro +8 -4
  391. package/src/components/openapi/Playground.astro +7 -1
  392. package/src/components/openapi/RequestBody.astro +24 -5
  393. package/src/components/openapi/RequestPanel.astro +59 -7
  394. package/src/components/openapi/Responses.astro +7 -4
  395. package/src/components/openapi/SchemaTable.astro +15 -3
  396. package/src/components/openapi/async-snippets.ts +65 -9
  397. package/src/components/openapi/async.ts +123 -29
  398. package/src/components/openapi/code-samples.ts +97 -0
  399. package/src/components/openapi/graphql-helpers.ts +35 -12
  400. package/src/components/openapi/helpers.ts +36 -2
  401. package/src/components/openapi/message-model.ts +54 -11
  402. package/src/components/openapi/message.ts +14 -4
  403. package/src/components/openapi/operation-model.ts +16 -7
  404. package/src/components/openapi/playground-client.ts +24 -5
  405. package/src/components/openapi/playground-schema.ts +1 -1
  406. package/src/components/openapi/schema-tree.ts +44 -14
  407. package/src/components/openapi/security.ts +16 -3
  408. package/src/components/openapi/snippets.ts +873 -10
  409. package/src/components/openapi/validate-json.ts +4 -3
  410. package/src/components/props.ts +6 -0
  411. package/src/consent/client.ts +95 -0
  412. package/src/consent/clients.ts +19 -0
  413. package/src/consent/ethyca.ts +71 -0
  414. package/src/consent/head.ts +24 -0
  415. package/src/consent/index.ts +37 -0
  416. package/src/consent/init.ts +29 -0
  417. package/src/consent/native.ts +36 -0
  418. package/src/consent/osano.ts +59 -0
  419. package/src/consent/schema.ts +30 -0
  420. package/src/core/builtin-tags.ts +5 -0
  421. package/src/core/changelog-index.ts +31 -1
  422. package/src/core/client-address.ts +19 -0
  423. package/src/core/component-diagnostics.ts +53 -0
  424. package/src/core/component-overrides.ts +32 -0
  425. package/src/core/config-input.ts +225 -23
  426. package/src/core/data.ts +46 -4
  427. package/src/core/diagnostics.ts +8 -2
  428. package/src/core/footer.ts +26 -0
  429. package/src/core/graph.ts +39 -36
  430. package/src/core/i18n-ui.ts +84 -2
  431. package/src/core/includes.ts +21 -4
  432. package/src/core/links.ts +63 -19
  433. package/src/core/localizable.ts +26 -0
  434. package/src/core/navigation.ts +43 -12
  435. package/src/core/page-modes.ts +56 -0
  436. package/src/core/probe.ts +26 -6
  437. package/src/core/project-graph.ts +163 -16
  438. package/src/core/redirect-patterns.ts +520 -0
  439. package/src/core/related.ts +131 -0
  440. package/src/core/schema.ts +339 -66
  441. package/src/core/sources/cache.ts +6 -0
  442. package/src/core/sources/contentful-rich-text.ts +29 -6
  443. package/src/core/sources/contentful.ts +135 -25
  444. package/src/core/sources/filesystem.ts +26 -4
  445. package/src/core/sources/github-releases.ts +12 -1
  446. package/src/core/sources/lexical.ts +15 -10
  447. package/src/core/sources/mdx-remote.ts +62 -10
  448. package/src/core/sources/normalize.ts +228 -41
  449. package/src/core/sources/notion.ts +7 -1
  450. package/src/core/sources/obsidian.ts +16 -3
  451. package/src/core/sources/payload.ts +38 -15
  452. package/src/core/sources/read.ts +8 -3
  453. package/src/core/sources/remote.ts +72 -15
  454. package/src/core/sources/resolve.ts +11 -1
  455. package/src/core/sources/sanity.ts +43 -25
  456. package/src/core/sources/strapi.ts +2 -2
  457. package/src/core/types.ts +19 -1
  458. package/src/core/ui-packs/ar.ts +44 -0
  459. package/src/core/ui-packs/bg.ts +46 -0
  460. package/src/core/ui-packs/bn.ts +44 -0
  461. package/src/core/ui-packs/ca.ts +47 -0
  462. package/src/core/ui-packs/cs.ts +45 -0
  463. package/src/core/ui-packs/da.ts +46 -0
  464. package/src/core/ui-packs/de.ts +47 -0
  465. package/src/core/ui-packs/el.ts +46 -0
  466. package/src/core/ui-packs/es.ts +47 -0
  467. package/src/core/ui-packs/fa.ts +46 -0
  468. package/src/core/ui-packs/fi.ts +46 -0
  469. package/src/core/ui-packs/fr.ts +47 -0
  470. package/src/core/ui-packs/he.ts +44 -0
  471. package/src/core/ui-packs/hi.ts +45 -0
  472. package/src/core/ui-packs/hr.ts +46 -0
  473. package/src/core/ui-packs/hu.ts +45 -0
  474. package/src/core/ui-packs/id.ts +46 -0
  475. package/src/core/ui-packs/it.ts +46 -0
  476. package/src/core/ui-packs/ja.ts +46 -0
  477. package/src/core/ui-packs/ko.ts +45 -0
  478. package/src/core/ui-packs/nl.ts +47 -0
  479. package/src/core/ui-packs/no.ts +45 -0
  480. package/src/core/ui-packs/pl.ts +46 -0
  481. package/src/core/ui-packs/pt-br.ts +47 -0
  482. package/src/core/ui-packs/pt.ts +46 -0
  483. package/src/core/ui-packs/ro.ts +46 -0
  484. package/src/core/ui-packs/ru.ts +46 -0
  485. package/src/core/ui-packs/sk.ts +45 -0
  486. package/src/core/ui-packs/sr.ts +46 -0
  487. package/src/core/ui-packs/sv.ts +45 -0
  488. package/src/core/ui-packs/th.ts +44 -0
  489. package/src/core/ui-packs/tr.ts +46 -0
  490. package/src/core/ui-packs/uk.ts +46 -0
  491. package/src/core/ui-packs/vi.ts +46 -0
  492. package/src/core/ui-packs/zh-tw.ts +44 -0
  493. package/src/core/ui-packs/zh.ts +44 -0
  494. package/src/core/variables.ts +103 -0
  495. package/src/deploy/adapter-output.ts +7 -2
  496. package/src/deploy/adapters/cloudflare.ts +7 -5
  497. package/src/deploy/adapters/node.ts +47 -9
  498. package/src/deploy/adapters/types.ts +7 -3
  499. package/src/deploy/artifacts.ts +79 -9
  500. package/src/deploy/cloudflare-negotiation.ts +35 -5
  501. package/src/deploy/headers.ts +2 -1
  502. package/src/deploy/node-headers.ts +63 -9
  503. package/src/deploy/platforms/cloudflare.ts +45 -9
  504. package/src/deploy/platforms/netlify.ts +35 -2
  505. package/src/deploy/platforms/node.ts +12 -2
  506. package/src/deploy/platforms/types.ts +21 -7
  507. package/src/deploy/platforms/vercel.ts +149 -17
  508. package/src/deploy/redirects.ts +151 -24
  509. package/src/deploy/rss.ts +3 -1
  510. package/src/deploy/sitemap.ts +39 -5
  511. package/src/deploy/vercel-negotiation.ts +326 -102
  512. package/src/eval/agents.ts +18 -1
  513. package/src/eval/prompts.ts +6 -3
  514. package/src/eval/report.ts +34 -13
  515. package/src/eval/run.ts +5 -0
  516. package/src/markdown/api-rail.ts +259 -0
  517. package/src/markdown/code-title.ts +35 -9
  518. package/src/markdown/features.ts +3 -2
  519. package/src/markdown/fence-meta.ts +2 -0
  520. package/src/markdown/include.ts +11 -1
  521. package/src/markdown/index.ts +28 -5
  522. package/src/markdown/math.ts +4 -4
  523. package/src/markdown/relative-links.ts +3 -2
  524. package/src/markdown/variables.ts +56 -0
  525. package/src/markdown/views.ts +82 -0
  526. package/src/narration/build.ts +412 -0
  527. package/src/narration/player.ts +249 -0
  528. package/src/narration/provider.ts +29 -0
  529. package/src/narration/script.ts +592 -0
  530. package/src/og/card.ts +7 -6
  531. package/src/openapi/checks.ts +273 -0
  532. package/src/openapi/graphql-build.ts +21 -0
  533. package/src/openapi/graphql.ts +11 -0
  534. package/src/openapi/model.ts +72 -27
  535. package/src/openapi/overlay.ts +256 -0
  536. package/src/openapi/parse.ts +182 -4
  537. package/src/openapi/references.ts +64 -8
  538. package/src/openapi/render-mdx.ts +5 -1
  539. package/src/openapi/scalar.ts +40 -6
  540. package/src/openapi/source.ts +40 -15
  541. package/src/ratelimit/cloudflare.ts +54 -0
  542. package/src/ratelimit/index.ts +30 -0
  543. package/src/ratelimit/memory.ts +45 -0
  544. package/src/ratelimit/runtime.ts +247 -0
  545. package/src/ratelimit/schema.ts +28 -0
  546. package/src/ratelimit/upstash.ts +60 -0
  547. package/src/ratelimit/wrangler.ts +70 -0
  548. package/src/reference/asyncapi.ts +2 -2
  549. package/src/reference/graphql.ts +20 -3
  550. package/src/reference/index.ts +1 -0
  551. package/src/reference/openapi.ts +21 -7
  552. package/src/reference/options.ts +80 -8
  553. package/src/reference/scalar.ts +33 -8
  554. package/src/registry/eject.ts +23 -5
  555. package/src/registry/registry.ts +7 -0
  556. package/src/search/adapters/locale-scope.ts +30 -0
  557. package/src/search/adapters/typesense.ts +14 -4
  558. package/src/search/build.ts +21 -3
  559. package/src/search/documents.ts +26 -2
  560. package/src/search/orama-index.ts +191 -34
  561. package/src/search/pagefind-ranking.ts +39 -0
  562. package/src/search/source-pages.ts +29 -0
  563. package/src/search/sync/algolia.ts +111 -10
  564. package/src/search/sync/index.ts +52 -13
  565. package/src/search/sync/orama-cloud.ts +3 -0
  566. package/src/search/sync/typesense.ts +76 -26
  567. package/src/seo/metatags.ts +67 -0
  568. package/src/sources/contentful.ts +12 -0
  569. package/src/sources/github-releases.ts +7 -1
  570. package/src/sources/shared.ts +3 -0
  571. package/src/theme/chrome-icons.ts +1 -0
  572. package/src/theme/color.ts +500 -0
  573. package/src/theme/entry.ts +85 -6
  574. package/src/theme/palette.ts +121 -45
  575. package/src/translate/prompts.ts +1 -0
  576. package/src/translate/validate.ts +31 -3
  577. package/src/upgrade/upgrade.ts +4 -171
  578. package/dist/cli/chunk-1d7ve1dm.js.map +0 -12
  579. package/dist/cli/chunk-2hsdwb9n.js.map +0 -10
  580. package/dist/cli/chunk-35d4wj9f.js.map +0 -15
  581. package/dist/cli/chunk-364znk6q.js +0 -75
  582. package/dist/cli/chunk-364znk6q.js.map +0 -11
  583. package/dist/cli/chunk-5m5nmvyq.js.map +0 -13
  584. package/dist/cli/chunk-8ktnccpt.js.map +0 -10
  585. package/dist/cli/chunk-9t7a85s3.js.map +0 -10
  586. package/dist/cli/chunk-b07cmahc.js +0 -145
  587. package/dist/cli/chunk-b07cmahc.js.map +0 -11
  588. package/dist/cli/chunk-c8chx29p.js.map +0 -36
  589. package/dist/cli/chunk-e04dxsz1.js +0 -39
  590. package/dist/cli/chunk-e04dxsz1.js.map +0 -10
  591. package/dist/cli/chunk-j85vccga.js.map +0 -36
  592. package/dist/cli/chunk-p3v96n38.js.map +0 -10
  593. package/dist/cli/chunk-pehfxfta.js.map +0 -10
  594. package/dist/cli/chunk-pv29h0wf.js.map +0 -190
  595. package/dist/cli/chunk-q58y5e6a.js.map +0 -10
  596. package/dist/cli/chunk-vg9r4eb9.js.map +0 -14
  597. package/dist/cli/chunk-wrr3j9w9.js.map +0 -35
  598. package/dist/cli/chunk-yfyb25rh.js.map +0 -14
  599. package/docs/content/sources.mdx +0 -334
  600. /package/dist/cli/{chunk-tkacnehg.js.map → chunk-3v3ffbrj.js.map} +0 -0
  601. /package/dist/cli/{chunk-r9rcc4w7.js.map → chunk-8y2kmjv8.js.map} +0 -0
  602. /package/dist/cli/{chunk-2eytanqx.js.map → chunk-c887fj0s.js.map} +0 -0
  603. /package/dist/cli/{chunk-akbpwfxc.js.map → chunk-dzwehpy7.js.map} +0 -0
  604. /package/dist/cli/{chunk-2z928egk.js.map → chunk-ft9vfys6.js.map} +0 -0
  605. /package/dist/cli/{chunk-a58773jm.js.map → chunk-kma9f6sf.js.map} +0 -0
  606. /package/dist/cli/{chunk-crgn1q09.js.map → chunk-sds923fa.js.map} +0 -0
  607. /package/dist/cli/{chunk-acanzt5p.js.map → chunk-tdqhyxfz.js.map} +0 -0
@@ -26,11 +26,30 @@ declare const sidebarDisplaySchema: z.ZodEnum<{
26
26
  page: "page";
27
27
  }>;
28
28
  export type SidebarDisplay = z.infer<typeof sidebarDisplaySchema>;
29
+ /**
30
+ * How a group's own page lists the group's other pages below its content:
31
+ * `card` a grid of cards, `accordion` a list with each subgroup collapsible,
32
+ * `none` no listing (the default). A group without its own page has nowhere
33
+ * to show one. Nested groups inherit the nearest setting above them.
34
+ */
35
+ declare const directoryModeSchema: z.ZodEnum<{
36
+ none: "none";
37
+ accordion: "accordion";
38
+ card: "card";
39
+ }>;
40
+ export type DirectoryMode = z.infer<typeof directoryModeSchema>;
29
41
  /** Frontmatter accepted on any content page. */
30
42
  declare const pageMetaBaseSchema: z.ZodObject<{
31
43
  ai: z.ZodPrefault<z.ZodObject<{
32
44
  exclude: z.ZodDefault<z.ZodBoolean>;
33
45
  }, z.core.$strict>>;
46
+ api: z.ZodOptional<z.ZodString>;
47
+ authMethod: z.ZodOptional<z.ZodEnum<{
48
+ none: "none";
49
+ key: "key";
50
+ bearer: "bearer";
51
+ basic: "basic";
52
+ }>>;
34
53
  authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
35
54
  avatar: z.ZodOptional<z.ZodString>;
36
55
  image: z.ZodOptional<z.ZodString>;
@@ -54,9 +73,26 @@ declare const pageMetaBaseSchema: z.ZodObject<{
54
73
  hidden: z.ZodDefault<z.ZodBoolean>;
55
74
  icon: z.ZodOptional<z.ZodString>;
56
75
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
76
+ mode: z.ZodOptional<z.ZodEnum<{
77
+ default: "default";
78
+ custom: "custom";
79
+ wide: "wide";
80
+ center: "center";
81
+ frame: "frame";
82
+ }>>;
83
+ narration: z.ZodDefault<z.ZodBoolean>;
57
84
  noindex: z.ZodDefault<z.ZodBoolean>;
85
+ pagination: z.ZodDefault<z.ZodBoolean>;
86
+ playground: z.ZodOptional<z.ZodEnum<{
87
+ none: "none";
88
+ interactive: "interactive";
89
+ simple: "simple";
90
+ }>>;
91
+ related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
58
92
  search: z.ZodPrefault<z.ZodObject<{
93
+ boost: z.ZodOptional<z.ZodNumber>;
59
94
  exclude: z.ZodDefault<z.ZodBoolean>;
95
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
96
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
97
  }, z.core.$strict>>;
62
98
  seo: z.ZodPrefault<z.ZodObject<{
@@ -89,6 +125,13 @@ export declare const pageMetaSchema: z.ZodObject<{
89
125
  ai: z.ZodPrefault<z.ZodObject<{
90
126
  exclude: z.ZodDefault<z.ZodBoolean>;
91
127
  }, z.core.$strict>>;
128
+ api: z.ZodOptional<z.ZodString>;
129
+ authMethod: z.ZodOptional<z.ZodEnum<{
130
+ none: "none";
131
+ key: "key";
132
+ bearer: "bearer";
133
+ basic: "basic";
134
+ }>>;
92
135
  authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
93
136
  avatar: z.ZodOptional<z.ZodString>;
94
137
  image: z.ZodOptional<z.ZodString>;
@@ -112,9 +155,26 @@ export declare const pageMetaSchema: z.ZodObject<{
112
155
  hidden: z.ZodDefault<z.ZodBoolean>;
113
156
  icon: z.ZodOptional<z.ZodString>;
114
157
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
158
+ mode: z.ZodOptional<z.ZodEnum<{
159
+ default: "default";
160
+ custom: "custom";
161
+ wide: "wide";
162
+ center: "center";
163
+ frame: "frame";
164
+ }>>;
165
+ narration: z.ZodDefault<z.ZodBoolean>;
115
166
  noindex: z.ZodDefault<z.ZodBoolean>;
167
+ pagination: z.ZodDefault<z.ZodBoolean>;
168
+ playground: z.ZodOptional<z.ZodEnum<{
169
+ none: "none";
170
+ interactive: "interactive";
171
+ simple: "simple";
172
+ }>>;
173
+ related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
116
174
  search: z.ZodPrefault<z.ZodObject<{
175
+ boost: z.ZodOptional<z.ZodNumber>;
117
176
  exclude: z.ZodDefault<z.ZodBoolean>;
177
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
178
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
119
179
  }, z.core.$strict>>;
120
180
  seo: z.ZodPrefault<z.ZodObject<{
@@ -160,6 +220,13 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
160
220
  ai: z.ZodPrefault<z.ZodObject<{
161
221
  exclude: z.ZodDefault<z.ZodBoolean>;
162
222
  }, z.core.$strict>>;
223
+ api: z.ZodOptional<z.ZodString>;
224
+ authMethod: z.ZodOptional<z.ZodEnum<{
225
+ none: "none";
226
+ key: "key";
227
+ bearer: "bearer";
228
+ basic: "basic";
229
+ }>>;
163
230
  authors: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
164
231
  avatar: z.ZodOptional<z.ZodString>;
165
232
  image: z.ZodOptional<z.ZodString>;
@@ -183,9 +250,26 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
183
250
  hidden: z.ZodDefault<z.ZodBoolean>;
184
251
  icon: z.ZodOptional<z.ZodString>;
185
252
  lastModified: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>, z.ZodTransform<string, string | Date>>>;
253
+ mode: z.ZodOptional<z.ZodEnum<{
254
+ default: "default";
255
+ custom: "custom";
256
+ wide: "wide";
257
+ center: "center";
258
+ frame: "frame";
259
+ }>>;
260
+ narration: z.ZodDefault<z.ZodBoolean>;
186
261
  noindex: z.ZodDefault<z.ZodBoolean>;
262
+ pagination: z.ZodDefault<z.ZodBoolean>;
263
+ playground: z.ZodOptional<z.ZodEnum<{
264
+ none: "none";
265
+ interactive: "interactive";
266
+ simple: "simple";
267
+ }>>;
268
+ related: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>;
187
269
  search: z.ZodPrefault<z.ZodObject<{
270
+ boost: z.ZodOptional<z.ZodNumber>;
188
271
  exclude: z.ZodDefault<z.ZodBoolean>;
272
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
273
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
190
274
  }, z.core.$strict>>;
191
275
  seo: z.ZodPrefault<z.ZodObject<{
@@ -216,6 +300,11 @@ export declare const pageCollectionSchema: z.ZodCatch<z.ZodObject<{
216
300
  }, z.core.$loose>>;
217
301
  export declare const folderMetaSchema: z.ZodObject<{
218
302
  collapsed: z.ZodOptional<z.ZodBoolean>;
303
+ directory: z.ZodOptional<z.ZodEnum<{
304
+ none: "none";
305
+ accordion: "accordion";
306
+ card: "card";
307
+ }>>;
219
308
  display: z.ZodOptional<z.ZodEnum<{
220
309
  flat: "flat";
221
310
  group: "group";
@@ -227,24 +316,18 @@ export declare const folderMetaSchema: z.ZodObject<{
227
316
  title: z.ZodOptional<z.ZodString>;
228
317
  }, z.core.$strict>;
229
318
  export type FolderMeta = z.infer<typeof folderMetaSchema>;
230
- /** A validated `content.sources` entry: an adapter descriptor from `blume/sources`. */
231
- export type { ContentSourceAdapter } from "../sources/registry.ts";
232
319
  /**
233
- * A header label that may localize: a plain string, or a map of locale code to
234
- * label (`{ en: "Docs", ja: "ドキュメント" }`). Resolved when each locale's
235
- * navigation is built — the active locale's entry wins, then the default
236
- * locale's, then the map's first entry — so a single-locale site can keep
237
- * plain strings and an i18n site can translate its header without forking the
238
- * config.
320
+ * A label that may localize (header tabs and links, the banner, the footer):
321
+ * a plain string, or a map of locale code to label (`{ en: "Docs", ja: "ドキュメント" }`).
322
+ * Resolved per locale by `core/localizable.ts` — the active locale's entry
323
+ * wins, then the default locale's, then the map's first entry — so a
324
+ * single-locale site can keep plain strings and an i18n site can translate
325
+ * its labels without forking the config.
239
326
  */
240
327
  declare const localizableLabelSchema: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
241
328
  export type LocalizableLabel = z.infer<typeof localizableLabelSchema>;
242
- declare const directoryModeSchema: z.ZodEnum<{
243
- none: "none";
244
- accordion: "accordion";
245
- card: "card";
246
- }>;
247
- export type DirectoryMode = z.infer<typeof directoryModeSchema>;
329
+ /** A validated `content.sources` entry: an adapter descriptor from `blume/sources`. */
330
+ export type { ContentSourceAdapter } from "../sources/registry.ts";
248
331
  /** A node in an explicit sidebar config: a page reference or a group/link. */
249
332
  export type SidebarItemConfig = string | {
250
333
  label: string;
@@ -259,6 +342,9 @@ export type SidebarItemConfig = string | {
259
342
  };
260
343
  /** The object form of `search`: the adapter plus its adapter-independent settings. */
261
344
  declare const searchOptionsSchema: z.ZodObject<{
345
+ analytics: z.ZodPrefault<z.ZodObject<{
346
+ queries: z.ZodDefault<z.ZodBoolean>;
347
+ }, z.core.$strict>>;
262
348
  indexing: z.ZodPrefault<z.ZodObject<{
263
349
  includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
264
350
  includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
@@ -324,6 +410,7 @@ declare const searchOptionsSchema: z.ZodObject<{
324
410
  apiKey: string;
325
411
  collection: string;
326
412
  host: string;
413
+ locale?: string | undefined;
327
414
  port?: number | undefined;
328
415
  protocol?: "http" | "https" | undefined;
329
416
  };
@@ -382,6 +469,7 @@ declare const searchOptionsSchema: z.ZodObject<{
382
469
  apiKey: z.ZodString;
383
470
  collection: z.ZodString;
384
471
  host: z.ZodString;
472
+ locale: z.ZodOptional<z.ZodString>;
385
473
  port: z.ZodOptional<z.ZodNumber>;
386
474
  protocol: z.ZodOptional<z.ZodEnum<{
387
475
  http: "http";
@@ -453,6 +541,7 @@ declare const searchOptionsSchema: z.ZodObject<{
453
541
  apiKey: string;
454
542
  collection: string;
455
543
  host: string;
544
+ locale?: string | undefined;
456
545
  port?: number | undefined;
457
546
  protocol?: "http" | "https" | undefined;
458
547
  };
@@ -472,6 +561,21 @@ type SearchOptionsInput = z.input<typeof searchOptionsSchema>;
472
561
  type SearchConfigInput = false | SearchAdapterInput | SearchOptionsInput;
473
562
  declare const aiConfigSchema: z.ZodObject<{
474
563
  assistant: z.ZodOptional<z.ZodObject<{
564
+ captcha: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
565
+ kind: z.ZodLiteral<"hcaptcha">;
566
+ options: z.ZodObject<{
567
+ siteKey: z.ZodString;
568
+ }, z.core.$strict>;
569
+ requiredSecrets: z.ZodArray<z.ZodString>;
570
+ runtimeDeps: z.ZodArray<z.ZodString>;
571
+ }, z.core.$strict>, z.ZodObject<{
572
+ kind: z.ZodLiteral<"turnstile">;
573
+ options: z.ZodObject<{
574
+ siteKey: z.ZodString;
575
+ }, z.core.$strict>;
576
+ requiredSecrets: z.ZodArray<z.ZodString>;
577
+ runtimeDeps: z.ZodArray<z.ZodString>;
578
+ }, z.core.$strict>], "kind">>;
475
579
  cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
476
580
  enabled: z.ZodDefault<z.ZodBoolean>;
477
581
  endpoint: z.ZodOptional<z.ZodString>;
@@ -495,9 +599,11 @@ declare const aiConfigSchema: z.ZodObject<{
495
599
  requiredSecrets: z.ZodArray<z.ZodString>;
496
600
  runtimeDeps: z.ZodArray<z.ZodString>;
497
601
  }, z.core.$strict>, z.ZodObject<{
498
- kind: z.ZodLiteral<"openrouter">;
602
+ kind: z.ZodLiteral<"openai">;
499
603
  options: z.ZodObject<{
604
+ baseUrl: z.ZodOptional<z.ZodURL>;
500
605
  model: z.ZodString;
606
+ name: z.ZodOptional<z.ZodString>;
501
607
  reasoning: z.ZodOptional<z.ZodEnum<{
502
608
  none: "none";
503
609
  minimal: "minimal";
@@ -513,9 +619,8 @@ declare const aiConfigSchema: z.ZodObject<{
513
619
  requiredSecrets: z.ZodArray<z.ZodString>;
514
620
  runtimeDeps: z.ZodArray<z.ZodString>;
515
621
  }, z.core.$strict>, z.ZodObject<{
516
- kind: z.ZodLiteral<"llmgateway">;
622
+ kind: z.ZodLiteral<"anthropic">;
517
623
  options: z.ZodObject<{
518
- baseUrl: z.ZodDefault<z.ZodURL>;
519
624
  model: z.ZodString;
520
625
  reasoning: z.ZodOptional<z.ZodEnum<{
521
626
  none: "none";
@@ -532,10 +637,53 @@ declare const aiConfigSchema: z.ZodObject<{
532
637
  requiredSecrets: z.ZodArray<z.ZodString>;
533
638
  runtimeDeps: z.ZodArray<z.ZodString>;
534
639
  }, z.core.$strict>, z.ZodObject<{
535
- kind: z.ZodLiteral<"inkeep">;
640
+ kind: z.ZodLiteral<"gemini">;
536
641
  options: z.ZodObject<{
537
- baseUrl: z.ZodDefault<z.ZodURL>;
538
642
  model: z.ZodString;
643
+ reasoning: z.ZodOptional<z.ZodEnum<{
644
+ none: "none";
645
+ minimal: "minimal";
646
+ low: "low";
647
+ medium: "medium";
648
+ high: "high";
649
+ xhigh: "xhigh";
650
+ }>>;
651
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
652
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
653
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
654
+ }, z.core.$strict>;
655
+ requiredSecrets: z.ZodArray<z.ZodString>;
656
+ runtimeDeps: z.ZodArray<z.ZodString>;
657
+ }, z.core.$strict>, z.ZodObject<{
658
+ kind: z.ZodLiteral<"grok">;
659
+ options: z.ZodObject<{
660
+ model: z.ZodString;
661
+ reasoning: z.ZodOptional<z.ZodEnum<{
662
+ none: "none";
663
+ minimal: "minimal";
664
+ low: "low";
665
+ medium: "medium";
666
+ high: "high";
667
+ xhigh: "xhigh";
668
+ }>>;
669
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
670
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
671
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
672
+ }, z.core.$strict>;
673
+ requiredSecrets: z.ZodArray<z.ZodString>;
674
+ runtimeDeps: z.ZodArray<z.ZodString>;
675
+ }, z.core.$strict>, z.ZodObject<{
676
+ kind: z.ZodLiteral<"openrouter">;
677
+ options: z.ZodObject<{
678
+ model: z.ZodString;
679
+ reasoning: z.ZodOptional<z.ZodEnum<{
680
+ none: "none";
681
+ minimal: "minimal";
682
+ low: "low";
683
+ medium: "medium";
684
+ high: "high";
685
+ xhigh: "xhigh";
686
+ }>>;
539
687
  apiKeyEnv: z.ZodDefault<z.ZodString>;
540
688
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
541
689
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
@@ -543,12 +691,10 @@ declare const aiConfigSchema: z.ZodObject<{
543
691
  requiredSecrets: z.ZodArray<z.ZodString>;
544
692
  runtimeDeps: z.ZodArray<z.ZodString>;
545
693
  }, z.core.$strict>, z.ZodObject<{
546
- kind: z.ZodLiteral<"openai-compatible">;
694
+ kind: z.ZodLiteral<"llmgateway">;
547
695
  options: z.ZodObject<{
548
- apiKeyEnv: z.ZodString;
549
- baseUrl: z.ZodURL;
696
+ baseUrl: z.ZodDefault<z.ZodURL>;
550
697
  model: z.ZodString;
551
- name: z.ZodDefault<z.ZodString>;
552
698
  reasoning: z.ZodOptional<z.ZodEnum<{
553
699
  none: "none";
554
700
  minimal: "minimal";
@@ -557,6 +703,18 @@ declare const aiConfigSchema: z.ZodObject<{
557
703
  high: "high";
558
704
  xhigh: "xhigh";
559
705
  }>>;
706
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
707
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
708
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
709
+ }, z.core.$strict>;
710
+ requiredSecrets: z.ZodArray<z.ZodString>;
711
+ runtimeDeps: z.ZodArray<z.ZodString>;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ kind: z.ZodLiteral<"inkeep">;
714
+ options: z.ZodObject<{
715
+ baseUrl: z.ZodDefault<z.ZodURL>;
716
+ model: z.ZodString;
717
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
560
718
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
561
719
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
562
720
  }, z.core.$strict>;
@@ -572,6 +730,8 @@ declare const aiConfigSchema: z.ZodObject<{
572
730
  icon: z.ZodOptional<z.ZodString>;
573
731
  label: z.ZodString;
574
732
  }, z.core.$strict>>>;
733
+ support: z.ZodOptional<z.ZodString>;
734
+ tools: z.ZodOptional<z.ZodBoolean>;
575
735
  }, z.core.$strict>>;
576
736
  openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
577
737
  v0: "v0";
@@ -619,6 +779,7 @@ declare const i18nConfigSchema: z.ZodObject<{
619
779
  dir: "dir";
620
780
  dot: "dot";
621
781
  }>>;
782
+ routeByBrowserLanguage: z.ZodDefault<z.ZodBoolean>;
622
783
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>>;
623
784
  }, z.core.$strict>;
624
785
  /**
@@ -790,6 +951,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
790
951
  name: z.ZodOptional<z.ZodString>;
791
952
  route: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>;
792
953
  }, z.core.$strict>>;
954
+ skillMd: z.ZodDefault<z.ZodBoolean>;
793
955
  skills: z.ZodOptional<z.ZodString>;
794
956
  webBotAuth: z.ZodPrefault<z.ZodObject<{
795
957
  keys: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -798,6 +960,21 @@ export declare const blumeConfigSchema: z.ZodObject<{
798
960
  }, z.core.$strict>>;
799
961
  ai: z.ZodPrefault<z.ZodObject<{
800
962
  assistant: z.ZodOptional<z.ZodObject<{
963
+ captcha: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
964
+ kind: z.ZodLiteral<"hcaptcha">;
965
+ options: z.ZodObject<{
966
+ siteKey: z.ZodString;
967
+ }, z.core.$strict>;
968
+ requiredSecrets: z.ZodArray<z.ZodString>;
969
+ runtimeDeps: z.ZodArray<z.ZodString>;
970
+ }, z.core.$strict>, z.ZodObject<{
971
+ kind: z.ZodLiteral<"turnstile">;
972
+ options: z.ZodObject<{
973
+ siteKey: z.ZodString;
974
+ }, z.core.$strict>;
975
+ requiredSecrets: z.ZodArray<z.ZodString>;
976
+ runtimeDeps: z.ZodArray<z.ZodString>;
977
+ }, z.core.$strict>], "kind">>;
801
978
  cors: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodPipe<z.ZodURL, z.ZodTransform<string, string>>]>>>;
802
979
  enabled: z.ZodDefault<z.ZodBoolean>;
803
980
  endpoint: z.ZodOptional<z.ZodString>;
@@ -821,9 +998,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
821
998
  requiredSecrets: z.ZodArray<z.ZodString>;
822
999
  runtimeDeps: z.ZodArray<z.ZodString>;
823
1000
  }, z.core.$strict>, z.ZodObject<{
824
- kind: z.ZodLiteral<"openrouter">;
1001
+ kind: z.ZodLiteral<"openai">;
825
1002
  options: z.ZodObject<{
1003
+ baseUrl: z.ZodOptional<z.ZodURL>;
826
1004
  model: z.ZodString;
1005
+ name: z.ZodOptional<z.ZodString>;
827
1006
  reasoning: z.ZodOptional<z.ZodEnum<{
828
1007
  none: "none";
829
1008
  minimal: "minimal";
@@ -839,9 +1018,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
839
1018
  requiredSecrets: z.ZodArray<z.ZodString>;
840
1019
  runtimeDeps: z.ZodArray<z.ZodString>;
841
1020
  }, z.core.$strict>, z.ZodObject<{
842
- kind: z.ZodLiteral<"llmgateway">;
1021
+ kind: z.ZodLiteral<"anthropic">;
843
1022
  options: z.ZodObject<{
844
- baseUrl: z.ZodDefault<z.ZodURL>;
845
1023
  model: z.ZodString;
846
1024
  reasoning: z.ZodOptional<z.ZodEnum<{
847
1025
  none: "none";
@@ -858,10 +1036,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
858
1036
  requiredSecrets: z.ZodArray<z.ZodString>;
859
1037
  runtimeDeps: z.ZodArray<z.ZodString>;
860
1038
  }, z.core.$strict>, z.ZodObject<{
861
- kind: z.ZodLiteral<"inkeep">;
1039
+ kind: z.ZodLiteral<"gemini">;
862
1040
  options: z.ZodObject<{
863
- baseUrl: z.ZodDefault<z.ZodURL>;
864
1041
  model: z.ZodString;
1042
+ reasoning: z.ZodOptional<z.ZodEnum<{
1043
+ none: "none";
1044
+ minimal: "minimal";
1045
+ low: "low";
1046
+ medium: "medium";
1047
+ high: "high";
1048
+ xhigh: "xhigh";
1049
+ }>>;
865
1050
  apiKeyEnv: z.ZodDefault<z.ZodString>;
866
1051
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
867
1052
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
@@ -869,12 +1054,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
869
1054
  requiredSecrets: z.ZodArray<z.ZodString>;
870
1055
  runtimeDeps: z.ZodArray<z.ZodString>;
871
1056
  }, z.core.$strict>, z.ZodObject<{
872
- kind: z.ZodLiteral<"openai-compatible">;
1057
+ kind: z.ZodLiteral<"grok">;
873
1058
  options: z.ZodObject<{
874
- apiKeyEnv: z.ZodString;
875
- baseUrl: z.ZodURL;
876
1059
  model: z.ZodString;
877
- name: z.ZodDefault<z.ZodString>;
878
1060
  reasoning: z.ZodOptional<z.ZodEnum<{
879
1061
  none: "none";
880
1062
  minimal: "minimal";
@@ -883,6 +1065,55 @@ export declare const blumeConfigSchema: z.ZodObject<{
883
1065
  high: "high";
884
1066
  xhigh: "xhigh";
885
1067
  }>>;
1068
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
1069
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1070
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1071
+ }, z.core.$strict>;
1072
+ requiredSecrets: z.ZodArray<z.ZodString>;
1073
+ runtimeDeps: z.ZodArray<z.ZodString>;
1074
+ }, z.core.$strict>, z.ZodObject<{
1075
+ kind: z.ZodLiteral<"openrouter">;
1076
+ options: z.ZodObject<{
1077
+ model: z.ZodString;
1078
+ reasoning: z.ZodOptional<z.ZodEnum<{
1079
+ none: "none";
1080
+ minimal: "minimal";
1081
+ low: "low";
1082
+ medium: "medium";
1083
+ high: "high";
1084
+ xhigh: "xhigh";
1085
+ }>>;
1086
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
1087
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1088
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1089
+ }, z.core.$strict>;
1090
+ requiredSecrets: z.ZodArray<z.ZodString>;
1091
+ runtimeDeps: z.ZodArray<z.ZodString>;
1092
+ }, z.core.$strict>, z.ZodObject<{
1093
+ kind: z.ZodLiteral<"llmgateway">;
1094
+ options: z.ZodObject<{
1095
+ baseUrl: z.ZodDefault<z.ZodURL>;
1096
+ model: z.ZodString;
1097
+ reasoning: z.ZodOptional<z.ZodEnum<{
1098
+ none: "none";
1099
+ minimal: "minimal";
1100
+ low: "low";
1101
+ medium: "medium";
1102
+ high: "high";
1103
+ xhigh: "xhigh";
1104
+ }>>;
1105
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
1106
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1107
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
1108
+ }, z.core.$strict>;
1109
+ requiredSecrets: z.ZodArray<z.ZodString>;
1110
+ runtimeDeps: z.ZodArray<z.ZodString>;
1111
+ }, z.core.$strict>, z.ZodObject<{
1112
+ kind: z.ZodLiteral<"inkeep">;
1113
+ options: z.ZodObject<{
1114
+ baseUrl: z.ZodDefault<z.ZodURL>;
1115
+ model: z.ZodString;
1116
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
886
1117
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
887
1118
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
888
1119
  }, z.core.$strict>;
@@ -898,6 +1129,8 @@ export declare const blumeConfigSchema: z.ZodObject<{
898
1129
  icon: z.ZodOptional<z.ZodString>;
899
1130
  label: z.ZodString;
900
1131
  }, z.core.$strict>>>;
1132
+ support: z.ZodOptional<z.ZodString>;
1133
+ tools: z.ZodOptional<z.ZodBoolean>;
901
1134
  }, z.core.$strict>>;
902
1135
  openInChat: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodArray<z.ZodEnum<{
903
1136
  v0: "v0";
@@ -1078,16 +1311,115 @@ export declare const blumeConfigSchema: z.ZodObject<{
1078
1311
  requiredSecrets: z.ZodArray<z.ZodString>;
1079
1312
  runtimeDeps: z.ZodArray<z.ZodString>;
1080
1313
  }, z.core.$strict>], "kind">>>;
1314
+ api: z.ZodPrefault<z.ZodObject<{
1315
+ auth: z.ZodOptional<z.ZodObject<{
1316
+ method: z.ZodEnum<{
1317
+ none: "none";
1318
+ key: "key";
1319
+ bearer: "bearer";
1320
+ basic: "basic";
1321
+ }>;
1322
+ name: z.ZodOptional<z.ZodString>;
1323
+ }, z.core.$strict>>;
1324
+ playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1325
+ enabled: z.ZodDefault<z.ZodBoolean>;
1326
+ proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1327
+ }, z.core.$strict>]>>, z.ZodTransform<{
1328
+ enabled: boolean;
1329
+ proxy: string | boolean;
1330
+ }, boolean | {
1331
+ enabled: boolean;
1332
+ proxy: string | boolean;
1333
+ }>>;
1334
+ server: z.ZodOptional<z.ZodString>;
1335
+ }, z.core.$strict>>;
1081
1336
  banner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1082
- content: z.ZodString;
1337
+ content: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
1083
1338
  dismissible: z.ZodDefault<z.ZodBoolean>;
1084
1339
  id: z.ZodOptional<z.ZodString>;
1085
1340
  link: z.ZodOptional<z.ZodObject<{
1086
1341
  href: z.ZodString;
1087
- text: z.ZodString;
1342
+ text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
1088
1343
  }, z.core.$strict>>;
1089
1344
  }, z.core.$strict>]>>;
1090
1345
  basePath: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string, string | undefined>>;
1346
+ changelog: z.ZodOptional<z.ZodObject<{
1347
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1348
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1349
+ }, z.core.$strict>>;
1350
+ consent: z.ZodPipe<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1351
+ kind: z.ZodLiteral<"ethyca">;
1352
+ options: z.ZodObject<{
1353
+ notice: z.ZodOptional<z.ZodString>;
1354
+ privacyCenter: z.ZodURL;
1355
+ propertyId: z.ZodOptional<z.ZodString>;
1356
+ }, z.core.$strict>;
1357
+ requiredSecrets: z.ZodArray<z.ZodString>;
1358
+ runtimeDeps: z.ZodArray<z.ZodString>;
1359
+ }, z.core.$strict>, z.ZodObject<{
1360
+ kind: z.ZodLiteral<"native">;
1361
+ options: z.ZodObject<{
1362
+ policy: z.ZodOptional<z.ZodString>;
1363
+ }, z.core.$strict>;
1364
+ requiredSecrets: z.ZodArray<z.ZodString>;
1365
+ runtimeDeps: z.ZodArray<z.ZodString>;
1366
+ }, z.core.$strict>, z.ZodObject<{
1367
+ kind: z.ZodLiteral<"osano">;
1368
+ options: z.ZodObject<{
1369
+ configId: z.ZodString;
1370
+ customerId: z.ZodString;
1371
+ }, z.core.$strict>;
1372
+ requiredSecrets: z.ZodArray<z.ZodString>;
1373
+ runtimeDeps: z.ZodArray<z.ZodString>;
1374
+ }, z.core.$strict>], "kind">>, z.ZodTransform<{
1375
+ kind: "ethyca";
1376
+ options: {
1377
+ privacyCenter: string;
1378
+ notice?: string | undefined;
1379
+ propertyId?: string | undefined;
1380
+ };
1381
+ requiredSecrets: string[];
1382
+ runtimeDeps: string[];
1383
+ } | {
1384
+ kind: "native";
1385
+ options: {
1386
+ policy?: string | undefined;
1387
+ };
1388
+ requiredSecrets: string[];
1389
+ runtimeDeps: string[];
1390
+ } | {
1391
+ kind: "osano";
1392
+ options: {
1393
+ configId: string;
1394
+ customerId: string;
1395
+ };
1396
+ requiredSecrets: string[];
1397
+ runtimeDeps: string[];
1398
+ } | null, {
1399
+ kind: "ethyca";
1400
+ options: {
1401
+ privacyCenter: string;
1402
+ notice?: string | undefined;
1403
+ propertyId?: string | undefined;
1404
+ };
1405
+ requiredSecrets: string[];
1406
+ runtimeDeps: string[];
1407
+ } | {
1408
+ kind: "native";
1409
+ options: {
1410
+ policy?: string | undefined;
1411
+ };
1412
+ requiredSecrets: string[];
1413
+ runtimeDeps: string[];
1414
+ } | {
1415
+ kind: "osano";
1416
+ options: {
1417
+ configId: string;
1418
+ customerId: string;
1419
+ };
1420
+ requiredSecrets: string[];
1421
+ runtimeDeps: string[];
1422
+ } | undefined>>;
1091
1423
  content: z.ZodPrefault<z.ZodPipe<z.ZodObject<{
1092
1424
  defaultType: z.ZodDefault<z.ZodString>;
1093
1425
  exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1129,6 +1461,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1129
1461
  repo: string;
1130
1462
  pollInterval?: number | undefined;
1131
1463
  prefix?: string | undefined;
1464
+ baseUrl?: string | undefined;
1132
1465
  drafts?: boolean | undefined;
1133
1466
  limit?: number | undefined;
1134
1467
  prereleases?: boolean | undefined;
@@ -1184,11 +1517,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1184
1517
  body?: string | undefined;
1185
1518
  description?: string | undefined;
1186
1519
  lastModified?: string | undefined;
1520
+ order?: string | undefined;
1187
1521
  slug?: string | undefined;
1188
1522
  title?: string | undefined;
1189
1523
  } | undefined;
1524
+ host?: string | undefined;
1190
1525
  locale?: string | undefined;
1191
1526
  params?: Record<string, string> | undefined;
1527
+ previewHost?: string | undefined;
1192
1528
  };
1193
1529
  requiredSecrets: string[];
1194
1530
  runtimeDeps: string[];
@@ -1205,6 +1541,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1205
1541
  body?: string | undefined;
1206
1542
  description?: string | undefined;
1207
1543
  lastModified?: string | undefined;
1544
+ order?: string | undefined;
1208
1545
  slug?: string | undefined;
1209
1546
  title?: string | undefined;
1210
1547
  } | undefined;
@@ -1223,6 +1560,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1223
1560
  body?: string | undefined;
1224
1561
  description?: string | undefined;
1225
1562
  lastModified?: string | undefined;
1563
+ order?: string | undefined;
1226
1564
  slug?: string | undefined;
1227
1565
  title?: string | undefined;
1228
1566
  } | undefined;
@@ -1282,6 +1620,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1282
1620
  repo: string;
1283
1621
  pollInterval?: number | undefined;
1284
1622
  prefix?: string | undefined;
1623
+ baseUrl?: string | undefined;
1285
1624
  drafts?: boolean | undefined;
1286
1625
  limit?: number | undefined;
1287
1626
  prereleases?: boolean | undefined;
@@ -1337,11 +1676,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1337
1676
  body?: string | undefined;
1338
1677
  description?: string | undefined;
1339
1678
  lastModified?: string | undefined;
1679
+ order?: string | undefined;
1340
1680
  slug?: string | undefined;
1341
1681
  title?: string | undefined;
1342
1682
  } | undefined;
1683
+ host?: string | undefined;
1343
1684
  locale?: string | undefined;
1344
1685
  params?: Record<string, string> | undefined;
1686
+ previewHost?: string | undefined;
1345
1687
  };
1346
1688
  requiredSecrets: string[];
1347
1689
  runtimeDeps: string[];
@@ -1358,6 +1700,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1358
1700
  body?: string | undefined;
1359
1701
  description?: string | undefined;
1360
1702
  lastModified?: string | undefined;
1703
+ order?: string | undefined;
1361
1704
  slug?: string | undefined;
1362
1705
  title?: string | undefined;
1363
1706
  } | undefined;
@@ -1376,6 +1719,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1376
1719
  body?: string | undefined;
1377
1720
  description?: string | undefined;
1378
1721
  lastModified?: string | undefined;
1722
+ order?: string | undefined;
1379
1723
  slug?: string | undefined;
1380
1724
  title?: string | undefined;
1381
1725
  } | undefined;
@@ -1433,6 +1777,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1433
1777
  options: z.ZodObject<{
1434
1778
  pollInterval: z.ZodOptional<z.ZodNumber>;
1435
1779
  prefix: z.ZodOptional<z.ZodString>;
1780
+ baseUrl: z.ZodOptional<z.ZodString>;
1436
1781
  drafts: z.ZodOptional<z.ZodBoolean>;
1437
1782
  limit: z.ZodOptional<z.ZodNumber>;
1438
1783
  owner: z.ZodString;
@@ -1489,11 +1834,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1489
1834
  body: z.ZodOptional<z.ZodString>;
1490
1835
  description: z.ZodOptional<z.ZodString>;
1491
1836
  lastModified: z.ZodOptional<z.ZodString>;
1837
+ order: z.ZodOptional<z.ZodString>;
1492
1838
  slug: z.ZodOptional<z.ZodString>;
1493
1839
  title: z.ZodOptional<z.ZodString>;
1494
1840
  }, z.core.$strict>>;
1841
+ host: z.ZodOptional<z.ZodString>;
1495
1842
  locale: z.ZodOptional<z.ZodString>;
1496
1843
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1844
+ previewHost: z.ZodOptional<z.ZodString>;
1497
1845
  space: z.ZodString;
1498
1846
  }, z.core.$strict>;
1499
1847
  requiredSecrets: z.ZodArray<z.ZodString>;
@@ -1510,6 +1858,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1510
1858
  body: z.ZodOptional<z.ZodString>;
1511
1859
  description: z.ZodOptional<z.ZodString>;
1512
1860
  lastModified: z.ZodOptional<z.ZodString>;
1861
+ order: z.ZodOptional<z.ZodString>;
1513
1862
  slug: z.ZodOptional<z.ZodString>;
1514
1863
  title: z.ZodOptional<z.ZodString>;
1515
1864
  }, z.core.$strict>>;
@@ -1528,6 +1877,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1528
1877
  body: z.ZodOptional<z.ZodString>;
1529
1878
  description: z.ZodOptional<z.ZodString>;
1530
1879
  lastModified: z.ZodOptional<z.ZodString>;
1880
+ order: z.ZodOptional<z.ZodString>;
1531
1881
  slug: z.ZodOptional<z.ZodString>;
1532
1882
  title: z.ZodOptional<z.ZodString>;
1533
1883
  }, z.core.$strict>>;
@@ -1588,6 +1938,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1588
1938
  repo: string;
1589
1939
  pollInterval?: number | undefined;
1590
1940
  prefix?: string | undefined;
1941
+ baseUrl?: string | undefined;
1591
1942
  drafts?: boolean | undefined;
1592
1943
  limit?: number | undefined;
1593
1944
  prereleases?: boolean | undefined;
@@ -1643,11 +1994,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1643
1994
  body?: string | undefined;
1644
1995
  description?: string | undefined;
1645
1996
  lastModified?: string | undefined;
1997
+ order?: string | undefined;
1646
1998
  slug?: string | undefined;
1647
1999
  title?: string | undefined;
1648
2000
  } | undefined;
2001
+ host?: string | undefined;
1649
2002
  locale?: string | undefined;
1650
2003
  params?: Record<string, string> | undefined;
2004
+ previewHost?: string | undefined;
1651
2005
  };
1652
2006
  requiredSecrets: string[];
1653
2007
  runtimeDeps: string[];
@@ -1664,6 +2018,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1664
2018
  body?: string | undefined;
1665
2019
  description?: string | undefined;
1666
2020
  lastModified?: string | undefined;
2021
+ order?: string | undefined;
1667
2022
  slug?: string | undefined;
1668
2023
  title?: string | undefined;
1669
2024
  } | undefined;
@@ -1682,6 +2037,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1682
2037
  body?: string | undefined;
1683
2038
  description?: string | undefined;
1684
2039
  lastModified?: string | undefined;
2040
+ order?: string | undefined;
1685
2041
  slug?: string | undefined;
1686
2042
  title?: string | undefined;
1687
2043
  } | undefined;
@@ -1741,6 +2097,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1741
2097
  repo: string;
1742
2098
  pollInterval?: number | undefined;
1743
2099
  prefix?: string | undefined;
2100
+ baseUrl?: string | undefined;
1744
2101
  drafts?: boolean | undefined;
1745
2102
  limit?: number | undefined;
1746
2103
  prereleases?: boolean | undefined;
@@ -1796,11 +2153,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1796
2153
  body?: string | undefined;
1797
2154
  description?: string | undefined;
1798
2155
  lastModified?: string | undefined;
2156
+ order?: string | undefined;
1799
2157
  slug?: string | undefined;
1800
2158
  title?: string | undefined;
1801
2159
  } | undefined;
2160
+ host?: string | undefined;
1802
2161
  locale?: string | undefined;
1803
2162
  params?: Record<string, string> | undefined;
2163
+ previewHost?: string | undefined;
1804
2164
  };
1805
2165
  requiredSecrets: string[];
1806
2166
  runtimeDeps: string[];
@@ -1817,6 +2177,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1817
2177
  body?: string | undefined;
1818
2178
  description?: string | undefined;
1819
2179
  lastModified?: string | undefined;
2180
+ order?: string | undefined;
1820
2181
  slug?: string | undefined;
1821
2182
  title?: string | undefined;
1822
2183
  } | undefined;
@@ -1835,6 +2196,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1835
2196
  body?: string | undefined;
1836
2197
  description?: string | undefined;
1837
2198
  lastModified?: string | undefined;
2199
+ order?: string | undefined;
1838
2200
  slug?: string | undefined;
1839
2201
  title?: string | undefined;
1840
2202
  } | undefined;
@@ -1900,6 +2262,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1900
2262
  repo: string;
1901
2263
  pollInterval?: number | undefined;
1902
2264
  prefix?: string | undefined;
2265
+ baseUrl?: string | undefined;
1903
2266
  drafts?: boolean | undefined;
1904
2267
  limit?: number | undefined;
1905
2268
  prereleases?: boolean | undefined;
@@ -1955,11 +2318,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
1955
2318
  body?: string | undefined;
1956
2319
  description?: string | undefined;
1957
2320
  lastModified?: string | undefined;
2321
+ order?: string | undefined;
1958
2322
  slug?: string | undefined;
1959
2323
  title?: string | undefined;
1960
2324
  } | undefined;
2325
+ host?: string | undefined;
1961
2326
  locale?: string | undefined;
1962
2327
  params?: Record<string, string> | undefined;
2328
+ previewHost?: string | undefined;
1963
2329
  };
1964
2330
  requiredSecrets: string[];
1965
2331
  runtimeDeps: string[];
@@ -1976,6 +2342,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1976
2342
  body?: string | undefined;
1977
2343
  description?: string | undefined;
1978
2344
  lastModified?: string | undefined;
2345
+ order?: string | undefined;
1979
2346
  slug?: string | undefined;
1980
2347
  title?: string | undefined;
1981
2348
  } | undefined;
@@ -1994,6 +2361,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
1994
2361
  body?: string | undefined;
1995
2362
  description?: string | undefined;
1996
2363
  lastModified?: string | undefined;
2364
+ order?: string | undefined;
1997
2365
  slug?: string | undefined;
1998
2366
  title?: string | undefined;
1999
2367
  } | undefined;
@@ -2070,6 +2438,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2070
2438
  repo: string;
2071
2439
  pollInterval?: number | undefined;
2072
2440
  prefix?: string | undefined;
2441
+ baseUrl?: string | undefined;
2073
2442
  drafts?: boolean | undefined;
2074
2443
  limit?: number | undefined;
2075
2444
  prereleases?: boolean | undefined;
@@ -2125,11 +2494,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2125
2494
  body?: string | undefined;
2126
2495
  description?: string | undefined;
2127
2496
  lastModified?: string | undefined;
2497
+ order?: string | undefined;
2128
2498
  slug?: string | undefined;
2129
2499
  title?: string | undefined;
2130
2500
  } | undefined;
2501
+ host?: string | undefined;
2131
2502
  locale?: string | undefined;
2132
2503
  params?: Record<string, string> | undefined;
2504
+ previewHost?: string | undefined;
2133
2505
  };
2134
2506
  requiredSecrets: string[];
2135
2507
  runtimeDeps: string[];
@@ -2146,6 +2518,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2146
2518
  body?: string | undefined;
2147
2519
  description?: string | undefined;
2148
2520
  lastModified?: string | undefined;
2521
+ order?: string | undefined;
2149
2522
  slug?: string | undefined;
2150
2523
  title?: string | undefined;
2151
2524
  } | undefined;
@@ -2164,6 +2537,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2164
2537
  body?: string | undefined;
2165
2538
  description?: string | undefined;
2166
2539
  lastModified?: string | undefined;
2540
+ order?: string | undefined;
2167
2541
  slug?: string | undefined;
2168
2542
  title?: string | undefined;
2169
2543
  } | undefined;
@@ -2279,6 +2653,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2279
2653
  server: "server";
2280
2654
  }>>;
2281
2655
  site: z.ZodOptional<z.ZodURL>;
2656
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodObject<{
2657
+ hostname: z.ZodOptional<z.ZodString>;
2658
+ port: z.ZodOptional<z.ZodString>;
2659
+ protocol: z.ZodOptional<z.ZodString>;
2660
+ }, z.core.$strict>>>;
2282
2661
  }, z.core.$catchall<z.ZodJSONSchema>>;
2283
2662
  requiredSecrets: z.ZodArray<z.ZodString>;
2284
2663
  runtimeDeps: z.ZodArray<z.ZodString>;
@@ -2325,6 +2704,11 @@ export declare const blumeConfigSchema: z.ZodObject<{
2325
2704
  base?: string | undefined;
2326
2705
  output?: "static" | "server" | undefined;
2327
2706
  site?: string | undefined;
2707
+ allowedDomains?: {
2708
+ hostname?: string | undefined;
2709
+ port?: string | undefined;
2710
+ protocol?: string | undefined;
2711
+ }[] | undefined;
2328
2712
  };
2329
2713
  requiredSecrets: string[];
2330
2714
  runtimeDeps: string[];
@@ -2364,7 +2748,43 @@ export declare const blumeConfigSchema: z.ZodObject<{
2364
2748
  epub: boolean;
2365
2749
  pdf: boolean;
2366
2750
  }>>>;
2367
- feedback: z.ZodDefault<z.ZodBoolean>;
2751
+ feedback: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2752
+ comments: z.ZodDefault<z.ZodBoolean>;
2753
+ enabled: z.ZodDefault<z.ZodBoolean>;
2754
+ }, z.core.$strict>]>, z.ZodTransform<{
2755
+ comments: boolean;
2756
+ enabled: (boolean | {
2757
+ comments: boolean;
2758
+ enabled: boolean;
2759
+ }) & boolean;
2760
+ }, boolean | {
2761
+ comments: boolean;
2762
+ enabled: boolean;
2763
+ }>>>;
2764
+ footer: z.ZodOptional<z.ZodObject<{
2765
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2766
+ href: z.ZodString;
2767
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
2768
+ }, z.core.$strict>>>;
2769
+ socials: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
2770
+ medium: "medium";
2771
+ github: "github";
2772
+ bluesky: "bluesky";
2773
+ discord: "discord";
2774
+ facebook: "facebook";
2775
+ "hacker-news": "hacker-news";
2776
+ instagram: "instagram";
2777
+ linkedin: "linkedin";
2778
+ podcast: "podcast";
2779
+ reddit: "reddit";
2780
+ slack: "slack";
2781
+ telegram: "telegram";
2782
+ threads: "threads";
2783
+ website: "website";
2784
+ x: "x";
2785
+ youtube: "youtube";
2786
+ }> & z.core.$partial, z.ZodString>>;
2787
+ }, z.core.$strict>>;
2368
2788
  frontmatter: z.ZodPrefault<z.ZodObject<{
2369
2789
  extend: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodCustom<StandardSchema<unknown, unknown>, StandardSchema<unknown, unknown>>>>;
2370
2790
  }, z.core.$strict>>;
@@ -2393,6 +2813,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2393
2813
  dir: "dir";
2394
2814
  dot: "dot";
2395
2815
  }>>;
2816
+ routeByBrowserLanguage: z.ZodDefault<z.ZodBoolean>;
2396
2817
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>>;
2397
2818
  }, z.core.$strict>>;
2398
2819
  image: z.ZodPrefault<z.ZodObject<{
@@ -2431,19 +2852,65 @@ export declare const blumeConfigSchema: z.ZodObject<{
2431
2852
  headingAnchors: z.ZodDefault<z.ZodBoolean>;
2432
2853
  imageZoom: z.ZodDefault<z.ZodBoolean>;
2433
2854
  }, z.core.$strict>>;
2855
+ narration: z.ZodPrefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2856
+ enabled: z.ZodDefault<z.ZodBoolean>;
2857
+ provider: z.ZodOptional<z.ZodObject<{
2858
+ kind: z.ZodLiteral<"gateway">;
2859
+ options: z.ZodObject<{
2860
+ instructions: z.ZodOptional<z.ZodString>;
2861
+ model: z.ZodDefault<z.ZodString>;
2862
+ voice: z.ZodDefault<z.ZodString>;
2863
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
2864
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2865
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
2866
+ }, z.core.$strict>;
2867
+ requiredSecrets: z.ZodArray<z.ZodString>;
2868
+ runtimeDeps: z.ZodArray<z.ZodString>;
2869
+ }, z.core.$strict>>;
2870
+ }, z.core.$strict>]>, z.ZodTransform<{
2871
+ enabled: boolean;
2872
+ provider: {
2873
+ kind: "gateway";
2874
+ options: {
2875
+ model: string;
2876
+ voice: string;
2877
+ apiKeyEnv: string;
2878
+ instructions?: string | undefined;
2879
+ headers?: Record<string, string> | undefined;
2880
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2881
+ };
2882
+ requiredSecrets: string[];
2883
+ runtimeDeps: string[];
2884
+ } | null;
2885
+ }, boolean | {
2886
+ enabled: boolean;
2887
+ provider?: {
2888
+ kind: "gateway";
2889
+ options: {
2890
+ model: string;
2891
+ voice: string;
2892
+ apiKeyEnv: string;
2893
+ instructions?: string | undefined;
2894
+ headers?: Record<string, string> | undefined;
2895
+ providerOptions?: Record<string, Record<string, z.core.util.JSONType>> | undefined;
2896
+ };
2897
+ requiredSecrets: string[];
2898
+ runtimeDeps: string[];
2899
+ } | undefined;
2900
+ }>>>;
2434
2901
  navigation: z.ZodPrefault<z.ZodObject<{
2435
2902
  actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2436
2903
  href: z.ZodString;
2437
- label: z.ZodString;
2904
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
2438
2905
  }, z.core.$strict>>>;
2439
2906
  cta: z.ZodOptional<z.ZodObject<{
2440
2907
  href: z.ZodString;
2441
- label: z.ZodString;
2908
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
2442
2909
  }, z.core.$strict>>;
2443
2910
  featured: z.ZodDefault<z.ZodArray<z.ZodObject<{
2444
2911
  href: z.ZodString;
2445
2912
  icon: z.ZodOptional<z.ZodString>;
2446
- label: z.ZodString;
2913
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
2447
2914
  }, z.core.$strict>>>;
2448
2915
  repo: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodURL]>>;
2449
2916
  selectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2490,6 +2957,88 @@ export declare const blumeConfigSchema: z.ZodObject<{
2490
2957
  path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2491
2958
  }, z.core.$strict>>>;
2492
2959
  }, z.core.$strict>>;
2960
+ rateLimit: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2961
+ kind: z.ZodLiteral<"cloudflare">;
2962
+ options: z.ZodObject<{
2963
+ namespaceId: z.ZodOptional<z.ZodString>;
2964
+ requests: z.ZodOptional<z.ZodNumber>;
2965
+ window: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<10>, z.ZodLiteral<60>]>>;
2966
+ }, z.core.$strict>;
2967
+ requiredSecrets: z.ZodArray<z.ZodString>;
2968
+ runtimeDeps: z.ZodArray<z.ZodString>;
2969
+ }, z.core.$strict>, z.ZodObject<{
2970
+ kind: z.ZodLiteral<"memory">;
2971
+ options: z.ZodObject<{
2972
+ requests: z.ZodOptional<z.ZodNumber>;
2973
+ window: z.ZodOptional<z.ZodNumber>;
2974
+ }, z.core.$strict>;
2975
+ requiredSecrets: z.ZodArray<z.ZodString>;
2976
+ runtimeDeps: z.ZodArray<z.ZodString>;
2977
+ }, z.core.$strict>, z.ZodObject<{
2978
+ kind: z.ZodLiteral<"upstash">;
2979
+ options: z.ZodObject<{
2980
+ requests: z.ZodOptional<z.ZodNumber>;
2981
+ window: z.ZodOptional<z.ZodNumber>;
2982
+ tokenEnv: z.ZodOptional<z.ZodString>;
2983
+ urlEnv: z.ZodOptional<z.ZodString>;
2984
+ }, z.core.$strict>;
2985
+ requiredSecrets: z.ZodArray<z.ZodString>;
2986
+ runtimeDeps: z.ZodArray<z.ZodString>;
2987
+ }, z.core.$strict>], "kind">]>>, z.ZodTransform<{
2988
+ kind: "cloudflare";
2989
+ options: {
2990
+ namespaceId?: string | undefined;
2991
+ requests?: number | undefined;
2992
+ window?: 10 | 60 | undefined;
2993
+ };
2994
+ requiredSecrets: string[];
2995
+ runtimeDeps: string[];
2996
+ } | {
2997
+ kind: "memory";
2998
+ options: {
2999
+ requests?: number | undefined;
3000
+ window?: number | undefined;
3001
+ };
3002
+ requiredSecrets: string[];
3003
+ runtimeDeps: string[];
3004
+ } | {
3005
+ kind: "upstash";
3006
+ options: {
3007
+ requests?: number | undefined;
3008
+ window?: number | undefined;
3009
+ tokenEnv?: string | undefined;
3010
+ urlEnv?: string | undefined;
3011
+ };
3012
+ requiredSecrets: string[];
3013
+ runtimeDeps: string[];
3014
+ } | null, false | {
3015
+ kind: "cloudflare";
3016
+ options: {
3017
+ namespaceId?: string | undefined;
3018
+ requests?: number | undefined;
3019
+ window?: 10 | 60 | undefined;
3020
+ };
3021
+ requiredSecrets: string[];
3022
+ runtimeDeps: string[];
3023
+ } | {
3024
+ kind: "memory";
3025
+ options: {
3026
+ requests?: number | undefined;
3027
+ window?: number | undefined;
3028
+ };
3029
+ requiredSecrets: string[];
3030
+ runtimeDeps: string[];
3031
+ } | {
3032
+ kind: "upstash";
3033
+ options: {
3034
+ requests?: number | undefined;
3035
+ window?: number | undefined;
3036
+ tokenEnv?: string | undefined;
3037
+ urlEnv?: string | undefined;
3038
+ };
3039
+ requiredSecrets: string[];
3040
+ runtimeDeps: string[];
3041
+ } | undefined>>;
2493
3042
  react: z.ZodPrefault<z.ZodObject<{
2494
3043
  compiler: z.ZodDefault<z.ZodBoolean>;
2495
3044
  }, z.core.$strict>>;
@@ -2511,7 +3060,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2511
3060
  seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2512
3061
  spec: z.ZodString;
2513
3062
  }, z.core.$strict>>>;
2514
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
3063
+ codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
2515
3064
  playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2516
3065
  enabled: z.ZodDefault<z.ZodBoolean>;
2517
3066
  proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
@@ -2535,14 +3084,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2535
3084
  label?: string | undefined;
2536
3085
  route?: string | undefined;
2537
3086
  }[];
2538
- codeSamples: string[];
3087
+ codeSamples: false | string[];
2539
3088
  playground: {
2540
3089
  enabled: boolean;
2541
3090
  proxy: string | boolean;
2542
3091
  };
2543
3092
  route: string;
2544
3093
  spec?: string | undefined;
2545
- }, "spec">, {
3094
+ }, "spec" | "overlays">, {
2546
3095
  expandSchemas: boolean;
2547
3096
  sources: {
2548
3097
  includeInLlms: boolean;
@@ -2553,7 +3102,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2553
3102
  label?: string | undefined;
2554
3103
  route?: string | undefined;
2555
3104
  }[];
2556
- codeSamples: string[];
3105
+ codeSamples: false | string[];
2557
3106
  playground: {
2558
3107
  enabled: boolean;
2559
3108
  proxy: string | boolean;
@@ -2566,6 +3115,15 @@ export declare const blumeConfigSchema: z.ZodObject<{
2566
3115
  }, z.core.$strict>, z.ZodObject<{
2567
3116
  kind: z.ZodLiteral<"graphql">;
2568
3117
  options: z.ZodPipe<z.ZodObject<{
3118
+ auth: z.ZodOptional<z.ZodObject<{
3119
+ method: z.ZodEnum<{
3120
+ none: "none";
3121
+ key: "key";
3122
+ bearer: "bearer";
3123
+ basic: "basic";
3124
+ }>;
3125
+ name: z.ZodOptional<z.ZodString>;
3126
+ }, z.core.$strict>>;
2569
3127
  endpoint: z.ZodOptional<z.ZodString>;
2570
3128
  sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2571
3129
  includeInLlms: z.ZodDefault<z.ZodBoolean>;
@@ -2575,9 +3133,18 @@ export declare const blumeConfigSchema: z.ZodObject<{
2575
3133
  route: z.ZodOptional<z.ZodString>;
2576
3134
  seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2577
3135
  spec: z.ZodString;
3136
+ auth: z.ZodOptional<z.ZodObject<{
3137
+ method: z.ZodEnum<{
3138
+ none: "none";
3139
+ key: "key";
3140
+ bearer: "bearer";
3141
+ basic: "basic";
3142
+ }>;
3143
+ name: z.ZodOptional<z.ZodString>;
3144
+ }, z.core.$strict>>;
2578
3145
  endpoint: z.ZodOptional<z.ZodString>;
2579
3146
  }, z.core.$strict>>>;
2580
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
3147
+ codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
2581
3148
  playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2582
3149
  enabled: z.ZodDefault<z.ZodBoolean>;
2583
3150
  proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
@@ -2599,17 +3166,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
2599
3166
  spec: string;
2600
3167
  label?: string | undefined;
2601
3168
  route?: string | undefined;
3169
+ auth?: {
3170
+ method: "none" | "key" | "bearer" | "basic";
3171
+ name?: string | undefined;
3172
+ } | undefined;
2602
3173
  endpoint?: string | undefined;
2603
3174
  }[];
2604
- codeSamples: string[];
3175
+ codeSamples: false | string[];
2605
3176
  playground: {
2606
3177
  enabled: boolean;
2607
3178
  proxy: string | boolean;
2608
3179
  };
2609
3180
  route: string;
3181
+ auth?: {
3182
+ method: "none" | "key" | "bearer" | "basic";
3183
+ name?: string | undefined;
3184
+ } | undefined;
2610
3185
  endpoint?: string | undefined;
2611
3186
  spec?: string | undefined;
2612
- }, "spec">, {
3187
+ }, "spec" | "overlays">, {
2613
3188
  sources: {
2614
3189
  includeInLlms: boolean;
2615
3190
  includeInSearch: boolean;
@@ -2618,14 +3193,22 @@ export declare const blumeConfigSchema: z.ZodObject<{
2618
3193
  spec: string;
2619
3194
  label?: string | undefined;
2620
3195
  route?: string | undefined;
3196
+ auth?: {
3197
+ method: "none" | "key" | "bearer" | "basic";
3198
+ name?: string | undefined;
3199
+ } | undefined;
2621
3200
  endpoint?: string | undefined;
2622
3201
  }[];
2623
- codeSamples: string[];
3202
+ codeSamples: false | string[];
2624
3203
  playground: {
2625
3204
  enabled: boolean;
2626
3205
  proxy: string | boolean;
2627
3206
  };
2628
3207
  route: string;
3208
+ auth?: {
3209
+ method: "none" | "key" | "bearer" | "basic";
3210
+ name?: string | undefined;
3211
+ } | undefined;
2629
3212
  endpoint?: string | undefined;
2630
3213
  spec?: string | undefined;
2631
3214
  }>>;
@@ -2635,6 +3218,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2635
3218
  kind: z.ZodLiteral<"openapi">;
2636
3219
  options: z.ZodPipe<z.ZodObject<{
2637
3220
  expandSchemas: z.ZodDefault<z.ZodBoolean>;
3221
+ overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
2638
3222
  sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2639
3223
  includeInLlms: z.ZodDefault<z.ZodBoolean>;
2640
3224
  includeInSearch: z.ZodDefault<z.ZodBoolean>;
@@ -2643,8 +3227,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
2643
3227
  route: z.ZodOptional<z.ZodString>;
2644
3228
  seoDescriptionSuffix: z.ZodDefault<z.ZodBoolean>;
2645
3229
  spec: z.ZodString;
3230
+ overlays: z.ZodDefault<z.ZodArray<z.ZodString>>;
2646
3231
  }, z.core.$strict>>>;
2647
- codeSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
3232
+ codeSamples: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodString>]>>;
2648
3233
  playground: z.ZodPipe<z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2649
3234
  enabled: z.ZodDefault<z.ZodBoolean>;
2650
3235
  proxy: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
@@ -2665,17 +3250,19 @@ export declare const blumeConfigSchema: z.ZodObject<{
2665
3250
  noindex: boolean;
2666
3251
  seoDescriptionSuffix: boolean;
2667
3252
  spec: string;
3253
+ overlays: string[];
2668
3254
  label?: string | undefined;
2669
3255
  route?: string | undefined;
2670
3256
  }[];
2671
- codeSamples: string[];
3257
+ codeSamples: false | string[];
2672
3258
  playground: {
2673
3259
  enabled: boolean;
2674
3260
  proxy: string | boolean;
2675
3261
  };
2676
3262
  route: string;
3263
+ overlays?: string[] | undefined;
2677
3264
  spec?: string | undefined;
2678
- }, "spec">, {
3265
+ }, "spec" | "overlays">, {
2679
3266
  expandSchemas: boolean;
2680
3267
  sources: {
2681
3268
  includeInLlms: boolean;
@@ -2683,15 +3270,17 @@ export declare const blumeConfigSchema: z.ZodObject<{
2683
3270
  noindex: boolean;
2684
3271
  seoDescriptionSuffix: boolean;
2685
3272
  spec: string;
3273
+ overlays: string[];
2686
3274
  label?: string | undefined;
2687
3275
  route?: string | undefined;
2688
3276
  }[];
2689
- codeSamples: string[];
3277
+ codeSamples: false | string[];
2690
3278
  playground: {
2691
3279
  enabled: boolean;
2692
3280
  proxy: string | boolean;
2693
3281
  };
2694
3282
  route: string;
3283
+ overlays?: string[] | undefined;
2695
3284
  spec?: string | undefined;
2696
3285
  }>>;
2697
3286
  requiredSecrets: z.ZodArray<z.ZodString>;
@@ -2699,10 +3288,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
2699
3288
  }, z.core.$strict>, z.ZodObject<{
2700
3289
  kind: z.ZodLiteral<"scalar">;
2701
3290
  options: z.ZodPipe<z.ZodObject<{
3291
+ overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
2702
3292
  route: z.ZodDefault<z.ZodString>;
2703
3293
  sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2704
3294
  label: z.ZodOptional<z.ZodString>;
2705
3295
  noindex: z.ZodDefault<z.ZodBoolean>;
3296
+ overlays: z.ZodDefault<z.ZodArray<z.ZodString>>;
2706
3297
  route: z.ZodOptional<z.ZodString>;
2707
3298
  spec: z.ZodString;
2708
3299
  }, z.core.$strict>>>;
@@ -2713,10 +3304,12 @@ export declare const blumeConfigSchema: z.ZodObject<{
2713
3304
  route: string;
2714
3305
  sources: {
2715
3306
  noindex: boolean;
3307
+ overlays: string[];
2716
3308
  spec: string;
2717
3309
  label?: string | undefined;
2718
3310
  route?: string | undefined;
2719
3311
  }[];
3312
+ overlays?: string[] | undefined;
2720
3313
  spec?: string | undefined;
2721
3314
  theme?: string | undefined;
2722
3315
  }>>;
@@ -2740,14 +3333,14 @@ export declare const blumeConfigSchema: z.ZodObject<{
2740
3333
  label?: string | undefined;
2741
3334
  route?: string | undefined;
2742
3335
  }[];
2743
- codeSamples: string[];
3336
+ codeSamples: false | string[];
2744
3337
  playground: {
2745
3338
  enabled: boolean;
2746
3339
  proxy: string | boolean;
2747
3340
  };
2748
3341
  route: string;
2749
3342
  spec?: string | undefined;
2750
- }, "spec">;
3343
+ }, "spec" | "overlays">;
2751
3344
  requiredSecrets: string[];
2752
3345
  runtimeDeps: string[];
2753
3346
  } | {
@@ -2761,17 +3354,25 @@ export declare const blumeConfigSchema: z.ZodObject<{
2761
3354
  spec: string;
2762
3355
  label?: string | undefined;
2763
3356
  route?: string | undefined;
3357
+ auth?: {
3358
+ method: "none" | "key" | "bearer" | "basic";
3359
+ name?: string | undefined;
3360
+ } | undefined;
2764
3361
  endpoint?: string | undefined;
2765
3362
  }[];
2766
- codeSamples: string[];
3363
+ codeSamples: false | string[];
2767
3364
  playground: {
2768
3365
  enabled: boolean;
2769
3366
  proxy: string | boolean;
2770
3367
  };
2771
3368
  route: string;
3369
+ auth?: {
3370
+ method: "none" | "key" | "bearer" | "basic";
3371
+ name?: string | undefined;
3372
+ } | undefined;
2772
3373
  endpoint?: string | undefined;
2773
3374
  spec?: string | undefined;
2774
- }, "spec">;
3375
+ }, "spec" | "overlays">;
2775
3376
  requiredSecrets: string[];
2776
3377
  runtimeDeps: string[];
2777
3378
  } | {
@@ -2784,21 +3385,26 @@ export declare const blumeConfigSchema: z.ZodObject<{
2784
3385
  noindex: boolean;
2785
3386
  seoDescriptionSuffix: boolean;
2786
3387
  spec: string;
3388
+ overlays: string[];
2787
3389
  label?: string | undefined;
2788
3390
  route?: string | undefined;
2789
3391
  }[];
2790
- codeSamples: string[];
3392
+ codeSamples: false | string[];
2791
3393
  playground: {
2792
3394
  enabled: boolean;
2793
3395
  proxy: string | boolean;
2794
3396
  };
2795
3397
  route: string;
3398
+ overlays?: string[] | undefined;
2796
3399
  spec?: string | undefined;
2797
- }, "spec">;
3400
+ }, "spec" | "overlays">;
2798
3401
  requiredSecrets: string[];
2799
3402
  runtimeDeps: string[];
2800
3403
  }>>>>;
2801
3404
  search: z.ZodPrefault<z.ZodPipe<z.ZodPipe<z.ZodCustom<SearchConfigInput, SearchConfigInput>, z.ZodTransform<{
3405
+ analytics?: {
3406
+ queries?: boolean | undefined;
3407
+ } | undefined;
2802
3408
  indexing?: {
2803
3409
  includeCodeBlocks?: boolean | undefined;
2804
3410
  includeHiddenPages?: boolean | undefined;
@@ -2810,6 +3416,9 @@ export declare const blumeConfigSchema: z.ZodObject<{
2810
3416
  }[] | undefined;
2811
3417
  provider?: false | SearchAdapterInput | undefined;
2812
3418
  }, SearchConfigInput>>, z.ZodObject<{
3419
+ analytics: z.ZodPrefault<z.ZodObject<{
3420
+ queries: z.ZodDefault<z.ZodBoolean>;
3421
+ }, z.core.$strict>>;
2813
3422
  indexing: z.ZodPrefault<z.ZodObject<{
2814
3423
  includeCodeBlocks: z.ZodDefault<z.ZodBoolean>;
2815
3424
  includeHiddenPages: z.ZodDefault<z.ZodBoolean>;
@@ -2875,6 +3484,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2875
3484
  apiKey: string;
2876
3485
  collection: string;
2877
3486
  host: string;
3487
+ locale?: string | undefined;
2878
3488
  port?: number | undefined;
2879
3489
  protocol?: "http" | "https" | undefined;
2880
3490
  };
@@ -2933,6 +3543,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
2933
3543
  apiKey: z.ZodString;
2934
3544
  collection: z.ZodString;
2935
3545
  host: z.ZodString;
3546
+ locale: z.ZodOptional<z.ZodString>;
2936
3547
  port: z.ZodOptional<z.ZodNumber>;
2937
3548
  protocol: z.ZodOptional<z.ZodEnum<{
2938
3549
  http: "http";
@@ -3004,6 +3615,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3004
3615
  apiKey: string;
3005
3616
  collection: string;
3006
3617
  host: string;
3618
+ locale?: string | undefined;
3007
3619
  port?: number | undefined;
3008
3620
  protocol?: "http" | "https" | undefined;
3009
3621
  };
@@ -3019,6 +3631,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3019
3631
  }>>>>;
3020
3632
  }, z.core.$strict>>>;
3021
3633
  seo: z.ZodPrefault<z.ZodObject<{
3634
+ metatags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3022
3635
  og: z.ZodDefault<z.ZodObject<{
3023
3636
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
3024
3637
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -3266,6 +3879,7 @@ export declare const blumeConfigSchema: z.ZodObject<{
3266
3879
  maxHeadingLevel?: number | undefined;
3267
3880
  minHeadingLevel?: number | undefined;
3268
3881
  }>>;
3882
+ variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3269
3883
  versions: z.ZodOptional<z.ZodObject<{
3270
3884
  archived: z.ZodDefault<z.ZodArray<z.ZodObject<{
3271
3885
  banner: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;