@farming-labs/docs 0.2.56 → 0.2.58

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 (44) hide show
  1. package/dist/{agent-3IpxY9F6.mjs → agent-BFtIbSyJ.mjs} +2 -2
  2. package/dist/agent-evals-BW0vEc-F.mjs +2144 -0
  3. package/dist/{agent-export-BtlITzt3.mjs → agent-export-vsdq0Huq.mjs} +6 -6
  4. package/dist/{agents-BguzxLhO.mjs → agents-ChKj-VYw.mjs} +6 -6
  5. package/dist/cli/index.mjs +29 -29
  6. package/dist/client/react.d.mts +1 -1
  7. package/dist/{cloud-HWFlbfLJ.mjs → cloud-BH_sHX64.mjs} +3 -3
  8. package/dist/{cloud-ask-ai-CvRVnwdK.d.mts → cloud-ask-ai-a5Juvlvh.d.mts} +1 -1
  9. package/dist/{code-blocks-C9awWzEQ.mjs → code-blocks-qe0T8-xe.mjs} +1 -1
  10. package/dist/{codeblocks-BzfkREEC.mjs → codeblocks-Bq67u32v.mjs} +2 -2
  11. package/dist/{config-CydaZ5PB.mjs → config-DASewQ0x.mjs} +18 -2
  12. package/dist/{dev-BA2kRuCn.mjs → dev-CAQlbguk.mjs} +2 -2
  13. package/dist/docs-cloud-server.d.mts +2 -2
  14. package/dist/docs-cloud-server.mjs +1 -1
  15. package/dist/{doctor-Cra5qEEi.mjs → doctor-H8gilyTg.mjs} +34 -31
  16. package/dist/{downgrade-BStNhyCc.mjs → downgrade-BZs86NVr.mjs} +2 -2
  17. package/dist/{agent-surface-drift-rGFS38Ak.mjs → golden-evaluations-BiUg5Xe_.mjs} +59 -3
  18. package/dist/index.d.mts +3 -3
  19. package/dist/index.mjs +3 -2
  20. package/dist/{init-gnHQ_Pz9.mjs → init-B_9ENq8Z.mjs} +3 -3
  21. package/dist/{mcp-BwYAu9DJ.mjs → mcp-CiNww-Wu.mjs} +5 -5
  22. package/dist/mcp.d.mts +1 -1
  23. package/dist/mcp.mjs +148 -6
  24. package/dist/metadata-3ljRN9MM.mjs +237 -0
  25. package/dist/{package-version-DRIc08EU.mjs → package-version-qik_4J6C.mjs} +1 -1
  26. package/dist/{reading-time-W_Id2ayC.mjs → reading-time-EaVom2cl.mjs} +2 -234
  27. package/dist/{review-x3zV5jZp.mjs → review-BEgX7ey7.mjs} +28 -27
  28. package/dist/{robots-BSPfXA3J.mjs → robots-CFlsfYdA.mjs} +2 -2
  29. package/dist/{search-9uEaC23e.d.mts → search-BblemZl4.d.mts} +25 -3
  30. package/dist/{search-OHp36znm.mjs → search-Bo9ubPVO.mjs} +149 -38
  31. package/dist/{search-vG59kGqo.mjs → search-CoajN9X1.mjs} +5 -5
  32. package/dist/server.d.mts +107 -6
  33. package/dist/server.mjs +5 -5
  34. package/dist/{sitemap-DqxsKlvI.mjs → sitemap-D_aXWPdJ.mjs} +6 -6
  35. package/dist/{types-R-DN23yw.d.mts → types-C1nPRXqo.d.mts} +90 -6
  36. package/dist/{upgrade-CXYRNV0C.mjs → upgrade-BCJTCW3O.mjs} +2 -2
  37. package/package.json +2 -2
  38. package/dist/agent-evals-BD17jOqL.mjs +0 -1166
  39. /package/dist/{agent-scope-B8lptqCd.mjs → agent-scope-CCaIY1aK.mjs} +0 -0
  40. /package/dist/{cloud-ask-ai-1k0q6OAH.mjs → cloud-ask-ai-hnJfj8-X.mjs} +0 -0
  41. /package/dist/{errors-BFUtdZfC.mjs → errors-CVqZ3kOO.mjs} +0 -0
  42. /package/dist/{sitemap-server-zFYctvCa.mjs → sitemap-server-BYwE0zXs.mjs} +0 -0
  43. /package/dist/{templates-1Cod8KrJ.mjs → templates-CfQjpDWW.mjs} +0 -0
  44. /package/dist/{utils-DBCCkkJS.mjs → utils-6UCLxv4B.mjs} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { Ft as renderDocsSitemapMarkdown, It as renderDocsSitemapXml, Lt as resolveDocsSitemapConfig, M as buildDocsAgentDiscoverySpec, Mt as buildDocsSitemapManifest, T as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, a as DEFAULT_AGENT_MD_ROUTE, bt as toDocsMarkdownUrl, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, ct as resolveDocsAgentFeedbackConfig, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, it as renderDocsMarkdownDocument, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, nt as renderDocsAgentsDocument, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, ot as renderDocsSkillDocument, rt as renderDocsLlmsTxt, t as DEFAULT_AGENTS_MD_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, w as DEFAULT_SKILL_MD_ROUTE, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE } from "./agent-CxDzPqtl.mjs";
2
- import "./search-OHp36znm.mjs";
2
+ import "./search-Bo9ubPVO.mjs";
3
3
  import { t as resolveDocsI18n } from "./i18n-CAlj1ADU.mjs";
4
4
  import { c as renderDocsRobotsGeneratedBlock, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, r as DOCS_ROBOTS_GENERATED_BLOCK_END, u as resolveDocsRobotsConfig } from "./robots-DRpoiYAV.mjs";
5
- import "./sitemap-server-zFYctvCa.mjs";
6
- import "./agent-evals-BD17jOqL.mjs";
5
+ import "./sitemap-server-BYwE0zXs.mjs";
6
+ import "./agent-evals-BW0vEc-F.mjs";
7
7
  import { createFilesystemDocsMcpSource, resolveDocsMcpConfig } from "./mcp.mjs";
8
- import "./code-blocks-C9awWzEQ.mjs";
8
+ import "./code-blocks-qe0T8-xe.mjs";
9
9
  import "./server.mjs";
