nuxt-ai-ready 3.6.0 → 3.6.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/dist/agent-skills-config-CmZq9uWW.mjs +18 -0
- package/dist/agent-skills-zGLgFB6H.mjs +468 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +656 -570
- package/dist/devtools/pages/ai-ready/debug.vue +9 -3
- package/dist/devtools/pages/ai-ready/index.vue +3 -1
- package/dist/devtools/pages/ai-ready/llms-txt.vue +15 -4
- package/dist/devtools/pages/ai-ready.vue +28 -4
- package/dist/module.d.mts +106 -112
- package/dist/module.json +3 -3
- package/dist/module.mjs +2732 -26
- package/dist/package-metadata-B1darl8W.mjs +28 -0
- package/dist/prerender-QMv07W4h.mjs +650 -0
- package/dist/runtime/app/composables/webmcp.js +90 -97
- package/dist/runtime/app/plugins/md-alternate.server.js +29 -26
- package/dist/runtime/app/plugins/md-hints.prerender.js +13 -15
- package/dist/runtime/app/plugins/webmcp.client.js +49 -53
- package/dist/runtime/app/webmcp-config.js +2 -2
- package/dist/runtime/cache-control.js +16 -10
- package/dist/runtime/i18n-url.js +6 -6
- package/dist/runtime/index.js +4 -12
- package/dist/runtime/llms-txt-directive.js +20 -13
- package/dist/runtime/llms-txt-files.js +188 -187
- package/dist/runtime/llms-txt-format.js +54 -55
- package/dist/runtime/llms-txt-i18n.js +22 -19
- package/dist/runtime/llms-txt-utils.js +140 -95
- package/dist/runtime/markdown-links.js +45 -39
- package/dist/runtime/markdown-path.js +29 -9
- package/dist/runtime/markdown-text.js +2 -1
- package/dist/runtime/mcp.js +5 -1
- package/dist/runtime/route-path.js +14 -8
- package/dist/runtime/server/db/drizzle/client.js +71 -75
- package/dist/runtime/server/db/drizzle/index.js +16 -28
- package/dist/runtime/server/db/drizzle/providers/bun.d.ts +2 -1
- package/dist/runtime/server/db/drizzle/providers/bun.js +10 -7
- package/dist/runtime/server/db/drizzle/providers/d1.js +16 -13
- package/dist/runtime/server/db/drizzle/providers/dbPath.js +60 -37
- package/dist/runtime/server/db/drizzle/providers/libsql.js +23 -11
- package/dist/runtime/server/db/drizzle/providers/neon.js +13 -10
- package/dist/runtime/server/db/drizzle/providers/node-sqlite.js +10 -7
- package/dist/runtime/server/db/drizzle/providers/postgres.js +13 -10
- package/dist/runtime/server/db/drizzle/queries.js +633 -532
- package/dist/runtime/server/db/drizzle/raw.js +200 -176
- package/dist/runtime/server/db/index.js +3 -0
- package/dist/runtime/server/db/queries.js +816 -607
- package/dist/runtime/server/db/schema/postgres.js +56 -50
- package/dist/runtime/server/db/schema/sqlite.js +56 -50
- package/dist/runtime/server/db/schema-sql.js +35 -38
- package/dist/runtime/server/db/seed.js +60 -45
- package/dist/runtime/server/db/shared.js +300 -213
- package/dist/runtime/server/index.js +1 -17
- package/dist/runtime/server/mcp/cache-key.js +5 -1
- package/dist/runtime/server/mcp/resources/pages.js +32 -33
- package/dist/runtime/server/mcp/tools/get-page-markdown.js +41 -27
- package/dist/runtime/server/mcp/tools/list-pages.js +40 -34
- package/dist/runtime/server/mcp/tools/search-pages.js +24 -16
- package/dist/runtime/server/middleware/markdown.d.ts +1 -1
- package/dist/runtime/server/middleware/markdown.js +15 -13
- package/dist/runtime/server/middleware/markdown.prerender.d.ts +1 -1
- package/dist/runtime/server/middleware/markdown.prerender.js +135 -119
- package/dist/runtime/server/middleware/render-markdown.d.ts +1 -1
- package/dist/runtime/server/middleware/render-markdown.js +164 -144
- package/dist/runtime/server/plugins/ai-terms.d.ts +1 -1
- package/dist/runtime/server/plugins/ai-terms.js +4 -8
- package/dist/runtime/server/plugins/content-signal-capture-nitro3.prerender.d.ts +1 -1
- package/dist/runtime/server/plugins/content-signal-capture-nitro3.prerender.js +7 -8
- package/dist/runtime/server/plugins/content-signal-capture.prerender.d.ts +1 -1
- package/dist/runtime/server/plugins/content-signal-capture.prerender.js +7 -7
- package/dist/runtime/server/plugins/db-lifecycle-nitro3.d.ts +1 -1
- package/dist/runtime/server/plugins/db-lifecycle-nitro3.js +13 -14
- package/dist/runtime/server/plugins/db-lifecycle.js +13 -11
- package/dist/runtime/server/plugins/html-capture.prerender.js +6 -6
- package/dist/runtime/server/plugins/link-header-nitro3.d.ts +1 -1
- package/dist/runtime/server/plugins/link-header-nitro3.js +23 -13
- package/dist/runtime/server/plugins/link-header.d.ts +1 -1
- package/dist/runtime/server/plugins/link-header.js +30 -30
- package/dist/runtime/server/plugins/llms-txt-directive-html.d.ts +1 -1
- package/dist/runtime/server/plugins/llms-txt-directive-html.js +4 -3
- package/dist/runtime/server/plugins/markdown-negotiation.d.ts +1 -1
- package/dist/runtime/server/plugins/markdown-negotiation.js +64 -45
- package/dist/runtime/server/plugins/sitemap-seeder.js +144 -112
- package/dist/runtime/server/routes/__ai-ready/cron.get.d.ts +1 -1
- package/dist/runtime/server/routes/__ai-ready/cron.get.js +17 -11
- package/dist/runtime/server/routes/__ai-ready/devtools.get.d.ts +1 -1
- package/dist/runtime/server/routes/__ai-ready/devtools.get.js +60 -45
- package/dist/runtime/server/routes/__ai-ready/pages.get.d.ts +36 -1
- package/dist/runtime/server/routes/__ai-ready/pages.get.js +44 -40
- package/dist/runtime/server/routes/__ai-ready/poll.post.d.ts +15 -1
- package/dist/runtime/server/routes/__ai-ready/poll.post.js +30 -30
- package/dist/runtime/server/routes/__ai-ready/prune.post.d.ts +13 -1
- package/dist/runtime/server/routes/__ai-ready/prune.post.js +29 -15
- package/dist/runtime/server/routes/__ai-ready/reindex.post.d.ts +22 -1
- package/dist/runtime/server/routes/__ai-ready/reindex.post.js +31 -21
- package/dist/runtime/server/routes/__ai-ready/restore.post.d.ts +4 -1
- package/dist/runtime/server/routes/__ai-ready/restore.post.js +28 -22
- package/dist/runtime/server/routes/__ai-ready/status.get.d.ts +1 -1
- package/dist/runtime/server/routes/__ai-ready/status.get.js +52 -53
- package/dist/runtime/server/routes/__ai-ready-debug.get.d.ts +83 -1
- package/dist/runtime/server/routes/__ai-ready-debug.get.js +209 -189
- package/dist/runtime/server/routes/agent-skills-artifact.d.ts +1 -1
- package/dist/runtime/server/routes/agent-skills-artifact.js +16 -14
- package/dist/runtime/server/routes/agent-skills-index.d.ts +1 -1
- package/dist/runtime/server/routes/agent-skills-index.js +8 -6
- package/dist/runtime/server/routes/ai-catalog.js +19 -19
- package/dist/runtime/server/routes/ai-terms.js +23 -19
- package/dist/runtime/server/routes/api-catalog.js +23 -23
- package/dist/runtime/server/routes/llms-full.txt.get.d.ts +1 -1
- package/dist/runtime/server/routes/llms-full.txt.get.js +42 -41
- package/dist/runtime/server/routes/llms.txt.get.d.ts +1 -1
- package/dist/runtime/server/routes/llms.txt.get.js +38 -33
- package/dist/runtime/server/routes/mcp-server-card.js +19 -19
- package/dist/runtime/server/routes/sitemap.md.get.d.ts +1 -1
- package/dist/runtime/server/routes/sitemap.md.get.js +38 -39
- package/dist/runtime/server/tasks/ai-ready-cron.d.ts +1 -1
- package/dist/runtime/server/tasks/ai-ready-cron.js +17 -14
- package/dist/runtime/server/utils/auth.js +76 -53
- package/dist/runtime/server/utils/batchIndex.js +72 -60
- package/dist/runtime/server/utils/checkStale.js +181 -134
- package/dist/runtime/server/utils/cloudflare-prerendered.js +23 -20
- package/dist/runtime/server/utils/cloudflare.js +69 -51
- package/dist/runtime/server/utils/content-negotiation.js +30 -18
- package/dist/runtime/server/utils/content.js +4 -1
- package/dist/runtime/server/utils/context.js +30 -19
- package/dist/runtime/server/utils/cron-plan.js +6 -6
- package/dist/runtime/server/utils/discovery-response.js +5 -6
- package/dist/runtime/server/utils/fetch.js +2 -1
- package/dist/runtime/server/utils/frontmatter.js +44 -57
- package/dist/runtime/server/utils/i18n.js +3 -8
- package/dist/runtime/server/utils/indexPage.js +152 -113
- package/dist/runtime/server/utils/keywords.js +278 -277
- package/dist/runtime/server/utils/link-header.js +67 -56
- package/dist/runtime/server/utils/llms-full.js +39 -49
- package/dist/runtime/server/utils/markdown-redirect.js +26 -14
- package/dist/runtime/server/utils/markdown-request.js +62 -47
- package/dist/runtime/server/utils/negotiation-decision.d.ts +8 -0
- package/dist/runtime/server/utils/negotiation-decision.js +106 -34
- package/dist/runtime/server/utils/negotiation-response.d.ts +1 -1
- package/dist/runtime/server/utils/negotiation-response.js +195 -144
- package/dist/runtime/server/utils/page-updated-at.js +23 -15
- package/dist/runtime/server/utils/prerender-html.js +31 -17
- package/dist/runtime/server/utils/runCron.js +263 -192
- package/dist/runtime/server/utils/sitemap-crawl-state.js +57 -39
- package/dist/runtime/server/utils/sitemap-lastmod.js +16 -14
- package/dist/runtime/server/utils/sitemap-md.js +39 -50
- package/dist/runtime/server/utils/sitemap-routes.js +7 -7
- package/dist/runtime/server/utils/sitemap.js +459 -414
- package/dist/runtime/server/utils.js +141 -122
- package/dist/runtime/site-tool-catalog.js +39 -43
- package/dist/runtime/site-tool-config.js +1 -0
- package/dist/runtime/sync-secret.js +11 -11
- package/dist/runtime/types.js +1 -0
- package/dist/runtime/webmcp-site-tools.js +278 -250
- package/dist/runtime/webmcp.js +53 -42
- package/dist/static-headers-G7hFL3wE.mjs +328 -0
- package/dist/types.d.mts +1 -9
- package/package.json +20 -24
- package/skills/nuxt-ai-ready/SKILL.md +8 -2
- package/dist/chunks/agent-skills.mjs +0 -383
- package/dist/chunks/prerender.mjs +0 -683
- package/dist/shared/nuxt-ai-ready.Bzx0dNWj.mjs +0 -3034
- package/dist/shared/nuxt-ai-ready.DCd-1s1G.mjs +0 -29
|
@@ -5,9 +5,15 @@ import { data } from '../../lib/ai-ready/state'
|
|
|
5
5
|
const config = computed(() => data.value?.config)
|
|
6
6
|
const llmsTxt = computed(() => data.value?.llmsTxt)
|
|
7
7
|
|
|
8
|
-
const configJson = computed(() => config.value
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const configJson = computed(() => config.value
|
|
9
|
+
? JSON.stringify(config.value, null, 2)
|
|
10
|
+
: '')
|
|
11
|
+
const llmsTxtJson = computed(() => llmsTxt.value
|
|
12
|
+
? JSON.stringify(llmsTxt.value, null, 2)
|
|
13
|
+
: '')
|
|
14
|
+
const fullJson = computed(() => data.value
|
|
15
|
+
? JSON.stringify(data.value, null, 2)
|
|
16
|
+
: '')
|
|
11
17
|
</script>
|
|
12
18
|
|
|
13
19
|
<template>
|
|
@@ -28,7 +28,9 @@ const { data: markdownContent, status: mdStatus } = useAsyncData('page-markdown'
|
|
|
28
28
|
if (!appFetch.value || !selectedRoute.value)
|
|
29
29
|
return null
|
|
30
30
|
try {
|
|
31
|
-
const mdRoute = selectedRoute.value === '/'
|
|
31
|
+
const mdRoute = selectedRoute.value === '/'
|
|
32
|
+
? '/index.md'
|
|
33
|
+
: `${selectedRoute.value}.md`
|
|
32
34
|
return await appFetch.value(mdRoute, { responseType: 'text' }) as string
|
|
33
35
|
}
|
|
34
36
|
catch {
|
|
@@ -49,24 +49,35 @@ const templatePreview = computed(() => {
|
|
|
49
49
|
if (!config)
|
|
50
50
|
return ''
|
|
51
51
|
|
|
52
|
-
const lines: string[] = [
|
|
52
|
+
const lines: string[] = [
|
|
53
|
+
'# {Site Name}',
|
|
54
|
+
'',
|
|
55
|
+
'> {Site Description}',
|
|
56
|
+
'',
|
|
57
|
+
]
|
|
53
58
|
|
|
54
59
|
for (const section of config.sections || []) {
|
|
55
60
|
lines.push(`## ${section.title}`)
|
|
56
61
|
if (section.description) {
|
|
57
|
-
const descs = Array.isArray(section.description)
|
|
62
|
+
const descs = Array.isArray(section.description)
|
|
63
|
+
? section.description
|
|
64
|
+
: [section.description]
|
|
58
65
|
for (const d of descs)
|
|
59
66
|
lines.push('', d)
|
|
60
67
|
}
|
|
61
68
|
for (const link of section.links || []) {
|
|
62
|
-
const desc = link.description
|
|
69
|
+
const desc = link.description
|
|
70
|
+
? `: ${link.description}`
|
|
71
|
+
: ''
|
|
63
72
|
lines.push(`- [${link.title}](${link.href})${desc}`)
|
|
64
73
|
}
|
|
65
74
|
lines.push('')
|
|
66
75
|
}
|
|
67
76
|
|
|
68
77
|
if (config.notes) {
|
|
69
|
-
const notes = Array.isArray(config.notes)
|
|
78
|
+
const notes = Array.isArray(config.notes)
|
|
79
|
+
? config.notes
|
|
80
|
+
: [config.notes]
|
|
70
81
|
for (const note of notes)
|
|
71
82
|
lines.push(note)
|
|
72
83
|
}
|
|
@@ -18,10 +18,34 @@ const currentTab = computed(() => {
|
|
|
18
18
|
})
|
|
19
19
|
|
|
20
20
|
const navItems = [
|
|
21
|
-
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
{
|
|
22
|
+
value: 'pages',
|
|
23
|
+
to: '/ai-ready',
|
|
24
|
+
icon: 'carbon:list',
|
|
25
|
+
label: 'Pages',
|
|
26
|
+
devOnly: false,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
value: 'llms-txt',
|
|
30
|
+
to: '/ai-ready/llms-txt',
|
|
31
|
+
icon: 'carbon:document',
|
|
32
|
+
label: 'llms.txt',
|
|
33
|
+
devOnly: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
value: 'debug',
|
|
37
|
+
to: '/ai-ready/debug',
|
|
38
|
+
icon: 'carbon:debug',
|
|
39
|
+
label: 'Debug',
|
|
40
|
+
devOnly: true,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
value: 'docs',
|
|
44
|
+
to: '/ai-ready/docs',
|
|
45
|
+
icon: 'carbon:book',
|
|
46
|
+
label: 'Docs',
|
|
47
|
+
devOnly: false,
|
|
48
|
+
},
|
|
25
49
|
]
|
|
26
50
|
|
|
27
51
|
const runtimeVersion = computed(() => data.value?.version || 'unknown')
|
package/dist/module.d.mts
CHANGED
|
@@ -1,137 +1,131 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
|
|
1
|
+
import "@nuxt/schema";
|
|
2
|
+
import "nitropack/types";
|
|
3
|
+
import { RuntimeI18nConfig } from "nuxtseo-shared/i18n-runtime";
|
|
4
|
+
import "./runtime/server/db/shared.js";
|
|
5
|
+
import "./runtime/server/utils/llms-full.js";
|
|
6
|
+
import { AgentSkillConfig, AgentSkillConfig as AgentSkillConfig$1, AgentSkillsConfig, AgentSkillsIndex, AgentSkillsIndexEntry, ApiCatalogConfig, ApiCatalogEntry, ApiCatalogLinkTarget, ApiCatalogLinks, ContentNegotiationPolicy, ExternalAgentSkillConfig, LlmsTxtConfig, LocalAgentSkillConfig, McpServerCardConfig, ModuleOptions, ModuleOptions as ModuleOptions$1 } from "./runtime/types.js";
|
|
7
|
+
import "nuxtseo-shared/prerender";
|
|
8
|
+
import { AiTermsAccess, AiTermsConfig, AiTermsDocument, AiTermsFreeAllowance, AiTermsPath, AiTermsPayment, AiTermsPrice, AiTermsPurpose, AiTermsUse, ResolvedAiTermsConfig } from "./runtime/ai-terms.js";
|
|
9
|
+
import "nuxtseo-shared/i18n";
|
|
10
|
+
import { GetPageMarkdownToolOptions, ListPagesToolOptions, McpSiteToolAttachmentOptions, ResolvedWebMcpToolsConfig, SearchPagesToolOptions, SiteToolOptions, SiteToolsConfig, WebMcpSiteToolAttachmentOptions } from "./runtime/site-tool-config.js";
|
|
11
|
+
import { AiCatalog } from "./runtime/server/utils/discovery-response.js";
|
|
11
12
|
type DatabaseType = 'sqlite' | 'bun' | 'd1' | 'libsql' | 'neon' | 'postgres';
|
|
12
13
|
/**
|
|
13
14
|
* Database state after parsing. Every consumer reads `_tag` first, so a
|
|
14
15
|
* disabled database can never carry a driver, a path, or credentials.
|
|
15
16
|
*/
|
|
16
17
|
type ResolvedDatabase = {
|
|
17
|
-
|
|
18
|
+
_tag: 'Disabled';
|
|
18
19
|
} | {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
_tag: 'Enabled';
|
|
21
|
+
type: DatabaseType;
|
|
22
|
+
filename?: string;
|
|
23
|
+
bindingName?: string;
|
|
24
|
+
url?: string;
|
|
25
|
+
authToken?: string;
|
|
25
26
|
};
|
|
26
|
-
|
|
27
27
|
interface ParsedMarkdownResult {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
markdown: string;
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
headings: Array<Record<string, string>>;
|
|
32
|
+
keywords?: string[];
|
|
33
|
+
updatedAt?: string;
|
|
34
|
+
contentSignal?: string;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
36
|
interface ResolvedApiCatalogLinkTarget {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
href: string;
|
|
38
|
+
type?: string;
|
|
39
|
+
title?: string;
|
|
40
|
+
hreflang?: string[];
|
|
41
|
+
media?: string;
|
|
43
42
|
}
|
|
44
43
|
type ResolvedApiCatalogLinksetEntry = Record<string, string | ResolvedApiCatalogLinkTarget[]>;
|
|
45
44
|
interface ResolvedApiCatalogConfig {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
href: string;
|
|
46
|
+
mediaType: string;
|
|
47
|
+
document: {
|
|
48
|
+
linkset: ResolvedApiCatalogLinksetEntry[];
|
|
49
|
+
};
|
|
51
50
|
}
|
|
52
|
-
|
|
53
51
|
interface ResolvedWebMcpConfig {
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
tools: ResolvedWebMcpToolsConfig;
|
|
53
|
+
exposedTo?: string[];
|
|
56
54
|
}
|
|
57
|
-
|
|
58
55
|
declare function resolveAiCatalog(input: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
siteUrl: string;
|
|
57
|
+
serverCardName: string;
|
|
58
|
+
serverCardTitle?: string;
|
|
59
|
+
serverCardDescription?: string;
|
|
60
|
+
serverCardUrl: string;
|
|
64
61
|
}): AiCatalog;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}) => void | Promise<void>;
|
|
62
|
+
export interface ModuleHooks {
|
|
63
|
+
/**
|
|
64
|
+
* Hook called when page markdown is generated during prerendering.
|
|
65
|
+
* Called with route and markdown content when content has changed.
|
|
66
|
+
*/
|
|
67
|
+
'ai-ready:page:markdown': (context: ParsedMarkdownResult & {
|
|
68
|
+
route: string;
|
|
69
|
+
}) => void | Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Hook to modify llms.txt configuration before it is finalized
|
|
72
|
+
*/
|
|
73
|
+
'ai-ready:llms-txt': (payload: {
|
|
74
|
+
sections: LlmsTxtConfig['sections'];
|
|
75
|
+
notes: string[];
|
|
76
|
+
}) => void | Promise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Hook called with every agent skill about to be published: the ones
|
|
79
|
+
* discovered under `agentSkills.dir` merged with `agentSkills.skills`.
|
|
80
|
+
* Mutate the array to add external entries, drop a skill, or change its
|
|
81
|
+
* aliases. The root alias is applied after this hook.
|
|
82
|
+
*/
|
|
83
|
+
'ai-ready:agent-skills': (payload: {
|
|
84
|
+
skills: AgentSkillConfig$1[];
|
|
85
|
+
}) => void | Promise<void>;
|
|
90
86
|
}
|
|
91
87
|
declare module '@nuxt/schema' {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
interface NuxtHooks {
|
|
89
|
+
'ai-ready:page:markdown': ModuleHooks['ai-ready:page:markdown'];
|
|
90
|
+
'ai-ready:llms-txt': ModuleHooks['ai-ready:llms-txt'];
|
|
91
|
+
'ai-ready:agent-skills': ModuleHooks['ai-ready:agent-skills'];
|
|
92
|
+
}
|
|
97
93
|
}
|
|
98
|
-
interface ModulePublicRuntimeConfig {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
94
|
+
export interface ModulePublicRuntimeConfig {
|
|
95
|
+
/** @deprecated The generated fallback paths are bundled with the Worker. */
|
|
96
|
+
cloudflarePrerenderedPages?: string[];
|
|
97
|
+
debug: boolean;
|
|
98
|
+
debugCron: boolean;
|
|
99
|
+
contentNegotiation: ContentNegotiationPolicy;
|
|
100
|
+
botNegotiation: boolean;
|
|
101
|
+
version: string;
|
|
102
|
+
sitemapMd: boolean;
|
|
103
|
+
describedby: boolean;
|
|
104
|
+
llmsFullTxt?: boolean;
|
|
105
|
+
mdreamOptions: ModuleOptions$1['mdreamOptions'];
|
|
106
|
+
markdownCacheHeaders: Required<NonNullable<ModuleOptions$1['markdownCacheHeaders']>>;
|
|
107
|
+
database: ResolvedDatabase;
|
|
108
|
+
runtimeSync: {
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
ttl: number;
|
|
111
|
+
batchSize: number;
|
|
112
|
+
pruneTtl: number;
|
|
113
|
+
};
|
|
114
|
+
runtimeSyncSecret?: string;
|
|
115
|
+
sitemapPrerendered: boolean;
|
|
116
|
+
i18n?: RuntimeI18nConfig | null;
|
|
117
|
+
ftsTokenizer?: string;
|
|
118
|
+
aiCatalog?: {
|
|
119
|
+
cacheMaxAge: number;
|
|
120
|
+
document: ReturnType<typeof resolveAiCatalog>;
|
|
121
|
+
etag: string;
|
|
122
|
+
};
|
|
123
|
+
apiCatalog?: ResolvedApiCatalogConfig;
|
|
124
|
+
aiTerms?: ResolvedAiTermsConfig;
|
|
129
125
|
}
|
|
130
126
|
/** Runtime config exposed to the browser, only set when WebMCP is enabled. */
|
|
131
|
-
interface ModuleAppRuntimeConfig {
|
|
132
|
-
|
|
127
|
+
export interface ModuleAppRuntimeConfig {
|
|
128
|
+
webmcp: ResolvedWebMcpConfig;
|
|
133
129
|
}
|
|
134
|
-
declare const _default:
|
|
135
|
-
|
|
136
|
-
export { _default as default };
|
|
137
|
-
export type { ModuleAppRuntimeConfig, ModuleHooks, ModulePublicRuntimeConfig };
|
|
130
|
+
declare const _default: import("@nuxt/schema").NuxtModule<ModuleOptions$1, ModuleOptions$1, false>;
|
|
131
|
+
export { type AgentSkillConfig, type AgentSkillsConfig, type AgentSkillsIndex, type AgentSkillsIndexEntry, type AiTermsAccess, type AiTermsConfig, type AiTermsDocument, type AiTermsFreeAllowance, type AiTermsPath, type AiTermsPayment, type AiTermsPrice, type AiTermsPurpose, type AiTermsUse, type ApiCatalogConfig, type ApiCatalogEntry, type ApiCatalogLinkTarget, type ApiCatalogLinks, type ExternalAgentSkillConfig, type GetPageMarkdownToolOptions, type ListPagesToolOptions, type LocalAgentSkillConfig, type McpServerCardConfig, type McpSiteToolAttachmentOptions, type ModuleOptions, type SearchPagesToolOptions, type SiteToolOptions, type SiteToolsConfig, type WebMcpSiteToolAttachmentOptions, _default as default };
|
package/dist/module.json
CHANGED