@farming-labs/docs 0.2.57 → 0.2.59
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-CxDzPqtl.mjs → agent-BFqyqEnC.mjs} +557 -71
- package/dist/{agent-v6R0V3lm.mjs → agent-DlxriaTs.mjs} +3 -3
- package/dist/agent-evals-kJs2Y9xR.mjs +2144 -0
- package/dist/{agent-export-CZR20g0e.mjs → agent-export-BgUaiW8f.mjs} +20 -10
- package/dist/{agents-BPonjolo.mjs → agents-Djh-HXih.mjs} +15 -7
- package/dist/cli/index.mjs +29 -29
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-C45jpBtp.mjs → cloud-BH_sHX64.mjs} +3 -3
- package/dist/{cloud-ask-ai-CvRVnwdK.d.mts → cloud-ask-ai-B2WnG4fF.d.mts} +1 -1
- package/dist/{code-blocks-C9awWzEQ.mjs → code-blocks-qe0T8-xe.mjs} +1 -1
- package/dist/{codeblocks-CSqgqbg-.mjs → codeblocks-Bq67u32v.mjs} +2 -2
- package/dist/{dev-BA2kRuCn.mjs → dev-CAQlbguk.mjs} +2 -2
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/docs-cloud-server.mjs +1 -1
- package/dist/{doctor-svA9Flsx.mjs → doctor-CO1VMcF_.mjs} +208 -41
- package/dist/{downgrade-BStNhyCc.mjs → downgrade-BZs86NVr.mjs} +2 -2
- package/dist/{agent-surface-drift-rGFS38Ak.mjs → golden-evaluations-BN9u2wxw.mjs} +60 -4
- package/dist/index.d.mts +98 -20
- package/dist/index.mjs +6 -5
- package/dist/{init-Dm0yDz6v.mjs → init-B_9ENq8Z.mjs} +3 -3
- package/dist/{mcp-BYIgKsPn.mjs → mcp-BAJr3wC2.mjs} +6 -6
- package/dist/mcp.d.mts +1 -1
- package/dist/mcp.mjs +149 -7
- package/dist/metadata-BDuewuzq.mjs +237 -0
- package/dist/{package-version-DRIc08EU.mjs → package-version-qik_4J6C.mjs} +1 -1
- package/dist/{reading-time-W_Id2ayC.mjs → reading-time-BkEft6SD.mjs} +307 -250
- package/dist/{review-DZ81wm7h.mjs → review-NC-sOdXn.mjs} +44 -32
- package/dist/{robots-mSc98PMp.mjs → robots-DskPvGPw.mjs} +4 -4
- package/dist/{robots-DRpoiYAV.mjs → robots-ltltiLJF.mjs} +4 -1
- package/dist/{search-9uEaC23e.d.mts → search-C1JitPwi.d.mts} +153 -6
- package/dist/{search-OHp36znm.mjs → search-D57JXQLj.mjs} +150 -39
- package/dist/{search-AMEoabYU.mjs → search-o4Ud6OXv.mjs} +6 -6
- package/dist/server.d.mts +108 -6
- package/dist/server.mjs +6 -6
- package/dist/{sitemap-Cyc0Bbbn.mjs → sitemap-Cq-Yj_iA.mjs} +7 -7
- package/dist/{sitemap-server-zFYctvCa.mjs → sitemap-server-C1ibVKOy.mjs} +2 -1
- package/dist/{types-R-DN23yw.d.mts → types-XHABMh_f.d.mts} +96 -6
- package/dist/{upgrade-CXYRNV0C.mjs → upgrade-BCJTCW3O.mjs} +2 -2
- package/package.json +1 -1
- package/dist/agent-evals-BD17jOqL.mjs +0 -1166
- /package/dist/{agent-scope-B8lptqCd.mjs → agent-scope-CCaIY1aK.mjs} +0 -0
- /package/dist/{cloud-ask-ai-1k0q6OAH.mjs → cloud-ask-ai-hnJfj8-X.mjs} +0 -0
- /package/dist/{config-DZbZiYEa.mjs → config-DASewQ0x.mjs} +0 -0
- /package/dist/{errors-BFUtdZfC.mjs → errors-CVqZ3kOO.mjs} +0 -0
- /package/dist/{templates-1Cod8KrJ.mjs → templates-CfQjpDWW.mjs} +0 -0
- /package/dist/{utils-DBCCkkJS.mjs → utils-6UCLxv4B.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as resolveDocsAudienceMdxContent, A as resolveDocsSitemapRequest, C as buildDocsSitemapManifest, D as renderDocsSitemapXml, E as renderDocsSitemapMarkdown, I as PromptAction, J as DocsAudienceMdxIssue, L as PromptProviderChoice, O as resolveDocsSitemapConfig, Q as resolveDocsAudienceExposure, R as SerializeOpenDocsProviderOptions, S as DocsSitemapResolvedConfig, T as readDocsSitemapManifestFromContentMap, X as findDocsAudienceMdxIssues, Y as DocsContentAudience, Z as resolveDocsAgentMdxContent, _ as DEFAULT_SITEMAP_XML_ROUTE, a as createMcpSearchAdapter, at as
|
|
1
|
+
import { $ as DocsCodeBlocksConfig, $t as DocsTelemetryFramework, A as DocsAgentGoldenTaskExpectation, An as ResolvedDocsRelatedLink, At as DocsReviewRulesConfig, B as DocsAnalyticsSource, Bn as TypesenseDocsSearchConfig, Bt as DocsSearchDocument, C as DocsAgentEvaluationsConfig, Cn as PageAgentVerification, Ct as DocsObservabilityConfig, D as DocsAgentGoldenExampleVerification, Dn as PageTwitter, Dt as DocsReviewCiConfig, E as DocsAgentGoldenAnswerExpectation, En as PageSidebarFrontmatter, Et as DocsRelatedItem, F as DocsAnalyticsConfig, Fn as SidebarNode, Ft as DocsSearchAdapter, G as DocsAskAIFeedbackMessage, Gt as DocsSearchSourcePage, H as DocsAskAIActionType, Hn as UIConfig, Ht as DocsSearchQuery, I as DocsAnalyticsEvent, In as SidebarPageNode, It as DocsSearchAdapterContext, J as DocsCloudApiKeyConfig, Jt as DocsTelemetryConfig, K as DocsAskAIFeedbackValue, Kt as DocsSitemapConfig, L as DocsAnalyticsEventInput, Ln as SidebarTree, Lt as DocsSearchAdapterFactory, M as DocsAgentTraceEventInput, Mn as SidebarConfig, Mt as DocsReviewSeverity, N as DocsAgentTraceEventType, Nn as SidebarFolderIndexBehavior, Nt as DocsRobotsConfig, O as DocsAgentGoldenExpectedExample, On as ReadingTimeConfig, Ot as DocsReviewCiMode, P as DocsAgentTraceStatus, Pn as SidebarFolderNode, Pt as DocsRobotsRule, Q as DocsCloudPublishConfig, Qt as DocsTelemetryFeatures, R as DocsAnalyticsEventType, Rn as SimpleDocsSearchConfig, Rt as DocsSearchChunkingConfig, S as DocsAgentEvaluationTaskInput, Sn as PageAgentFrontmatter, St as DocsNav, T as DocsAgentFeedbackData, Tn as PageOpenGraph, Tt as DocsObservabilityEventInput, U as DocsAskAIFeedbackConfig, Ut as DocsSearchResult, V as DocsAskAIActionData, Vn as TypographyConfig, Vt as DocsSearchEmbeddingsConfig, W as DocsAskAIFeedbackData, Wt as DocsSearchResultType, X as DocsCloudFeatureConfig, Xt as DocsTelemetryEventInput, Y as DocsCloudConfig, Yt as DocsTelemetryEvent, Z as DocsCloudPreviewConfig, Zt as DocsTelemetryEventType, _ as DocsAgentEvaluationAnswerRequest, _n as OrderingItem, _t as DocsMcpCorsConfig, a as ApiReferenceRenderer, an as LlmsTxtConfig, at as DocsCodeBlocksValidationMode, b as DocsAgentEvaluationSourceReference, bn as PageAgentCommand, bt as DocsMcpToolsConfig, c as ChangelogFrontmatter, cn as LlmsTxtSectionConfig, ct as DocsFeedbackData, d as CopyMarkdownFormat, dn as OpenDocsConfig, dt as DocsMcpAllowedOrigins, en as DocsTheme, et as DocsCodeBlocksPlannerConfig, f as CustomDocsSearchConfig, fn as OpenDocsProvider, ft as DocsMcpAuthPrincipal, g as DocsAgentEvaluationAnswerProvider, gn as OpenGraphImage, gt as DocsMcpConfig, h as DocsAgentEvaluationAnswerInput, hn as OpenDocsTarget, ht as DocsMcpAuthenticateResult, i as ApiReferenceConfig, in as LastUpdatedConfig, it as DocsCodeBlocksValidateConfig, j as DocsAgentGoldenTaskFilters, jn as SidebarComponentProps, jt as DocsReviewScoreConfig, k as DocsAgentGoldenTask, kn as ReadingTimeFormat, kt as DocsReviewConfig, l as CodeBlockCopyData, ln as McpDocsSearchConfig, lt as DocsFeedbackValue, m as DocsAgentConfig, mn as OpenDocsProviderId, mt as DocsMcpAuthenticateContext, n as AgentFeedbackConfig, nn as FontStyle, nt as DocsCodeBlocksRunnerConfig, o as BreadcrumbConfig, on as LlmsTxtMaxCharsConfig, ot as DocsCodeBlocksValidationPolicy, p as DocsAgentCompactConfig, pn as OpenDocsProviderConfig, pt as DocsMcpAuthenticate, q as DocsAskAIMcpConfig, qt as DocsTelemetryAgentSurface, r as AlgoliaDocsSearchConfig, rn as GithubConfig, rt as DocsCodeBlocksRunnerProvider, s as ChangelogConfig, sn as LlmsTxtMaxCharsMode, st as DocsConfig, t as AIConfig, tn as FeedbackConfig, tt as DocsCodeBlocksPlannerProvider, u as CopyMarkdownConfig, un as OGConfig, ut as DocsI18nConfig, v as DocsAgentEvaluationAnswerResult, vn as PageActionsConfig, vt as DocsMcpOriginContext, w as DocsAgentFeedbackContext, wn as PageFrontmatter, wt as DocsObservabilityEvent, x as DocsAgentEvaluationSurface, xn as PageAgentFailureMode, xt as DocsMetadata, y as DocsAgentEvaluationAnswerRunner, yn as PageAgentAppliesTo, yt as DocsMcpSecurityConfig, z as DocsAnalyticsInput, zn as ThemeToggleConfig, zt as DocsSearchConfig } from "./types-XHABMh_f.mjs";
|
|
2
|
+
import { $ as resolveDocsAudienceMdxContent, A as resolveDocsSitemapRequest, At as resolveDocsStandardsDiscoveryRequest, Bt as emitDocsObservabilityEvent, C as buildDocsSitemapManifest, Ct as buildDocsAgentSkillsIndex, D as renderDocsSitemapXml, Dt as isDocsStandardsDiscoveryRequest, E as renderDocsSitemapMarkdown, Et as getDocsDiscoveryLinkHeader, Ft as ResolvedDocsObservabilityConfig, Ht as resolveDocsAnalyticsConfig, I as PromptAction, It as createDocsAgentTraceContext, J as DocsAudienceMdxIssue, L as PromptProviderChoice, Lt as createDocsAgentTraceId, Mt as DOCS_AGENT_TRACE_EVENT_TYPES, Nt as DocsAgentTraceContext, O as resolveDocsSitemapConfig, Ot as resolveDocsDiscoveryApiRoute, Pt as ResolvedDocsAnalyticsConfig, Q as resolveDocsAudienceExposure, R as SerializeOpenDocsProviderOptions, Rt as emitDocsAgentTraceEvent, S as DocsSitemapResolvedConfig, St as appendDocsDiscoveryLinkHeader, T as readDocsSitemapManifestFromContentMap, Tt as createDocsStandardsResponse, Ut as resolveDocsObservabilityConfig, Vt as getDocsRequestAnalyticsProperties, X as findDocsAudienceMdxIssues, Y as DocsContentAudience, Z as resolveDocsAgentMdxContent, _ as DEFAULT_SITEMAP_XML_ROUTE, _t as DocsDiscoveryApiRouteOptions, a as createMcpSearchAdapter, at as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, b as DocsSitemapManifestPage, bt as DocsStandardsDiscoveryRequest, c as formatDocsAskAIPackageHints, ct as DEFAULT_AGENT_SKILL_FORMAT, d as resolveAskAISearchRequestConfig, dt as DocsAgentSkillIndexEntry, et as AGENT_SKILLS_DISCOVERY_SCHEMA_URI, f as resolveSearchRequestConfig, ft as DocsAgentSkillsIndex, g as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, gt as DocsApiCatalogOptions, h as DEFAULT_SITEMAP_MD_ROUTE, ht as DocsApiCatalogLinkTarget, i as createCustomSearchAdapter, it as DEFAULT_AGENT_SKILLS_INDEX_FORMAT, j as toDocsSitemapMarkdownUrl, jt as sha256DocsDiscoveryContent, k as resolveDocsSitemapPageLastmod, kt as resolveDocsPublishedAgentSkill, l as inferDocsAskAIPackageHints, lt as DEFAULT_API_CATALOG_FORMAT, m as DEFAULT_SITEMAP_MD_DOCS_ROUTE, mt as DocsApiCatalogLinkContext, n as buildDocsSearchDocuments, nt as API_CATALOG_PROFILE_URI, o as createSimpleSearchAdapter, ot as DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, p as DEFAULT_SITEMAP_MANIFEST_PATH, pt as DocsApiCatalog, r as createAlgoliaSearchAdapter, rt as CreateDocsStandardsResponseOptions, s as createTypesenseSearchAdapter, st as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, t as buildDocsAskAIContext, tt as API_CATALOG_MEDIA_TYPE, u as performDocsSearch, ut as DEFAULT_API_CATALOG_ROUTE, v as DocsSitemapFormat, vt as DocsPublishedAgentSkill, w as createDocsSitemapResponse, wt as buildDocsApiCatalog, x as DocsSitemapPageInput, xt as DocsStandardsDiscoveryRouteOptions, y as DocsSitemapManifest, yt as DocsPublishedAgentSkillOptions, z as SerializedOpenDocsProvider, zt as emitDocsAnalyticsEvent } from "./search-C1JitPwi.mjs";
|
|
3
3
|
import { DocsMcpPage, DocsMcpResolvedConfig } from "./mcp.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/define-docs.d.ts
|
|
@@ -128,9 +128,9 @@ declare function resolveDocsLocale(searchParams: URLSearchParams, i18n?: Resolve
|
|
|
128
128
|
declare function resolveDocsPath(pathname: string, entry: string): DocsPathMatch;
|
|
129
129
|
//#endregion
|
|
130
130
|
//#region src/agent-conformance.d.ts
|
|
131
|
-
declare const DOCS_AGENT_CONTRACT_VERSION = "1.
|
|
131
|
+
declare const DOCS_AGENT_CONTRACT_VERSION = "1.1";
|
|
132
132
|
type DocsAgentAdapter = "next" | "tanstack-start" | "sveltekit" | "astro" | "nuxt";
|
|
133
|
-
type DocsAgentContractSurface = "discovery" | "config" | "diagnostics" | "feedback-schema" | "markdown" | "markdown-accept" | "markdown-locale" | "markdown-missing" | "llms" | "llms-full" | "agents" | "skill" | "sitemap-xml" | "sitemap-markdown" | "robots" | "mcp";
|
|
133
|
+
type DocsAgentContractSurface = "discovery" | "api-catalog" | "api-catalog-head" | "agent-skills-index" | "agent-skills-index-head" | "agent-skill" | "agent-skill-head" | "config" | "diagnostics" | "feedback-schema" | "markdown" | "markdown-accept" | "markdown-locale" | "markdown-missing" | "llms" | "llms-full" | "agents" | "skill" | "sitemap-xml" | "sitemap-markdown" | "robots" | "mcp";
|
|
134
134
|
interface DocsAgentContractRequest {
|
|
135
135
|
url: string;
|
|
136
136
|
init?: RequestInit;
|
|
@@ -139,6 +139,12 @@ interface DocsAgentContractExpectation {
|
|
|
139
139
|
statuses: readonly number[];
|
|
140
140
|
contentTypes: readonly string[];
|
|
141
141
|
bodyIncludes?: readonly string[];
|
|
142
|
+
bodyEmpty?: boolean;
|
|
143
|
+
headerIncludes?: Readonly<Record<string, readonly string[]>>;
|
|
144
|
+
linkRelations?: readonly {
|
|
145
|
+
href: string;
|
|
146
|
+
rel: string;
|
|
147
|
+
}[];
|
|
142
148
|
}
|
|
143
149
|
interface DocsAgentContractCase {
|
|
144
150
|
surface: DocsAgentContractSurface;
|
|
@@ -394,8 +400,10 @@ interface DocsAgentFeedbackDiscoveryConfig {
|
|
|
394
400
|
route?: string;
|
|
395
401
|
schemaRoute?: string;
|
|
396
402
|
}
|
|
397
|
-
interface DocsLlmsDiscoveryConfig {
|
|
403
|
+
interface DocsLlmsDiscoveryConfig extends DocsDiscoveryApiRouteOptions {
|
|
398
404
|
enabled?: boolean;
|
|
405
|
+
/** Whether this deployment actually serves the RFC 9727 API catalog. Defaults to true. */
|
|
406
|
+
apiCatalog?: boolean;
|
|
399
407
|
baseUrl?: string;
|
|
400
408
|
siteTitle?: string;
|
|
401
409
|
siteDescription?: string;
|
|
@@ -406,6 +414,8 @@ interface DocsLlmsDiscoveryConfig {
|
|
|
406
414
|
interface DocsOpenApiDiscoveryConfig {
|
|
407
415
|
enabled?: boolean;
|
|
408
416
|
url?: string;
|
|
417
|
+
/** Whether `url` came from the framework default or explicit configuration. */
|
|
418
|
+
urlSource?: "default" | "configured";
|
|
409
419
|
source?: "generated" | "configured";
|
|
410
420
|
specUrl?: string;
|
|
411
421
|
apiReferencePath?: string;
|
|
@@ -413,6 +423,8 @@ interface DocsOpenApiDiscoveryConfig {
|
|
|
413
423
|
interface DocsOpenApiResolvedDiscoveryConfig {
|
|
414
424
|
enabled: boolean;
|
|
415
425
|
url?: string;
|
|
426
|
+
/** Whether `url` came from the framework default or explicit configuration. */
|
|
427
|
+
urlSource?: "default" | "configured";
|
|
416
428
|
source?: "generated" | "configured";
|
|
417
429
|
specUrl?: string;
|
|
418
430
|
apiReferencePath?: string;
|
|
@@ -460,7 +472,7 @@ interface DocsDiagnosticsFeature {
|
|
|
460
472
|
routes?: Record<string, string | null>;
|
|
461
473
|
provider?: string;
|
|
462
474
|
mode?: string;
|
|
463
|
-
transport?: "GET" | "POST" | "GET/POST";
|
|
475
|
+
transport?: "GET" | "POST" | "GET/HEAD" | "GET/POST";
|
|
464
476
|
tools?: Record<string, boolean>;
|
|
465
477
|
human?: boolean;
|
|
466
478
|
agent?: boolean;
|
|
@@ -476,6 +488,9 @@ interface DocsDiagnostics {
|
|
|
476
488
|
config: string;
|
|
477
489
|
diagnostics: string;
|
|
478
490
|
agentSpec: string;
|
|
491
|
+
apiCatalog: string | null;
|
|
492
|
+
agentSkillsIndex: string;
|
|
493
|
+
agentSkillsArtifact: string;
|
|
479
494
|
agents: string;
|
|
480
495
|
skill: string;
|
|
481
496
|
search: string | null;
|
|
@@ -493,6 +508,7 @@ interface DocsDiagnostics {
|
|
|
493
508
|
staticExport: DocsDiagnosticsFeature;
|
|
494
509
|
config: DocsDiagnosticsFeature;
|
|
495
510
|
diagnostics: DocsDiagnosticsFeature;
|
|
511
|
+
apiCatalog: DocsDiagnosticsFeature;
|
|
496
512
|
search: DocsDiagnosticsFeature;
|
|
497
513
|
ai: DocsDiagnosticsFeature;
|
|
498
514
|
mcp: DocsDiagnosticsFeature;
|
|
@@ -508,8 +524,10 @@ interface DocsDiagnostics {
|
|
|
508
524
|
warnings: DocsDiagnosticsIssue[];
|
|
509
525
|
errors: DocsDiagnosticsIssue[];
|
|
510
526
|
}
|
|
511
|
-
interface DocsDiagnosticsOptions {
|
|
527
|
+
interface DocsDiagnosticsOptions extends DocsDiscoveryApiRouteOptions {
|
|
512
528
|
adapter?: string;
|
|
529
|
+
/** Effective RFC 9727 catalog availability after runtime overrides are applied. */
|
|
530
|
+
apiCatalog?: boolean;
|
|
513
531
|
entry?: string;
|
|
514
532
|
i18n?: ResolvedDocsI18n | null;
|
|
515
533
|
mcp?: DocsMcpResolvedConfig;
|
|
@@ -567,9 +585,13 @@ interface DocsLlmsTxtMaxCharsIssue {
|
|
|
567
585
|
label: string;
|
|
568
586
|
message: string;
|
|
569
587
|
}
|
|
570
|
-
interface DocsAgentDiscoverySpecOptions {
|
|
588
|
+
interface DocsAgentDiscoverySpecOptions extends DocsDiscoveryApiRouteOptions {
|
|
571
589
|
origin: string;
|
|
572
590
|
entry?: string;
|
|
591
|
+
/** Public rendered docs path when it differs from `entry`. */
|
|
592
|
+
docsPath?: string;
|
|
593
|
+
/** Whether this deployment actually serves the RFC 9727 API catalog. Defaults to true. */
|
|
594
|
+
apiCatalog?: boolean;
|
|
573
595
|
i18n?: ResolvedDocsI18n | null;
|
|
574
596
|
search?: boolean | DocsSearchConfig;
|
|
575
597
|
mcp: DocsMcpResolvedConfig;
|
|
@@ -583,9 +605,13 @@ interface DocsAgentDiscoverySpecOptions {
|
|
|
583
605
|
signatureAgentHeader?: boolean;
|
|
584
606
|
};
|
|
585
607
|
}
|
|
586
|
-
interface DocsSkillDocumentOptions {
|
|
608
|
+
interface DocsSkillDocumentOptions extends DocsDiscoveryApiRouteOptions {
|
|
587
609
|
origin: string;
|
|
588
610
|
entry?: string;
|
|
611
|
+
/** Public rendered docs path when it differs from `entry`. */
|
|
612
|
+
docsPath?: string;
|
|
613
|
+
/** Whether this deployment actually serves the RFC 9727 API catalog. Defaults to true. */
|
|
614
|
+
apiCatalog?: boolean;
|
|
589
615
|
search?: boolean | DocsSearchConfig;
|
|
590
616
|
mcp: DocsMcpResolvedConfig;
|
|
591
617
|
feedback?: DocsAgentFeedbackDiscoveryConfig;
|
|
@@ -599,6 +625,11 @@ interface DocsSkillDocumentOptions {
|
|
|
599
625
|
};
|
|
600
626
|
}
|
|
601
627
|
interface DocsAgentsDocumentOptions extends DocsSkillDocumentOptions {}
|
|
628
|
+
interface DocsStandardsDiscoveryResponseOptions extends DocsAgentDiscoverySpecOptions {
|
|
629
|
+
request: Request;
|
|
630
|
+
preferredSkillDocument?: string | null;
|
|
631
|
+
fallbackSkillDocument: string;
|
|
632
|
+
}
|
|
602
633
|
interface DocsAgentContractMcpTools {
|
|
603
634
|
list?: "list_tasks";
|
|
604
635
|
read?: "read_task";
|
|
@@ -626,7 +657,7 @@ interface DocsMarkdownDocumentOptions {
|
|
|
626
657
|
origin?: string;
|
|
627
658
|
sitemap?: boolean | DocsSitemapConfig;
|
|
628
659
|
}
|
|
629
|
-
interface DocsMarkdownNotFoundOptions {
|
|
660
|
+
interface DocsMarkdownNotFoundOptions extends DocsDiscoveryApiRouteOptions {
|
|
630
661
|
entry?: string;
|
|
631
662
|
requestedPath: string;
|
|
632
663
|
origin?: string;
|
|
@@ -666,6 +697,8 @@ declare function normalizeDocsPathSegment(value: string): string;
|
|
|
666
697
|
declare function normalizeDocsUrlPath(value: string): string;
|
|
667
698
|
declare function isDocsConfigRequest(url: URL): boolean;
|
|
668
699
|
declare function isDocsDiagnosticsRequest(url: URL): boolean;
|
|
700
|
+
/** Prefer an explicitly configured API route; otherwise infer a query-form route from the request. */
|
|
701
|
+
declare function resolveDocsRequestApiRoute(url: URL, configuredApiRoute?: string): string;
|
|
669
702
|
declare function buildDocsConfigMap(config: DocsConfig | Record<string, unknown>, options?: {
|
|
670
703
|
file?: string;
|
|
671
704
|
}): DocsConfigMap;
|
|
@@ -693,25 +726,45 @@ declare function resolveDocsMarkdownCanonicalUrl({
|
|
|
693
726
|
declare function getDocsMarkdownCanonicalLinkHeader(options: DocsMarkdownCanonicalUrlOptions): string;
|
|
694
727
|
declare function resolveDocsLlmsTxtSections(llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig): DocsLlmsTxtResolvedSection[];
|
|
695
728
|
declare function matchesDocsLlmsTxtSection(pageUrl: string, section: DocsLlmsTxtResolvedSection): boolean;
|
|
696
|
-
declare function resolveDocsLlmsTxtRequest(url: URL, llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig, basePath?: string): DocsLlmsTxtRequest | null;
|
|
729
|
+
declare function resolveDocsLlmsTxtRequest(url: URL, llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig, basePath?: string, options?: DocsDiscoveryApiRouteOptions): DocsLlmsTxtRequest | null;
|
|
697
730
|
declare function renderDocsLlmsTxt(pages: DocsLlmsTxtPageInput[], options?: DocsLlmsDiscoveryConfig): DocsLlmsTxtGeneratedContent;
|
|
698
731
|
declare function selectDocsLlmsTxtContent(content: DocsLlmsTxtGeneratedContent, request: DocsLlmsTxtRequest): DocsLlmsTxtSelectedContent | null;
|
|
699
732
|
declare function getDocsLlmsTxtMaxCharsIssue(label: string, content: string, maxChars: DocsLlmsTxtResolvedMaxChars): DocsLlmsTxtMaxCharsIssue | null;
|
|
700
|
-
|
|
733
|
+
/** Build and serve standards-based discovery without replacing the custom agent manifest. */
|
|
734
|
+
declare function createDocsStandardsDiscoveryResponse({
|
|
735
|
+
request,
|
|
736
|
+
preferredSkillDocument,
|
|
737
|
+
fallbackSkillDocument,
|
|
738
|
+
origin,
|
|
739
|
+
entry,
|
|
740
|
+
docsPath,
|
|
741
|
+
apiCatalog: explicitApiCatalog,
|
|
742
|
+
apiRoute,
|
|
743
|
+
i18n: _i18n,
|
|
744
|
+
search: _search,
|
|
745
|
+
mcp,
|
|
746
|
+
feedback,
|
|
747
|
+
llms,
|
|
748
|
+
sitemap,
|
|
749
|
+
robots,
|
|
750
|
+
openapi,
|
|
751
|
+
markdown: _markdown
|
|
752
|
+
}: DocsStandardsDiscoveryResponseOptions): Promise<Response | null>;
|
|
753
|
+
declare function isDocsAgentDiscoveryRequest(url: URL, options?: DocsDiscoveryApiRouteOptions): boolean;
|
|
701
754
|
declare function isDocsMcpRequest(url: URL): boolean;
|
|
702
755
|
declare function buildDocsMcpEndpointCandidates(baseUrl: string, routes?: readonly string[], options?: DocsMcpEndpointCandidateOptions): DocsMcpEndpointCandidate[];
|
|
703
|
-
declare function isDocsSkillRequest(url: URL): boolean;
|
|
756
|
+
declare function isDocsSkillRequest(url: URL, options?: DocsDiscoveryApiRouteOptions): boolean;
|
|
704
757
|
declare function resolveDocsSkillFormat(url: URL): "skill" | null;
|
|
705
|
-
declare function isDocsAgentsRequest(url: URL): boolean;
|
|
758
|
+
declare function isDocsAgentsRequest(url: URL, options?: DocsDiscoveryApiRouteOptions): boolean;
|
|
706
759
|
declare function resolveDocsAgentsFormat(url: URL): "agents" | null;
|
|
707
|
-
declare function isDocsPublicGetRequest(entry: string, url: URL, request: Request, options?: {
|
|
760
|
+
declare function isDocsPublicGetRequest(entry: string, url: URL, request: Request, options?: DocsDiscoveryApiRouteOptions & {
|
|
708
761
|
sitemap?: boolean | DocsSitemapConfig;
|
|
709
762
|
llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig;
|
|
710
763
|
robots?: boolean | DocsRobotsConfig;
|
|
711
764
|
}): boolean;
|
|
712
|
-
declare function isDocsLlmsTxtPublicRequest(url: URL, llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig, basePath?: string): boolean;
|
|
713
|
-
declare function resolveDocsLlmsTxtFormat(url: URL, basePath?: string): "llms" | "llms-full" | null;
|
|
714
|
-
declare function resolveDocsMarkdownRequest(entry: string, url: URL, request: Request): {
|
|
765
|
+
declare function isDocsLlmsTxtPublicRequest(url: URL, llms?: boolean | DocsLlmsDiscoveryConfig | LlmsTxtConfig, basePath?: string, options?: DocsDiscoveryApiRouteOptions): boolean;
|
|
766
|
+
declare function resolveDocsLlmsTxtFormat(url: URL, basePath?: string, options?: DocsDiscoveryApiRouteOptions): "llms" | "llms-full" | null;
|
|
767
|
+
declare function resolveDocsMarkdownRequest(entry: string, url: URL, request: Request, options?: DocsDiscoveryApiRouteOptions): {
|
|
715
768
|
requestedPath: string;
|
|
716
769
|
} | null;
|
|
717
770
|
declare function hasDocsMarkdownSignatureAgent(request: Request): boolean;
|
|
@@ -731,6 +784,7 @@ declare function resolveDocsMarkdownRecovery({
|
|
|
731
784
|
}: DocsMarkdownNotFoundOptions): DocsMarkdownRecoveryResult;
|
|
732
785
|
declare function renderDocsMarkdownNotFound({
|
|
733
786
|
entry,
|
|
787
|
+
apiRoute,
|
|
734
788
|
requestedPath,
|
|
735
789
|
origin,
|
|
736
790
|
pages,
|
|
@@ -748,6 +802,8 @@ declare function resolveDocsAgentContractMcpTools(mcp: DocsMcpResolvedConfig): D
|
|
|
748
802
|
declare function buildDocsAgentDiscoverySpec({
|
|
749
803
|
origin,
|
|
750
804
|
entry,
|
|
805
|
+
apiRoute,
|
|
806
|
+
apiCatalog: explicitApiCatalog,
|
|
751
807
|
i18n,
|
|
752
808
|
search,
|
|
753
809
|
mcp,
|
|
@@ -782,6 +838,8 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
782
838
|
agents: boolean;
|
|
783
839
|
llms: boolean;
|
|
784
840
|
skills: boolean;
|
|
841
|
+
apiCatalog: boolean;
|
|
842
|
+
agentSkillsDiscovery: boolean;
|
|
785
843
|
mcp: boolean;
|
|
786
844
|
search: boolean;
|
|
787
845
|
sitemap: boolean;
|
|
@@ -793,6 +851,10 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
793
851
|
locales: boolean;
|
|
794
852
|
};
|
|
795
853
|
api: {
|
|
854
|
+
agentSkillsIndex: string;
|
|
855
|
+
openapi: string;
|
|
856
|
+
apiCatalog?: string | undefined;
|
|
857
|
+
apiCatalogQuery?: string | undefined;
|
|
796
858
|
docs: string;
|
|
797
859
|
config: string;
|
|
798
860
|
diagnostics: string;
|
|
@@ -803,7 +865,13 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
803
865
|
agentSpecWellKnownJson: string;
|
|
804
866
|
agentSpecQuery: string;
|
|
805
867
|
agents: string;
|
|
806
|
-
|
|
868
|
+
};
|
|
869
|
+
apiCatalog: {
|
|
870
|
+
enabled: boolean;
|
|
871
|
+
route: string | null;
|
|
872
|
+
api: string | null;
|
|
873
|
+
mediaType: string;
|
|
874
|
+
profile: string;
|
|
807
875
|
};
|
|
808
876
|
config: {
|
|
809
877
|
format: string;
|
|
@@ -929,6 +997,14 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
929
997
|
generatedFallback: boolean;
|
|
930
998
|
registry: string;
|
|
931
999
|
install: string;
|
|
1000
|
+
discovery: {
|
|
1001
|
+
schema: string;
|
|
1002
|
+
index: string;
|
|
1003
|
+
artifact: string;
|
|
1004
|
+
apiIndex: string;
|
|
1005
|
+
apiArtifact: string;
|
|
1006
|
+
digest: string;
|
|
1007
|
+
};
|
|
932
1008
|
recommended: {
|
|
933
1009
|
name: string;
|
|
934
1010
|
description: string;
|
|
@@ -990,6 +1066,8 @@ interface DocsRobotsResolvedConfig {
|
|
|
990
1066
|
}
|
|
991
1067
|
interface DocsRobotsRenderOptions {
|
|
992
1068
|
entry?: string;
|
|
1069
|
+
/** Include the RFC 9727 catalog route only when the deployment actually serves it. */
|
|
1070
|
+
apiCatalog?: boolean;
|
|
993
1071
|
sitemap?: boolean | DocsSitemapConfig;
|
|
994
1072
|
baseUrl?: string;
|
|
995
1073
|
robots?: boolean | DocsRobotsConfig;
|
|
@@ -1018,4 +1096,4 @@ declare function renderDocsRobotsGeneratedBlock(options?: DocsRobotsRenderOption
|
|
|
1018
1096
|
declare function upsertDocsRobotsGeneratedBlock(existing: string, block: string): string;
|
|
1019
1097
|
declare function analyzeDocsRobotsTxt(content: string, options?: DocsRobotsRenderOptions): DocsRobotsAnalysis;
|
|
1020
1098
|
//#endregion
|
|
1021
|
-
export { type AIConfig, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type BreadcrumbConfig, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CustomDocsSearchConfig, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsMarkdownAgentDetection, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPathMatch, type DocsRelatedItem, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchQuery, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };
|
|
1099
|
+
export { AGENT_SKILLS_DISCOVERY_SCHEMA_URI, type AIConfig, API_CATALOG_MEDIA_TYPE, API_CATALOG_PROFILE_URI, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type BreadcrumbConfig, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CreateDocsStandardsResponseOptions, type CustomDocsSearchConfig, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SKILLS_INDEX_FORMAT, DEFAULT_AGENT_SKILLS_INDEX_ROUTE, DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, DEFAULT_AGENT_SKILL_FORMAT, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_API_CATALOG_FORMAT, DEFAULT_API_CATALOG_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentSkillIndexEntry, type DocsAgentSkillsIndex, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsApiCatalog, type DocsApiCatalogLinkContext, type DocsApiCatalogLinkTarget, type DocsApiCatalogOptions, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsDiscoveryApiRouteOptions, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsMarkdownAgentDetection, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPathMatch, type DocsPublishedAgentSkill, type DocsPublishedAgentSkillOptions, type DocsRelatedItem, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchQuery, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStandardsDiscoveryRequest, type DocsStandardsDiscoveryResponseOptions, type DocsStandardsDiscoveryRouteOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, appendDocsDiscoveryLinkHeader, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAgentSkillsIndex, buildDocsApiCatalog, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createDocsStandardsDiscoveryResponse, createDocsStandardsResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsDiscoveryLinkHeader, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isDocsStandardsDiscoveryRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsDiscoveryApiRoute, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsPublishedAgentSkill, resolveDocsRequestApiRoute, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsStandardsDiscoveryRequest, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, sha256DocsDiscoveryContent, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as resolveReadingTimeOptions, c as runDocsAgentConformance, d as extendTheme, f as deepMerge, i as resolveReadingTimeFromSource, m as defineDocs, n as resolvePageReadingTime, o as DOCS_AGENT_CONTRACT_VERSION, p as resolveChangelogConfig, r as resolveReadingTimeFromContent, s as createDocsAgentContractCases, t as estimateReadingTimeMinutes, u as createTheme } from "./reading-time-BkEft6SD.mjs";
|
|
2
2
|
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";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { A as getDocsTelemetryFeatures, C as resolvePageSidebarFolderIndexBehavior, D as emitDocsTelemetryEvent, E as emitDocsTelemetryAgentSurfaceEvent, M as isLocalDocsTelemetryOrigin, N as normalizeDocsTelemetryOrigin, O as emitDocsTelemetryMcpToolEvent, P as resolveDocsTelemetryConfig, S as applySidebarFolderIndexBehavior, T as resolveSidebarFolderIndexBehaviorForPath, _ as hashGeneratedAgentContent, a as createMcpSearchAdapter, b as serializeGeneratedAgentDocument, c as formatDocsAskAIPackageHints, d as resolveAskAISearchRequestConfig, f as resolveSearchRequestConfig, g as GENERATED_AGENT_PROVENANCE_VERSION, h as GENERATED_AGENT_PROVENANCE_MARKER, i as createCustomSearchAdapter, j as inferDocsTelemetryAgentSurface, k as emitDocsTelemetryProjectEvent, l as inferDocsAskAIPackageHints, n as buildDocsSearchDocuments, o as createSimpleSearchAdapter, r as createAlgoliaSearchAdapter, s as createTypesenseSearchAdapter, t as buildDocsAskAIContext, u as performDocsSearch, v as normalizeGeneratedAgentContent, w as resolveSidebarFolderIndexBehavior, x as stripGeneratedAgentProvenance, y as parseGeneratedAgentDocument } from "./search-
|
|
3
|
+
import { $ as matchesDocsLlmsTxtSection, $t as appendDocsDiscoveryLinkHeader, A as DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, At as DEFAULT_SITEMAP_MD_DOCS_ROUTE, B as findDocsMarkdownPage, Bt as resolveDocsSitemapPageLastmod, C as DEFAULT_OPENAPI_SCHEMA_ROUTE, Ct as validateDocsAgentFeedbackPayload, D as DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, Dt as resolveDocsAudienceExposure, E as DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, Et as resolveDocsAgentMdxContent, F as buildDocsDiagnostics, Ft as createDocsSitemapResponse, G as isDocsAgentDiscoveryRequest, Gt as API_CATALOG_PROFILE_URI, H as getDocsMarkdownCanonicalLinkHeader, Ht as toDocsSitemapMarkdownUrl, I as buildDocsMcpEndpointCandidates, It as readDocsSitemapManifestFromContentMap, J as isDocsDiagnosticsRequest, Jt as DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, K as isDocsAgentsRequest, Kt as DEFAULT_AGENT_SKILLS_INDEX_FORMAT, L as createDocsMarkdownResponse, Lt as renderDocsSitemapMarkdown, M as buildDocsAgentDiscoverySpec, Mt as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, N as buildDocsAgentFeedbackSchema, Nt as DEFAULT_SITEMAP_XML_ROUTE, Ot as resolveDocsAudienceMdxContent, P as buildDocsConfigMap, Pt as buildDocsSitemapManifest, Q as isDocsSkillRequest, Qt as DEFAULT_API_CATALOG_ROUTE, R as createDocsStandardsDiscoveryResponse, Rt as renderDocsSitemapXml, S as DEFAULT_MCP_WELL_KNOWN_ROUTE, Sn as upsertPageAgentContractMarkdown, St as toDocsMarkdownUrl, T as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, U as getDocsMarkdownVaryHeader, Ut as AGENT_SKILLS_DISCOVERY_SCHEMA_URI, V as getDocsLlmsTxtMaxCharsIssue, Vt as resolveDocsSitemapRequest, W as hasDocsMarkdownSignatureAgent, Wt as API_CATALOG_MEDIA_TYPE, X as isDocsMcpRequest, Xt as DEFAULT_AGENT_SKILL_FORMAT, Y as isDocsLlmsTxtPublicRequest, Yt as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, Z as isDocsPublicGetRequest, Zt as DEFAULT_API_CATALOG_FORMAT, _ as DEFAULT_LLMS_TXT_MAX_CHARS, _n as hasStructuredPageAgentContract, _t as resolveDocsMarkdownRequest, a as DEFAULT_AGENT_MD_ROUTE, an as resolveDocsDiscoveryApiRoute, at as renderDocsMarkdownDocument, b as DEFAULT_MCP_PUBLIC_ROUTE, bn as renderPageAgentFrontmatterYamlLines, bt as resolveDocsSkillFormat, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, cn as sha256DocsDiscoveryContent, ct as resolveDocsAgentContractMcpTools, d as DEFAULT_DOCS_CONFIG_FORMAT, dn as PAGE_AGENT_CONTRACT_END_MARKER, dt as resolveDocsAgentsFormat, en as buildDocsAgentSkillsIndex, et as normalizeDocsPathSegment, f as DEFAULT_DOCS_CONFIG_ROUTE, fn as PAGE_AGENT_CONTRACT_FIELDS, ft as resolveDocsLlmsTxtFormat, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, gn as getPageAgentFrontmatterIssues, gt as resolveDocsMarkdownRecovery, h as DEFAULT_LLMS_FULL_TXT_ROUTE, hn as PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, ht as resolveDocsMarkdownCanonicalUrl, i as DEFAULT_AGENT_FEEDBACK_ROUTE, in as isDocsStandardsDiscoveryRequest, it as renderDocsLlmsTxt, j as acceptsDocsMarkdown, jt as DEFAULT_SITEMAP_MD_ROUTE, k as DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, kt as DEFAULT_SITEMAP_MANIFEST_PATH, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, ln as normalizeDocsRelated, lt as resolveDocsAgentFeedbackConfig, m as DEFAULT_DOCS_DIAGNOSTICS_ROUTE, mn as PAGE_AGENT_CONTRACT_START_MARKER, mt as resolveDocsLlmsTxtSections, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, nn as createDocsStandardsResponse, nt as parseDocsAgentFeedbackData, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, on as resolveDocsPublishedAgentSkill, ot as renderDocsMarkdownNotFound, p as DEFAULT_DOCS_DIAGNOSTICS_FORMAT, pn as PAGE_AGENT_CONTRACT_FIELD_SCHEMA, pt as resolveDocsLlmsTxtRequest, q as isDocsConfigRequest, qt as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, r as DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, rn as getDocsDiscoveryLinkHeader, rt as renderDocsAgentsDocument, s as DEFAULT_AGENT_SPEC_ROUTE, sn as resolveDocsStandardsDiscoveryRequest, st as renderDocsSkillDocument, t as DEFAULT_AGENTS_MD_ROUTE, tn as buildDocsApiCatalog, tt as normalizeDocsUrlPath, u as DEFAULT_DOCS_API_ROUTE, un as renderDocsRelatedMarkdownLines, ut as resolveDocsAgentFeedbackRequest, v as DEFAULT_LLMS_TXT_ROUTE, vn as normalizePageAgentFrontmatter, vt as resolveDocsOpenApiDiscoveryConfig, w as DEFAULT_SKILL_MD_ROUTE, wt as findDocsAudienceMdxIssues, x as DEFAULT_MCP_ROUTE, xn as stripGeneratedPageAgentContractMarkdown, xt as selectDocsLlmsTxtContent, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, yn as renderPageAgentContractMarkdown, yt as resolveDocsRequestApiRoute, z as detectDocsMarkdownAgentRequest, zt as resolveDocsSitemapConfig } from "./agent-BFqyqEnC.mjs";
|
|
4
|
+
import { A as getDocsTelemetryFeatures, C as resolvePageSidebarFolderIndexBehavior, D as emitDocsTelemetryEvent, E as emitDocsTelemetryAgentSurfaceEvent, M as isLocalDocsTelemetryOrigin, N as normalizeDocsTelemetryOrigin, O as emitDocsTelemetryMcpToolEvent, P as resolveDocsTelemetryConfig, S as applySidebarFolderIndexBehavior, T as resolveSidebarFolderIndexBehaviorForPath, _ as hashGeneratedAgentContent, a as createMcpSearchAdapter, b as serializeGeneratedAgentDocument, c as formatDocsAskAIPackageHints, d as resolveAskAISearchRequestConfig, f as resolveSearchRequestConfig, g as GENERATED_AGENT_PROVENANCE_VERSION, h as GENERATED_AGENT_PROVENANCE_MARKER, i as createCustomSearchAdapter, j as inferDocsTelemetryAgentSurface, k as emitDocsTelemetryProjectEvent, l as inferDocsAskAIPackageHints, n as buildDocsSearchDocuments, o as createSimpleSearchAdapter, r as createAlgoliaSearchAdapter, s as createTypesenseSearchAdapter, t as buildDocsAskAIContext, u as performDocsSearch, v as normalizeGeneratedAgentContent, w as resolveSidebarFolderIndexBehavior, x as stripGeneratedAgentProvenance, y as parseGeneratedAgentDocument } from "./search-D57JXQLj.mjs";
|
|
5
5
|
import { n as resolveDocsLocale, r as resolveDocsPath, t as resolveDocsI18n } from "./i18n-CAlj1ADU.mjs";
|
|
6
|
-
import { a as analyzeDocsRobotsTxt, c as renderDocsRobotsGeneratedBlock, d as resolveDocsRobotsRequest, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, l as renderDocsRobotsTxt, n as DEFAULT_ROBOTS_TXT_ROUTE, o as createDocsRobotsResponse, r as DOCS_ROBOTS_GENERATED_BLOCK_END, s as getDocsRobotsAllowRoutes, t as DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, u as resolveDocsRobotsConfig } from "./robots-
|
|
6
|
+
import { a as analyzeDocsRobotsTxt, c as renderDocsRobotsGeneratedBlock, d as resolveDocsRobotsRequest, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, l as renderDocsRobotsTxt, n as DEFAULT_ROBOTS_TXT_ROUTE, o as createDocsRobotsResponse, r as DOCS_ROBOTS_GENERATED_BLOCK_END, s as getDocsRobotsAllowRoutes, t as DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, u as resolveDocsRobotsConfig } from "./robots-ltltiLJF.mjs";
|
|
7
|
+
import { a as resolveDocsMetadataBaseUrl, i as renderDocsPageStructuredDataJson, n as buildPageOpenGraph, o as resolveOGImage, r as buildPageTwitter, s as resolveTitle, t as buildDocsPageStructuredData } from "./metadata-BDuewuzq.mjs";
|
|
7
8
|
|
|
8
|
-
export { DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, acceptsDocsMarkdown, analyzeDocsRobotsTxt, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };
|
|
9
|
+
export { AGENT_SKILLS_DISCOVERY_SCHEMA_URI, API_CATALOG_MEDIA_TYPE, API_CATALOG_PROFILE_URI, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SKILLS_INDEX_FORMAT, DEFAULT_AGENT_SKILLS_INDEX_ROUTE, DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, DEFAULT_AGENT_SKILL_FORMAT, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_API_CATALOG_FORMAT, DEFAULT_API_CATALOG_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, acceptsDocsMarkdown, analyzeDocsRobotsTxt, appendDocsDiscoveryLinkHeader, applySidebarFolderIndexBehavior, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAgentSkillsIndex, buildDocsApiCatalog, buildDocsAskAIContext, buildDocsConfigMap, buildDocsDiagnostics, buildDocsMcpEndpointCandidates, buildDocsPageStructuredData, buildDocsSearchDocuments, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsMarkdownResponse, createDocsRobotsResponse, createDocsSitemapResponse, createDocsStandardsDiscoveryResponse, createDocsStandardsResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsDiscoveryLinkHeader, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasStructuredPageAgentContract, hashGeneratedAgentContent, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentsRequest, isDocsConfigRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsSkillRequest, isDocsStandardsDiscoveryRequest, isLocalDocsTelemetryOrigin, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseGeneratedAgentDocument, performDocsSearch, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsDiscoveryApiRoute, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsPublishedAgentSkill, resolveDocsRequestApiRoute, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsStandardsDiscoveryRequest, resolveDocsTelemetryConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, serializeGeneratedAgentDocument, sha256DocsDiscoveryContent, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as devInstallCommand, c as fileExists, d as readFileSafe, f as spawnAndWaitFor, i as detectPackageManagerFromProject, l as formatPackageManagerDetection, n as detectGlobalCssFiles, o as exec, p as writeFileSafe, r as detectNextAppDir, t as detectFramework, u as installCommand } from "./utils-
|
|
2
|
-
import { $ as svelteDocsPublicHookTemplate, A as nextConfigMergedTemplate, B as nuxtServerApiDocsRouteTemplate, C as injectRootProviderIntoLayout, D as injectTanstackVitePlugins, E as injectTanstackRootProviderIntoRoute, F as nuxtDocsConfigTemplate, G as quickstartPageTemplate, H as nuxtServerDocsPublicMiddlewareTemplate, I as nuxtDocsPageTemplate, J as svelteDocsApiRouteTemplate, K as rootLayoutTemplate, L as nuxtGlobalCssTemplate, M as nextLocaleDocPageTemplate, N as nextLocalizedPageTemplate, O as installationPageTemplate, P as nuxtConfigTemplate, Q as svelteDocsPageTemplate, R as nuxtInstallationPageTemplate, S as injectNuxtCssImport, T as injectSvelteDocsPublicHook, U as nuxtWelcomePageTemplate, V as nuxtServerApiReferenceRouteTemplate, W as postcssConfigTemplate, X as svelteDocsLayoutServerTemplate, Y as svelteDocsConfigTemplate, Z as svelteDocsLayoutTemplate, _ as getAstroAdapterPkg, _t as tanstackViteConfigTemplate, a as astroDocsIndexTemplate, at as svelteWelcomePageTemplate, b as injectAstroDocsMiddleware, bt as welcomePageTemplate, c as astroDocsServerTemplate, ct as tanstackDocsCatchAllRouteTemplate, d as astroQuickstartPageTemplate, dt as tanstackDocsIndexRouteTemplate, et as svelteDocsServerTemplate, f as astroWelcomePageTemplate, ft as tanstackDocsPublicRouteTemplate, g as docsLayoutTemplate, gt as tanstackRootRouteTemplate, h as docsConfigTemplate, ht as tanstackQuickstartPageTemplate, i as astroDocsConfigTemplate, it as svelteRootLayoutTemplate, j as nextConfigTemplate, k as nextApiReferencePageTemplate, l as astroGlobalCssTemplate, lt as tanstackDocsConfigTemplate, m as customThemeTsTemplate, mt as tanstackInstallationPageTemplate, n as astroApiRouteTemplate, nt as svelteInstallationPageTemplate, o as astroDocsMiddlewareTemplate, ot as tanstackApiDocsRouteTemplate, p as customThemeCssTemplate, pt as tanstackDocsServerTemplate, q as svelteApiReferenceRouteTemplate, r as astroConfigTemplate, rt as svelteQuickstartPageTemplate, s as astroDocsPageTemplate, st as tanstackApiReferenceRouteTemplate, t as astroApiReferenceRouteTemplate, tt as svelteGlobalCssTemplate, u as astroInstallationPageTemplate, ut as tanstackDocsFunctionsTemplate, v as globalCssTemplate, vt as tanstackWelcomePageTemplate, w as injectSvelteCssImport, x as injectCssImport, y as injectAstroCssImport, yt as tsconfigTemplate, z as nuxtQuickstartPageTemplate } from "./templates-
|
|
1
|
+
import { a as devInstallCommand, c as fileExists, d as readFileSafe, f as spawnAndWaitFor, i as detectPackageManagerFromProject, l as formatPackageManagerDetection, n as detectGlobalCssFiles, o as exec, p as writeFileSafe, r as detectNextAppDir, t as detectFramework, u as installCommand } from "./utils-6UCLxv4B.mjs";
|
|
2
|
+
import { $ as svelteDocsPublicHookTemplate, A as nextConfigMergedTemplate, B as nuxtServerApiDocsRouteTemplate, C as injectRootProviderIntoLayout, D as injectTanstackVitePlugins, E as injectTanstackRootProviderIntoRoute, F as nuxtDocsConfigTemplate, G as quickstartPageTemplate, H as nuxtServerDocsPublicMiddlewareTemplate, I as nuxtDocsPageTemplate, J as svelteDocsApiRouteTemplate, K as rootLayoutTemplate, L as nuxtGlobalCssTemplate, M as nextLocaleDocPageTemplate, N as nextLocalizedPageTemplate, O as installationPageTemplate, P as nuxtConfigTemplate, Q as svelteDocsPageTemplate, R as nuxtInstallationPageTemplate, S as injectNuxtCssImport, T as injectSvelteDocsPublicHook, U as nuxtWelcomePageTemplate, V as nuxtServerApiReferenceRouteTemplate, W as postcssConfigTemplate, X as svelteDocsLayoutServerTemplate, Y as svelteDocsConfigTemplate, Z as svelteDocsLayoutTemplate, _ as getAstroAdapterPkg, _t as tanstackViteConfigTemplate, a as astroDocsIndexTemplate, at as svelteWelcomePageTemplate, b as injectAstroDocsMiddleware, bt as welcomePageTemplate, c as astroDocsServerTemplate, ct as tanstackDocsCatchAllRouteTemplate, d as astroQuickstartPageTemplate, dt as tanstackDocsIndexRouteTemplate, et as svelteDocsServerTemplate, f as astroWelcomePageTemplate, ft as tanstackDocsPublicRouteTemplate, g as docsLayoutTemplate, gt as tanstackRootRouteTemplate, h as docsConfigTemplate, ht as tanstackQuickstartPageTemplate, i as astroDocsConfigTemplate, it as svelteRootLayoutTemplate, j as nextConfigTemplate, k as nextApiReferencePageTemplate, l as astroGlobalCssTemplate, lt as tanstackDocsConfigTemplate, m as customThemeTsTemplate, mt as tanstackInstallationPageTemplate, n as astroApiRouteTemplate, nt as svelteInstallationPageTemplate, o as astroDocsMiddlewareTemplate, ot as tanstackApiDocsRouteTemplate, p as customThemeCssTemplate, pt as tanstackDocsServerTemplate, q as svelteApiReferenceRouteTemplate, r as astroConfigTemplate, rt as svelteQuickstartPageTemplate, s as astroDocsPageTemplate, st as tanstackApiReferenceRouteTemplate, t as astroApiReferenceRouteTemplate, tt as svelteGlobalCssTemplate, u as astroInstallationPageTemplate, ut as tanstackDocsFunctionsTemplate, v as globalCssTemplate, vt as tanstackWelcomePageTemplate, w as injectSvelteCssImport, x as injectCssImport, y as injectAstroCssImport, yt as tsconfigTemplate, z as nuxtQuickstartPageTemplate } from "./templates-CfQjpDWW.mjs";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import pc from "picocolors";
|
|
@@ -188,7 +188,7 @@ async function configureDocsCloudOnboarding(options) {
|
|
|
188
188
|
enabled = cloudAnswer;
|
|
189
189
|
}
|
|
190
190
|
if (!enabled) return;
|
|
191
|
-
const { initCloudConfig } = await import("./cloud-
|
|
191
|
+
const { initCloudConfig } = await import("./cloud-BH_sHX64.mjs");
|
|
192
192
|
printDocsCloudOnboardingInstructions(await initCloudConfig({
|
|
193
193
|
rootDir: options.rootDir,
|
|
194
194
|
configPath: getDocsCloudConfigPathForFramework(options.framework)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./agent-
|
|
2
|
-
import "./search-
|
|
3
|
-
import "./sitemap-server-
|
|
4
|
-
import "./agent-evals-
|
|
1
|
+
import "./agent-BFqyqEnC.mjs";
|
|
2
|
+
import "./search-D57JXQLj.mjs";
|
|
3
|
+
import "./sitemap-server-C1ibVKOy.mjs";
|
|
4
|
+
import "./agent-evals-kJs2Y9xR.mjs";
|
|
5
5
|
import { createFilesystemDocsMcpSource, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
6
|
-
import "./code-blocks-
|
|
6
|
+
import "./code-blocks-qe0T8-xe.mjs";
|
|
7
7
|
import "./server.mjs";
|
|
8
|
-
import { d as readStringProperty, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, n as extractObjectLiteral, s as readBooleanProperty } from "./config-
|
|
8
|
+
import { d as readStringProperty, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, n as extractObjectLiteral, s as readBooleanProperty } from "./config-DASewQ0x.mjs";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
10
10
|
import pc from "picocolors";
|
|
11
11
|
|
package/dist/mcp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as DocsTelemetryFramework, Ct as DocsObservabilityConfig, F as DocsAnalyticsConfig, Gt as DocsSearchSourcePage, Jt as DocsTelemetryConfig, Sn as PageAgentFrontmatter, _n as OrderingItem, dt as DocsMcpAllowedOrigins, ft as DocsMcpAuthPrincipal, gt as DocsMcpConfig, pt as DocsMcpAuthenticate, zt as DocsSearchConfig } from "./types-XHABMh_f.mjs";
|
|
2
2
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/mcp.d.ts
|