10
- import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-CydaZ5PB.mjs";
11
- import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
10
+ import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DASewQ0x.mjs";
11
+ import { t as detectFramework } from "./utils-6UCLxv4B.mjs";
12
12
  import { existsSync, lstatSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
13
13
  import path from "node:path";
14
14
  import { execFileSync } from "node:child_process";
@@ -1,12 +1,12 @@
1
1
  import { C as DEFAULT_OPENAPI_SCHEMA_ROUTE, a as DEFAULT_AGENT_MD_ROUTE, ct as resolveDocsAgentFeedbackConfig, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, nt as renderDocsAgentsDocument, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, t as DEFAULT_AGENTS_MD_ROUTE } from "./agent-CxDzPqtl.mjs";
2
- import "./search-OHp36znm.mjs";
3
- import { S as resolveApiReferenceConfig } from "./sitemap-server-zFYctvCa.mjs";
4
- import "./agent-evals-BD17jOqL.mjs";
2
+ import "./search-Bo9ubPVO.mjs";
3
+ import { S as resolveApiReferenceConfig } from "./sitemap-server-BYwE0zXs.mjs";
4
+ import "./agent-evals-BW0vEc-F.mjs";
5
5
  import { resolveDocsMcpConfig } from "./mcp.mjs";
6
- import "./code-blocks-C9awWzEQ.mjs";
6
+ import "./code-blocks-qe0T8-xe.mjs";
7
7
  import "./server.mjs";
8
- import { d as readStringProperty, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-CydaZ5PB.mjs";
9
- import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
8
+ import { d as readStringProperty, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DASewQ0x.mjs";
9
+ import { t as detectFramework } from "./utils-6UCLxv4B.mjs";
10
10
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
11
11
  import path from "node:path";
12
12
  import pc from "picocolors";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as wasCliErrorReported, r as shouldPrintStackTrace, t as formatCliError } from "../errors-BFUtdZfC.mjs";
2
+ import { i as wasCliErrorReported, r as shouldPrintStackTrace, t as formatCliError } from "../errors-CVqZ3kOO.mjs";
3
3
  import pc from "picocolors";
4
4
 
5
5
  //#region src/cli/index.ts
@@ -105,43 +105,43 @@ async function main() {
105
105
  ]
106
106
  };
107
107
  if (!parsedCommand.command || parsedCommand.command === "init") {
108
- const { init } = await import("../init-gnHQ_Pz9.mjs");
108
+ const { init } = await import("../init-B_9ENq8Z.mjs");
109
109
  await init(initOptions);
110
110
  } else if (parsedCommand.command === "dev") {
111
- const { dev } = await import("../dev-BA2kRuCn.mjs");
111
+ const { dev } = await import("../dev-CAQlbguk.mjs");
112
112
  await dev(devOptions);
113
113
  } else if (parsedCommand.command === "deploy") {
114
- const { runCloudDeploy } = await import("../cloud-HWFlbfLJ.mjs");
114
+ const { runCloudDeploy } = await import("../cloud-BH_sHX64.mjs");
115
115
  await runCloudDeploy(cloudOptions);
116
116
  } else if (parsedCommand.command === "preview") {
117
- const { runCloudPreview } = await import("../cloud-HWFlbfLJ.mjs");
117
+ const { runCloudPreview } = await import("../cloud-BH_sHX64.mjs");
118
118
  await runCloudPreview(cloudOptions);
119
119
  } else if (parsedCommand.command === "cloud" && subcommand === "deploy") {
120
- const { runCloudDeploy } = await import("../cloud-HWFlbfLJ.mjs");
120
+ const { runCloudDeploy } = await import("../cloud-BH_sHX64.mjs");
121
121
  await runCloudDeploy(cloudOptions);
122
122
  } else if (parsedCommand.command === "cloud" && subcommand === "preview") {
123
- const { runCloudPreview } = await import("../cloud-HWFlbfLJ.mjs");
123
+ const { runCloudPreview } = await import("../cloud-BH_sHX64.mjs");
124
124
  await runCloudPreview(cloudOptions);
125
125
  } else if (parsedCommand.command === "cloud" && subcommand === "init") {
126
- const { runCloudInit } = await import("../cloud-HWFlbfLJ.mjs");
126
+ const { runCloudInit } = await import("../cloud-BH_sHX64.mjs");
127
127
  await runCloudInit(cloudOptions);
128
128
  } else if (parsedCommand.command === "cloud" && subcommand === "sync") {
129
- const { syncCloudConfig } = await import("../cloud-HWFlbfLJ.mjs");
129
+ const { syncCloudConfig } = await import("../cloud-BH_sHX64.mjs");
130
130
  await syncCloudConfig(cloudOptions);
131
131
  } else if (parsedCommand.command === "cloud" && subcommand === "check") {
132
- const { runCloudCheck } = await import("../cloud-HWFlbfLJ.mjs");
132
+ const { runCloudCheck } = await import("../cloud-BH_sHX64.mjs");
133
133
  await runCloudCheck(cloudOptions);
134
134
  } else if (parsedCommand.command === "cloud") {
135
135
  console.error(pc.red(`Unknown cloud subcommand: ${subcommand ?? "(missing)"}`));
136
136
  console.error();
137
- const { printCloudHelp } = await import("../cloud-HWFlbfLJ.mjs");
137
+ const { printCloudHelp } = await import("../cloud-BH_sHX64.mjs");
138
138
  printCloudHelp();
139
139
  process.exit(1);
140
140
  } else if (parsedCommand.command === "mcp") {
141
- const { runMcp } = await import("../mcp-BwYAu9DJ.mjs");
141
+ const { runMcp } = await import("../mcp-CiNww-Wu.mjs");
142
142
  await runMcp(mcpOptions);
143
143
  } else if (parsedCommand.command === "agent" && subcommand === "compact") {
144
- const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-3IpxY9F6.mjs").then((n) => n.t);
144
+ const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-BFtIbSyJ.mjs").then((n) => n.t);
145
145
  const agentCompactOptions = parseAgentCompactArgs(args.slice(2));
146
146
  if (agentCompactOptions.help) {
147
147
  printAgentCompactHelp();
@@ -149,7 +149,7 @@ async function main() {
149
149
  }
150
150
  await compactAgentDocs(agentCompactOptions);
151
151
  } else if (parsedCommand.command === "agent" && subcommand === "export") {
152
- const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-BtlITzt3.mjs");
152
+ const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-vsdq0Huq.mjs");
153
153
  const agentExportOptions = parseAgentExportArgs(args.slice(2));
154
154
  if (agentExportOptions.help) {
155
155
  printAgentExportHelp();
@@ -159,13 +159,13 @@ async function main() {
159
159
  } else if (parsedCommand.command === "agent") {
160
160
  console.error(pc.red(`Unknown agent subcommand: ${subcommand ?? "(missing)"}`));
161
161
  console.error();
162
- const { printAgentCompactHelp } = await import("../agent-3IpxY9F6.mjs").then((n) => n.t);
163
- const { printAgentExportHelp } = await import("../agent-export-BtlITzt3.mjs");
162
+ const { printAgentCompactHelp } = await import("../agent-BFtIbSyJ.mjs").then((n) => n.t);
163
+ const { printAgentExportHelp } = await import("../agent-export-vsdq0Huq.mjs");
164
164
  printAgentCompactHelp();
165
165
  printAgentExportHelp();
166
166
  process.exit(1);
167
167
  } else if (parsedCommand.command === "agents" && subcommand === "generate") {
168
- const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-BguzxLhO.mjs");
168
+ const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-ChKj-VYw.mjs");
169
169
  const agentsOptions = parseAgentsGenerateArgs(args.slice(2));
170
170
  if (agentsOptions.help) {
171
171
  printAgentsGenerateHelp();
@@ -175,11 +175,11 @@ async function main() {
175
175
  } else if (parsedCommand.command === "agents") {
176
176
  console.error(pc.red(`Unknown agents subcommand: ${subcommand ?? "(missing)"}`));
177
177
  console.error();
178
- const { printAgentsGenerateHelp } = await import("../agents-BguzxLhO.mjs");
178
+ const { printAgentsGenerateHelp } = await import("../agents-ChKj-VYw.mjs");
179
179
  printAgentsGenerateHelp();
180
180
  process.exit(1);
181
181
  } else if (parsedCommand.command === "doctor") {
182
- const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-Cra5qEEi.mjs");
182
+ const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-H8gilyTg.mjs");
183
183
  const doctorOptions = parseDoctorArgs(args.slice(1));
184
184
  if (doctorOptions.help) {
185
185
  printDoctorHelp();
@@ -187,7 +187,7 @@ async function main() {
187
187
  }
188
188
  await runDoctor(doctorOptions);
189
189
  } else if (parsedCommand.command === "review") {
190
- const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-x3zV5jZp.mjs");
190
+ const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-BEgX7ey7.mjs");
191
191
  const reviewOptions = parseReviewArgs(args.slice(1));
192
192
  if (reviewOptions.help) {
193
193
  printReviewHelp();
@@ -195,7 +195,7 @@ async function main() {
195
195
  }
196
196
  await runReview(reviewOptions);
197
197
  } else if ((parsedCommand.command === "codeblocks" || parsedCommand.command === "code-blocks") && subcommand === "validate") {
198
- const { parseCodeBlocksValidateArgs, printCodeBlocksValidateHelp, runCodeBlocksValidate } = await import("../codeblocks-BzfkREEC.mjs");
198
+ const { parseCodeBlocksValidateArgs, printCodeBlocksValidateHelp, runCodeBlocksValidate } = await import("../codeblocks-Bq67u32v.mjs");
199
199
  const codeBlocksOptions = parseCodeBlocksValidateArgs(args.slice(2));
200
200
  if (codeBlocksOptions.help) {
201
201
  printCodeBlocksValidateHelp();
@@ -205,11 +205,11 @@ async function main() {
205
205
  } else if (parsedCommand.command === "codeblocks" || parsedCommand.command === "code-blocks") {
206
206
  console.error(pc.red(`Unknown codeblocks subcommand: ${subcommand ?? "(missing)"}`));
207
207
  console.error();
208
- const { printCodeBlocksValidateHelp } = await import("../codeblocks-BzfkREEC.mjs");
208
+ const { printCodeBlocksValidateHelp } = await import("../codeblocks-Bq67u32v.mjs");
209
209
  printCodeBlocksValidateHelp();
210
210
  process.exit(1);
211
211
  } else if (parsedCommand.command === "search" && subcommand === "sync") {
212
- const { syncSearch } = await import("../search-vG59kGqo.mjs");
212
+ const { syncSearch } = await import("../search-CoajN9X1.mjs");
213
213
  await syncSearch(searchSyncOptions);
214
214
  } else if (parsedCommand.command === "search") {
215
215
  console.error(pc.red(`Unknown search subcommand: ${subcommand ?? "(missing)"}`));
@@ -217,7 +217,7 @@ async function main() {
217
217
  printHelp();
218
218
  process.exit(1);
219
219
  } else if (parsedCommand.command === "sitemap" && subcommand === "generate") {
220
- const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-DqxsKlvI.mjs");
220
+ const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-D_aXWPdJ.mjs");
221
221
  const sitemapOptions = parseSitemapGenerateArgs(args.slice(2));
222
222
  if (sitemapOptions.help) {
223
223
  printSitemapGenerateHelp();
@@ -227,11 +227,11 @@ async function main() {
227
227
  } else if (parsedCommand.command === "sitemap") {
228
228
  console.error(pc.red(`Unknown sitemap subcommand: ${subcommand ?? "(missing)"}`));
229
229
  console.error();
230
- const { printSitemapGenerateHelp } = await import("../sitemap-DqxsKlvI.mjs");
230
+ const { printSitemapGenerateHelp } = await import("../sitemap-D_aXWPdJ.mjs");
231
231
  printSitemapGenerateHelp();
232
232
  process.exit(1);
233
233
  } else if (parsedCommand.command === "robots" && subcommand === "generate") {
234
- const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-BSPfXA3J.mjs");
234
+ const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-CFlsfYdA.mjs");
235
235
  const robotsOptions = parseRobotsGenerateArgs(args.slice(2));
236
236
  if (robotsOptions.help) {
237
237
  printRobotsGenerateHelp();
@@ -241,11 +241,11 @@ async function main() {
241
241
  } else if (parsedCommand.command === "robots") {
242
242
  console.error(pc.red(`Unknown robots subcommand: ${subcommand ?? "(missing)"}`));
243
243
  console.error();
244
- const { printRobotsGenerateHelp } = await import("../robots-BSPfXA3J.mjs");
244
+ const { printRobotsGenerateHelp } = await import("../robots-CFlsfYdA.mjs");
245
245
  printRobotsGenerateHelp();
246
246
  process.exit(1);
247
247
  } else if (parsedCommand.command === "downgrade") {
248
- const { downgrade } = await import("../downgrade-BStNhyCc.mjs");
248
+ const { downgrade } = await import("../downgrade-BZs86NVr.mjs");
249
249
  const framework = (typeof flags.framework === "string" ? flags.framework : void 0) ?? (args[1] && !args[1].startsWith("--") ? args[1] : void 0);
250
250
  const hasVersionFlag = args.includes("--version") || args.some((arg) => arg.startsWith("--version="));
251
251
  await downgrade({
@@ -254,7 +254,7 @@ async function main() {
254
254
  dryRun: flags["dry-run"] === true
255
255
  });
256
256
  } else if (parsedCommand.command === "upgrade") {
257
- const { upgrade } = await import("../upgrade-CXYRNV0C.mjs");
257
+ const { upgrade } = await import("../upgrade-BCJTCW3O.mjs");
258
258
  const framework = (typeof flags.framework === "string" ? flags.framework : void 0) ?? (args[1] && !args[1].startsWith("--") ? args[1] : void 0);
259
259
  const hasVersionFlag = args.includes("--version") || args.some((arg) => arg.startsWith("--version="));
260
260
  const version = typeof flags.version === "string" ? flags.version : hasVersionFlag ? "" : void 0;
@@ -1,4 +1,4 @@
1
- import { T as DocsAnalyticsConfig } from "../types-R-DN23yw.mjs";
1
+ import { F as DocsAnalyticsConfig } from "../types-C1nPRXqo.mjs";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/docs-cloud-client.d.ts
@@ -1,6 +1,6 @@
1
- import { n as markCliErrorReported } from "./errors-BFUtdZfC.mjs";
2
- import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, t as extractNestedObjectLiteral } from "./config-CydaZ5PB.mjs";
3
- import { i as detectPackageManagerFromProject, t as detectFramework } from "./utils-DBCCkkJS.mjs";
1
+ import { n as markCliErrorReported } from "./errors-CVqZ3kOO.mjs";
2
+ import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, t as extractNestedObjectLiteral } from "./config-DASewQ0x.mjs";
3
+ import { i as detectPackageManagerFromProject, t as detectFramework } from "./utils-6UCLxv4B.mjs";
4
4
  import fs from "node:fs";
5
5
  import path from "node:path";
6
6
  import { execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- import { T as DocsAnalyticsConfig, t as AIConfig, z as DocsCloudConfig } from "./types-R-DN23yw.mjs";
1
+ import { F as DocsAnalyticsConfig, Y as DocsCloudConfig, t as AIConfig } from "./types-C1nPRXqo.mjs";
2
2
 
3
3
  //#region src/cloud-ask-ai.d.ts
4
4
  interface DocsCloudAskAIConfig {
@@ -868,4 +868,4 @@ function skippedResult(plan, reason) {
868
868
  }
869
869
 
870
870
  //#endregion
871
- export { validateCodeBlocks as i, planCodeBlockTargets as n, resolveDocsCodeBlocksValidateConfig as r, extractCodeBlocksFromMarkdown as t };
871
+ export { validateCodeBlocks as a, validateCodeBlockPlans as i, planCodeBlockTargets as n, resolveDocsCodeBlocksValidateConfig as r, extractCodeBlocksFromMarkdown as t };
@@ -1,5 +1,5 @@
1
- import { i as validateCodeBlocks, r as resolveDocsCodeBlocksValidateConfig } from "./code-blocks-C9awWzEQ.mjs";
2
- import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-CydaZ5PB.mjs";
1
+ import { a as validateCodeBlocks, r as resolveDocsCodeBlocksValidateConfig } from "./code-blocks-qe0T8-xe.mjs";
2
+ import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-DASewQ0x.mjs";
3
3
  import { existsSync, readFileSync } from "node:fs";
4
4
  import pc from "picocolors";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { existsSync, readFileSync } from "node:fs";
2
- import { join, resolve } from "node:path";
2
+ import { dirname, join, relative, resolve, sep } from "node:path";
3
3
 
4
4
  //#region src/cli/config.ts
5
5
  const FILE_EXTS = [
@@ -295,6 +295,20 @@ function isPlainDocsConfig(value) {
295
295
  const prototype = Object.getPrototypeOf(value);
296
296
  return prototype === Object.prototype || prototype === null;
297
297
  }
298
+ function resolveDocsConfigTsconfigPath(rootDir, configPath) {
299
+ const projectRoot = resolve(rootDir);
300
+ let currentDir = dirname(configPath);
301
+ while (true) {
302
+ const tsconfigPath = join(currentDir, "tsconfig.json");
303
+ if (existsSync(tsconfigPath)) return tsconfigPath;
304
+ if (currentDir === projectRoot) return false;
305
+ const parentDir = dirname(currentDir);
306
+ if (parentDir === currentDir) return false;
307
+ const relativeParent = relative(projectRoot, parentDir);
308
+ if (relativeParent === ".." || relativeParent.startsWith(`..${sep}`)) return false;
309
+ currentDir = parentDir;
310
+ }
311
+ }
298
312
  /**
299
313
  * Load docs.config with an explicit confidence signal for diagnostics.
300
314
  * Existing callers can keep using `loadDocsConfigModule`, which preserves the
@@ -307,7 +321,9 @@ async function loadDocsConfigModuleResult(rootDir, explicitPath, options = {}) {
307
321
  const config = resolveDocsConfigModuleExport(await createJiti(import.meta.url, {
308
322
  moduleCache: false,
309
323
  fsCache: false,
310
- interopDefault: false
324
+ interopDefault: false,
325
+ jsx: { runtime: "automatic" },
326
+ tsconfigPaths: resolveDocsConfigTsconfigPath(rootDir, configPath)
311
327
  }).import(configPath));
312
328
  if (!isPlainDocsConfig(config)) return {
313
329
  status: "static-fallback",
@@ -1,5 +1,5 @@
1
- import { i as detectPackageManagerFromProject } from "./utils-DBCCkkJS.mjs";
2
- import { K as rootLayoutTemplate, W as postcssConfigTemplate, g as docsLayoutTemplate, v as globalCssTemplate, yt as tsconfigTemplate } from "./templates-1Cod8KrJ.mjs";
1
+ import { i as detectPackageManagerFromProject } from "./utils-6UCLxv4B.mjs";
2
+ import { K as rootLayoutTemplate, W as postcssConfigTemplate, g as docsLayoutTemplate, v as globalCssTemplate, yt as tsconfigTemplate } from "./templates-CfQjpDWW.mjs";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
5
5
  import { spawn } from "node:child_process";
@@ -1,5 +1,5 @@
1
- import { D as DocsAnalyticsEventInput, E as DocsAnalyticsEvent, T as DocsAnalyticsConfig } from "./types-R-DN23yw.mjs";
2
- import { n as DocsCloudAskAIResponseOptions, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-CvRVnwdK.mjs";
1
+ import { F as DocsAnalyticsConfig, I as DocsAnalyticsEvent, L as DocsAnalyticsEventInput } from "./types-C1nPRXqo.mjs";
2
+ import { n as DocsCloudAskAIResponseOptions, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-a5Juvlvh.mjs";
3
3
 
4
4
  //#region src/docs-cloud-server.d.ts
5
5
  type DocsCloudRuntimeValue<T = string> = T | undefined | null | (() => T | undefined | null);
@@ -1,5 +1,5 @@
1
1
  import { n as sendDocsCloudAnalyticsEvent } from "./cloud-analytics-CSyFE6SS.mjs";
2
- import { t as createDocsCloudAskAIResponse } from "./cloud-ask-ai-1k0q6OAH.mjs";
2
+ import { t as createDocsCloudAskAIResponse } from "./cloud-ask-ai-hnJfj8-X.mjs";
3
3
 
4
4
  //#region src/docs-cloud-server.ts
5
5
  const DEFAULT_DOCS_CLOUD_API_BASE_URL = "https://api.farming-labs.dev";
@@ -1,16 +1,17 @@
1
- import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-3IpxY9F6.mjs";
2
- import "./reading-time-W_Id2ayC.mjs";
1
+ import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-BFtIbSyJ.mjs";
2
+ import "./reading-time-EaVom2cl.mjs";
3
3
  import { At as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, I as buildDocsMcpEndpointCandidates, Lt as resolveDocsSitemapConfig, M as buildDocsAgentDiscoverySpec, O as DOCS_CONFIG_MAP_TOP_LEVEL_KEYS, P as buildDocsConfigMap, S as DEFAULT_MCP_WELL_KNOWN_ROUTE, T as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, Wt as PAGE_AGENT_CONTRACT_FIELDS, b as DEFAULT_MCP_PUBLIC_ROUTE, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, f as DEFAULT_DOCS_CONFIG_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, i as DEFAULT_AGENT_FEEDBACK_ROUTE, jt as DEFAULT_SITEMAP_XML_ROUTE, kt as DEFAULT_SITEMAP_MD_ROUTE, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, t as DEFAULT_AGENTS_MD_ROUTE, u as DEFAULT_DOCS_API_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, w as DEFAULT_SKILL_MD_ROUTE } from "./agent-CxDzPqtl.mjs";
4
- import "./search-OHp36znm.mjs";
4
+ import { d as resolveAskAISearchRequestConfig } from "./search-Bo9ubPVO.mjs";
5
5
  import { a as analyzeDocsRobotsTxt, n as DEFAULT_ROBOTS_TXT_ROUTE, u as resolveDocsRobotsConfig } from "./robots-DRpoiYAV.mjs";
6
- import "./sitemap-server-zFYctvCa.mjs";
7
- import { t as runDocsGoldenTasks } from "./agent-evals-BD17jOqL.mjs";
6
+ import { a as resolveDocsMetadataBaseUrl } from "./metadata-3ljRN9MM.mjs";
7
+ import "./sitemap-server-BYwE0zXs.mjs";
8
+ import { t as runDocsGoldenTasks } from "./agent-evals-BW0vEc-F.mjs";
8
9
  import { createFilesystemDocsMcpSource, getDocsConfigSchema, resolveDocsMcpConfig } from "./mcp.mjs";
9
- import "./code-blocks-C9awWzEQ.mjs";
10
+ import "./code-blocks-qe0T8-xe.mjs";
10
11
  import "./server.mjs";
11
- import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-CydaZ5PB.mjs";
12
- import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
13
- import { n as analyzeAgentUsefulness, r as createAgentUsefulnessPagesFromMcp, t as analyzeAgentSurfaceDrift } from "./agent-surface-drift-rGFS38Ak.mjs";
12
+ import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DASewQ0x.mjs";
13
+ import { t as detectFramework } from "./utils-6UCLxv4B.mjs";
14
+ import { i as createAgentUsefulnessPagesFromMcp, n as analyzeAgentSurfaceDrift, r as analyzeAgentUsefulness, t as resolveGoldenEvaluationInput } from "./golden-evaluations-BiUg5Xe_.mjs";
14
15
  import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
15
16
  import path from "node:path";
16
17
  import { LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/sdk/types.js";
@@ -1068,26 +1069,6 @@ async function probeMcpRouteCandidates(baseUrl, routes, expectedTools) {
1068
1069
  function asRecord(value) {
1069
1070
  return value && typeof value === "object" ? value : void 0;
1070
1071
  }
1071
- function isPlainRecord(value) {
1072
- return Boolean(asRecord(value)) && !Array.isArray(value);
1073
- }
1074
- function resolveGoldenEvaluationTasks(evaluationInput) {
1075
- if (evaluationInput === void 0 || typeof evaluationInput === "boolean") return void 0;
1076
- if (!isPlainRecord(evaluationInput)) return { evaluationConfig: evaluationInput };
1077
- if (evaluationInput.enabled === false) return void 0;
1078
- if ("enabled" in evaluationInput && typeof evaluationInput.enabled !== "boolean") return evaluationInput;
1079
- if (!("tasks" in evaluationInput)) return void 0;
1080
- const runtimeTasks = evaluationInput.tasks;
1081
- if (!Array.isArray(runtimeTasks)) return runtimeTasks;
1082
- return runtimeTasks.map((task) => {
1083
- if (!isPlainRecord(task)) return task;
1084
- return {
1085
- ...task,
1086
- tokenBudget: task.tokenBudget ?? evaluationInput.tokenBudget,
1087
- topK: task.topK ?? evaluationInput.topK
1088
- };
1089
- });
1090
- }
1091
1072
  function isNonEmptyString(value) {
1092
1073
  return typeof value === "string" && value.trim().length > 0;
1093
1074
  }
@@ -1388,7 +1369,26 @@ async function inspectAgentReadiness(options = {}) {
1388
1369
  projectFramework: framework === "unknown" ? void 0 : framework
1389
1370
  });
1390
1371
  const evaluationInput = config?.agent?.evaluations;
1391
- const evaluations = await runDocsGoldenTasks(pages, resolveGoldenEvaluationTasks(evaluationInput));
1372
+ const evaluation = resolveGoldenEvaluationInput(evaluationInput);
1373
+ const evaluationBaseUrl = config ? resolveDocsMetadataBaseUrl(config) : void 0;
1374
+ const evaluationMcp = resolveDocsMcpConfig(config?.mcp, { defaultName: siteTitle });
1375
+ const askAISearch = resolveAskAISearchRequestConfig({
1376
+ search: config?.search,
1377
+ useMcp: config?.ai?.useMcp,
1378
+ mcpEndpoint: evaluationMcp.route,
1379
+ mcpEnabled: evaluationMcp.enabled,
1380
+ mcpSearchEnabled: evaluationMcp.tools.searchDocs,
1381
+ requestUrl: evaluationBaseUrl
1382
+ });
1383
+ const evaluations = await runDocsGoldenTasks(pages, evaluation.tasks, {
1384
+ ...evaluation.options,
1385
+ search: config?.search,
1386
+ askAISearch,
1387
+ siteTitle,
1388
+ baseUrl: evaluationBaseUrl,
1389
+ rootDir,
1390
+ codeBlocksValidate: config?.codeBlocks?.validate
1391
+ });
1392
1392
  const compactionCoverage = buildCompactionCoverage(rootDir, contentDir, entry, pages, config?.agent?.compact ?? {});
1393
1393
  coverage.compaction = compactionCoverage;
1394
1394
  const metadataCoverage = buildMetadataCoverage(pages);
@@ -1721,9 +1721,12 @@ async function runDoctor(options = {}) {
1721
1721
  let fixes;
1722
1722
  if (options.fix) {
1723
1723
  fixes = await runAgentDoctorFixes(report, options);
1724
- report = {
1724
+ report = fixes.some((fix) => fix.status === "applied") ? {
1725
1725
  ...await inspectAgentReadiness(options),
1726
1726
  fixes
1727
+ } : {
1728
+ ...report,
1729
+ fixes
1727
1730
  };
1728
1731
  }
1729
1732
  applyDoctorExitCode(report, options);
@@ -1,5 +1,5 @@
1
- import { c as fileExists, o as exec, s as execOutput } from "./utils-DBCCkkJS.mjs";
2
- import { a as getPackagesForFramework, c as resolveDocsPackageManager, l as validateUpgradeVersion, r as buildDocsPackageInstallCommand, s as resolveDocsPackageFramework } from "./package-version-DRIc08EU.mjs";
1
+ import { c as fileExists, o as exec, s as execOutput } from "./utils-6UCLxv4B.mjs";
2
+ import { a as getPackagesForFramework, c as resolveDocsPackageManager, l as validateUpgradeVersion, r as buildDocsPackageInstallCommand, s as resolveDocsPackageFramework } from "./package-version-qik_4J6C.mjs";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
5
5
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import { Ct as findDocsAudienceMdxTags, Et as resolveDocsAudienceMdxContent, Xt as normalizePageAgentFrontmatter, Yt as hasStructuredPageAgentContract } from "./agent-CxDzPqtl.mjs";
2
- import { n as agentVersionConstraintsOverlap, o as normalizeAgentVersion, r as normalizeAgentFramework } from "./agent-scope-B8lptqCd.mjs";
3
- import { t as extractCodeBlocksFromMarkdown } from "./code-blocks-C9awWzEQ.mjs";
2
+ import { n as agentVersionConstraintsOverlap, o as normalizeAgentVersion, r as normalizeAgentFramework } from "./agent-scope-CCaIY1aK.mjs";
3
+ import { t as extractCodeBlocksFromMarkdown } from "./code-blocks-qe0T8-xe.mjs";
4
4
  import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
5
5
  import path from "node:path";
6
6
 
@@ -1282,6 +1282,11 @@ function collectSchemaPaths(options) {
1282
1282
  function schemaCoversConfigPath(schemaPaths, configPath) {
1283
1283
  if (schemaPaths.has(configPath)) return true;
1284
1284
  if (configPath.endsWith("[]") && schemaPaths.has(configPath.slice(0, -2))) return true;
1285
+ for (const schemaPath of schemaPaths) {
1286
+ if (!schemaPath.endsWith(".*")) continue;
1287
+ const prefix = schemaPath.slice(0, -1);
1288
+ if (configPath.startsWith(prefix) && configPath.length > prefix.length) return true;
1289
+ }
1285
1290
  return false;
1286
1291
  }
1287
1292
  function readPath(root, dotPath) {
@@ -1424,4 +1429,55 @@ function analyzeAgentSurfaceDrift(options) {
1424
1429
  }
1425
1430
 
1426
1431
  //#endregion
1427
- export { extractAgentBlocks as i, analyzeAgentUsefulness as n, createAgentUsefulnessPagesFromMcp as r, analyzeAgentSurfaceDrift as t };
1432
+ //#region src/cli/golden-evaluations.ts
1433
+ function isPlainRecord(value) {
1434
+ return typeof value === "object" && value !== null && !Array.isArray(value);
1435
+ }
1436
+ /** Normalize the runtime docs.config evaluation shape shared by doctor and review. */
1437
+ function resolveGoldenEvaluationInput(evaluationInput) {
1438
+ if (evaluationInput === void 0 || typeof evaluationInput === "boolean") return {
1439
+ tasks: void 0,
1440
+ options: {}
1441
+ };
1442
+ if (!isPlainRecord(evaluationInput)) return {
1443
+ tasks: { evaluationConfig: evaluationInput },
1444
+ options: {}
1445
+ };
1446
+ const options = {
1447
+ surface: evaluationInput.surface,
1448
+ allowNetwork: evaluationInput.allowNetwork,
1449
+ searchTimeoutMs: evaluationInput.searchTimeoutMs,
1450
+ answer: evaluationInput.answer
1451
+ };
1452
+ if (evaluationInput.enabled === false) return {
1453
+ tasks: void 0,
1454
+ options
1455
+ };
1456
+ if ("enabled" in evaluationInput && typeof evaluationInput.enabled !== "boolean") return {
1457
+ tasks: evaluationInput,
1458
+ options
1459
+ };
1460
+ if (!("tasks" in evaluationInput)) return {
1461
+ tasks: void 0,
1462
+ options
1463
+ };
1464
+ const runtimeTasks = evaluationInput.tasks;
1465
+ if (!Array.isArray(runtimeTasks)) return {
1466
+ tasks: runtimeTasks,
1467
+ options
1468
+ };
1469
+ return {
1470
+ tasks: runtimeTasks.map((task) => {
1471
+ if (!isPlainRecord(task)) return task;
1472
+ return {
1473
+ ...task,
1474
+ tokenBudget: task.tokenBudget ?? evaluationInput.tokenBudget,
1475
+ topK: task.topK ?? evaluationInput.topK
1476
+ };
1477
+ }),
1478
+ options
1479
+ };
1480
+ }
1481
+
1482
+ //#endregion
1483
+ export { extractAgentBlocks as a, createAgentUsefulnessPagesFromMcp as i, analyzeAgentSurfaceDrift as n, analyzeAgentUsefulness as r, resolveGoldenEvaluationInput as t };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as DocsFeedbackValue, $t as McpDocsSearchConfig, A as DocsAnalyticsSource, An as TypesenseDocsSearchConfig, At as DocsSearchDocument, B as DocsCloudFeatureConfig, Bt as DocsTelemetryEventInput, C as DocsAgentTraceEventType, Cn as SidebarFolderIndexBehavior, Ct as DocsRobotsConfig, D as DocsAnalyticsEventInput, Dn as SidebarTree, Dt as DocsSearchAdapterFactory, E as DocsAnalyticsEvent, En as SidebarPageNode, Et as DocsSearchAdapterContext, F as DocsAskAIFeedbackMessage, Ft as DocsSearchSourcePage, G as DocsCodeBlocksPlannerProvider, Gt as FeedbackConfig, H as DocsCloudPublishConfig, Ht as DocsTelemetryFeatures, I as DocsAskAIFeedbackValue, It as DocsSitemapConfig, J as DocsCodeBlocksValidateConfig, Jt as LastUpdatedConfig, K as DocsCodeBlocksRunnerConfig, Kt as FontStyle, L as DocsAskAIMcpConfig, Lt as DocsTelemetryAgentSurface, M as DocsAskAIActionType, Mn as UIConfig, Mt as DocsSearchQuery, N as DocsAskAIFeedbackConfig, Nt as DocsSearchResult, O as DocsAnalyticsEventType, On as SimpleDocsSearchConfig, Ot as DocsSearchChunkingConfig, P as DocsAskAIFeedbackData, Pt as DocsSearchResultType, Q as DocsFeedbackData, Qt as LlmsTxtSectionConfig, R as DocsCloudApiKeyConfig, Rt as DocsTelemetryConfig, S as DocsAgentTraceEventInput, Sn as SidebarConfig, St as DocsReviewSeverity, T as DocsAnalyticsConfig, Tn as SidebarNode, Tt as DocsSearchAdapter, U as DocsCodeBlocksConfig, Ut as DocsTelemetryFramework, V as DocsCloudPreviewConfig, Vt as DocsTelemetryEventType, W as DocsCodeBlocksPlannerConfig, Wt as DocsTheme, X as DocsCodeBlocksValidationPolicy, Xt as LlmsTxtMaxCharsConfig, Y as DocsCodeBlocksValidationMode, Yt as LlmsTxtConfig, Z as DocsConfig, Zt as LlmsTxtMaxCharsMode, _ as DocsAgentFeedbackData, _n as PageTwitter, _t as DocsReviewCiConfig, a as ApiReferenceRenderer, an as OpenDocsTarget, at as DocsMcpAuthenticateResult, b as DocsAgentGoldenTaskExpectation, bn as ResolvedDocsRelatedLink, bt as DocsReviewRulesConfig, c as ChangelogFrontmatter, cn as PageActionsConfig, ct as DocsMcpOriginContext, d as CopyMarkdownFormat, dn as PageAgentFailureMode, dt as DocsMetadata, en as OGConfig, et as DocsI18nConfig, f as CustomDocsSearchConfig, fn as PageAgentFrontmatter, ft as DocsNav, g as DocsAgentFeedbackContext, gn as PageSidebarFrontmatter, gt as DocsRelatedItem, h as DocsAgentEvaluationsConfig, hn as PageOpenGraph, ht as DocsObservabilityEventInput, i as ApiReferenceConfig, in as OpenDocsProviderId, it as DocsMcpAuthenticateContext, j as DocsAskAIActionData, jn as TypographyConfig, jt as DocsSearchEmbeddingsConfig, k as DocsAnalyticsInput, kn as ThemeToggleConfig, kt as DocsSearchConfig, l as CodeBlockCopyData, ln as PageAgentAppliesTo, lt as DocsMcpSecurityConfig, m as DocsAgentConfig, mn as PageFrontmatter, mt as DocsObservabilityEvent, n as AgentFeedbackConfig, nn as OpenDocsProvider, nt as DocsMcpAuthPrincipal, o as BreadcrumbConfig, on as OpenGraphImage, ot as DocsMcpConfig, p as DocsAgentCompactConfig, pn as PageAgentVerification, pt as DocsObservabilityConfig, q as DocsCodeBlocksRunnerProvider, qt as GithubConfig, r as AlgoliaDocsSearchConfig, rn as OpenDocsProviderConfig, rt as DocsMcpAuthenticate, s as ChangelogConfig, sn as OrderingItem, st as DocsMcpCorsConfig, t as AIConfig, tn as OpenDocsConfig, tt as DocsMcpAllowedOrigins, u as CopyMarkdownConfig, un as PageAgentCommand, ut as DocsMcpToolsConfig, v as DocsAgentGoldenExpectedExample, vn as ReadingTimeConfig, vt as DocsReviewCiMode, w as DocsAgentTraceStatus, wn as SidebarFolderNode, wt as DocsRobotsRule, x as DocsAgentGoldenTaskFilters, xn as SidebarComponentProps, xt as DocsReviewScoreConfig, y as DocsAgentGoldenTask, yn as ReadingTimeFormat, yt as DocsReviewConfig, z as DocsCloudConfig, zt as DocsTelemetryEvent } from "./types-R-DN23yw.mjs";
2
- import { $ as resolveDocsAudienceMdxContent, A as resolveDocsSitemapRequest, C as buildDocsSitemapManifest, D as renderDocsSitemapXml, E as renderDocsSitemapMarkdown, I as PromptAction, J as DocsAudienceMdxIssue, L as PromptProviderChoice, O as resolveDocsSitemapConfig, Q as resolveDocsAudienceExposure, R as SerializeOpenDocsProviderOptions, S as DocsSitemapResolvedConfig, T as readDocsSitemapManifestFromContentMap, X as findDocsAudienceMdxIssues, Y as DocsContentAudience, Z as resolveDocsAgentMdxContent, _ as DEFAULT_SITEMAP_XML_ROUTE, a as createMcpSearchAdapter, at as createDocsAgentTraceId, b as DocsSitemapManifestPage, c as formatDocsAskAIPackageHints, ct as emitDocsObservabilityEvent, d as resolveAskAISearchRequestConfig, dt as resolveDocsObservabilityConfig, et as DOCS_AGENT_TRACE_EVENT_TYPES, f as resolveSearchRequestConfig, g as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, h as DEFAULT_SITEMAP_MD_ROUTE, i as createCustomSearchAdapter, it as createDocsAgentTraceContext, j as toDocsSitemapMarkdownUrl, k as resolveDocsSitemapPageLastmod, l as inferDocsAskAIPackageHints, lt as getDocsRequestAnalyticsProperties, m as DEFAULT_SITEMAP_MD_DOCS_ROUTE, n as buildDocsSearchDocuments, nt as ResolvedDocsAnalyticsConfig, o as createSimpleSearchAdapter, ot as emitDocsAgentTraceEvent, p as DEFAULT_SITEMAP_MANIFEST_PATH, r as createAlgoliaSearchAdapter, rt as ResolvedDocsObservabilityConfig, s as createTypesenseSearchAdapter, st as emitDocsAnalyticsEvent, t as buildDocsAskAIContext, tt as DocsAgentTraceContext, u as performDocsSearch, ut as resolveDocsAnalyticsConfig, v as DocsSitemapFormat, w as createDocsSitemapResponse, x as DocsSitemapPageInput, y as DocsSitemapManifest, z as SerializedOpenDocsProvider } from "./search-9uEaC23e.mjs";
1
+ import { $ as DocsCodeBlocksConfig, $t as DocsTelemetryFramework, A as DocsAgentGoldenTaskExpectation, An as ResolvedDocsRelatedLink, At as DocsReviewRulesConfig, B as DocsAnalyticsSource, Bn as TypesenseDocsSearchConfig, Bt as DocsSearchDocument, C as DocsAgentEvaluationsConfig, Cn as PageAgentVerification, Ct as DocsObservabilityConfig, D as DocsAgentGoldenExampleVerification, Dn as PageTwitter, Dt as DocsReviewCiConfig, E as DocsAgentGoldenAnswerExpectation, En as PageSidebarFrontmatter, Et as DocsRelatedItem, F as DocsAnalyticsConfig, Fn as SidebarNode, Ft as DocsSearchAdapter, G as DocsAskAIFeedbackMessage, Gt as DocsSearchSourcePage, H as DocsAskAIActionType, Hn as UIConfig, Ht as DocsSearchQuery, I as DocsAnalyticsEvent, In as SidebarPageNode, It as DocsSearchAdapterContext, J as DocsCloudApiKeyConfig, Jt as DocsTelemetryConfig, K as DocsAskAIFeedbackValue, Kt as DocsSitemapConfig, L as DocsAnalyticsEventInput, Ln as SidebarTree, Lt as DocsSearchAdapterFactory, M as DocsAgentTraceEventInput, Mn as SidebarConfig, Mt as DocsReviewSeverity, N as DocsAgentTraceEventType, Nn as SidebarFolderIndexBehavior, Nt as DocsRobotsConfig, O as DocsAgentGoldenExpectedExample, On as ReadingTimeConfig, Ot as DocsReviewCiMode, P as DocsAgentTraceStatus, Pn as SidebarFolderNode, Pt as DocsRobotsRule, Q as DocsCloudPublishConfig, Qt as DocsTelemetryFeatures, R as DocsAnalyticsEventType, Rn as SimpleDocsSearchConfig, Rt as DocsSearchChunkingConfig, S as DocsAgentEvaluationTaskInput, Sn as PageAgentFrontmatter, St as DocsNav, T as DocsAgentFeedbackData, Tn as PageOpenGraph, Tt as DocsObservabilityEventInput, U as DocsAskAIFeedbackConfig, Ut as DocsSearchResult, V as DocsAskAIActionData, Vn as TypographyConfig, Vt as DocsSearchEmbeddingsConfig, W as DocsAskAIFeedbackData, Wt as DocsSearchResultType, X as DocsCloudFeatureConfig, Xt as DocsTelemetryEventInput, Y as DocsCloudConfig, Yt as DocsTelemetryEvent, Z as DocsCloudPreviewConfig, Zt as DocsTelemetryEventType, _ as DocsAgentEvaluationAnswerRequest, _n as OrderingItem, _t as DocsMcpCorsConfig, a as ApiReferenceRenderer, an as LlmsTxtConfig, at as DocsCodeBlocksValidationMode, b as DocsAgentEvaluationSourceReference, bn as PageAgentCommand, bt as DocsMcpToolsConfig, c as ChangelogFrontmatter, cn as LlmsTxtSectionConfig, ct as DocsFeedbackData, d as CopyMarkdownFormat, dn as OpenDocsConfig, dt as DocsMcpAllowedOrigins, en as DocsTheme, et as DocsCodeBlocksPlannerConfig, f as CustomDocsSearchConfig, fn as OpenDocsProvider, ft as DocsMcpAuthPrincipal, g as DocsAgentEvaluationAnswerProvider, gn as OpenGraphImage, gt as DocsMcpConfig, h as DocsAgentEvaluationAnswerInput, hn as OpenDocsTarget, ht as DocsMcpAuthenticateResult, i as ApiReferenceConfig, in as LastUpdatedConfig, it as DocsCodeBlocksValidateConfig, j as DocsAgentGoldenTaskFilters, jn as SidebarComponentProps, jt as DocsReviewScoreConfig, k as DocsAgentGoldenTask, kn as ReadingTimeFormat, kt as DocsReviewConfig, l as CodeBlockCopyData, ln as McpDocsSearchConfig, lt as DocsFeedbackValue, m as DocsAgentConfig, mn as OpenDocsProviderId, mt as DocsMcpAuthenticateContext, n as AgentFeedbackConfig, nn as FontStyle, nt as DocsCodeBlocksRunnerConfig, o as BreadcrumbConfig, on as LlmsTxtMaxCharsConfig, ot as DocsCodeBlocksValidationPolicy, p as DocsAgentCompactConfig, pn as OpenDocsProviderConfig, pt as DocsMcpAuthenticate, q as DocsAskAIMcpConfig, qt as DocsTelemetryAgentSurface, r as AlgoliaDocsSearchConfig, rn as GithubConfig, rt as DocsCodeBlocksRunnerProvider, s as ChangelogConfig, sn as LlmsTxtMaxCharsMode, st as DocsConfig, t as AIConfig, tn as FeedbackConfig, tt as DocsCodeBlocksPlannerProvider, u as CopyMarkdownConfig, un as OGConfig, ut as DocsI18nConfig, v as DocsAgentEvaluationAnswerResult, vn as PageActionsConfig, vt as DocsMcpOriginContext, w as DocsAgentFeedbackContext, wn as PageFrontmatter, wt as DocsObservabilityEvent, x as DocsAgentEvaluationSurface, xn as PageAgentFailureMode, xt as DocsMetadata, y as DocsAgentEvaluationAnswerRunner, yn as PageAgentAppliesTo, yt as DocsMcpSecurityConfig, z as DocsAnalyticsInput, zn as ThemeToggleConfig, zt as DocsSearchConfig } from "./types-C1nPRXqo.mjs";
2
+ import { $ as resolveDocsAudienceMdxContent, A as resolveDocsSitemapRequest, C as buildDocsSitemapManifest, D as renderDocsSitemapXml, E as renderDocsSitemapMarkdown, I as PromptAction, J as DocsAudienceMdxIssue, L as PromptProviderChoice, O as resolveDocsSitemapConfig, Q as resolveDocsAudienceExposure, R as SerializeOpenDocsProviderOptions, S as DocsSitemapResolvedConfig, T as readDocsSitemapManifestFromContentMap, X as findDocsAudienceMdxIssues, Y as DocsContentAudience, Z as resolveDocsAgentMdxContent, _ as DEFAULT_SITEMAP_XML_ROUTE, a as createMcpSearchAdapter, at as createDocsAgentTraceId, b as DocsSitemapManifestPage, c as formatDocsAskAIPackageHints, ct as emitDocsObservabilityEvent, d as resolveAskAISearchRequestConfig, dt as resolveDocsObservabilityConfig, et as DOCS_AGENT_TRACE_EVENT_TYPES, f as resolveSearchRequestConfig, g as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, h as DEFAULT_SITEMAP_MD_ROUTE, i as createCustomSearchAdapter, it as createDocsAgentTraceContext, j as toDocsSitemapMarkdownUrl, k as resolveDocsSitemapPageLastmod, l as inferDocsAskAIPackageHints, lt as getDocsRequestAnalyticsProperties, m as DEFAULT_SITEMAP_MD_DOCS_ROUTE, n as buildDocsSearchDocuments, nt as ResolvedDocsAnalyticsConfig, o as createSimpleSearchAdapter, ot as emitDocsAgentTraceEvent, p as DEFAULT_SITEMAP_MANIFEST_PATH, r as createAlgoliaSearchAdapter, rt as ResolvedDocsObservabilityConfig, s as createTypesenseSearchAdapter, st as emitDocsAnalyticsEvent, t as buildDocsAskAIContext, tt as DocsAgentTraceContext, u as performDocsSearch, ut as resolveDocsAnalyticsConfig, v as DocsSitemapFormat, w as createDocsSitemapResponse, x as DocsSitemapPageInput, y as DocsSitemapManifest, z as SerializedOpenDocsProvider } from "./search-BblemZl4.mjs";
3
3
  import { DocsMcpPage, DocsMcpResolvedConfig } from "./mcp.mjs";
4
4
 
5
5
  //#region src/define-docs.d.ts
@@ -1018,4 +1018,4 @@ declare function renderDocsRobotsGeneratedBlock(options?: DocsRobotsRenderOption
1018
1018
  declare function upsertDocsRobotsGeneratedBlock(existing: string, block: string): string;
1019
1019
  declare function analyzeDocsRobotsTxt(content: string, options?: DocsRobotsRenderOptions): DocsRobotsAnalysis;
1020
1020
  //#endregion
1021
- export { type AIConfig, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type BreadcrumbConfig, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CustomDocsSearchConfig, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsMarkdownAgentDetection, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPathMatch, type DocsRelatedItem, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchQuery, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };
1021
+ export { type AIConfig, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type BreadcrumbConfig, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CustomDocsSearchConfig, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsMarkdownAgentDetection, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPathMatch, type DocsRelatedItem, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchQuery, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };