@farming-labs/docs 0.2.73 → 0.2.74

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 (33) hide show
  1. package/dist/{agent-o9OTadrf.mjs → agent-BJ0KXN-A.mjs} +7 -0
  2. package/dist/{agent-ClRpctMG.mjs → agent-D0LEY2Vy.mjs} +2 -2
  3. package/dist/{agent-evals-BFHGypqh.mjs → agent-evals-LIScgQVm.mjs} +56 -30
  4. package/dist/{agent-export-B9bah0AV.mjs → agent-export-B92pNe6g.mjs} +5 -5
  5. package/dist/agent-skills-bundle.d.mts +1 -1
  6. package/dist/{agent-skills-server-DCbAx5WU.d.mts → agent-skills-server-BqvIGQb1.d.mts} +2 -2
  7. package/dist/agent-skills-vite.d.mts +3 -3
  8. package/dist/{agents-CR-Uasbc.mjs → agents-C228QGbp.mjs} +4 -4
  9. package/dist/cli/index.mjs +19 -15
  10. package/dist/client/react.d.mts +1 -1
  11. package/dist/{cloud-ask-ai-yR9vZmSG.d.mts → cloud-ask-ai-6X9pVjIY.d.mts} +1 -1
  12. package/dist/docs-cloud-server.d.mts +2 -2
  13. package/dist/{doctor-BeyN3Ljh.mjs → doctor-CgrUZ3tY.mjs} +8 -8
  14. package/dist/{golden-evaluations-CloP0pAe.mjs → golden-evaluations-DTEPZeb0.mjs} +2 -2
  15. package/dist/index.d.mts +4 -4
  16. package/dist/index.mjs +5 -5
  17. package/dist/{mcp-BLLXvEXB.mjs → mcp-YD37HlPY.mjs} +7 -5
  18. package/dist/mcp.d.mts +13 -2
  19. package/dist/mcp.mjs +114 -54
  20. package/dist/{prompt-references-Cz35rlOa.mjs → prompt-references-BIS1eXt4.mjs} +2 -2
  21. package/dist/{search-D1n8Sf25.d.mts → retrieval-digest-9Kp3uSaZ.d.mts} +48 -5
  22. package/dist/{review-DaJLdPLh.mjs → review-Dbzkdl6K.mjs} +4 -4
  23. package/dist/{robots-DI-9MZz1.mjs → robots-DUO0r4UI.mjs} +2 -2
  24. package/dist/{robots-BcuxnZqZ.mjs → robots-RbgmSvPH.mjs} +1 -1
  25. package/dist/{search-RfPcG1if.mjs → search-DIyIl-tE.mjs} +1240 -136
  26. package/dist/{search-DeOJiMAy.mjs → search-hcqaEZVN.mjs} +62 -24
  27. package/dist/server.d.mts +5 -5
  28. package/dist/server.mjs +5 -5
  29. package/dist/{sitemap-BGGbX_KE.mjs → sitemap-jhkS_jYx.mjs} +4 -4
  30. package/dist/{sitemap-server-VefDnzEB.mjs → sitemap-server-BfyBM7_V.mjs} +1 -1
  31. package/dist/{standards-discovery-83lp1lew.d.mts → standards-discovery-CdrOE-05.d.mts} +1 -1
  32. package/dist/{types-_HCPD4wc.d.mts → types-clg5J1R4.d.mts} +60 -1
  33. package/package.json +1 -1
@@ -1,15 +1,18 @@
1
- import "./agent-o9OTadrf.mjs";
1
+ import "./agent-BJ0KXN-A.mjs";
2
2
  import "./markdown-sections-7OoA7ylx.mjs";
3
3
  import "./standards-discovery-BwL5ffGx.mjs";
4
- import { n as buildDocsSearchDocuments, r as createAlgoliaSearchAdapter, s as createTypesenseSearchAdapter } from "./search-RfPcG1if.mjs";
5
- import "./sitemap-server-VefDnzEB.mjs";
6
- import "./agent-evals-BFHGypqh.mjs";
4
+ import { c as createTypesenseSearchAdapter, i as createAlgoliaSearchAdapter, r as buildDocsSearchDocuments } from "./search-DIyIl-tE.mjs";
5
+ import { t as resolveDocsI18n } from "./i18n-hHVWcflJ.mjs";
6
+ import { a as resolveDocsMetadataBaseUrl } from "./metadata-N252j5_a.mjs";
7
+ import "./sitemap-server-BfyBM7_V.mjs";
8
+ import "./agent-evals-LIScgQVm.mjs";
7
9
  import { createFilesystemDocsMcpSource } from "./mcp.mjs";
8
10
  import "./code-blocks-DnNVNK2M.mjs";
9
11
  import "./agent-skills-server-noFn1l_p.mjs";
10
12
  import "./server.mjs";
11
- import { _ as resolveDocsContentDir, c as loadProjectEnv, g as resolveDocsConfigPath, h as readTopLevelStringProperty } from "./config-Wcdj-D0a.mjs";
13
+ import { _ as resolveDocsContentDir, c as loadProjectEnv, g as resolveDocsConfigPath, h as readTopLevelStringProperty, s as loadDocsConfigModuleResultWithProjectEnv } from "./config-Wcdj-D0a.mjs";
12
14
  import { readFileSync } from "node:fs";
15
+ import path from "node:path";
13
16
  import pc from "picocolors";
14
17
 
15
18
  //#region src/cli/search.ts
