@farming-labs/docs 0.2.80 → 0.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-aWl_O6xn.mjs → agent-Biyd8A98.mjs} +2 -2
- package/dist/{agent-Cj50nyeV.mjs → agent-Dze2Cy5B.mjs} +1 -1
- package/dist/{agent-DGALg9hQ.d.mts → agent-WS4GXGh6.d.mts} +88 -3
- package/dist/{agent-evals-DvQQtN62.mjs → agent-evals-Burrzyam.mjs} +19 -4
- package/dist/{agent-export-BISSb83U.mjs → agent-export-whKAZQUI.mjs} +8 -8
- package/dist/agent-skills-bundle.d.mts +1 -1
- package/dist/{agent-skills-server-B2EXn2QD.mjs → agent-skills-server-D5qYU19g.mjs} +16 -7
- package/dist/{agent-skills-server-Daq-FOay.d.mts → agent-skills-server-q4B9kRGg.d.mts} +2 -2
- package/dist/agent-skills-vite.d.mts +3 -3
- package/dist/agent-skills-vite.mjs +1 -1
- package/dist/{agents-DLNUgcgU.mjs → agents-B_980VCs.mjs} +6 -6
- package/dist/cli/index.mjs +16 -16
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-ask-ai-o41WfOTk.d.mts → cloud-ask-ai-BQAeHkpZ.d.mts} +1 -1
- package/dist/{codeblocks-CFuurVIH.mjs → codeblocks-CPA6Ae5r.mjs} +1 -1
- package/dist/{agent-provenance-C_jgqNTW.mjs → content-change-hydration-DpQ0KdAD.mjs} +218 -2
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/docs-cloud-server.mjs +1 -1
- package/dist/{doctor-BxP-UHaE.mjs → doctor-WjuyRWYT.mjs} +32 -15
- package/dist/{golden-evaluations-Bk8MBi3Z.mjs → golden-evaluations-B2GHnoFa.mjs} +307 -3
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/{mcp-BU63wzaM.mjs → mcp-bhIsgqxy.mjs} +6 -6
- package/dist/mcp.d.mts +6 -5
- package/dist/mcp.mjs +199 -25
- package/dist/{prompt-references-CMMoF6AY.mjs → prompt-references-embiJdYt.mjs} +2 -2
- package/dist/{retrieval-digest-DIbiu0TW.d.mts → retrieval-digest-DRRHA1B3.d.mts} +2 -2
- package/dist/{review-D14mUw5D.mjs → review-2e4TXoGS.mjs} +71 -10
- package/dist/{robots-DmczzidR.mjs → robots-BIySk2gE.mjs} +2 -2
- package/dist/{robots-BukukxNm.mjs → robots-D96X6eVX.mjs} +1 -1
- package/dist/{search-DP96dV3e.mjs → search-DfB3LQ4s.mjs} +6 -6
- package/dist/server.d.mts +6 -6
- package/dist/server.mjs +8 -8
- package/dist/{sitemap-DuosRvmn.mjs → sitemap-AcwP8jIo.mjs} +6 -6
- package/dist/{sitemap-server-DzlV1NOB.mjs → sitemap-server-BefXEox6.mjs} +1 -1
- package/dist/{standards-discovery-C2cUIQzW.d.mts → standards-discovery-DPUEcUmb.d.mts} +1 -1
- package/dist/{types-o-ULHPK6.d.mts → types-lGEHcx_6.d.mts} +44 -1
- package/package.json +1 -1
- /package/dist/{cloud-ask-ai-sbpjOR2K.mjs → cloud-ask-ai-BRBK4RBG.mjs} +0 -0
- /package/dist/{code-blocks-DnNVNK2M.mjs → code-blocks-0wjOsqdJ.mjs} +0 -0
package/dist/server.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { An as
|
|
2
|
-
import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-
|
|
1
|
+
import { An as DocsSearchFilterInput, B as DocsAgentEvaluationAnswerRunner, Bn as DocsSitemapConfig, Bt as DocsContentSnapshotDocument, Cn as DocsSearchConfig, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchResult, Ft as DocsContentChangeSnapshotLoader, H as DocsAgentEvaluationSurface, I as DocsAgentEvaluationAnswerInput, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchSourcePage, Lt as DocsContentChangedDocument, Mn as DocsSearchQuery, Mt as DocsConfig, Nn as DocsSearchRequest, Nt as DocsContentChangeDocument, Pn as DocsSearchResponse, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchWarning, Rt as DocsContentChangesResponse, U as DocsAgentEvaluationTaskInput, V as DocsAgentEvaluationSourceReference, X as DocsAgentGoldenTask, Y as DocsAgentGoldenExpectedExample, Z as DocsAgentGoldenTaskExpectation, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, at as DocsAgentTraceStatus, bn as DocsSearchAdapterFactory, cn as DocsRetrievalSourceProvenance, ct as DocsAnalyticsEventInput, dn as DocsReviewCiMode, fn as DocsReviewConfig, gt as DocsAskAIFeedbackMessage, ht as DocsAskAIFeedbackData, in as DocsObservabilityEvent, it as DocsAgentTraceEventType, jn as DocsSearchFilters, kn as DocsSearchFilterField, kt as DocsCodeBlocksValidateConfig, ln as DocsRetrievalSourceScope, mt as DocsAskAIFeedbackConfig, on as DocsPaginatedSearchResponse, ot as DocsAnalyticsConfig, pn as DocsReviewRulesConfig, q as DocsAgentGoldenAnswerExpectation, rn as DocsObservabilityConfig, rr as McpDocsSearchConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent, vn as DocsSearchAdapter, vt as DocsAskAIMcpConfig, wn as DocsSearchDocument, xn as DocsSearchAdapterPage, yn as DocsSearchAdapterContext, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchWarningCode, zt as DocsContentSnapshot } from "./types-lGEHcx_6.mjs";
|
|
2
|
+
import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-q4B9kRGg.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-
|
|
4
|
+
import { i as isDocsCloudAskAIProvider, n as DocsCloudAskAIResponseOptions, r as createDocsCloudAskAIResponse, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-BQAeHkpZ.mjs";
|
|
5
5
|
import { DocsCloudAskAIOptions, DocsCloudPublicConfig, DocsCloudRouteHandlerOptions, DocsCloudRouteHandlers, DocsCloudRuntimeEnv, DocsCloudRuntimeValue, DocsCloudServer, DocsCloudServerOptions, DocsCloudTrackEventOptions, createDocsCloudRouteHandler, createDocsCloudServer } from "./docs-cloud-server.mjs";
|
|
6
|
-
import { A as SerializedOpenDocsProvider, B as DocsAgentTraceContext, C as DEFAULT_OPEN_DOCS_PROMPT, D as PromptAction, E as DEFAULT_PROMPT_PROVIDER_TEMPLATES, F as serializeDocsIcon, G as emitDocsAgentTraceEvent, H as ResolvedDocsObservabilityConfig, I as serializeDocsIconRegistry, J as getDocsRequestAnalyticsProperties, K as emitDocsAnalyticsEvent, L as serializeOpenDocsProvider, M as parsePromptStringArray, N as resolvePromptProviderChoices, O as PromptProviderChoice, P as sanitizePromptText, R as serializeOpenDocsProviders, S as toDocsSitemapMarkdownUrl, T as DEFAULT_OPEN_DOCS_TARGET, U as createDocsAgentTraceContext, V as ResolvedDocsAnalyticsConfig, W as createDocsAgentTraceId, X as resolveDocsObservabilityConfig, Y as resolveDocsAnalyticsConfig, _ as renderDocsSitemapMarkdown, a as DEFAULT_SITEMAP_MD_DOCS_ROUTE, b as resolveDocsSitemapPageLastmod, c as DEFAULT_SITEMAP_XML_ROUTE, d as DocsSitemapManifestPage, f as DocsSitemapPageInput, g as readDocsSitemapManifestFromContentMap, h as createDocsSitemapResponse, i as DEFAULT_SITEMAP_MANIFEST_PATH, j as normalizePromptProviderName, k as SerializeOpenDocsProviderOptions, l as DocsSitemapFormat, m as buildDocsSitemapManifest, n as isDocsRetrievalCanonicalUrl, o as DEFAULT_SITEMAP_MD_ROUTE, p as DocsSitemapResolvedConfig, q as emitDocsObservabilityEvent, r as DocsPaginationCursorError, s as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, t as digestDocsRetrievalContent, u as DocsSitemapManifest, v as renderDocsSitemapXml, w as DEFAULT_OPEN_DOCS_PROVIDER_IDS, x as resolveDocsSitemapRequest, y as resolveDocsSitemapConfig, z as DOCS_AGENT_TRACE_EVENT_TYPES } from "./retrieval-digest-
|
|
7
|
-
import { $n as
|
|
6
|
+
import { A as SerializedOpenDocsProvider, B as DocsAgentTraceContext, C as DEFAULT_OPEN_DOCS_PROMPT, D as PromptAction, E as DEFAULT_PROMPT_PROVIDER_TEMPLATES, F as serializeDocsIcon, G as emitDocsAgentTraceEvent, H as ResolvedDocsObservabilityConfig, I as serializeDocsIconRegistry, J as getDocsRequestAnalyticsProperties, K as emitDocsAnalyticsEvent, L as serializeOpenDocsProvider, M as parsePromptStringArray, N as resolvePromptProviderChoices, O as PromptProviderChoice, P as sanitizePromptText, R as serializeOpenDocsProviders, S as toDocsSitemapMarkdownUrl, T as DEFAULT_OPEN_DOCS_TARGET, U as createDocsAgentTraceContext, V as ResolvedDocsAnalyticsConfig, W as createDocsAgentTraceId, X as resolveDocsObservabilityConfig, Y as resolveDocsAnalyticsConfig, _ as renderDocsSitemapMarkdown, a as DEFAULT_SITEMAP_MD_DOCS_ROUTE, b as resolveDocsSitemapPageLastmod, c as DEFAULT_SITEMAP_XML_ROUTE, d as DocsSitemapManifestPage, f as DocsSitemapPageInput, g as readDocsSitemapManifestFromContentMap, h as createDocsSitemapResponse, i as DEFAULT_SITEMAP_MANIFEST_PATH, j as normalizePromptProviderName, k as SerializeOpenDocsProviderOptions, l as DocsSitemapFormat, m as buildDocsSitemapManifest, n as isDocsRetrievalCanonicalUrl, o as DEFAULT_SITEMAP_MD_ROUTE, p as DocsSitemapResolvedConfig, q as emitDocsObservabilityEvent, r as DocsPaginationCursorError, s as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, t as digestDocsRetrievalContent, u as DocsSitemapManifest, v as renderDocsSitemapXml, w as DEFAULT_OPEN_DOCS_PROVIDER_IDS, x as resolveDocsSitemapRequest, y as resolveDocsSitemapConfig, z as DOCS_AGENT_TRACE_EVENT_TYPES } from "./retrieval-digest-DRRHA1B3.mjs";
|
|
7
|
+
import { $n as PerformDocsSearchOptions, An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Bn as createDocsContentChangeFeed, Cn as DocsContentChangeHydrationBudget, Cr as resolveSearchRequestConfig, Dn as DocsContentChangeHydrationTombstone, Dr as ExtractedDocsMarkdownPromptBlocks, En as DocsContentChangeHydrationSection, Er as DocsMarkdownPromptBlock, Fn as DocsContentChangeFeed, Gn as resolveDocsContentChangesRequest, Hn as isDocsContentChangeGeneration, In as DocsContentChangesRequest, Jn as DocsLocalMcpSearchRuntimeConfig, Kn as BuildDocsContentSnapshotOptions, Ln as DocsContentChangesRequestError, Mn as DOCS_CONTENT_CHANGES_FORMAT, Nn as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, On as HydrateDocsContentChangesOptions, Or as extractDocsMarkdownPromptBlocks, Pn as DOCS_CONTENT_SNAPSHOT_FORMAT, Qn as EnrichDocsSearchDocumentsWithProvenanceOptions, Rn as DocsResolvedContentChangesConfig, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Sr as resolveLocalDocsMcpSearchConfig, Tn as DocsContentChangeHydrationResponse, Un as isDocsContentChangesRequest, Vn as createDocsContentChangesHttpResponse, Wn as resolveDocsContentChangesConfig, Xn as DocsSearchRequestError, Yn as DocsLocalMcpSearchRuntimeInput, Zn as DocsSearchRequestResolutionOptions, _r as resolveDocsRetrievalLastModified, ar as createAlgoliaSearchAdapter, br as resolveDocsSearchFilters, cr as createSimpleSearchAdapter, dr as formatDocsAskAIPackageHints, er as buildDocsAskAIContext, fr as inferDocsAskAIPackageHints, gr as resolveAskAISearchRequestConfig, hr as performDocsSearchWithMetadata, jn as hydrateDocsContentChanges, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, lr as createTypesenseSearchAdapter, mr as performDocsSearch, nr as buildDocsRetrievalDigestProjection, or as createCustomSearchAdapter, pr as normalizeDocsSearchFilters, rr as buildDocsSearchDocuments, sr as createMcpSearchAdapter, tr as buildDocsContentSnapshot, ur as enrichDocsSearchDocumentsWithProvenance, vr as resolveDocsSearchAudience, wn as DocsContentChangeHydrationContent, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, xr as resolveDocsSearchRequest, yr as resolveDocsSearchError, zn as ResolveDocsContentChangesOptions } from "./agent-WS4GXGh6.mjs";
|
|
8
8
|
import { CreateDocsMcpServerOptions, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, DocsMcpAgentContractSummary, DocsMcpCodeExample, DocsMcpConfigSchema, DocsMcpConfigSchemaOption, DocsMcpContextResult, DocsMcpContextSource, DocsMcpDocsList, DocsMcpDocsPageSummary, DocsMcpDocsSection, DocsMcpHttpHandlers, DocsMcpNavigationNode, DocsMcpNavigationTree, DocsMcpPage, DocsMcpPageSectionIndex, DocsMcpPageSectionList, DocsMcpPaginatedDocsList, DocsMcpPagination, DocsMcpRequestContext, DocsMcpResolvedConfig, DocsMcpResolvedCorsConfig, DocsMcpResolvedProtectedResourceConfig, DocsMcpResolvedSecurityConfig, DocsMcpSource, DocsMcpTaskSummary, createDocsMcpHttpHandler, createDocsMcpServer, createFilesystemDocsMcpSource, getDocsConfigSchema, normalizeDocsMcpRoute, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/code-group-mdx.d.ts
|
|
@@ -351,4 +351,4 @@ declare function runDocsGoldenTasks(pages: readonly DocsMcpPage[], tasks: readon
|
|
|
351
351
|
//#region src/sitemap-server.d.ts
|
|
352
352
|
declare function readDocsSitemapManifest(rootDir: string, sitemap?: boolean | DocsSitemapConfig): DocsSitemapManifest | null;
|
|
353
353
|
//#endregion
|
|
354
|
-
export { type ApiReferenceFramework, type ApiReferenceOpenApiDiscovery, type ApiReferenceRenderer, type ApiReferenceRoute, type BuildDocsContentSnapshotOptions, type CreateDocsMcpServerOptions, DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, type DocsAgentContentChangesConfig, 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 DocsContentChangeDocument, type DocsContentChangeFeed, type DocsContentChangeSnapshotContext, type DocsContentChangeSnapshotLoader, type DocsContentChangeSnapshotSaver, type DocsContentChangedDocument, type DocsContentChangesRequest, DocsContentChangesRequestError, type DocsContentChangesResponse, type DocsContentSnapshot, type DocsContentSnapshotDocument, 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 DocsLocalMcpSearchRuntimeConfig, type DocsLocalMcpSearchRuntimeInput, 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 DocsMcpPageSectionIndex, type DocsMcpPageSectionList, type DocsMcpPaginatedDocsList, type DocsMcpPagination, type DocsMcpRequestContext, type DocsMcpResolvedConfig, type DocsMcpResolvedCorsConfig, type DocsMcpResolvedProtectedResourceConfig, type DocsMcpResolvedSecurityConfig, type DocsMcpSource, type DocsMcpTaskSummary, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsPaginatedSearchResponse, DocsPaginationCursorError, type DocsResolvedContentChangesConfig, type DocsRetrievalSourceProvenance, type DocsRetrievalSourceScope, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchAdapterPage, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, DocsSearchRequestError, type DocsSearchRequestResolutionOptions, 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 ResolveDocsContentChangesOptions, type ResolvedApiReferenceConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsObservabilityConfig, type ResolvedDocsReviewConfig, type RunDocsGoldenTasksOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsContentSnapshot, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveLocalDocsMcpSearchConfig, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
|
|
354
|
+
export { type ApiReferenceFramework, type ApiReferenceOpenApiDiscovery, type ApiReferenceRenderer, type ApiReferenceRoute, type BuildDocsContentSnapshotOptions, type CreateDocsMcpServerOptions, DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, type DocsAgentContentChangesConfig, 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 DocsContentChangeDocument, type DocsContentChangeFeed, type DocsContentChangeHydrationBudget, type DocsContentChangeHydrationContent, type DocsContentChangeHydrationResponse, type DocsContentChangeHydrationSection, type DocsContentChangeHydrationTombstone, type DocsContentChangeSnapshotContext, type DocsContentChangeSnapshotLoader, type DocsContentChangeSnapshotSaver, type DocsContentChangedDocument, type DocsContentChangesRequest, DocsContentChangesRequestError, type DocsContentChangesResponse, type DocsContentSnapshot, type DocsContentSnapshotDocument, 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 DocsLocalMcpSearchRuntimeConfig, type DocsLocalMcpSearchRuntimeInput, 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 DocsMcpPageSectionIndex, type DocsMcpPageSectionList, type DocsMcpPaginatedDocsList, type DocsMcpPagination, type DocsMcpRequestContext, type DocsMcpResolvedConfig, type DocsMcpResolvedCorsConfig, type DocsMcpResolvedProtectedResourceConfig, type DocsMcpResolvedSecurityConfig, type DocsMcpSource, type DocsMcpTaskSummary, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsPaginatedSearchResponse, DocsPaginationCursorError, type DocsResolvedContentChangesConfig, type DocsRetrievalSourceProvenance, type DocsRetrievalSourceScope, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchAdapterPage, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, DocsSearchRequestError, type DocsSearchRequestResolutionOptions, 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 HydrateDocsContentChangesOptions, MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, type McpDocsSearchConfig, type PerformDocsSearchOptions, type PromptAction, type PromptProviderChoice, type ResolveConfiguredAgentSkillsOptions, type ResolveDocsContentChangesOptions, type ResolvedApiReferenceConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsObservabilityConfig, type ResolvedDocsReviewConfig, type RunDocsGoldenTasksOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsContentSnapshot, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, hydrateDocsContentChanges, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveLocalDocsMcpSearchConfig, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
|
package/dist/server.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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 { $t as buildDocsRetrievalDigestProjection, At as DEFAULT_SITEMAP_XML_ROUTE, Bt as DOCS_CONTENT_CHANGES_FORMAT, Dt as DEFAULT_SITEMAP_MD_DOCS_ROUTE, Et as DEFAULT_SITEMAP_MANIFEST_PATH, Ft as renderDocsSitemapXml, Gt as createDocsContentChangesHttpResponse, Ht as DOCS_CONTENT_SNAPSHOT_FORMAT,
|
|
2
|
+
import { $t as buildDocsRetrievalDigestProjection, At as DEFAULT_SITEMAP_XML_ROUTE, Bt as DOCS_CONTENT_CHANGES_FORMAT, Dt as DEFAULT_SITEMAP_MD_DOCS_ROUTE, Et as DEFAULT_SITEMAP_MANIFEST_PATH, Ft as renderDocsSitemapXml, Gt as createDocsContentChangesHttpResponse, Ht as DOCS_CONTENT_SNAPSHOT_FORMAT, It as resolveDocsSitemapConfig, Jt as resolveDocsContentChangesConfig, Kt as isDocsContentChangeGeneration, Lt as resolveDocsSitemapPageLastmod, Mt as createDocsSitemapResponse, Nt as readDocsSitemapManifestFromContentMap, Ot as DEFAULT_SITEMAP_MD_ROUTE, Pn as DocsPaginationCursorError, Pt as renderDocsSitemapMarkdown, Qt as buildDocsContentSnapshot, Rn as digestDocsRetrievalContent, Rt as resolveDocsSitemapRequest, Ut as DocsContentChangesRequestError, Vt as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, Wt as createDocsContentChangeFeed, Xt as DocsSearchRequestError, Yt as resolveDocsContentChangesRequest, Zt as buildDocsAskAIContext, _n as resolveDocsSearchFilters, an as createSimpleSearchAdapter, bn as resolveSearchRequestConfig, cn as formatDocsAskAIPackageHints, dn as performDocsSearch, en as buildDocsSearchDocuments, fn as performDocsSearchWithMetadata, gn as resolveDocsSearchError, hn as resolveDocsSearchAudience, in as createMcpSearchAdapter, jt as buildDocsSitemapManifest, kt as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, ln as inferDocsAskAIPackageHints, mn as resolveDocsRetrievalLastModified, nn as createAlgoliaSearchAdapter, on as createTypesenseSearchAdapter, pn as resolveAskAISearchRequestConfig, qt as isDocsContentChangesRequest, rn as createCustomSearchAdapter, sn as enrichDocsSearchDocumentsWithProvenance, un as normalizeDocsSearchFilters, vn as resolveDocsSearchRequest, xn as extractDocsMarkdownPromptBlocks, yn as resolveLocalDocsMcpSearchConfig, zn as isDocsRetrievalCanonicalUrl, zt as toDocsSitemapMarkdownUrl } from "./agent-Dze2Cy5B.mjs";
|
|
3
3
|
import "./markdown-sections-7OoA7ylx.mjs";
|
|
4
4
|
import "./standards-discovery-BKlEnK_H.mjs";
|
|
5
|
-
import "./
|
|
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-
|
|
7
|
-
import {
|
|
5
|
+
import { a as hydrateDocsContentChanges, i as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, n as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, r as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, t as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET } from "./content-change-hydration-DpQ0KdAD.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-BefXEox6.mjs";
|
|
7
|
+
import { i as resolveConfiguredAgentSkillsSync, r as resolveConfiguredAgentSkills } from "./agent-skills-server-D5qYU19g.mjs";
|
|
8
|
+
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-Burrzyam.mjs";
|
|
8
9
|
import { DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, createDocsMcpHttpHandler, createDocsMcpServer, createFilesystemDocsMcpSource, getDocsConfigSchema, normalizeDocsMcpRoute, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
9
|
-
import { n as isDocsCloudAskAIProvider, t as createDocsCloudAskAIResponse } from "./cloud-ask-ai-
|
|
10
|
+
import { n as isDocsCloudAskAIProvider, t as createDocsCloudAskAIResponse } from "./cloud-ask-ai-BRBK4RBG.mjs";
|
|
10
11
|
import { createDocsCloudRouteHandler, createDocsCloudServer } from "./docs-cloud-server.mjs";
|
|
11
|
-
import "./code-blocks-
|
|
12
|
-
import { n as resolveConfiguredAgentSkillsSync, t as resolveConfiguredAgentSkills } from "./agent-skills-server-B2EXn2QD.mjs";
|
|
12
|
+
import "./code-blocks-0wjOsqdJ.mjs";
|
|
13
13
|
import { renderDocsAgentSkillsBundle } from "./agent-skills-vite.mjs";
|
|
14
14
|
|
|
15
|
-
export { DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, DocsContentChangesRequestError, DocsPaginationCursorError, DocsSearchRequestError, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsContentSnapshot, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveLocalDocsMcpSearchConfig, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
|
|
15
|
+
export { DEFAULT_API_REFERENCE_OPENAPI_ROUTE, DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, 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, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, DocsContentChangesRequestError, DocsPaginationCursorError, DocsSearchRequestError, MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, buildApiReferenceHtmlDocument, buildApiReferenceHtmlDocumentAsync, buildApiReferenceOpenApiDocument, buildApiReferenceOpenApiDocumentAsync, buildApiReferencePageTitle, buildApiReferenceScalarCss, buildDocsAskAIContext, buildDocsContentSnapshot, buildDocsRetrievalDigestProjection, buildDocsReviewWorkflow, buildDocsReviewWorkflowPathFilters, buildDocsSearchDocuments, buildDocsSitemapManifest, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsCloudAskAIResponse, createDocsCloudRouteHandler, createDocsCloudServer, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMcpHttpHandler, createDocsMcpServer, createDocsSitemapResponse, createFilesystemDocsMcpSource, createMcpSearchAdapter, createSimpleSearchAdapter, createTypesenseSearchAdapter, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, enrichDocsSearchDocumentsWithProvenance, ensureDocsReviewWorkflow, extractDocsMarkdownPromptBlocks, formatDocsAskAIPackageHints, getDocsConfigSchema, getDocsRequestAnalyticsProperties, hydrateDocsContentChanges, inferDocsAskAIPackageHints, isApiReferenceOpenApiRequest, isDocsCloudAskAIProvider, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsRetrievalCanonicalUrl, normalizeDocsMcpRoute, normalizeDocsSearchFilters, normalizePromptProviderName, parsePromptStringArray, performDocsSearch, performDocsSearchWithMetadata, readDocsReviewConfigFromSource, readDocsSitemapManifest, readDocsSitemapManifestFromContentMap, remarkCodeGroup, renderDocsAgentSkillsBundle, renderDocsSitemapMarkdown, renderDocsSitemapXml, resolveApiReferenceConfig, resolveApiReferenceOpenApiDiscovery, resolveApiReferenceRenderer, resolveAskAISearchRequestConfig, resolveConfiguredAgentSkills, resolveConfiguredAgentSkillsSync, resolveDocsAnalyticsConfig, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsMcpConfig, resolveDocsObservabilityConfig, resolveDocsRetrievalLastModified, resolveDocsReviewConfig, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveLocalDocsMcpSearchConfig, resolvePromptProviderChoices, resolveSearchRequestConfig, runDocsGoldenTasks, runDocsMcpStdio, sanitizePromptText, serializeDocsIcon, serializeDocsIconRegistry, serializeOpenDocsProvider, serializeOpenDocsProviders, toDocsSitemapMarkdownUrl };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Ft as renderDocsSitemapXml, It as resolveDocsSitemapConfig, Pt as renderDocsSitemapMarkdown, jt as buildDocsSitemapManifest } from "./agent-
|
|
1
|
+
import { Ft as renderDocsSitemapXml, It as resolveDocsSitemapConfig, Pt as renderDocsSitemapMarkdown, jt as buildDocsSitemapManifest } from "./agent-Dze2Cy5B.mjs";
|
|
2
2
|
import "./markdown-sections-7OoA7ylx.mjs";
|
|
3
3
|
import "./standards-discovery-BKlEnK_H.mjs";
|
|
4
|
-
import "./
|
|
5
|
-
import "./sitemap-server-
|
|
6
|
-
import "./agent-
|
|
4
|
+
import "./content-change-hydration-DpQ0KdAD.mjs";
|
|
5
|
+
import "./sitemap-server-BefXEox6.mjs";
|
|
6
|
+
import "./agent-skills-server-D5qYU19g.mjs";
|
|
7
|
+
import "./agent-evals-Burrzyam.mjs";
|
|
7
8
|
import { createFilesystemDocsMcpSource } from "./mcp.mjs";
|
|
8
|
-
import "./code-blocks-
|
|
9
|
-
import "./agent-skills-server-B2EXn2QD.mjs";
|
|
9
|
+
import "./code-blocks-0wjOsqdJ.mjs";
|
|
10
10
|
import "./server.mjs";
|
|
11
11
|
import { _ as resolveDocsContentDir, a as loadDocsConfigModule, d as readNavTitle, g as resolveDocsConfigPath, h as readTopLevelStringProperty, l as readBooleanProperty, p as readStringProperty, t as extractNestedObjectLiteral } from "./config-Wcdj-D0a.mjs";
|
|
12
12
|
import { t as detectFramework } from "./utils-DpiIioYb.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as resolveDocsSitemapConfig } from "./agent-
|
|
1
|
+
import { It as resolveDocsSitemapConfig } from "./agent-Dze2Cy5B.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-
|
|
1
|
+
import { A as DocsAgentA2ASecurityScheme, M as DocsAgentA2ASkill, O as DocsAgentA2AProtocolBinding, h as DocsAgentA2AConfig, k as DocsAgentA2ASecurityRequirement, m as DocsAgentA2ACapabilities } from "./types-lGEHcx_6.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/standards-discovery.d.ts
|
|
4
4
|
declare const DEFAULT_API_CATALOG_ROUTE = "/.well-known/api-catalog";
|
|
@@ -1209,6 +1209,11 @@ interface DocsMcpToolsConfig {
|
|
|
1209
1209
|
searchFacets?: boolean;
|
|
1210
1210
|
/** Expose body-free document changes with polling through `list_content_changes`. */
|
|
1211
1211
|
listContentChanges?: boolean;
|
|
1212
|
+
/**
|
|
1213
|
+
* Expose `hydrate_content_changes` for budget-aware section bodies and deletion
|
|
1214
|
+
* tombstones after polling `list_content_changes`.
|
|
1215
|
+
*/
|
|
1216
|
+
hydrateContentChanges?: boolean;
|
|
1212
1217
|
/** Expose a `get_navigation` tool for the docs tree. */
|
|
1213
1218
|
getNavigation?: boolean;
|
|
1214
1219
|
/** Expose a `get_code_examples` tool for fenced code blocks and their metadata. */
|
|
@@ -2836,6 +2841,42 @@ interface DocsAgentEvaluationsConfig {
|
|
|
2836
2841
|
interface DocsAgentSkillsConfig {
|
|
2837
2842
|
/** Project-relative skill file, skill directory, or collection directory paths. */
|
|
2838
2843
|
paths: string | readonly string[];
|
|
2844
|
+
/**
|
|
2845
|
+
* Thresholds used by `docs doctor --agent` and `docs review` to keep skills
|
|
2846
|
+
* progressively disclosed and executable without loading avoidable context.
|
|
2847
|
+
*/
|
|
2848
|
+
progressiveDisclosure?: DocsAgentSkillsProgressiveDisclosureConfig;
|
|
2849
|
+
}
|
|
2850
|
+
type DocsAgentSkillsCompatibilityPolicy = "when-needed" | "always" | "off";
|
|
2851
|
+
interface DocsAgentSkillsProgressiveDisclosureConfig {
|
|
2852
|
+
/** Recommended maximum size of the complete SKILL.md document. @default 500 */
|
|
2853
|
+
maxSkillLines?: number;
|
|
2854
|
+
/**
|
|
2855
|
+
* Approximate token budget for the SKILL.md instructions after frontmatter.
|
|
2856
|
+
* Detailed material should move to `references/` when this is exceeded.
|
|
2857
|
+
*
|
|
2858
|
+
* @default 5000
|
|
2859
|
+
*/
|
|
2860
|
+
instructionTokenBudget?: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* Maximum local Markdown reference hops from SKILL.md.
|
|
2863
|
+
* `1` permits SKILL.md -> references/guide.md but flags deeper chains.
|
|
2864
|
+
*
|
|
2865
|
+
* @default 1
|
|
2866
|
+
*/
|
|
2867
|
+
maxReferenceDepth?: number;
|
|
2868
|
+
/**
|
|
2869
|
+
* When compatibility frontmatter is expected.
|
|
2870
|
+
*
|
|
2871
|
+
* - `"when-needed"`: require it when scripts or environment/tool requirements are present
|
|
2872
|
+
* - `"always"`: require it for every configured skill
|
|
2873
|
+
* - `"off"`: do not diagnose missing compatibility metadata
|
|
2874
|
+
*
|
|
2875
|
+
* @default "when-needed"
|
|
2876
|
+
*/
|
|
2877
|
+
compatibility?: DocsAgentSkillsCompatibilityPolicy;
|
|
2878
|
+
/** Diagnose scripts without dependency and validation guidance. @default true */
|
|
2879
|
+
checkScripts?: boolean;
|
|
2839
2880
|
}
|
|
2840
2881
|
/** Concise array shorthand for `agent.skills.paths`. */
|
|
2841
2882
|
type DocsAgentSkillsInput = string | readonly string[] | DocsAgentSkillsConfig;
|
|
@@ -3109,6 +3150,8 @@ interface DocsReviewRulesConfig {
|
|
|
3109
3150
|
agentSurfaceDrift?: DocsReviewSeverity;
|
|
3110
3151
|
/** Run configured agent golden tasks and report failed or unmeasured behavior. */
|
|
3111
3152
|
goldenTasks?: DocsReviewSeverity;
|
|
3153
|
+
/** Check configured Agent Skills for progressive disclosure and executable guidance. */
|
|
3154
|
+
agentSkills?: DocsReviewSeverity;
|
|
3112
3155
|
}
|
|
3113
3156
|
interface DocsReviewScoreConfig {
|
|
3114
3157
|
/**
|
|
@@ -3808,4 +3851,4 @@ interface DocsConfig {
|
|
|
3808
3851
|
og?: OGConfig;
|
|
3809
3852
|
}
|
|
3810
3853
|
//#endregion
|
|
3811
|
-
export {
|
|
3854
|
+
export { DocsAgentSkillsCompatibilityPolicy as $, LlmsTxtConfig as $n, DocsMcpSecurityConfig as $t, DocsAgentA2ASecurityScheme as A, DocsSearchFilterInput as An, SidebarPageNode as Ar, DocsCodeBlocksValidationMode as At, DocsAgentEvaluationAnswerRunner as B, DocsSitemapConfig as Bn, DocsContentSnapshotDocument as Bt, DocsAgentA2AOAuthDeviceCodeFlow as C, DocsSearchConfig as Cn, ReadingTimeFormat as Cr, DocsCloudPublishConfig as Ct, DocsAgentA2AOpenIdConnectSecurityScheme as D, DocsSearchFacetValue as Dn, SidebarFolderIndexBehavior as Dr, DocsCodeBlocksRunnerConfig as Dt, DocsAgentA2AOAuthPasswordFlow as E, DocsSearchFacet as En, SidebarConfig as Er, DocsCodeBlocksPlannerProvider as Et, DocsAgentContentChangesConfig as F, DocsSearchResult as Fn, TypographyConfig as Fr, DocsContentChangeSnapshotLoader as Ft, DocsAgentFeedbackContext as G, DocsTelemetryEventType as Gn, DocsMcpAuthPrincipal as Gt, DocsAgentEvaluationSurface as H, DocsTelemetryConfig as Hn, DocsFeedbackValue as Ht, DocsAgentEvaluationAnswerInput as I, DocsSearchResultType as In, UIConfig as Ir, DocsContentChangeSnapshotSaver as It, DocsAgentGoldenExampleVerification as J, DocsTheme as Jn, DocsMcpAuthenticateResult as Jt, DocsAgentFeedbackData as K, DocsTelemetryFeatures as Kn, DocsMcpAuthenticate as Kt, DocsAgentEvaluationAnswerProvider as L, DocsSearchSourcePage as Ln, DocsContentChangedDocument as Lt, DocsAgentA2ASkill as M, DocsSearchQuery as Mn, SimpleDocsSearchConfig as Mr, DocsConfig as Mt, DocsAgentCompactConfig as N, DocsSearchRequest as Nn, ThemeToggleConfig as Nr, DocsContentChangeDocument as Nt, DocsAgentA2AProtocolBinding as O, DocsSearchFacetsResponse as On, SidebarFolderNode as Or, DocsCodeBlocksRunnerProvider as Ot, DocsAgentConfig as P, DocsSearchResponse as Pn, TypesenseDocsSearchConfig as Pr, DocsContentChangeSnapshotContext as Pt, DocsAgentGoldenTaskFilters as Q, LastUpdatedConfig as Qn, DocsMcpProtectedResourceConfig as Qt, DocsAgentEvaluationAnswerRequest as R, DocsSearchWarning as Rn, DocsContentChangesResponse as Rt, DocsAgentA2AOAuthClientCredentialsFlow as S, DocsSearchChunkingConfig as Sn, ReadingTimeConfig as Sr, DocsCloudPreviewConfig as St, DocsAgentA2AOAuthImplicitFlow as T, DocsSearchEmbeddingsConfig as Tn, SidebarComponentProps as Tr, DocsCodeBlocksPlannerConfig as Tt, DocsAgentEvaluationTaskInput as U, DocsTelemetryEvent as Un, DocsI18nConfig as Ut, DocsAgentEvaluationSourceReference as V, DocsTelemetryAgentSurface as Vn, DocsFeedbackData as Vt, DocsAgentEvaluationsConfig as W, DocsTelemetryEventInput as Wn, DocsMcpAllowedOrigins as Wt, DocsAgentGoldenTask as X, FontStyle as Xn, DocsMcpCorsConfig as Xt, DocsAgentGoldenExpectedExample as Y, FeedbackConfig as Yn, DocsMcpConfig as Yt, DocsAgentGoldenTaskExpectation as Z, GithubConfig as Zn, DocsMcpOriginContext as Zt, DocsAgentA2AHttpAuthSecurityScheme as _, DocsRobotsRule as _n, PageAgentVerification as _r, DocsAskAIFeedbackValue as _t, ApiReferenceRenderer as a, DocsObservabilityEventInput as an, OpenDocsConfig as ar, DocsAgentTraceStatus as at, DocsAgentA2AOAuth2SecurityScheme as b, DocsSearchAdapterFactory as bn, PageSidebarFrontmatter as br, DocsCloudConfig as bt, ChangelogFrontmatter as c, DocsRetrievalSourceProvenance as cn, OpenDocsProviderId as cr, DocsAnalyticsEventInput as ct, CopyMarkdownFormat as d, DocsReviewCiMode as dn, OrderingItem as dr, DocsAnalyticsSource as dt, DocsMcpToolsConfig as en, LlmsTxtMaxCharsConfig as er, DocsAgentSkillsConfig as et, CustomDocsSearchConfig as f, DocsReviewConfig as fn, PageActionsConfig as fr, DocsAskAIActionData as ft, DocsAgentA2AExtension as g, DocsRobotsConfig as gn, PageAgentFrontmatter as gr, DocsAskAIFeedbackMessage as gt, DocsAgentA2AConfig as h, DocsReviewSeverity as hn, PageAgentFailureMode as hr, DocsAskAIFeedbackData as ht, ApiReferenceConfig as i, DocsObservabilityEvent as in, OGConfig as ir, DocsAgentTraceEventType as it, DocsAgentA2ASecurityScopeList as j, DocsSearchFilters as jn, SidebarTree as jr, DocsCodeBlocksValidationPolicy as jt, DocsAgentA2ASecurityRequirement as k, DocsSearchFilterField as kn, SidebarNode as kr, DocsCodeBlocksValidateConfig as kt, CodeBlockCopyData as l, DocsRetrievalSourceScope as ln, OpenDocsTarget as lr, DocsAnalyticsEventType as lt, DocsAgentA2ACapabilities as m, DocsReviewScoreConfig as mn, PageAgentCommand as mr, DocsAskAIFeedbackConfig as mt, AgentFeedbackConfig as n, DocsNav as nn, LlmsTxtSectionConfig as nr, DocsAgentSkillsProgressiveDisclosureConfig as nt, BreadcrumbConfig as o, DocsPaginatedSearchResponse as on, OpenDocsProvider as or, DocsAnalyticsConfig as ot, DocsAgentA2AApiKeySecurityScheme as p, DocsReviewRulesConfig as pn, PageAgentAppliesTo as pr, DocsAskAIActionType as pt, DocsAgentGoldenAnswerExpectation as q, DocsTelemetryFramework as qn, DocsMcpAuthenticateContext as qt, AlgoliaDocsSearchConfig as r, DocsObservabilityConfig as rn, McpDocsSearchConfig as rr, DocsAgentTraceEventInput as rt, ChangelogConfig as s, DocsRelatedItem as sn, OpenDocsProviderConfig as sr, DocsAnalyticsEvent as st, AIConfig as t, DocsMetadata as tn, LlmsTxtMaxCharsMode as tr, DocsAgentSkillsInput as tt, CopyMarkdownConfig as u, DocsReviewCiConfig as un, OpenGraphImage as ur, DocsAnalyticsInput as ut, DocsAgentA2AInterfaceConfig as v, DocsSearchAdapter as vn, PageFrontmatter as vr, DocsAskAIMcpConfig as vt, DocsAgentA2AOAuthFlows as w, DocsSearchDocument as wn, ResolvedDocsRelatedLink as wr, DocsCodeBlocksConfig as wt, DocsAgentA2AOAuthAuthorizationCodeFlow as x, DocsSearchAdapterPage as xn, PageTwitter as xr, DocsCloudFeatureConfig as xt, DocsAgentA2AMutualTlsSecurityScheme as y, DocsSearchAdapterContext as yn, PageOpenGraph as yr, DocsCloudApiKeyConfig as yt, DocsAgentEvaluationAnswerResult as z, DocsSearchWarningCode as zn, DocsContentSnapshot as zt };
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|