Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 37 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,43 @@ export default defineNuxtConfig({
},

aiReady: {
llmsTxt: { directive: { html: true } },
llmsTxt: {
directive: { html: true },
pages: 'sitemap',
// Retired URLs remain in the search removal sitemap only.
sitemaps: ['pages', 'skills', 'demos'],
markdownLinks: true,
maxLength: 80_000,
sections: [
{
title: 'Agent setup',
links: [
{ title: 'Set up skilld', href: 'https://skilld.dev/agent.md', description: 'Setup steps an Agent reads and follows: the CLI, the MCP server, or a plain URL fetch.' },
{ title: 'OpenAPI', href: 'https://skilld.dev/api/v1/openapi.json', description: 'The public API contract.' },
],
},
{
title: 'Indexes',
links: [
{ title: 'AI sitemap', href: 'https://skilld.dev/ai-sitemap.xml', description: 'Every AI-ready page, including pages that are noindex for Google.' },
{ title: 'Sitemap', href: 'https://skilld.dev/sitemap_index.xml', description: 'XML sitemap for search engines and crawlers.' },
],
},
{
title: 'Skills',
description: 'Every Skill page and track in the skilld sitemap.',
sitemap: 'skills',
path: '/llms/skills.txt',
},
{
title: 'Skill Demos',
description: 'Each demo is one recorded run: the prompt, and what the Agent built with the Skill.',
sitemap: 'demos',
path: '/llms/demos.txt',
},
],
},
llmsFullTxt: false,
database: {
type: 'd1',
bindingName: 'DB',
Expand All @@ -305,9 +341,6 @@ export default defineNuxtConfig({
aiInput: true,
aiTrain: true,
},
// `server/middleware/llms-txt.ts` serves /llms.txt and its nested files
// from the sitemaps, ahead of the module's route. The 28.5 MB
// llms-full.txt inline dump is retired below (routeRules).
// The module's negotiation also reads User-Agent, which a shared cache
// cannot key on. server/handlers/content-negotiation.ts decides from
// Accept and Sec-Fetch-Dest instead. Explicit `.md` URLs and the
Expand Down
130 changes: 65 additions & 65 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ minimumReleaseAgeExclude:
- '@nuxtjs/robots@7.0.2'
- '@nuxtjs/sitemap@9.1.0'
- nuxt-og-image@7.0.3
- nuxt-ai-ready@3.3.0
- nuxt-ai-ready@3.3.1
- nuxt-skew-protection@2.0.2
- nuxt-schema-org@7.0.1
- nuxt-seo-utils@9.0.0
Expand All @@ -123,6 +123,21 @@ minimumReleaseAgeExclude:
- '@takumi-rs/helpers@2.15.0'
- '@takumi-rs/wasm@2.15.0'
- sitemapd@0.2.3
- '@mdream/js@2.0.3'
- '@mdream/rust-android-arm-eabi@2.0.3'
- '@mdream/rust-android-arm64@2.0.3'
- '@mdream/rust-darwin-arm64@2.0.3'
- '@mdream/rust-darwin-x64@2.0.3'
- '@mdream/rust-freebsd-x64@2.0.3'
- '@mdream/rust-linux-arm-gnueabihf@2.0.3'
- '@mdream/rust-linux-arm64-gnu@2.0.3'
- '@mdream/rust-linux-arm64-musl@2.0.3'
- '@mdream/rust-linux-x64-gnu@2.0.3'
- '@mdream/rust-linux-x64-musl@2.0.3'
- '@mdream/rust-wasm32-wasi@2.0.3'
- '@mdream/rust-win32-arm64-msvc@2.0.3'
- '@mdream/rust-win32-x64-msvc@2.0.3'
- mdream@2.0.3
shellEmulator: true
autoInstallPeers: false

Expand Down Expand Up @@ -249,7 +264,7 @@ packages:
- workers/*

overrides:
nuxt-ai-ready: 3.3.0
nuxt-ai-ready: 3.3.1
patchedDependencies:
hookable@5.5.3: patches/hookable@5.5.3.patch
hookable@6.1.1: patches/hookable@6.patch
Expand Down
94 changes: 0 additions & 94 deletions server/middleware/llms-txt.ts

This file was deleted.

Loading
Loading