@@ -34,6 +37,7 @@ function resolveTypesenseSyncConfig(options, loadedEnv) {
34
37
  const mode = options.mode === "hybrid" ? "hybrid" : "keyword";
35
38
  const ollamaModel = options.ollamaModel ?? getEnvValue(loadedEnv, "TYPESENSE_OLLAMA_MODEL");
36
39
  const ollamaBaseUrl = options.ollamaBaseUrl ?? getEnvValue(loadedEnv, "TYPESENSE_OLLAMA_BASE_URL");
40
+ const syncNamespace = options.syncNamespace ?? getEnvValue(loadedEnv, "DOCS_SEARCH_SYNC_NAMESPACE");
37
41
  if (!baseUrl) throw new Error("Missing Typesense base URL. Set TYPESENSE_URL or pass --base-url.");
38
42
  if (!apiKey) throw new Error("Missing Typesense API key. Set TYPESENSE_API_KEY or pass --api-key.");
39
43
  if (!adminApiKey) throw new Error("Missing Typesense admin-capable key for sync. Set TYPESENSE_ADMIN_API_KEY or pass --admin-api-key.");
@@ -44,6 +48,7 @@ function resolveTypesenseSyncConfig(options, loadedEnv) {
44
48
  apiKey,
45
49
  adminApiKey,
46
50
  mode,
51
+ ...syncNamespace ? { syncNamespace } : {},
47
52
  ...mode === "hybrid" ? ollamaModel ? { embeddings: {
48
53
  provider: "ollama",
49
54
  model: ollamaModel,
@@ -58,6 +63,7 @@ function resolveAlgoliaSyncConfig(options, loadedEnv) {
58
63
  const indexName = options.indexName ?? getEnvValue(loadedEnv, "ALGOLIA_INDEX_NAME") ?? "docs";
59
64
  const adminApiKey = options.adminApiKey ?? getEnvValue(loadedEnv, "ALGOLIA_ADMIN_API_KEY");
60
65
  const searchApiKey = options.searchApiKey ?? getEnvValue(loadedEnv, "ALGOLIA_SEARCH_API_KEY") ?? adminApiKey;
66
+ const syncNamespace = options.syncNamespace ?? getEnvValue(loadedEnv, "DOCS_SEARCH_SYNC_NAMESPACE");
61
67
  if (!appId) throw new Error("Missing Algolia app id. Set ALGOLIA_APP_ID or pass --app-id.");
62
68
  if (!adminApiKey) throw new Error("Missing Algolia admin API key for sync. Set ALGOLIA_ADMIN_API_KEY or pass --admin-api-key.");
63
69
  if (!searchApiKey) throw new Error("Missing Algolia search API key. Set ALGOLIA_SEARCH_API_KEY or pass --search-api-key.");
@@ -66,39 +72,71 @@ function resolveAlgoliaSyncConfig(options, loadedEnv) {
66
72
  appId,
67
73
  indexName,
68
74
  searchApiKey,
69
- adminApiKey
75
+ adminApiKey,
76
+ ...syncNamespace ? { syncNamespace } : {}
70
77
  };
71
78
  }
72
79
  async function syncSearch(options = {}) {
73
80
  const rootDir = process.cwd();
74
81
  const configContent = readFileSync(resolveDocsConfigPath(rootDir, options.configPath), "utf-8");
82
+ const configLoad = await loadDocsConfigModuleResultWithProjectEnv(rootDir, options.configPath);
83
+ const canonicalBaseUrl = options.siteUrl ?? (configLoad.status === "evaluated" ? resolveDocsMetadataBaseUrl(configLoad.config) : void 0);
84
+ if (canonicalBaseUrl) try {
85
+ const parsed = new URL(canonicalBaseUrl);
86
+ if (parsed.protocol !== "http:" && parsed.protocol !== "https:" || parsed.username || parsed.password) throw new Error();
87
+ } catch {
88
+ throw new Error("The canonical docs URL must be an absolute HTTP(S) URL without credentials.");
89
+ }
75
90
  const loadedEnv = loadProjectEnv(rootDir);
76
91
  const provider = resolveSearchSyncProvider(options, loadedEnv);
77
92
  const entry = readTopLevelStringProperty(configContent, "entry") ?? "docs";
78
93
  const contentDir = resolveDocsContentDir(rootDir, configContent, entry);
79
- const source = createFilesystemDocsMcpSource({
80
- rootDir,
81
- entry,
82
- contentDir,
83
- siteTitle: "Documentation"
84
- });
85
- const pages = await source.getPages();
86
- const documents = buildDocsSearchDocuments(pages);
87
- const context = {
88
- pages,
89
- documents,
90
- siteTitle: source.siteTitle
91
- };
92
- if (documents.length === 0) throw new Error(`No docs content was found under ${contentDir}.`);
94
+ const i18n = configLoad.status === "evaluated" ? resolveDocsI18n(configLoad.config.i18n) : null;
95
+ const localizedSources = i18n ? i18n.locales.map((locale) => ({
96
+ locale,
97
+ contentDir: path.join(contentDir, locale)
98
+ })) : [{
99
+ locale: void 0,
100
+ contentDir
101
+ }];
102
+ const contexts = [];
103
+ for (const localized of localizedSources) {
104
+ const source = createFilesystemDocsMcpSource({
105
+ rootDir,
106
+ entry,
107
+ contentDir: localized.contentDir,
108
+ siteTitle: "Documentation",
109
+ baseUrl: canonicalBaseUrl
110
+ });
111
+ const scannedPages = await source.getPages();
112
+ if (scannedPages.length === 0) continue;
113
+ const pages = localized.locale ? scannedPages.map((page) => ({
114
+ ...page,
115
+ locale: localized.locale
116
+ })) : scannedPages;
117
+ contexts.push({
118
+ pages,
119
+ documents: buildDocsSearchDocuments(pages),
120
+ audience: "human",
121
+ locale: localized.locale,
122
+ siteTitle: source.siteTitle,
123
+ baseUrl: canonicalBaseUrl,
124
+ indexBaseUrl: canonicalBaseUrl
125
+ });
126
+ }
127
+ const documentCount = contexts.reduce((count, context) => count + context.documents.length, 0);
128
+ if (documentCount === 0) throw new Error(`No docs content was found under ${contentDir}.`);
93
129
  if (provider === "typesense") {
94
130
  const config = resolveTypesenseSyncConfig(options, loadedEnv);
95
- await createTypesenseSearchAdapter(config).index?.(context);
96
- console.log(pc.green(`Synced ${documents.length} docs search documents to Typesense collection "${config.collection}".`));
131
+ const adapter = createTypesenseSearchAdapter(config);
132
+ for (const context of contexts) await adapter.index?.(context);
133
+ console.log(pc.green(`Synced ${documentCount} docs search documents to Typesense collection "${config.collection}".`));
97
134
  return;
98
135
  }
99
136
  const config = resolveAlgoliaSyncConfig(options, loadedEnv);
100
- await createAlgoliaSearchAdapter(config).index?.(context);
101
- console.log(pc.green(`Synced ${documents.length} docs search documents to Algolia index "${config.indexName}".`));
137
+ const adapter = createAlgoliaSearchAdapter(config);
138
+ for (const context of contexts) await adapter.index?.(context);
139
+ console.log(pc.green(`Synced ${documentCount} docs search documents to Algolia index "${config.indexName}".`));
102
140
  }
103
141
 
104
142
  //#endregion
package/dist/server.d.mts CHANGED
@@ -1,9 +1,9 @@
1
- import { $t as DocsReviewRulesConfig, B as DocsAgentEvaluationSourceReference, Ct as DocsCodeBlocksPlannerProvider, Et as DocsCodeBlocksValidateConfig, F as DocsAgentEvaluationAnswerInput, H as DocsAgentEvaluationTaskInput, I as DocsAgentEvaluationAnswerProvider, J as DocsAgentGoldenExpectedExample, Jt as DocsObservabilityEventInput, K as DocsAgentGoldenAnswerExpectation, Kt as DocsObservabilityConfig, L as DocsAgentEvaluationAnswerRequest, Qt as DocsReviewConfig, R as DocsAgentEvaluationAnswerResult, Sn as DocsSitemapConfig, V as DocsAgentEvaluationSurface, X as DocsAgentGoldenTaskExpectation, Y as DocsAgentGoldenTask, Z as DocsAgentGoldenTaskFilters, Zt as DocsReviewCiMode, _n as DocsSearchResult, a as ApiReferenceRenderer, an as DocsSearchAdapterContext, at as DocsAnalyticsEventInput, bn as DocsSearchWarning, cn as DocsSearchConfig, dn as DocsSearchFilterField, dt as DocsAskAIFeedbackConfig, et as DocsAgentTraceEventInput, fn as DocsSearchFilterInput, ft as DocsAskAIFeedbackData, gn as DocsSearchResponse, hn as DocsSearchRequest, ht as DocsAskAIMcpConfig, in as DocsSearchAdapter, it as DocsAnalyticsEvent, kt as DocsConfig, ln as DocsSearchDocument, mn as DocsSearchQuery, mt as DocsAskAIFeedbackValue, nt as DocsAgentTraceStatus, on as DocsSearchAdapterFactory, pn as DocsSearchFilters, pt as DocsAskAIFeedbackMessage, q as DocsAgentGoldenExampleVerification, qt as DocsObservabilityEvent, rt as DocsAnalyticsConfig, tt as DocsAgentTraceEventType, xn as DocsSearchWarningCode, yn as DocsSearchSourcePage, z as DocsAgentEvaluationAnswerRunner, zn as McpDocsSearchConfig } from "./types-_HCPD4wc.mjs";
2
- import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-DCbAx5WU.mjs";
1
+ import { $t as DocsReviewCiMode, B as DocsAgentEvaluationSourceReference, Cn as DocsSearchWarningCode, Ct as DocsCodeBlocksPlannerProvider, Et as DocsCodeBlocksValidateConfig, F as DocsAgentEvaluationAnswerInput, H as DocsAgentEvaluationTaskInput, I as DocsAgentEvaluationAnswerProvider, J as DocsAgentGoldenExpectedExample, Jt as DocsObservabilityEventInput, K as DocsAgentGoldenAnswerExpectation, Kt as DocsObservabilityConfig, L as DocsAgentEvaluationAnswerRequest, R as DocsAgentEvaluationAnswerResult, Sn as DocsSearchWarning, V as DocsAgentEvaluationSurface, Vn as McpDocsSearchConfig, X as DocsAgentGoldenTaskExpectation, Xt as DocsRetrievalSourceProvenance, Y as DocsAgentGoldenTask, Z as DocsAgentGoldenTaskFilters, Zt as DocsRetrievalSourceScope, _n as DocsSearchRequest, a as ApiReferenceRenderer, at as DocsAnalyticsEventInput, cn as DocsSearchAdapterFactory, dn as DocsSearchDocument, dt as DocsAskAIFeedbackConfig, en as DocsReviewConfig, et as DocsAgentTraceEventInput, ft as DocsAskAIFeedbackData, gn as DocsSearchQuery, hn as DocsSearchFilters, ht as DocsAskAIMcpConfig, it as DocsAnalyticsEvent, kt as DocsConfig, mn as DocsSearchFilterInput, mt as DocsAskAIFeedbackValue, nt as DocsAgentTraceStatus, on as DocsSearchAdapter, pn as DocsSearchFilterField, pt as DocsAskAIFeedbackMessage, q as DocsAgentGoldenExampleVerification, qt as DocsObservabilityEvent, rt as DocsAnalyticsConfig, sn as DocsSearchAdapterContext, tn as DocsReviewRulesConfig, tt as DocsAgentTraceEventType, un as DocsSearchConfig, vn as DocsSearchResponse, wn as DocsSitemapConfig, xn as DocsSearchSourcePage, yn as DocsSearchResult, z as DocsAgentEvaluationAnswerRunner } from "./types-clg5J1R4.mjs";
2
+ import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-BqvIGQb1.mjs";
3
3
  import { renderDocsAgentSkillsBundle } from "./agent-skills-vite.mjs";
4
- import { i as isDocsCloudAskAIProvider, n as DocsCloudAskAIResponseOptions, r as createDocsCloudAskAIResponse, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-yR9vZmSG.mjs";
4
+ import { i as isDocsCloudAskAIProvider, n as DocsCloudAskAIResponseOptions, r as createDocsCloudAskAIResponse, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-6X9pVjIY.mjs";
5
5
  import { DocsCloudAskAIOptions, DocsCloudPublicConfig, DocsCloudRouteHandlerOptions, DocsCloudRouteHandlers, DocsCloudRuntimeEnv, DocsCloudRuntimeValue, DocsCloudServer, DocsCloudServerOptions, DocsCloudTrackEventOptions, createDocsCloudRouteHandler, createDocsCloudServer } from "./docs-cloud-server.mjs";
6
- import { $ as serializeOpenDocsProviders, A as createDocsSitemapResponse, B as DEFAULT_OPEN_DOCS_TARGET, C as DEFAULT_SITEMAP_XML_ROUTE, D as DocsSitemapPageInput, E as DocsSitemapManifestPage, F as resolveDocsSitemapPageLastmod, G as SerializedOpenDocsProvider, H as PromptAction, I as resolveDocsSitemapRequest, J as resolvePromptProviderChoices, K as normalizePromptProviderName, L as toDocsSitemapMarkdownUrl, M as renderDocsSitemapMarkdown, N as renderDocsSitemapXml, O as DocsSitemapResolvedConfig, P as resolveDocsSitemapConfig, Q as serializeOpenDocsProvider, R as DEFAULT_OPEN_DOCS_PROMPT, S as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, T as DocsSitemapManifest, U as PromptProviderChoice, V as DEFAULT_PROMPT_PROVIDER_TEMPLATES, W as SerializeOpenDocsProviderOptions, X as serializeDocsIcon, Y as sanitizePromptText, Z as serializeDocsIconRegistry, _ as resolveDocsSearchRequest, _t as emitDocsObservabilityEvent, a as createCustomSearchAdapter, b as DEFAULT_SITEMAP_MD_DOCS_ROUTE, bt as resolveDocsObservabilityConfig, c as createTypesenseSearchAdapter, d as normalizeDocsSearchFilters, dt as ResolvedDocsAnalyticsConfig, f as performDocsSearch, ft as ResolvedDocsObservabilityConfig, g as resolveDocsSearchFilters, gt as emitDocsAnalyticsEvent, h as resolveDocsSearchAudience, ht as emitDocsAgentTraceEvent, i as createAlgoliaSearchAdapter, it as extractDocsMarkdownPromptBlocks, j as readDocsSitemapManifestFromContentMap, k as buildDocsSitemapManifest, l as formatDocsAskAIPackageHints, lt as DOCS_AGENT_TRACE_EVENT_TYPES, m as resolveAskAISearchRequestConfig, mt as createDocsAgentTraceId, n as buildDocsAskAIContext, nt as DocsMarkdownPromptBlock, o as createMcpSearchAdapter, p as performDocsSearchWithMetadata, pt as createDocsAgentTraceContext, q as parsePromptStringArray, r as buildDocsSearchDocuments, rt as ExtractedDocsMarkdownPromptBlocks, s as createSimpleSearchAdapter, t as PerformDocsSearchOptions, u as inferDocsAskAIPackageHints, ut as DocsAgentTraceContext, v as resolveSearchRequestConfig, vt as getDocsRequestAnalyticsProperties, w as DocsSitemapFormat, x as DEFAULT_SITEMAP_MD_ROUTE, y as DEFAULT_SITEMAP_MANIFEST_PATH, yt as resolveDocsAnalyticsConfig, z as DEFAULT_OPEN_DOCS_PROVIDER_IDS } from "./search-D1n8Sf25.mjs";
6
+ import { $ as parsePromptStringArray, A as DocsSitemapFormat, B as resolveDocsSitemapConfig, C as resolveDocsSearchRequest, Ct as emitDocsObservabilityEvent, D as DEFAULT_SITEMAP_MD_ROUTE, E as DEFAULT_SITEMAP_MD_DOCS_ROUTE, Et as resolveDocsObservabilityConfig, F as buildDocsSitemapManifest, G as DEFAULT_OPEN_DOCS_PROVIDER_IDS, H as resolveDocsSitemapRequest, I as createDocsSitemapResponse, J as PromptAction, K as DEFAULT_OPEN_DOCS_TARGET, L as readDocsSitemapManifestFromContentMap, M as DocsSitemapManifestPage, N as DocsSitemapPageInput, O as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, P as DocsSitemapResolvedConfig, Q as normalizePromptProviderName, R as renderDocsSitemapMarkdown, S as resolveDocsSearchFilters, St as emitDocsAnalyticsEvent, T as DEFAULT_SITEMAP_MANIFEST_PATH, Tt as resolveDocsAnalyticsConfig, U as toDocsSitemapMarkdownUrl, V as resolveDocsSitemapPageLastmod, W as DEFAULT_OPEN_DOCS_PROMPT, X as SerializeOpenDocsProviderOptions, Y as PromptProviderChoice, Z as SerializedOpenDocsProvider, _ as performDocsSearch, _t as ResolvedDocsAnalyticsConfig, a as buildDocsAskAIContext, at as serializeOpenDocsProviders, b as resolveDocsRetrievalLastModified, bt as createDocsAgentTraceId, c as createAlgoliaSearchAdapter, ct as DocsMarkdownPromptBlock, d as createSimpleSearchAdapter, et as resolvePromptProviderChoices, f as createTypesenseSearchAdapter, g as normalizeDocsSearchFilters, gt as DocsAgentTraceContext, h as inferDocsAskAIPackageHints, ht as DOCS_AGENT_TRACE_EVENT_TYPES, i as PerformDocsSearchOptions, it as serializeOpenDocsProvider, j as DocsSitemapManifest, k as DEFAULT_SITEMAP_XML_ROUTE, l as createCustomSearchAdapter, lt as ExtractedDocsMarkdownPromptBlocks, m as formatDocsAskAIPackageHints, n as isDocsRetrievalCanonicalUrl, nt as serializeDocsIcon, o as buildDocsRetrievalDigestProjection, p as enrichDocsSearchDocumentsWithProvenance, q as DEFAULT_PROMPT_PROVIDER_TEMPLATES, r as EnrichDocsSearchDocumentsWithProvenanceOptions, rt as serializeDocsIconRegistry, s as buildDocsSearchDocuments, t as digestDocsRetrievalContent, tt as sanitizePromptText, u as createMcpSearchAdapter, ut as extractDocsMarkdownPromptBlocks, v as performDocsSearchWithMetadata, vt as ResolvedDocsObservabilityConfig, w as resolveSearchRequestConfig, wt as getDocsRequestAnalyticsProperties, x as resolveDocsSearchAudience, xt as emitDocsAgentTraceEvent, y as resolveAskAISearchRequestConfig, yt as createDocsAgentTraceContext, z as renderDocsSitemapXml } from "./retrieval-digest-9Kp3uSaZ.mjs";
7
7
  import { CreateDocsMcpServerOptions, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DOCS_CONFIG_SCHEMA_OPTIONS, DocsMcpAgentContractSummary, DocsMcpCodeExample, DocsMcpConfigSchema, DocsMcpConfigSchemaOption, DocsMcpContextResult, DocsMcpContextSource, DocsMcpDocsList, DocsMcpDocsPageSummary, DocsMcpDocsSection, DocsMcpHttpHandlers, DocsMcpNavigationNode, DocsMcpNavigationTree, DocsMcpPage, DocsMcpRequestContext, DocsMcpResolvedConfig, DocsMcpResolvedCorsConfig, DocsMcpResolvedProtectedResourceConfig, DocsMcpResolvedSecurityConfig, DocsMcpSource, DocsMcpTaskSummary, createDocsMcpHttpHandler, createDocsMcpServer, createFilesystemDocsMcpSource, getDocsConfigSchema, normalizeDocsMcpRoute, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
8
8
 
9
9
  //#region src/code-group-mdx.d.ts
@@ -348,4 +348,4 @@ declare function runDocsGoldenTasks(pages: readonly DocsMcpPage[], tasks: readon
348
348
  //#region src/sitemap-server.d.ts
349
349
  declare function readDocsSitemapManifest(rootDir: string, sitemap?: boolean | DocsSitemapConfig): DocsSitemapManifest | null;
350
350
  //#endregion
351
- export { type ApiReferenceFramework, type ApiReferenceOpenApiDiscovery, type ApiReferenceRenderer, type ApiReferenceRoute, type CreateDocsMcpServerOptions, DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, DEFAULT_OPEN_DOCS_PROMPT, DEFAULT_OPEN_DOCS_PROVIDER_IDS, DEFAULT_OPEN_DOCS_TARGET, DEFAULT_PROMPT_PROVIDER_TEMPLATES, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_CONFIG_SCHEMA_OPTIONS, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsCloudAskAIConfig, type DocsCloudAskAIOptions, type DocsCloudAskAIResponseOptions, type DocsCloudPublicConfig, type DocsCloudRouteHandlerOptions, type DocsCloudRouteHandlers, type DocsCloudRuntimeEnv, type DocsCloudRuntimeValue, type DocsCloudServer, type DocsCloudServerOptions, type DocsCloudTrackEventOptions, type DocsGoldenAnswerMetrics, type DocsGoldenCitationMetrics, type DocsGoldenEvaluationStatus, type DocsGoldenExampleMetrics, type DocsGoldenExampleResult, type DocsGoldenExpectedExample, type DocsGoldenRetrievalMetrics, type DocsGoldenRetrievedSource, type DocsGoldenSelectionMetrics, type DocsGoldenTask, type DocsGoldenTaskExpectation, type DocsGoldenTaskFilters, type DocsGoldenTaskReport, type DocsGoldenTasksReport, type DocsGoldenUsageMetrics, type DocsMarkdownPromptBlock, type DocsMcpAgentContractSummary, type DocsMcpCodeExample, type DocsMcpConfigSchema, type DocsMcpConfigSchemaOption, type DocsMcpContextResult, type DocsMcpContextSource, type DocsMcpDocsList, type DocsMcpDocsPageSummary, type DocsMcpDocsSection, type DocsMcpHttpHandlers, type DocsMcpNavigationNode, type DocsMcpNavigationTree, type DocsMcpPage, type DocsMcpRequestContext, type DocsMcpResolvedConfig, type DocsMcpResolvedCorsConfig, type DocsMcpResolvedProtectedResourceConfig, type DocsMcpResolvedSecurityConfig, type DocsMcpSource, type DocsMcpTaskSummary, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, type DocsSearchResponse, type DocsSearchResult, type DocsSearchSourcePage, type DocsSearchWarning, type DocsSearchWarningCode, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type ExtractedDocsMarkdownPromptBlocks, type McpDocsSearchConfig, type PerformDocsSearchOptions, type PromptAction, type PromptProviderChoice, type ResolveConfiguredAgentSkillsOptions, type ResolvedApiReferenceConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsObservabilityConfig, type ResolvedDocsReviewConfig, type RunDocsGoldenTasksOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
351
+ export { type ApiReferenceFramework, type ApiReferenceOpenApiDiscovery, type ApiReferenceRenderer, type ApiReferenceRoute, type CreateDocsMcpServerOptions, DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, DEFAULT_OPEN_DOCS_PROMPT, DEFAULT_OPEN_DOCS_PROVIDER_IDS, DEFAULT_OPEN_DOCS_TARGET, DEFAULT_PROMPT_PROVIDER_TEMPLATES, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_CONFIG_SCHEMA_OPTIONS, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsCloudAskAIConfig, type DocsCloudAskAIOptions, type DocsCloudAskAIResponseOptions, type DocsCloudPublicConfig, type DocsCloudRouteHandlerOptions, type DocsCloudRouteHandlers, type DocsCloudRuntimeEnv, type DocsCloudRuntimeValue, type DocsCloudServer, type DocsCloudServerOptions, type DocsCloudTrackEventOptions, type DocsGoldenAnswerMetrics, type DocsGoldenCitationMetrics, type DocsGoldenEvaluationStatus, type DocsGoldenExampleMetrics, type DocsGoldenExampleResult, type DocsGoldenExpectedExample, type DocsGoldenRetrievalMetrics, type DocsGoldenRetrievedSource, type DocsGoldenSelectionMetrics, type DocsGoldenTask, type DocsGoldenTaskExpectation, type DocsGoldenTaskFilters, type DocsGoldenTaskReport, type DocsGoldenTasksReport, type DocsGoldenUsageMetrics, type DocsMarkdownPromptBlock, type DocsMcpAgentContractSummary, type DocsMcpCodeExample, type DocsMcpConfigSchema, type DocsMcpConfigSchemaOption, type DocsMcpContextResult, type DocsMcpContextSource, type DocsMcpDocsList, type DocsMcpDocsPageSummary, type DocsMcpDocsSection, type DocsMcpHttpHandlers, type DocsMcpNavigationNode, type DocsMcpNavigationTree, type DocsMcpPage, type DocsMcpRequestContext, type DocsMcpResolvedConfig, type DocsMcpResolvedCorsConfig, type DocsMcpResolvedProtectedResourceConfig, type DocsMcpResolvedSecurityConfig, type DocsMcpSource, type DocsMcpTaskSummary, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsRetrievalSourceProvenance, type DocsRetrievalSourceScope, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, type DocsSearchResponse, type DocsSearchResult, type DocsSearchSourcePage, type DocsSearchWarning, type DocsSearchWarningCode, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type EnrichDocsSearchDocumentsWithProvenanceOptions, type ExtractedDocsMarkdownPromptBlocks, type McpDocsSearchConfig, type PerformDocsSearchOptions, type PromptAction, type PromptProviderChoice, type ResolveConfiguredAgentSkillsOptions, type ResolvedApiReferenceConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsObservabilityConfig, type ResolvedDocsReviewConfig, type RunDocsGoldenTasksOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
package/dist/server.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { a as emitDocsAnalyticsEvent, c as resolveDocsAnalyticsConfig, i as emitDocsAgentTraceEvent, l as resolveDocsObservabilityConfig, n as createDocsAgentTraceContext, o as emitDocsObservabilityEvent, r as createDocsAgentTraceId, s as getDocsRequestAnalyticsProperties, t as DOCS_AGENT_TRACE_EVENT_TYPES } from "./analytics-Bx44lg6d.mjs";
2
- import { Bt as renderDocsSitemapMarkdown, Et as extractDocsMarkdownPromptBlocks, Ft as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, Gt as toDocsSitemapMarkdownUrl, Ht as resolveDocsSitemapConfig, It as DEFAULT_SITEMAP_XML_ROUTE, Lt as buildDocsSitemapManifest, Mt as DEFAULT_SITEMAP_MANIFEST_PATH, Nt as DEFAULT_SITEMAP_MD_DOCS_ROUTE, Pt as DEFAULT_SITEMAP_MD_ROUTE, Rt as createDocsSitemapResponse, Ut as resolveDocsSitemapPageLastmod, Vt as renderDocsSitemapXml, Wt as resolveDocsSitemapRequest, zt as readDocsSitemapManifestFromContentMap } from "./agent-o9OTadrf.mjs";
2
+ import { Bt as renderDocsSitemapMarkdown, Et as extractDocsMarkdownPromptBlocks, Ft as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, Gt as toDocsSitemapMarkdownUrl, Ht as resolveDocsSitemapConfig, It as DEFAULT_SITEMAP_XML_ROUTE, Lt as buildDocsSitemapManifest, Mt as DEFAULT_SITEMAP_MANIFEST_PATH, Nt as DEFAULT_SITEMAP_MD_DOCS_ROUTE, Pt as DEFAULT_SITEMAP_MD_ROUTE, Rt as createDocsSitemapResponse, Ut as resolveDocsSitemapPageLastmod, Vt as renderDocsSitemapXml, Wt as resolveDocsSitemapRequest, zt as readDocsSitemapManifestFromContentMap } from "./agent-BJ0KXN-A.mjs";
3
3
  import "./markdown-sections-7OoA7ylx.mjs";
4
4
  import "./standards-discovery-BwL5ffGx.mjs";
5
- import { _ as resolveSearchRequestConfig, a as createMcpSearchAdapter, c as formatDocsAskAIPackageHints, d as performDocsSearch, f as performDocsSearchWithMetadata, g as resolveDocsSearchRequest, h as resolveDocsSearchFilters, i as createCustomSearchAdapter, l as inferDocsAskAIPackageHints, m as resolveDocsSearchAudience, n as buildDocsSearchDocuments, o as createSimpleSearchAdapter, p as resolveAskAISearchRequestConfig, r as createAlgoliaSearchAdapter, s as createTypesenseSearchAdapter, t as buildDocsAskAIContext, u as normalizeDocsSearchFilters } from "./search-RfPcG1if.mjs";
6
- import { C as resolveApiReferenceOpenApiDiscovery, S as resolveApiReferenceConfig, T as remarkCodeGroup, _ as buildApiReferenceOpenApiDocument, a as DEFAULT_PROMPT_PROVIDER_TEMPLATES, b as buildApiReferenceScalarCss, c as resolvePromptProviderChoices, d as serializeDocsIconRegistry, f as serializeOpenDocsProvider, g as buildApiReferenceHtmlDocumentAsync, h as buildApiReferenceHtmlDocument, i as DEFAULT_OPEN_DOCS_TARGET, l as sanitizePromptText, m as DEFAULT_API_REFERENCE_OPENAPI_ROUTE, n as DEFAULT_OPEN_DOCS_PROMPT, o as normalizePromptProviderName, p as serializeOpenDocsProviders, r as DEFAULT_OPEN_DOCS_PROVIDER_IDS, s as parsePromptStringArray, t as readDocsSitemapManifest, u as serializeDocsIcon, v as buildApiReferenceOpenApiDocumentAsync, w as resolveApiReferenceRenderer, x as isApiReferenceOpenApiRequest, y as buildApiReferencePageTitle } from "./sitemap-server-VefDnzEB.mjs";
7
- import { a as buildDocsReviewWorkflowPathFilters, c as resolveDocsReviewConfig, i as buildDocsReviewWorkflow, n as DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, o as ensureDocsReviewWorkflow, r as DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, s as readDocsReviewConfigFromSource, t as runDocsGoldenTasks } from "./agent-evals-BFHGypqh.mjs";
5
+ import { O as digestDocsRetrievalContent, _ as resolveDocsSearchAudience, a as createCustomSearchAdapter, b as resolveSearchRequestConfig, c as createTypesenseSearchAdapter, d as inferDocsAskAIPackageHints, f as normalizeDocsSearchFilters, g as resolveDocsRetrievalLastModified, h as resolveAskAISearchRequestConfig, i as createAlgoliaSearchAdapter, k as isDocsRetrievalCanonicalUrl, l as enrichDocsSearchDocumentsWithProvenance, m as performDocsSearchWithMetadata, n as buildDocsRetrievalDigestProjection, o as createMcpSearchAdapter, p as performDocsSearch, r as buildDocsSearchDocuments, s as createSimpleSearchAdapter, t as buildDocsAskAIContext, u as formatDocsAskAIPackageHints, v as resolveDocsSearchFilters, y as resolveDocsSearchRequest } from "./search-DIyIl-tE.mjs";
6
+ import { C as resolveApiReferenceOpenApiDiscovery, S as resolveApiReferenceConfig, T as remarkCodeGroup, _ as buildApiReferenceOpenApiDocument, a as DEFAULT_PROMPT_PROVIDER_TEMPLATES, b as buildApiReferenceScalarCss, c as resolvePromptProviderChoices, d as serializeDocsIconRegistry, f as serializeOpenDocsProvider, g as buildApiReferenceHtmlDocumentAsync, h as buildApiReferenceHtmlDocument, i as DEFAULT_OPEN_DOCS_TARGET, l as sanitizePromptText, m as DEFAULT_API_REFERENCE_OPENAPI_ROUTE, n as DEFAULT_OPEN_DOCS_PROMPT, o as normalizePromptProviderName, p as serializeOpenDocsProviders, r as DEFAULT_OPEN_DOCS_PROVIDER_IDS, s as parsePromptStringArray, t as readDocsSitemapManifest, u as serializeDocsIcon, v as buildApiReferenceOpenApiDocumentAsync, w as resolveApiReferenceRenderer, x as isApiReferenceOpenApiRequest, y as buildApiReferencePageTitle } from "./sitemap-server-BfyBM7_V.mjs";
7
+ import { a as buildDocsReviewWorkflowPathFilters, c as resolveDocsReviewConfig, i as buildDocsReviewWorkflow, n as DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, o as ensureDocsReviewWorkflow, r as DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, s as readDocsReviewConfigFromSource, t as runDocsGoldenTasks } from "./agent-evals-LIScgQVm.mjs";
8
8
  import { DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DOCS_CONFIG_SCHEMA_OPTIONS, createDocsMcpHttpHandler, createDocsMcpServer, createFilesystemDocsMcpSource, getDocsConfigSchema, normalizeDocsMcpRoute, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
9
9
  import { n as isDocsCloudAskAIProvider, t as createDocsCloudAskAIResponse } from "./cloud-ask-ai-sbpjOR2K.mjs";
10
10
  import { createDocsCloudRouteHandler, createDocsCloudServer } from "./docs-cloud-server.mjs";
@@ -12,4 +12,4 @@ import "./code-blocks-DnNVNK2M.mjs";
12
12
  import { n as resolveConfiguredAgentSkillsSync, t as resolveConfiguredAgentSkills } from "./agent-skills-server-noFn1l_p.mjs";
13
13
  import { renderDocsAgentSkillsBundle } from "./agent-skills-vite.mjs";
14
14
 
15
- export { DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, DEFAULT_OPEN_DOCS_PROMPT, DEFAULT_OPEN_DOCS_PROVIDER_IDS, DEFAULT_OPEN_DOCS_TARGET, DEFAULT_PROMPT_PROVIDER_TEMPLATES, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_CONFIG_SCHEMA_OPTIONS, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
15
+ export { DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DEFAULT_DOCS_REVIEW_SCORE_THRESHOLD, DEFAULT_DOCS_REVIEW_WORKFLOW_PATH, DEFAULT_OPEN_DOCS_PROMPT, DEFAULT_OPEN_DOCS_PROVIDER_IDS, DEFAULT_OPEN_DOCS_TARGET, DEFAULT_PROMPT_PROVIDER_TEMPLATES, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_CONFIG_SCHEMA_OPTIONS, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
@@ -1,9 +1,9 @@
1
- import { Bt as renderDocsSitemapMarkdown, Ht as resolveDocsSitemapConfig, Lt as buildDocsSitemapManifest, Vt as renderDocsSitemapXml } from "./agent-o9OTadrf.mjs";
1
+ import { Bt as renderDocsSitemapMarkdown, Ht as resolveDocsSitemapConfig, Lt as buildDocsSitemapManifest, Vt as renderDocsSitemapXml } from "./agent-BJ0KXN-A.mjs";
2
2
  import "./markdown-sections-7OoA7ylx.mjs";
3
3
  import "./standards-discovery-BwL5ffGx.mjs";
4
- import "./search-RfPcG1if.mjs";
5
- import "./sitemap-server-VefDnzEB.mjs";
6
- import "./agent-evals-BFHGypqh.mjs";
4
+ import "./search-DIyIl-tE.mjs";
5
+ import "./sitemap-server-BfyBM7_V.mjs";
6
+ import "./agent-evals-LIScgQVm.mjs";
7
7
  import { createFilesystemDocsMcpSource } from "./mcp.mjs";
8
8
  import "./code-blocks-DnNVNK2M.mjs";
9
9
  import "./agent-skills-server-noFn1l_p.mjs";
@@ -1,4 +1,4 @@
1
- import { Ht as resolveDocsSitemapConfig } from "./agent-o9OTadrf.mjs";
1
+ import { Ht as resolveDocsSitemapConfig } from "./agent-BJ0KXN-A.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
4
4
  import path, { basename, join, relative } from "node:path";
@@ -1,4 +1,4 @@
1
- import { A as DocsAgentA2ASecurityScheme, M as DocsAgentA2ASkill, O as DocsAgentA2AProtocolBinding, h as DocsAgentA2AConfig, k as DocsAgentA2ASecurityRequirement, m as DocsAgentA2ACapabilities } from "./types-_HCPD4wc.mjs";
1
+ import { A as DocsAgentA2ASecurityScheme, M as DocsAgentA2ASkill, O as DocsAgentA2AProtocolBinding, h as DocsAgentA2AConfig, k as DocsAgentA2ASecurityRequirement, m as DocsAgentA2ACapabilities } from "./types-clg5J1R4.mjs";
2
2
 
3
3
  //#region src/standards-discovery.d.ts
4
4
  declare const DEFAULT_API_CATALOG_ROUTE = "/.well-known/api-catalog";
@@ -1319,6 +1319,8 @@ type DocsSearchResultType = "page" | "heading" | "text";
1319
1319
  interface DocsSearchSourcePage {
1320
1320
  title: string;
1321
1321
  url: string;
1322
+ /** Canonical public URL override. Relative values are resolved against the request base URL. */
1323
+ canonicalUrl?: string;
1322
1324
  content: string;
1323
1325
  description?: string;
1324
1326
  related?: ResolvedDocsRelatedLink[];
@@ -1329,6 +1331,8 @@ interface DocsSearchSourcePage {
1329
1331
  rawContent?: string;
1330
1332
  agentContent?: string;
1331
1333
  agentRawContent?: string;
1334
+ /** Modified time for an explicit agent-source override such as agent.md. */
1335
+ agentLastModified?: string;
1332
1336
  agentFallbackContent?: string;
1333
1337
  agentFallbackRawContent?: string;
1334
1338
  type?: "page" | "api" | "code" | "changelog";
@@ -1337,6 +1341,37 @@ interface DocsSearchSourcePage {
1337
1341
  version?: string;
1338
1342
  tags?: string[];
1339
1343
  }
1344
+ /** Normalized applicability metadata attached to a retrieved source. */
1345
+ interface DocsRetrievalSourceScope {
1346
+ audience: "human" | "agent";
1347
+ locale?: string[];
1348
+ framework?: string[];
1349
+ version?: string[];
1350
+ /**
1351
+ * Version declarations remain grouped so consumers can enforce their intersection
1352
+ * (for example, top-level `>=1` together with an agent contract `<2`).
1353
+ */
1354
+ versionGroups?: string[][];
1355
+ package?: string[];
1356
+ tags?: string[];
1357
+ /** Scope fields with additional authored values omitted from this bounded payload. */
1358
+ truncated?: DocsSearchFilterField[];
1359
+ /** Conflicting declarations that prevent the affected scope fields from being trusted. */
1360
+ conflicts?: DocsSearchFilterField[];
1361
+ }
1362
+ /**
1363
+ * Verifiable metadata for the canonical source behind a retrieval result.
1364
+ *
1365
+ * Digests and generations are algorithm-prefixed. The digest identifies the selected
1366
+ * audience projection of one page; the generation identifies the complete index snapshot.
1367
+ */
1368
+ interface DocsRetrievalSourceProvenance {
1369
+ canonicalUrl: string;
1370
+ scope: DocsRetrievalSourceScope;
1371
+ lastModified?: string;
1372
+ digest: string;
1373
+ indexGeneration: string;
1374
+ }
1340
1375
  interface DocsSearchDocument {
1341
1376
  id: string;
1342
1377
  url: string;
@@ -1350,6 +1385,8 @@ interface DocsSearchDocument {
1350
1385
  version?: string;
1351
1386
  package?: string[];
1352
1387
  tags?: string[];
1388
+ /** Source metadata persisted with hosted search records. */
1389
+ source?: DocsRetrievalSourceProvenance;
1353
1390
  }
1354
1391
  interface DocsSearchResult {
1355
1392
  id: string;
@@ -1359,6 +1396,8 @@ interface DocsSearchResult {
1359
1396
  type: DocsSearchResultType;
1360
1397
  score?: number;
1361
1398
  section?: string;
1399
+ /** Canonical, scope-aware provenance when supplied or recoverable locally. */
1400
+ source?: DocsRetrievalSourceProvenance;
1362
1401
  }
1363
1402
  type DocsSearchFilterField = "framework" | "version" | "package" | "tags";
1364
1403
  interface DocsSearchFilterInput {
@@ -1391,6 +1430,12 @@ interface DocsSearchResponse {
1391
1430
  query: string;
1392
1431
  audience: "human" | "agent";
1393
1432
  filters: DocsSearchFilters;
1433
+ /**
1434
+ * Generation of the complete local index snapshot used for this retrieval.
1435
+ * Built-in search endpoints always emit it; optionality preserves source compatibility
1436
+ * for callers that construct the versioned response object themselves.
1437
+ */
1438
+ indexGeneration?: string;
1394
1439
  resultCount: number;
1395
1440
  results: DocsSearchResult[];
1396
1441
  warnings: DocsSearchWarning[];
@@ -1417,6 +1462,16 @@ interface DocsSearchAdapterContext {
1417
1462
  locale?: string;
1418
1463
  pathname?: string;
1419
1464
  siteTitle?: string;
1465
+ /** Canonical docs origin used to make result provenance URLs absolute. */
1466
+ baseUrl?: string;
1467
+ /** @internal Trusted canonical origin used to identify hosted-index ownership. */
1468
+ indexBaseUrl?: string;
1469
+ /** Complete index generation represented by this adapter context. */
1470
+ indexGeneration?: string;
1471
+ /** Chunking policy represented by this adapter context. */
1472
+ chunking?: DocsSearchChunkingConfig;
1473
+ /** @internal Let the shared search pipeline attach provenance once after provider merging. */
1474
+ deferSourceProvenance?: boolean;
1420
1475
  /** Optional cancellation signal, including diagnostic timeouts. */
1421
1476
  signal?: AbortSignal;
1422
1477
  }
@@ -1463,6 +1518,8 @@ interface AlgoliaDocsSearchConfig {
1463
1518
  adminApiKey?: string;
1464
1519
  maxResults?: number;
1465
1520
  syncOnSearch?: boolean;
1521
+ /** Stable namespace used to identify this docs corpus in a shared index. */
1522
+ syncNamespace?: string;
1466
1523
  chunking?: DocsSearchChunkingConfig;
1467
1524
  }
1468
1525
  interface TypesenseDocsSearchConfig {
@@ -1474,6 +1531,8 @@ interface TypesenseDocsSearchConfig {
1474
1531
  adminApiKey?: string;
1475
1532
  maxResults?: number;
1476
1533
  syncOnSearch?: boolean;
1534
+ /** Stable namespace used to identify this docs corpus in a shared collection. */
1535
+ syncNamespace?: string;
1477
1536
  queryBy?: string[];
1478
1537
  mode?: "keyword" | "hybrid";
1479
1538
  embeddings?: DocsSearchEmbeddingsConfig;
@@ -3554,4 +3613,4 @@ interface DocsConfig {
3554
3613
  og?: OGConfig;
3555
3614
  }
3556
3615
  //#endregion
3557
- export { DocsAgentSkillsInput as $, PageAgentVerification as $n, DocsReviewRulesConfig as $t, DocsAgentA2ASecurityScheme as A, DocsTheme as An, DocsFeedbackData as At, DocsAgentEvaluationSourceReference as B, OGConfig as Bn, DocsMcpOriginContext as Bt, DocsAgentA2AOAuthDeviceCodeFlow as C, DocsTelemetryAgentSurface as Cn, DocsCodeBlocksPlannerProvider as Ct, DocsAgentA2AOpenIdConnectSecurityScheme as D, DocsTelemetryEventType as Dn, DocsCodeBlocksValidationMode as Dt, DocsAgentA2AOAuthPasswordFlow as E, DocsTelemetryEventInput as En, DocsCodeBlocksValidateConfig as Et, DocsAgentEvaluationAnswerInput as F, LlmsTxtConfig as Fn, DocsMcpAuthenticate as Ft, DocsAgentFeedbackData as G, OpenDocsTarget as Gn, DocsNav as Gt, DocsAgentEvaluationTaskInput as H, OpenDocsProvider as Hn, DocsMcpSecurityConfig as Ht, DocsAgentEvaluationAnswerProvider as I, LlmsTxtMaxCharsConfig as In, DocsMcpAuthenticateContext as It, DocsAgentGoldenExpectedExample as J, PageActionsConfig as Jn, DocsObservabilityEventInput as Jt, DocsAgentGoldenAnswerExpectation as K, OpenGraphImage as Kn, DocsObservabilityConfig as Kt, DocsAgentEvaluationAnswerRequest as L, LlmsTxtMaxCharsMode as Ln, DocsMcpAuthenticateResult as Lt, DocsAgentA2ASkill as M, FontStyle as Mn, DocsI18nConfig as Mt, DocsAgentCompactConfig as N, GithubConfig as Nn, DocsMcpAllowedOrigins as Nt, DocsAgentA2AProtocolBinding as O, DocsTelemetryFeatures as On, DocsCodeBlocksValidationPolicy as Ot, DocsAgentConfig as P, LastUpdatedConfig as Pn, DocsMcpAuthPrincipal as Pt, DocsAgentSkillsConfig as Q, PageAgentFrontmatter as Qn, DocsReviewConfig as Qt, DocsAgentEvaluationAnswerResult as R, LlmsTxtSectionConfig as Rn, DocsMcpConfig as Rt, DocsAgentA2AOAuthClientCredentialsFlow as S, DocsSitemapConfig as Sn, DocsCodeBlocksPlannerConfig as St, DocsAgentA2AOAuthImplicitFlow as T, DocsTelemetryEvent as Tn, DocsCodeBlocksRunnerProvider as Tt, DocsAgentEvaluationsConfig as U, OpenDocsProviderConfig as Un, DocsMcpToolsConfig as Ut, DocsAgentEvaluationSurface as V, OpenDocsConfig as Vn, DocsMcpProtectedResourceConfig as Vt, DocsAgentFeedbackContext as W, OpenDocsProviderId as Wn, DocsMetadata as Wt, DocsAgentGoldenTaskExpectation as X, PageAgentCommand as Xn, DocsReviewCiConfig as Xt, DocsAgentGoldenTask as Y, PageAgentAppliesTo as Yn, DocsRelatedItem as Yt, DocsAgentGoldenTaskFilters as Z, PageAgentFailureMode as Zn, DocsReviewCiMode as Zt, DocsAgentA2AHttpAuthSecurityScheme as _, DocsSearchResult as _n, TypographyConfig as _r, DocsCloudConfig as _t, ApiReferenceRenderer as a, DocsSearchAdapterContext as an, ReadingTimeFormat as ar, DocsAnalyticsEventInput as at, DocsAgentA2AOAuth2SecurityScheme as b, DocsSearchWarning as bn, DocsCloudPublishConfig as bt, ChangelogFrontmatter as c, DocsSearchConfig as cn, SidebarConfig as cr, DocsAnalyticsSource as ct, CopyMarkdownFormat as d, DocsSearchFilterField as dn, SidebarNode as dr, DocsAskAIFeedbackConfig as dt, DocsReviewScoreConfig as en, PageFrontmatter as er, DocsAgentTraceEventInput as et, CustomDocsSearchConfig as f, DocsSearchFilterInput as fn, SidebarPageNode as fr, DocsAskAIFeedbackData as ft, DocsAgentA2AExtension as g, DocsSearchResponse as gn, TypesenseDocsSearchConfig as gr, DocsCloudApiKeyConfig as gt, DocsAgentA2AConfig as h, DocsSearchRequest as hn, ThemeToggleConfig as hr, DocsAskAIMcpConfig as ht, ApiReferenceConfig as i, DocsSearchAdapter as in, ReadingTimeConfig as ir, DocsAnalyticsEvent as it, DocsAgentA2ASecurityScopeList as j, FeedbackConfig as jn, DocsFeedbackValue as jt, DocsAgentA2ASecurityRequirement as k, DocsTelemetryFramework as kn, DocsConfig as kt, CodeBlockCopyData as l, DocsSearchDocument as ln, SidebarFolderIndexBehavior as lr, DocsAskAIActionData as lt, DocsAgentA2ACapabilities as m, DocsSearchQuery as mn, SimpleDocsSearchConfig as mr, DocsAskAIFeedbackValue as mt, AgentFeedbackConfig as n, DocsRobotsConfig as nn, PageSidebarFrontmatter as nr, DocsAgentTraceStatus as nt, BreadcrumbConfig as o, DocsSearchAdapterFactory as on, ResolvedDocsRelatedLink as or, DocsAnalyticsEventType as ot, DocsAgentA2AApiKeySecurityScheme as p, DocsSearchFilters as pn, SidebarTree as pr, DocsAskAIFeedbackMessage as pt, DocsAgentGoldenExampleVerification as q, OrderingItem as qn, DocsObservabilityEvent as qt, AlgoliaDocsSearchConfig as r, DocsRobotsRule as rn, PageTwitter as rr, DocsAnalyticsConfig as rt, ChangelogConfig as s, DocsSearchChunkingConfig as sn, SidebarComponentProps as sr, DocsAnalyticsInput as st, AIConfig as t, DocsReviewSeverity as tn, PageOpenGraph as tr, DocsAgentTraceEventType as tt, CopyMarkdownConfig as u, DocsSearchEmbeddingsConfig as un, SidebarFolderNode as ur, DocsAskAIActionType as ut, DocsAgentA2AInterfaceConfig as v, DocsSearchResultType as vn, UIConfig as vr, DocsCloudFeatureConfig as vt, DocsAgentA2AOAuthFlows as w, DocsTelemetryConfig as wn, DocsCodeBlocksRunnerConfig as wt, DocsAgentA2AOAuthAuthorizationCodeFlow as x, DocsSearchWarningCode as xn, DocsCodeBlocksConfig as xt, DocsAgentA2AMutualTlsSecurityScheme as y, DocsSearchSourcePage as yn, DocsCloudPreviewConfig as yt, DocsAgentEvaluationAnswerRunner as z, McpDocsSearchConfig as zn, DocsMcpCorsConfig as zt };
3616
+ export { DocsAgentSkillsInput as $, PageAgentFailureMode as $n, DocsReviewCiMode as $t, DocsAgentA2ASecurityScheme as A, DocsTelemetryFeatures as An, DocsFeedbackData as At, DocsAgentEvaluationSourceReference as B, LlmsTxtSectionConfig as Bn, DocsMcpOriginContext as Bt, DocsAgentA2AOAuthDeviceCodeFlow as C, DocsSearchWarningCode as Cn, DocsCodeBlocksPlannerProvider as Ct, DocsAgentA2AOpenIdConnectSecurityScheme as D, DocsTelemetryEvent as Dn, DocsCodeBlocksValidationMode as Dt, DocsAgentA2AOAuthPasswordFlow as E, DocsTelemetryConfig as En, DocsCodeBlocksValidateConfig as Et, DocsAgentEvaluationAnswerInput as F, GithubConfig as Fn, DocsMcpAuthenticate as Ft, DocsAgentFeedbackData as G, OpenDocsProviderConfig as Gn, DocsNav as Gt, DocsAgentEvaluationTaskInput as H, OGConfig as Hn, DocsMcpSecurityConfig as Ht, DocsAgentEvaluationAnswerProvider as I, LastUpdatedConfig as In, DocsMcpAuthenticateContext as It, DocsAgentGoldenExpectedExample as J, OpenGraphImage as Jn, DocsObservabilityEventInput as Jt, DocsAgentGoldenAnswerExpectation as K, OpenDocsProviderId as Kn, DocsObservabilityConfig as Kt, DocsAgentEvaluationAnswerRequest as L, LlmsTxtConfig as Ln, DocsMcpAuthenticateResult as Lt, DocsAgentA2ASkill as M, DocsTheme as Mn, DocsI18nConfig as Mt, DocsAgentCompactConfig as N, FeedbackConfig as Nn, DocsMcpAllowedOrigins as Nt, DocsAgentA2AProtocolBinding as O, DocsTelemetryEventInput as On, DocsCodeBlocksValidationPolicy as Ot, DocsAgentConfig as P, FontStyle as Pn, DocsMcpAuthPrincipal as Pt, DocsAgentSkillsConfig as Q, PageAgentCommand as Qn, DocsReviewCiConfig as Qt, DocsAgentEvaluationAnswerResult as R, LlmsTxtMaxCharsConfig as Rn, DocsMcpConfig as Rt, DocsAgentA2AOAuthClientCredentialsFlow as S, DocsSearchWarning as Sn, DocsCodeBlocksPlannerConfig as St, DocsAgentA2AOAuthImplicitFlow as T, DocsTelemetryAgentSurface as Tn, DocsCodeBlocksRunnerProvider as Tt, DocsAgentEvaluationsConfig as U, OpenDocsConfig as Un, DocsMcpToolsConfig as Ut, DocsAgentEvaluationSurface as V, McpDocsSearchConfig as Vn, DocsMcpProtectedResourceConfig as Vt, DocsAgentFeedbackContext as W, OpenDocsProvider as Wn, DocsMetadata as Wt, DocsAgentGoldenTaskExpectation as X, PageActionsConfig as Xn, DocsRetrievalSourceProvenance as Xt, DocsAgentGoldenTask as Y, OrderingItem as Yn, DocsRelatedItem as Yt, DocsAgentGoldenTaskFilters as Z, PageAgentAppliesTo as Zn, DocsRetrievalSourceScope as Zt, DocsAgentA2AHttpAuthSecurityScheme as _, DocsSearchRequest as _n, ThemeToggleConfig as _r, DocsCloudConfig as _t, ApiReferenceRenderer as a, DocsRobotsRule as an, PageTwitter as ar, DocsAnalyticsEventInput as at, DocsAgentA2AOAuth2SecurityScheme as b, DocsSearchResultType as bn, UIConfig as br, DocsCloudPublishConfig as bt, ChangelogFrontmatter as c, DocsSearchAdapterFactory as cn, ResolvedDocsRelatedLink as cr, DocsAnalyticsSource as ct, CopyMarkdownFormat as d, DocsSearchDocument as dn, SidebarFolderIndexBehavior as dr, DocsAskAIFeedbackConfig as dt, DocsReviewConfig as en, PageAgentFrontmatter as er, DocsAgentTraceEventInput as et, CustomDocsSearchConfig as f, DocsSearchEmbeddingsConfig as fn, SidebarFolderNode as fr, DocsAskAIFeedbackData as ft, DocsAgentA2AExtension as g, DocsSearchQuery as gn, SimpleDocsSearchConfig as gr, DocsCloudApiKeyConfig as gt, DocsAgentA2AConfig as h, DocsSearchFilters as hn, SidebarTree as hr, DocsAskAIMcpConfig as ht, ApiReferenceConfig as i, DocsRobotsConfig as in, PageSidebarFrontmatter as ir, DocsAnalyticsEvent as it, DocsAgentA2ASecurityScopeList as j, DocsTelemetryFramework as jn, DocsFeedbackValue as jt, DocsAgentA2ASecurityRequirement as k, DocsTelemetryEventType as kn, DocsConfig as kt, CodeBlockCopyData as l, DocsSearchChunkingConfig as ln, SidebarComponentProps as lr, DocsAskAIActionData as lt, DocsAgentA2ACapabilities as m, DocsSearchFilterInput as mn, SidebarPageNode as mr, DocsAskAIFeedbackValue as mt, AgentFeedbackConfig as n, DocsReviewScoreConfig as nn, PageFrontmatter as nr, DocsAgentTraceStatus as nt, BreadcrumbConfig as o, DocsSearchAdapter as on, ReadingTimeConfig as or, DocsAnalyticsEventType as ot, DocsAgentA2AApiKeySecurityScheme as p, DocsSearchFilterField as pn, SidebarNode as pr, DocsAskAIFeedbackMessage as pt, DocsAgentGoldenExampleVerification as q, OpenDocsTarget as qn, DocsObservabilityEvent as qt, AlgoliaDocsSearchConfig as r, DocsReviewSeverity as rn, PageOpenGraph as rr, DocsAnalyticsConfig as rt, ChangelogConfig as s, DocsSearchAdapterContext as sn, ReadingTimeFormat as sr, DocsAnalyticsInput as st, AIConfig as t, DocsReviewRulesConfig as tn, PageAgentVerification as tr, DocsAgentTraceEventType as tt, CopyMarkdownConfig as u, DocsSearchConfig as un, SidebarConfig as ur, DocsAskAIActionType as ut, DocsAgentA2AInterfaceConfig as v, DocsSearchResponse as vn, TypesenseDocsSearchConfig as vr, DocsCloudFeatureConfig as vt, DocsAgentA2AOAuthFlows as w, DocsSitemapConfig as wn, DocsCodeBlocksRunnerConfig as wt, DocsAgentA2AOAuthAuthorizationCodeFlow as x, DocsSearchSourcePage as xn, DocsCodeBlocksConfig as xt, DocsAgentA2AMutualTlsSecurityScheme as y, DocsSearchResult as yn, TypographyConfig as yr, DocsCloudPreviewConfig as yt, DocsAgentEvaluationAnswerRunner as z, LlmsTxtMaxCharsMode as zn, DocsMcpCorsConfig as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/docs",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "description": "Modern, flexible MDX-based docs framework — core types, config, and CLI",
5
5
  "keywords": [
6
6
  "docs",