blume 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/cli/index.js +7 -1
- package/dist/cli/index.js.map +5 -5
- package/dist/types/core/data.d.ts +10 -0
- package/docs/configuration/ai.mdx +15 -1
- package/package.json +7 -7
- package/src/ai/link-headers.ts +7 -2
- package/src/astro/generate.ts +4 -0
- package/src/astro/templates.ts +2 -0
- package/src/components/layout/RootLayout.astro +41 -0
- package/src/core/data.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# blume
|
|
2
2
|
|
|
3
|
+
## 1.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fdfd1fe: Advertise agent discovery in every page's head, not just the homepage header
|
|
8
|
+
|
|
9
|
+
An agent that enters the site on a deep page — a search result, a shared link — never sees the homepage-only `Link` response header, so it had no path to `agent-readability.json`. Every rendered page now carries the discovery links in its HTML head: `describedby` links to `agent-readability.json` and `llms.txt`, plus a `text/markdown` `alternate` pointing at the page's own raw-Markdown mirror. Because the links travel with the prerendered HTML, they also work on hosts where Blume can't set response headers at all (GitHub Pages, S3).
|
|
10
|
+
|
|
11
|
+
- 5f735ae: Raise minimum versions of astro, mermaid, dompurify, undici, js-yaml, and @astrojs/vercel to pull in upstream security fixes
|
|
12
|
+
|
|
3
13
|
## 1.4.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cli/index.js
CHANGED
|
@@ -4738,6 +4738,7 @@ const LayoutComponent = resolveSlot(layoutOverrides.Layout, RootLayout);
|
|
|
4738
4738
|
exportPdf={${options.exportPdf}}
|
|
4739
4739
|
exportEpub={${options.exportEpub}}
|
|
4740
4740
|
feeds={data.feeds}
|
|
4741
|
+
discovery={data.config.discovery}
|
|
4741
4742
|
siteUrl={data.config.site}
|
|
4742
4743
|
pageType={frontmatter.type}
|
|
4743
4744
|
published={frontmatter.date ?? frontmatter.changelog?.date ?? null}
|
|
@@ -4940,6 +4941,7 @@ const LayoutComponent = resolveSlot(layoutOverrides.Layout, RootLayout);
|
|
|
4940
4941
|
exportPdf={${options.exportPdf}}
|
|
4941
4942
|
exportEpub={${options.exportEpub}}
|
|
4942
4943
|
feeds={data.feeds}
|
|
4944
|
+
discovery={data.config.discovery}
|
|
4943
4945
|
siteUrl={data.config.site}
|
|
4944
4946
|
noindex={false}
|
|
4945
4947
|
structuredDataEnabled={data.config.structuredData}
|
|
@@ -17836,6 +17838,10 @@ var buildRuntimeData = (project) => {
|
|
|
17836
17838
|
codeWrap: config.markdown.code.wrap,
|
|
17837
17839
|
dateFormat: config.dateFormat,
|
|
17838
17840
|
description: config.description,
|
|
17841
|
+
discovery: {
|
|
17842
|
+
agentReadability: config.seo.agentReadability,
|
|
17843
|
+
llmsTxt: config.ai.llmsTxt.enabled
|
|
17844
|
+
},
|
|
17839
17845
|
favicon: resolveFavicon(project),
|
|
17840
17846
|
feedback: config.feedback,
|
|
17841
17847
|
i18n: i18n ? {
|
|
@@ -22587,5 +22593,5 @@ process.on("unhandledRejection", (error) => {
|
|
|
22587
22593
|
});
|
|
22588
22594
|
runMain(main);
|
|
22589
22595
|
|
|
22590
|
-
//# debugId=
|
|
22596
|
+
//# debugId=84600BB45DA0E5EB64756E2164756E21
|
|
22591
22597
|
//# sourceMappingURL=index.js.map
|