@farming-labs/docs 0.2.78 → 0.2.79
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-CHgWJcK_.d.mts → agent-C3Y011P9.d.mts} +239 -14
- package/dist/{agent-CM-hzhfh.mjs → agent-DYPnd8-9.mjs} +2 -2
- package/dist/{agent-Ba94vwM2.mjs → agent-DejGcJfb.mjs} +6 -2
- package/dist/{agent-evals-C8dkgJMN.mjs → agent-evals-DQbsw5fY.mjs} +1 -1
- package/dist/{agent-export-DdF-IVfg.mjs → agent-export-DyDl_mmh.mjs} +5 -5
- package/dist/{agent-provenance-D8UBpnMc.mjs → agent-provenance-DEyAr22i.mjs} +1 -1
- package/dist/agent-skills-bundle.d.mts +1 -1
- package/dist/{agent-skills-server-zvs0Yknt.d.mts → agent-skills-server-Daq-FOay.d.mts} +2 -2
- package/dist/agent-skills-vite.d.mts +3 -3
- package/dist/{agents-v0Em2KZo.mjs → agents-ktSbqsOA.mjs} +4 -4
- package/dist/cli/index.mjs +14 -14
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-ask-ai-BwsdF7AQ.d.mts → cloud-ask-ai-o41WfOTk.d.mts} +1 -1
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/{doctor-BbrN0rdC.mjs → doctor-DPj4Af0T.mjs} +9 -9
- package/dist/{golden-evaluations-Bk9t-HNq.mjs → golden-evaluations-xjthrnDO.mjs} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/{mcp-DT-WNsA-.mjs → mcp-DOisfwWF.mjs} +5 -4
- package/dist/mcp.d.mts +18 -6
- package/dist/mcp.mjs +291 -39
- package/dist/{prompt-references-CoDorsvS.mjs → prompt-references-DbmH5FA9.mjs} +2 -2
- package/dist/retrieval-digest-DIbiu0TW.d.mts +190 -0
- package/dist/{review-DrCaaT7G.mjs → review-X1qVmw9I.mjs} +4 -4
- package/dist/{robots-izJbM9cv.mjs → robots-DTo_uqa9.mjs} +2 -2
- package/dist/{robots-C_v2HK43.mjs → robots-DUdUIBpi.mjs} +1 -1
- package/dist/{search-YiZMZDfb.mjs → search-DMOwAmxo.mjs} +4 -4
- package/dist/server.d.mts +7 -7
- package/dist/server.mjs +6 -6
- package/dist/{sitemap-NO8UMO6Y.mjs → sitemap-5Lajt0xS.mjs} +4 -4
- package/dist/{sitemap-server-Dgxs9V6S.mjs → sitemap-server-p4wkFm9-.mjs} +1 -1
- package/dist/{standards-discovery-BWyNgZSs.d.mts → standards-discovery-C2cUIQzW.d.mts} +1 -1
- package/dist/{types-CpLnwHak.d.mts → types-o-ULHPK6.d.mts} +2 -0
- package/package.json +6 -2
- package/dist/retrieval-digest-CO3wqeMk.d.mts +0 -413
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as LlmsTxtMaxCharsMode, At as DocsConfig, F as DocsAgentContentChangesConfig, Fn as DocsSearchSourcePage, K as DocsAgentFeedbackData, Qn as LlmsTxtMaxCharsConfig, Rn as DocsSitemapConfig, Sr as ResolvedDocsRelatedLink, Vt as DocsI18nConfig, Zn as LlmsTxtConfig, er as LlmsTxtSectionConfig, mn as DocsRobotsConfig, mr as PageAgentFrontmatter, qn as FeedbackConfig, qt as DocsMcpConfig, xn as DocsSearchConfig } from "./types-
|
|
2
|
-
import { O as DocsA2AAgentCardOptions, R as DocsDiscoveryApiRouteOptions, z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
1
|
+
import { $n as LlmsTxtMaxCharsMode, At as DocsConfig, Dn as DocsSearchFilterField, En as DocsSearchFacetsResponse, F as DocsAgentContentChangesConfig, Fn as DocsSearchSourcePage, It as DocsContentChangesResponse, K as DocsAgentFeedbackData, Lt as DocsContentSnapshot, Mr as TypesenseDocsSearchConfig, Nn as DocsSearchResult, On as DocsSearchFilterInput, Qn as LlmsTxtMaxCharsConfig, Rn as DocsSitemapConfig, Sn as DocsSearchDocument, Sr as ResolvedDocsRelatedLink, Vt as DocsI18nConfig, Zn as LlmsTxtConfig, bn as DocsSearchChunkingConfig, er as LlmsTxtSectionConfig, f as CustomDocsSearchConfig, gn as DocsSearchAdapter, gt as DocsAskAIMcpConfig, in as DocsPaginatedSearchResponse, jn as DocsSearchRequest, kn as DocsSearchFilters, mn as DocsRobotsConfig, mr as PageAgentFrontmatter, qn as FeedbackConfig, qt as DocsMcpConfig, r as AlgoliaDocsSearchConfig, tr as McpDocsSearchConfig, vn as DocsSearchAdapterFactory, xn as DocsSearchConfig } from "./types-o-ULHPK6.mjs";
|
|
2
|
+
import { O as DocsA2AAgentCardOptions, R as DocsDiscoveryApiRouteOptions, z as DocsPublishedAgentSkill } from "./standards-discovery-C2cUIQzW.mjs";
|
|
3
3
|
import { DocsMcpPage, DocsMcpResolvedConfig } from "./mcp.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/i18n.d.ts
|
|
@@ -17,17 +17,6 @@ declare function resolveDocsI18n(config?: DocsI18nConfig | null): ResolvedDocsI1
|
|
|
17
17
|
declare function resolveDocsLocale(searchParams: URLSearchParams, i18n?: ResolvedDocsI18n | null): string | undefined;
|
|
18
18
|
declare function resolveDocsPath(pathname: string, entry: string): DocsPathMatch;
|
|
19
19
|
//#endregion
|
|
20
|
-
//#region src/mcp-auth.d.ts
|
|
21
|
-
declare const DEFAULT_MCP_ROUTE = "/api/docs/mcp";
|
|
22
|
-
declare const DEFAULT_MCP_PUBLIC_ROUTE = "/mcp";
|
|
23
|
-
declare const DEFAULT_MCP_WELL_KNOWN_ROUTE = "/.well-known/mcp";
|
|
24
|
-
declare const DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE = "/.well-known/oauth-protected-resource";
|
|
25
|
-
declare function getDocsMcpResourcePaths(route?: string): string[];
|
|
26
|
-
declare function buildDocsMcpProtectedResourceMetadataRoute(resourcePath: string): string;
|
|
27
|
-
declare function getDocsMcpProtectedResourceMetadataRoutes(route?: string): string[];
|
|
28
|
-
declare function hasDocsMcpProtectedResourceConfig(mcp?: boolean | DocsMcpConfig): boolean;
|
|
29
|
-
declare function isDocsMcpRequest(url: URL, mcp?: boolean | DocsMcpConfig): boolean;
|
|
30
|
-
//#endregion
|
|
31
20
|
//#region src/audience.d.ts
|
|
32
21
|
/** The two content projections emitted by the docs framework. */
|
|
33
22
|
type DocsContentAudience = "human" | "agent";
|
|
@@ -73,6 +62,241 @@ declare function resolveDocsAudienceMdxContent(content: string, audience: DocsCo
|
|
|
73
62
|
/** Backwards-compatible name retained for existing integrations. */
|
|
74
63
|
declare function resolveDocsAgentMdxContent(content: string, audience: DocsContentAudience): string;
|
|
75
64
|
//#endregion
|
|
65
|
+
//#region src/search.d.ts
|
|
66
|
+
interface DocsAskAIContextResult extends DocsSearchResult {
|
|
67
|
+
title: string;
|
|
68
|
+
contextContent: string;
|
|
69
|
+
}
|
|
70
|
+
interface DocsAskAIContext {
|
|
71
|
+
context: string;
|
|
72
|
+
/** Structured production context blocks; avoids reparsing markdown horizontal rules. */
|
|
73
|
+
blocks: Array<{
|
|
74
|
+
text: string;
|
|
75
|
+
result: DocsAskAIContextResult;
|
|
76
|
+
}>;
|
|
77
|
+
results: DocsAskAIContextResult[];
|
|
78
|
+
searchResults: DocsSearchResult[];
|
|
79
|
+
packageHints: DocsAskAIPackageHints;
|
|
80
|
+
}
|
|
81
|
+
interface DocsAskAIPackageHints {
|
|
82
|
+
packages: string[];
|
|
83
|
+
imports: string[];
|
|
84
|
+
installCommands: string[];
|
|
85
|
+
}
|
|
86
|
+
/** Normalize scalar or array-valued scope filters for programmatic, HTTP, and MCP callers. */
|
|
87
|
+
declare function normalizeDocsSearchFilters(input?: DocsSearchFilterInput | DocsSearchFilters): DocsSearchFilters;
|
|
88
|
+
/** Parse the public search scope parameters from a URL query string. */
|
|
89
|
+
declare function resolveDocsSearchFilters(searchParams: URLSearchParams): DocsSearchFilters;
|
|
90
|
+
declare class DocsSearchRequestError extends Error {
|
|
91
|
+
readonly code = "invalid_search_request";
|
|
92
|
+
constructor(message: string);
|
|
93
|
+
}
|
|
94
|
+
declare function resolveDocsSearchError(error: unknown): {
|
|
95
|
+
code: "invalid_cursor" | "invalid_search_request";
|
|
96
|
+
message: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
/** Resolve search filters and the backwards-compatible structured response opt-in. */
|
|
99
|
+
declare function resolveDocsSearchRequest(searchParams: URLSearchParams): DocsSearchRequest;
|
|
100
|
+
declare function inferDocsAskAIPackageHints(content: string): DocsAskAIPackageHints;
|
|
101
|
+
declare function formatDocsAskAIPackageHints(hints: DocsAskAIPackageHints, packageName?: string): string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Build the exact normalized-input projection represented by a retrieval source digest.
|
|
104
|
+
* This is public so consumers can independently reproduce `source.digest`.
|
|
105
|
+
*/
|
|
106
|
+
declare function buildDocsRetrievalDigestProjection(page: DocsSearchSourcePage, audience?: DocsContentAudience): string;
|
|
107
|
+
declare function resolveDocsRetrievalLastModified(page: DocsSearchSourcePage, audience: DocsContentAudience): string | undefined;
|
|
108
|
+
interface BuildDocsContentSnapshotOptions {
|
|
109
|
+
pages: readonly DocsSearchSourcePage[];
|
|
110
|
+
search?: boolean | DocsSearchConfig;
|
|
111
|
+
audience?: DocsContentAudience;
|
|
112
|
+
locale?: string;
|
|
113
|
+
baseUrl?: string;
|
|
114
|
+
/** @internal Precomputed complete-corpus generation for composed callers. */
|
|
115
|
+
indexGeneration?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Build a deterministic, body-free inventory for content-change synchronization.
|
|
119
|
+
*
|
|
120
|
+
* Its generation is identical to structured search for the same pages, audience,
|
|
121
|
+
* locale, base URL, and chunking policy.
|
|
122
|
+
*/
|
|
123
|
+
declare function buildDocsContentSnapshot(options: BuildDocsContentSnapshotOptions): Promise<DocsContentSnapshot>;
|
|
124
|
+
interface EnrichDocsSearchDocumentsWithProvenanceOptions {
|
|
125
|
+
documents: readonly DocsSearchDocument[];
|
|
126
|
+
pages: readonly DocsSearchSourcePage[];
|
|
127
|
+
audience?: DocsContentAudience;
|
|
128
|
+
chunking?: DocsSearchChunkingConfig;
|
|
129
|
+
locale?: string;
|
|
130
|
+
baseUrl?: string;
|
|
131
|
+
indexGeneration?: string;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Attach the same canonical provenance used by built-in search providers.
|
|
135
|
+
* Custom adapters can call this before persisting their own hosted records.
|
|
136
|
+
*/
|
|
137
|
+
declare function enrichDocsSearchDocumentsWithProvenance(options: EnrichDocsSearchDocumentsWithProvenanceOptions): Promise<DocsSearchDocument[]>;
|
|
138
|
+
declare function buildDocsSearchDocuments(pages: DocsSearchSourcePage[], chunking?: DocsSearchChunkingConfig, audience?: DocsContentAudience): DocsSearchDocument[];
|
|
139
|
+
declare function createSimpleSearchAdapter(): DocsSearchAdapter;
|
|
140
|
+
declare function createTypesenseSearchAdapter(config: TypesenseDocsSearchConfig): DocsSearchAdapter;
|
|
141
|
+
declare function resolveSearchRequestConfig(search: boolean | DocsSearchConfig | undefined, requestUrl?: string): boolean | DocsSearchConfig | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Resolve the public search audience without allowing malformed values to opt into agent content.
|
|
144
|
+
* Human search remains the default for omitted, legacy, and unknown query values.
|
|
145
|
+
*/
|
|
146
|
+
declare function resolveDocsSearchAudience(value: string | null | undefined): DocsContentAudience;
|
|
147
|
+
declare function resolveAskAISearchRequestConfig(options: {
|
|
148
|
+
search: boolean | DocsSearchConfig | undefined;
|
|
149
|
+
useMcp?: boolean | DocsAskAIMcpConfig;
|
|
150
|
+
mcpEndpoint?: string;
|
|
151
|
+
mcpEnabled?: boolean;
|
|
152
|
+
mcpSearchEnabled?: boolean;
|
|
153
|
+
requestUrl?: string;
|
|
154
|
+
}): boolean | DocsSearchConfig | undefined;
|
|
155
|
+
declare function createMcpSearchAdapter(config: McpDocsSearchConfig): DocsSearchAdapter;
|
|
156
|
+
declare function createAlgoliaSearchAdapter(config: AlgoliaDocsSearchConfig): DocsSearchAdapter;
|
|
157
|
+
interface PerformDocsSearchOptions {
|
|
158
|
+
pages: DocsSearchSourcePage[];
|
|
159
|
+
/** @internal Complete corpus used for generation when `pages` is pre-scoped by a caller. */
|
|
160
|
+
generationPages?: DocsSearchSourcePage[];
|
|
161
|
+
/** @internal Precomputed complete-corpus generation for structured callers. */
|
|
162
|
+
indexGeneration?: string;
|
|
163
|
+
query: string;
|
|
164
|
+
search?: boolean | DocsSearchConfig;
|
|
165
|
+
/** Selects which audience projection is searchable. Public site search defaults to human. */
|
|
166
|
+
audience?: DocsContentAudience;
|
|
167
|
+
locale?: string;
|
|
168
|
+
pathname?: string;
|
|
169
|
+
siteTitle?: string;
|
|
170
|
+
/** Canonical docs URL used to distinguish same-site absolute hits from foreign MCP results. */
|
|
171
|
+
baseUrl?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Canonical origin safe to persist in a hosted index. Pass `null` when `baseUrl`
|
|
174
|
+
* came from the current request rather than trusted configuration.
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
syncBaseUrl?: string | null;
|
|
178
|
+
limit?: number;
|
|
179
|
+
/** Opaque continuation cursor used by structured search responses. */
|
|
180
|
+
cursor?: string;
|
|
181
|
+
/** Optional framework, version, package, and tag constraints. */
|
|
182
|
+
filters?: DocsSearchFilterInput;
|
|
183
|
+
/**
|
|
184
|
+
* Controls provider failures. Runtime search keeps the resilient `fallback` default;
|
|
185
|
+
* diagnostics can request `throw` so a broken configured provider cannot be scored as
|
|
186
|
+
* successful simple search.
|
|
187
|
+
*/
|
|
188
|
+
failureMode?: "fallback" | "throw";
|
|
189
|
+
/**
|
|
190
|
+
* Whether non-simple provider hits are supplemented with exact/local simple results.
|
|
191
|
+
* Runtime search defaults to true; provider diagnostics can disable supplementation.
|
|
192
|
+
*/
|
|
193
|
+
supplementExternalResults?: boolean;
|
|
194
|
+
/** Keep absolute provider origins distinct when no canonical docs origin is available. */
|
|
195
|
+
strictExternalOrigins?: boolean;
|
|
196
|
+
/** Optional cancellation signal forwarded to adapters and their managed requests. */
|
|
197
|
+
signal?: AbortSignal;
|
|
198
|
+
}
|
|
199
|
+
declare function performDocsSearch(options: PerformDocsSearchOptions): Promise<DocsSearchResult[]>;
|
|
200
|
+
interface BuildDocsSearchFacetsOptions {
|
|
201
|
+
pages: DocsSearchSourcePage[];
|
|
202
|
+
search?: boolean | DocsSearchConfig;
|
|
203
|
+
audience?: DocsContentAudience;
|
|
204
|
+
locale?: string;
|
|
205
|
+
baseUrl?: string;
|
|
206
|
+
filters?: DocsSearchFilterInput;
|
|
207
|
+
/** Facet field selected for cursor continuation. */
|
|
208
|
+
facet?: DocsSearchFilterField;
|
|
209
|
+
/** Opaque `nextCursor` returned for the selected facet. */
|
|
210
|
+
cursor?: string;
|
|
211
|
+
/** Maximum facet values returned per page. Defaults to 100. */
|
|
212
|
+
limit?: number;
|
|
213
|
+
/** @internal Precomputed complete-corpus generation for composed callers. */
|
|
214
|
+
indexGeneration?: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Build a body-free index of valid search filter values and page counts.
|
|
218
|
+
*
|
|
219
|
+
* Each facet applies filters from the other fields while ignoring its own selected
|
|
220
|
+
* values. This is the conventional faceted-search behavior and lets an agent discover
|
|
221
|
+
* safe alternatives without guessing or fetching document bodies.
|
|
222
|
+
*/
|
|
223
|
+
declare function buildDocsSearchFacets(options: BuildDocsSearchFacetsOptions): Promise<DocsSearchFacetsResponse>;
|
|
224
|
+
declare function performDocsSearchWithMetadata(options: PerformDocsSearchOptions): Promise<DocsPaginatedSearchResponse>;
|
|
225
|
+
declare function buildDocsAskAIContext(options: {
|
|
226
|
+
pages: DocsSearchSourcePage[];
|
|
227
|
+
query: string;
|
|
228
|
+
search?: boolean | DocsSearchConfig;
|
|
229
|
+
locale?: string;
|
|
230
|
+
pathname?: string;
|
|
231
|
+
siteTitle?: string;
|
|
232
|
+
baseUrl?: string; /** See `performDocsSearch.syncBaseUrl`. */
|
|
233
|
+
syncBaseUrl?: string | null;
|
|
234
|
+
limit?: number;
|
|
235
|
+
filters?: DocsSearchFilterInput;
|
|
236
|
+
maxContextChars?: number;
|
|
237
|
+
maxResultChars?: number; /** See `performDocsSearch.failureMode`. Defaults to resilient runtime fallback. */
|
|
238
|
+
searchFailureMode?: "fallback" | "throw"; /** See `performDocsSearch.strictExternalOrigins`. */
|
|
239
|
+
strictExternalOrigins?: boolean; /** Optional cancellation signal forwarded to the configured search provider. */
|
|
240
|
+
signal?: AbortSignal;
|
|
241
|
+
}): Promise<DocsAskAIContext>;
|
|
242
|
+
declare function createCustomSearchAdapter(adapter: DocsSearchAdapter | DocsSearchAdapterFactory, options?: {
|
|
243
|
+
paginationRevision?: string;
|
|
244
|
+
}): CustomDocsSearchConfig;
|
|
245
|
+
//#endregion
|
|
246
|
+
//#region src/content-changes.d.ts
|
|
247
|
+
declare const DOCS_CONTENT_CHANGES_FORMAT = "docs-content-changes.v1";
|
|
248
|
+
declare const DOCS_CONTENT_SNAPSHOT_FORMAT = "docs-content-snapshot.v1";
|
|
249
|
+
declare const DOCS_CONTENT_CHANGES_RESPONSE_VALUE = "changes";
|
|
250
|
+
/** Whether a value is a valid content-index generation identifier. */
|
|
251
|
+
declare function isDocsContentChangeGeneration(value: string): boolean;
|
|
252
|
+
interface DocsContentChangesRequest {
|
|
253
|
+
audience: "human" | "agent";
|
|
254
|
+
since?: string;
|
|
255
|
+
}
|
|
256
|
+
interface DocsResolvedContentChangesConfig {
|
|
257
|
+
enabled: boolean;
|
|
258
|
+
maxSnapshots: number;
|
|
259
|
+
loadSnapshot?: DocsAgentContentChangesConfig["loadSnapshot"];
|
|
260
|
+
saveSnapshot?: DocsAgentContentChangesConfig["saveSnapshot"];
|
|
261
|
+
}
|
|
262
|
+
interface ResolveDocsContentChangesOptions extends Omit<BuildDocsContentSnapshotOptions, "pages"> {
|
|
263
|
+
pages: readonly DocsSearchSourcePage[];
|
|
264
|
+
since?: string;
|
|
265
|
+
request?: Request;
|
|
266
|
+
}
|
|
267
|
+
interface DocsContentChangeFeed {
|
|
268
|
+
resolve(options: ResolveDocsContentChangesOptions): Promise<DocsContentChangesResponse>;
|
|
269
|
+
}
|
|
270
|
+
declare class DocsContentChangesRequestError extends Error {
|
|
271
|
+
readonly code = "invalid_content_changes_request";
|
|
272
|
+
constructor(message: string);
|
|
273
|
+
}
|
|
274
|
+
declare function resolveDocsContentChangesConfig(input?: boolean | DocsAgentContentChangesConfig, options?: {
|
|
275
|
+
staticExport?: boolean;
|
|
276
|
+
}): DocsResolvedContentChangesConfig;
|
|
277
|
+
declare function isDocsContentChangesRequest(url: URL): boolean;
|
|
278
|
+
declare function resolveDocsContentChangesRequest(url: URL): DocsContentChangesRequest;
|
|
279
|
+
declare function createDocsContentChangeFeed(input?: boolean | DocsAgentContentChangesConfig): DocsContentChangeFeed;
|
|
280
|
+
declare function createDocsContentChangesHttpResponse(options: {
|
|
281
|
+
request: Request;
|
|
282
|
+
feed: DocsContentChangeFeed;
|
|
283
|
+
pages: readonly DocsSearchSourcePage[];
|
|
284
|
+
search?: boolean | DocsSearchConfig;
|
|
285
|
+
locale?: string;
|
|
286
|
+
baseUrl?: string;
|
|
287
|
+
}): Promise<Response>;
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region src/mcp-auth.d.ts
|
|
290
|
+
declare const DEFAULT_MCP_ROUTE = "/api/docs/mcp";
|
|
291
|
+
declare const DEFAULT_MCP_PUBLIC_ROUTE = "/mcp";
|
|
292
|
+
declare const DEFAULT_MCP_WELL_KNOWN_ROUTE = "/.well-known/mcp";
|
|
293
|
+
declare const DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE = "/.well-known/oauth-protected-resource";
|
|
294
|
+
declare function getDocsMcpResourcePaths(route?: string): string[];
|
|
295
|
+
declare function buildDocsMcpProtectedResourceMetadataRoute(resourcePath: string): string;
|
|
296
|
+
declare function getDocsMcpProtectedResourceMetadataRoutes(route?: string): string[];
|
|
297
|
+
declare function hasDocsMcpProtectedResourceConfig(mcp?: boolean | DocsMcpConfig): boolean;
|
|
298
|
+
declare function isDocsMcpRequest(url: URL, mcp?: boolean | DocsMcpConfig): boolean;
|
|
299
|
+
//#endregion
|
|
76
300
|
//#region src/agent.d.ts
|
|
77
301
|
declare const DEFAULT_DOCS_API_ROUTE = "/api/docs";
|
|
78
302
|
declare const DEFAULT_DOCS_CONFIG_FORMAT = "docs-config-map.v1";
|
|
@@ -953,6 +1177,7 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
953
1177
|
readTask?: boolean;
|
|
954
1178
|
searchDocs: boolean;
|
|
955
1179
|
searchFacets?: boolean;
|
|
1180
|
+
listContentChanges?: boolean;
|
|
956
1181
|
getNavigation: boolean;
|
|
957
1182
|
getCodeExamples: boolean;
|
|
958
1183
|
getConfigSchema: boolean;
|
|
@@ -977,4 +1202,4 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
977
1202
|
declare function acceptsDocsMarkdown(request: Request): boolean;
|
|
978
1203
|
declare function resolveDocsOpenApiDiscoveryConfig(openapi?: boolean | DocsOpenApiDiscoveryConfig): DocsOpenApiResolvedDiscoveryConfig;
|
|
979
1204
|
//#endregion
|
|
980
|
-
export { DocsMarkdownPage as $, resolveDocsLlmsTxtRequest as $t, DocsAgentFeedbackDiscoveryConfig as A,
|
|
1205
|
+
export { DocsMarkdownPage as $, normalizeDocsSearchFilters as $n, resolveDocsLlmsTxtRequest as $t, DocsAgentFeedbackDiscoveryConfig as A, createDocsContentChangesHttpResponse as An, hasDocsMarkdownSignatureAgent as At, DocsDiagnosticsIssueSeverity as B, buildDocsAskAIContext as Bn, normalizeDocsPathSegment as Bt, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN as C, DOCS_CONTENT_SNAPSHOT_FORMAT as Cn, createDocsMarkdownResponse as Ct, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN as D, DocsResolvedContentChangesConfig as Dn, getDocsLlmsTxtMaxCharsIssue as Dt, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER as E, DocsContentChangesRequestError as En, findDocsMarkdownPage as Et, DocsConfigMapJsonValue as F, BuildDocsContentSnapshotOptions as Fn, isDocsLlmsTxtPublicRequest as Ft, DocsLlmsTxtGeneratedSection as G, createAlgoliaSearchAdapter as Gn, renderDocsMarkdownDocument as Gt, DocsDiagnosticsStatus as H, buildDocsRetrievalDigestProjection as Hn, parseDocsAgentFeedbackData as Ht, DocsConfigMapPointer as I, BuildDocsSearchFacetsOptions as In, isDocsMarkdownSectionIndexRequest as It, DocsLlmsTxtRequest as J, createSimpleSearchAdapter as Jn, resolveDocsAgentContractMcpTools as Jt, DocsLlmsTxtMaxCharsIssue as K, createCustomSearchAdapter as Kn, renderDocsMarkdownNotFound as Kt, DocsDiagnostics as L, DocsSearchRequestError as Ln, isDocsPublicGetRequest as Lt, DocsAgentFeedbackResolvedConfig as M, isDocsContentChangesRequest as Mn, isDocsAgentsRequest as Mt, DocsAgentsDocumentOptions as N, resolveDocsContentChangesConfig as Nn, isDocsConfigRequest as Nt, DocsAgentContractMcpTools as O, ResolveDocsContentChangesOptions as On, getDocsMarkdownCanonicalLinkHeader as Ot, DocsConfigMap as P, resolveDocsContentChangesRequest as Pn, isDocsDiagnosticsRequest as Pt, DocsMarkdownAgentDetection as Q, inferDocsAskAIPackageHints as Qn, resolveDocsLlmsTxtFormat as Qt, DocsDiagnosticsFeature as R, EnrichDocsSearchDocumentsWithProvenanceOptions as Rn, isDocsSkillRequest as Rt, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE as S, DOCS_CONTENT_CHANGES_RESPONSE_VALUE as Sn, resolveDocsPath as Sr, collectDocsMarkdownSections as St, DOCS_MARKDOWN_SECTION_INDEX_FORMAT as T, DocsContentChangesRequest as Tn, detectDocsMarkdownAgentRequest as Tt, DocsLlmsDiscoveryConfig as U, buildDocsSearchDocuments as Un, renderDocsAgentsDocument as Ut, DocsDiagnosticsOptions as V, buildDocsContentSnapshot as Vn, normalizeDocsUrlPath as Vt, DocsLlmsTxtGeneratedContent as W, buildDocsSearchFacets as Wn, renderDocsLlmsTxt as Wt, DocsLlmsTxtResolvedSection as X, enrichDocsSearchDocumentsWithProvenance as Xn, resolveDocsAgentFeedbackRequest as Xt, DocsLlmsTxtResolvedMaxChars as Y, createTypesenseSearchAdapter as Yn, resolveDocsAgentFeedbackConfig as Yt, DocsLlmsTxtSelectedContent as Z, formatDocsAskAIPackageHints as Zn, resolveDocsAgentsFormat as Zt, DEFAULT_LLMS_TXT_MAX_CHARS as _, getDocsMcpProtectedResourceMetadataRoutes as _n, resolveDocsAudienceMdxContent as _r, buildDocsAgentFeedbackSchema as _t, DEFAULT_AGENT_MD_ROUTE as a, resolveDocsOpenApiDiscoveryConfig as an, resolveDocsSearchError as ar, DocsMarkdownSectionIndexOptions as at, DEFAULT_OPENAPI_SCHEMA_ROUTE as b, isDocsMcpRequest as bn, resolveDocsI18n as br, buildDocsMarkdownSectionIndex as bt, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE as c, selectDocsLlmsTxtContent as cn, resolveSearchRequestConfig as cr, DocsMarkdownSectionResult as ct, DEFAULT_DOCS_CONFIG_FORMAT as d, validateDocsAgentFeedbackPayload as dn, DocsMarkdownPromptBlock as dr, DocsOpenApiDiscoveryConfig as dt, resolveDocsLlmsTxtSections as en, performDocsSearch as er, DocsMarkdownRecoveryMatch as et, DEFAULT_DOCS_CONFIG_ROUTE as f, DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE as fn, ExtractedDocsMarkdownPromptBlocks as fr, DocsOpenApiResolvedDiscoveryConfig as ft, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE as g, buildDocsMcpProtectedResourceMetadataRoute as gn, resolveDocsAudienceExposure as gr, buildDocsAgentDiscoverySpec as gt, DEFAULT_LLMS_FULL_TXT_ROUTE as h, DEFAULT_MCP_WELL_KNOWN_ROUTE as hn, resolveDocsAgentMdxContent as hr, acceptsDocsMarkdown as ht, DEFAULT_AGENT_FEEDBACK_ROUTE as i, resolveDocsMarkdownSectionRequest as in, resolveDocsSearchAudience as ir, DocsMarkdownSectionIndex as it, DocsAgentFeedbackRequest as j, isDocsContentChangeGeneration as jn, isDocsAgentDiscoveryRequest as jt, DocsAgentDiscoverySpecOptions as k, createDocsContentChangeFeed as kn, getDocsMarkdownVaryHeader as kt, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE as l, selectDocsMarkdownSection as ln, DocsAudienceMdxIssue as lr, DocsMcpEndpointCandidate as lt, DEFAULT_DOCS_DIAGNOSTICS_ROUTE as m, DEFAULT_MCP_ROUTE as mn, findDocsAudienceMdxIssues as mr, DocsStandardsDiscoveryResponseOptions as mt, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE as n, resolveDocsMarkdownRecovery as nn, resolveAskAISearchRequestConfig as nr, DocsMarkdownResponseOptions as nt, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE as o, resolveDocsRequestApiRoute as on, resolveDocsSearchFilters as or, DocsMarkdownSectionMetadata as ot, DEFAULT_DOCS_DIAGNOSTICS_FORMAT as p, DEFAULT_MCP_PUBLIC_ROUTE as pn, extractDocsMarkdownPromptBlocks as pr, DocsSkillDocumentOptions as pt, DocsLlmsTxtPageInput as q, createMcpSearchAdapter as qn, renderDocsSkillDocument as qt, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA as r, resolveDocsMarkdownRequest as rn, resolveDocsRetrievalLastModified as rr, DocsMarkdownSection as rt, DEFAULT_AGENT_SPEC_ROUTE as s, resolveDocsSkillFormat as sn, resolveDocsSearchRequest as sr, DocsMarkdownSectionRequest as st, DEFAULT_AGENTS_MD_ROUTE as t, resolveDocsMarkdownCanonicalUrl as tn, performDocsSearchWithMetadata as tr, DocsMarkdownRecoveryResult as tt, DEFAULT_DOCS_API_ROUTE as u, toDocsMarkdownUrl as un, DocsContentAudience as ur, DocsMcpEndpointCandidateOptions as ut, DEFAULT_LLMS_TXT_ROUTE as v, getDocsMcpResourcePaths as vn, DocsPathMatch as vr, buildDocsConfigMap as vt, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN as w, DocsContentChangeFeed as wn, createDocsStandardsDiscoveryResponse as wt, DEFAULT_SKILL_MD_ROUTE as x, DOCS_CONTENT_CHANGES_FORMAT as xn, resolveDocsLocale as xr, buildDocsMcpEndpointCandidates as xt, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE as y, hasDocsMcpProtectedResourceConfig as yn, ResolvedDocsI18n as yr, buildDocsDiagnostics as yt, DocsDiagnosticsIssue as z, PerformDocsSearchOptions as zn, matchesDocsLlmsTxtSection as zt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as findDocsMarkdownPage, at as renderDocsMarkdownDocument } from "./agent-
|
|
1
|
+
import { B as findDocsMarkdownPage, at as renderDocsMarkdownDocument } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
import { v as normalizePageAgentFrontmatter, x as stripGeneratedPageAgentContractMarkdown } from "./markdown-sections-7OoA7ylx.mjs";
|
|
3
|
-
import { a as parseGeneratedAgentDocument, n as GENERATED_AGENT_PROVENANCE_VERSION, o as serializeGeneratedAgentDocument, r as hashGeneratedAgentContent } from "./agent-provenance-
|
|
3
|
+
import { a as parseGeneratedAgentDocument, n as GENERATED_AGENT_PROVENANCE_VERSION, o as serializeGeneratedAgentDocument, r as hashGeneratedAgentContent } from "./agent-provenance-DEyAr22i.mjs";
|
|
4
4
|
import { createFilesystemDocsMcpSource } from "./mcp.mjs";
|
|
5
5
|
import { _ as resolveDocsContentDir, a as loadDocsConfigModule, c as loadProjectEnv, d as readNavTitle, f as readNumberProperty, g as resolveDocsConfigPath, h as readTopLevelStringProperty, l as readBooleanProperty, p as readStringProperty, t as extractNestedObjectLiteral, u as readEnvReferenceProperty } from "./config-Wcdj-D0a.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
@@ -5486,6 +5486,10 @@ const DOCS_CONTENT_CHANGES_RESPONSE_VALUE = "changes";
|
|
|
5486
5486
|
const DEFAULT_DOCS_CONTENT_CHANGE_SNAPSHOTS = 8;
|
|
5487
5487
|
const MAX_DOCS_CONTENT_CHANGE_SNAPSHOTS = 64;
|
|
5488
5488
|
const DOCS_RETRIEVAL_DIGEST_PATTERN = /^sha256:[a-f\d]{64}$/u;
|
|
5489
|
+
/** Whether a value is a valid content-index generation identifier. */
|
|
5490
|
+
function isDocsContentChangeGeneration(value) {
|
|
5491
|
+
return DOCS_RETRIEVAL_DIGEST_PATTERN.test(value);
|
|
5492
|
+
}
|
|
5489
5493
|
var DocsContentChangesRequestError = class extends Error {
|
|
5490
5494
|
code = "invalid_content_changes_request";
|
|
5491
5495
|
constructor(message) {
|
|
@@ -5512,7 +5516,7 @@ function resolveDocsContentChangesRequest(url) {
|
|
|
5512
5516
|
const rawAudience = url.searchParams.get("audience");
|
|
5513
5517
|
if (rawAudience !== null && rawAudience !== "human" && rawAudience !== "agent") throw new DocsContentChangesRequestError("Content-change audience must be `human` or `agent`.");
|
|
5514
5518
|
const since = url.searchParams.get("since") ?? void 0;
|
|
5515
|
-
if (since !== void 0 && !
|
|
5519
|
+
if (since !== void 0 && !isDocsContentChangeGeneration(since)) throw new DocsContentChangesRequestError("Content-change `since` must be a SHA-256 index generation.");
|
|
5516
5520
|
return {
|
|
5517
5521
|
audience: rawAudience ?? "agent",
|
|
5518
5522
|
...since ? { since } : {}
|
|
@@ -8678,4 +8682,4 @@ function toYamlString(value) {
|
|
|
8678
8682
|
}
|
|
8679
8683
|
|
|
8680
8684
|
//#endregion
|
|
8681
|
-
export { matchesDocsLlmsTxtSection as $,
|
|
8685
|
+
export { matchesDocsLlmsTxtSection as $, resolveDocsMcpProtectedResourceMetadataLocation as $n, buildDocsRetrievalDigestProjection as $t, buildDocsAgentDiscoverySpec as A, normalizeAgentLocale as An, DEFAULT_SITEMAP_XML_ROUTE as At, findDocsMarkdownPage as B, DEFAULT_MCP_PUBLIC_ROUTE as Bn, DOCS_CONTENT_CHANGES_FORMAT as Bt, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN as C, resolveDocsAgentMdxContent as Cn, selectDocsMarkdownSection as Ct, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER as D, agentVersionConstraintMatches as Dn, DEFAULT_SITEMAP_MD_DOCS_ROUTE as Dt, DOCS_MARKDOWN_SECTION_INDEX_FORMAT as E, agentVersionConstraintGroupsOverlap as En, DEFAULT_SITEMAP_MANIFEST_PATH as Et, buildDocsMcpEndpointCandidates as F, digestDocsRetrievalContent as Fn, renderDocsSitemapXml as Ft, isDocsAgentDiscoveryRequest as G, getDocsMcpResourcePaths as Gn, createDocsContentChangesHttpResponse as Gt, getDocsMarkdownCanonicalLinkHeader as H, DEFAULT_MCP_WELL_KNOWN_ROUTE as Hn, DOCS_CONTENT_SNAPSHOT_FORMAT as Ht, collectDocsMarkdownSections as I, isDocsRetrievalCanonicalUrl as In, resolveDocsSitemapConfig as It, isDocsDiagnosticsRequest as J, isDocsMcpProtectedResourceMetadataPath as Jn, resolveDocsContentChangesConfig as Jt, isDocsAgentsRequest as K, hasDocsMcpProtectedResourceConfig as Kn, isDocsContentChangeGeneration as Kt, createDocsMarkdownResponse as L, normalizeDocsRelated as Ln, resolveDocsSitemapPageLastmod as Lt, buildDocsConfigMap as M, normalizeAgentVersion as Mn, createDocsSitemapResponse as Mt, buildDocsDiagnostics as N, DocsPaginationCursorError as Nn, readDocsSitemapManifestFromContentMap as Nt, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN as O, agentVersionConstraintsOverlap as On, DEFAULT_SITEMAP_MD_ROUTE as Ot, buildDocsMarkdownSectionIndex as P, paginateDocsItems as Pn, renderDocsSitemapMarkdown as Pt, isDocsSkillRequest as Q, normalizeDocsMcpEndpointPath as Qn, buildDocsContentSnapshot as Qt, createDocsStandardsDiscoveryResponse as R, renderDocsRelatedMarkdownLines as Rn, resolveDocsSitemapRequest as Rt, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE as S, findDocsAudienceMdxTags as Sn, selectDocsLlmsTxtContent as St, DOCS_CONFIG_MAP_TOP_LEVEL_KEYS as T, resolveDocsAudienceMdxContent as Tn, validateDocsAgentFeedbackPayload as Tt, getDocsMarkdownVaryHeader as U, buildDocsMcpProtectedResourceMetadataRoute as Un, DocsContentChangesRequestError as Ut, getDocsLlmsTxtMaxCharsIssue as V, DEFAULT_MCP_ROUTE as Vn, DOCS_CONTENT_CHANGES_RESPONSE_VALUE as Vt, hasDocsMarkdownSignatureAgent as W, getDocsMcpProtectedResourceMetadataRoutes as Wn, createDocsContentChangeFeed as Wt, isDocsMarkdownSectionIndexRequest as X, isDocsMcpResourcePath as Xn, DocsSearchRequestError as Xt, isDocsLlmsTxtPublicRequest as Y, isDocsMcpRequest as Yn, resolveDocsContentChangesRequest as Yt, isDocsPublicGetRequest as Z, normalizeDocsMcpAuthorizationServerUrls as Zn, buildDocsAskAIContext as Zt, DEFAULT_LLMS_TXT_MAX_CHARS as _, resolveDocsSearchFilters as _n, resolveDocsMarkdownRequest as _t, DEFAULT_AGENT_MD_ROUTE as a, createSimpleSearchAdapter as an, renderDocsMarkdownDocument as at, DEFAULT_OPENAPI_SCHEMA_ROUTE as b, extractDocsMarkdownPromptBlocks as bn, resolveDocsRequestApiRoute as bt, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE as c, formatDocsAskAIPackageHints as cn, resolveDocsAgentContractMcpTools as ct, DEFAULT_DOCS_CONFIG_FORMAT as d, performDocsSearch as dn, resolveDocsAgentsFormat as dt, buildDocsSearchDocuments as en, resolveDocsMcpResourceLocation as er, normalizeDocsPathSegment as et, DEFAULT_DOCS_CONFIG_ROUTE as f, performDocsSearchWithMetadata as fn, resolveDocsLlmsTxtFormat as ft, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE as g, resolveDocsSearchError as gn, resolveDocsMarkdownRecovery as gt, DEFAULT_LLMS_FULL_TXT_ROUTE as h, resolveDocsSearchAudience as hn, resolveDocsMarkdownCanonicalUrl as ht, DEFAULT_AGENT_FEEDBACK_ROUTE as i, createMcpSearchAdapter as in, renderDocsLlmsTxt as it, buildDocsAgentFeedbackSchema as j, normalizeAgentScopeValues as jn, buildDocsSitemapManifest as jt, acceptsDocsMarkdown as k, normalizeAgentFramework as kn, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE as kt, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE as l, inferDocsAskAIPackageHints as ln, resolveDocsAgentFeedbackConfig as lt, DEFAULT_DOCS_DIAGNOSTICS_ROUTE as m, resolveDocsRetrievalLastModified as mn, resolveDocsLlmsTxtSections as mt, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE as n, createAlgoliaSearchAdapter as nn, parseDocsAgentFeedbackData as nt, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE as o, createTypesenseSearchAdapter as on, renderDocsMarkdownNotFound as ot, DEFAULT_DOCS_DIAGNOSTICS_FORMAT as p, resolveAskAISearchRequestConfig as pn, resolveDocsLlmsTxtRequest as pt, isDocsConfigRequest as q, isDocsMcpOAuthScopeToken as qn, isDocsContentChangesRequest as qt, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA as r, createCustomSearchAdapter as rn, renderDocsAgentsDocument as rt, DEFAULT_AGENT_SPEC_ROUTE as s, enrichDocsSearchDocumentsWithProvenance as sn, renderDocsSkillDocument as st, DEFAULT_AGENTS_MD_ROUTE as t, buildDocsSearchFacets as tn, normalizeDocsUrlPath as tt, DEFAULT_DOCS_API_ROUTE as u, normalizeDocsSearchFilters as un, resolveDocsAgentFeedbackRequest as ut, DEFAULT_LLMS_TXT_ROUTE as v, resolveDocsSearchRequest as vn, resolveDocsMarkdownSectionRequest as vt, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN as w, resolveDocsAudienceExposure as wn, toDocsMarkdownUrl as wt, DEFAULT_SKILL_MD_ROUTE as x, findDocsAudienceMdxIssues as xn, resolveDocsSkillFormat as xt, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE as y, resolveSearchRequestConfig as yn, resolveDocsOpenApiDiscoveryConfig as yt, detectDocsMarkdownAgentRequest as z, DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE as zn, toDocsSitemapMarkdownUrl as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { An as normalizeAgentLocale, Dn as agentVersionConstraintMatches, En as agentVersionConstraintGroupsOverlap, Mn as normalizeAgentVersion, On as agentVersionConstraintsOverlap, Zt as buildDocsAskAIContext, dn as performDocsSearch, jn as normalizeAgentScopeValues, kn as normalizeAgentFramework, un as normalizeDocsSearchFilters, yn as resolveSearchRequestConfig } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
import { S as upsertPageAgentContractMarkdown, l as stripDocsGeneratedAgentContractMarkers, o as findDocsMarkdownSection } from "./markdown-sections-7OoA7ylx.mjs";
|
|
3
3
|
import { buildDocsMcpContext } from "./mcp.mjs";
|
|
4
4
|
import { i as validateCodeBlockPlans, n as planCodeBlockTargets, r as resolveDocsCodeBlocksValidateConfig, t as extractCodeBlocksFromMarkdown } from "./code-blocks-DnNVNK2M.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as buildDocsAgentDiscoverySpec, Ft as renderDocsSitemapXml, It as resolveDocsSitemapConfig, Pt as renderDocsSitemapMarkdown, S as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, a as DEFAULT_AGENT_MD_ROUTE, at as renderDocsMarkdownDocument, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, it as renderDocsLlmsTxt, jt as buildDocsSitemapManifest, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, lt as resolveDocsAgentFeedbackConfig, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, rt as renderDocsAgentsDocument, st as renderDocsSkillDocument, t as DEFAULT_AGENTS_MD_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, wt as toDocsMarkdownUrl, x as DEFAULT_SKILL_MD_ROUTE, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE } from "./agent-
|
|
1
|
+
import { A as buildDocsAgentDiscoverySpec, Ft as renderDocsSitemapXml, It as resolveDocsSitemapConfig, Pt as renderDocsSitemapMarkdown, S as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, a as DEFAULT_AGENT_MD_ROUTE, at as renderDocsMarkdownDocument, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, it as renderDocsLlmsTxt, jt as buildDocsSitemapManifest, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, lt as resolveDocsAgentFeedbackConfig, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, rt as renderDocsAgentsDocument, st as renderDocsSkillDocument, t as DEFAULT_AGENTS_MD_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, wt as toDocsMarkdownUrl, x as DEFAULT_SKILL_MD_ROUTE, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
import "./markdown-sections-7OoA7ylx.mjs";
|
|
3
3
|
import { A as buildDocsLegacySkillsIndex, D as buildDocsA2AAgentCard, L as resolveDocsPublishedAgentSkill, O as buildDocsAgentSkillsIndex, a as DEFAULT_A2A_AGENT_CARD_ROUTE, b as DEFAULT_LEGACY_SKILLS_INDEX_ROUTE, f as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, u as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, x as DEFAULT_LEGACY_SKILLS_ROUTE_PREFIX } from "./standards-discovery-BKlEnK_H.mjs";
|
|
4
|
-
import "./agent-provenance-
|
|
4
|
+
import "./agent-provenance-DEyAr22i.mjs";
|
|
5
5
|
import { t as resolveDocsI18n } from "./i18n-hHVWcflJ.mjs";
|
|
6
|
-
import { c as renderDocsRobotsGeneratedBlock, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, r as DOCS_ROBOTS_GENERATED_BLOCK_END, u as resolveDocsRobotsConfig } from "./robots-
|
|
7
|
-
import "./sitemap-server-
|
|
8
|
-
import "./agent-evals-
|
|
6
|
+
import { c as renderDocsRobotsGeneratedBlock, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, r as DOCS_ROBOTS_GENERATED_BLOCK_END, u as resolveDocsRobotsConfig } from "./robots-DUdUIBpi.mjs";
|
|
7
|
+
import "./sitemap-server-p4wkFm9-.mjs";
|
|
8
|
+
import "./agent-evals-DQbsw5fY.mjs";
|
|
9
9
|
import { createFilesystemDocsMcpSource, resolveDocsMcpConfig } from "./mcp.mjs";
|
|
10
10
|
import "./code-blocks-DnNVNK2M.mjs";
|
|
11
11
|
import { t as resolveConfiguredAgentSkills } from "./agent-skills-server-B2EXn2QD.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isDocsAgentDiscoveryRequest,
|
|
1
|
+
import { G as isDocsAgentDiscoveryRequest, Jt as resolveDocsContentChangesConfig, K as isDocsAgentsRequest, Q as isDocsSkillRequest, _t as resolveDocsMarkdownRequest, dt as resolveDocsAgentsFormat, lt as resolveDocsAgentFeedbackConfig, pt as resolveDocsLlmsTxtRequest, qt as isDocsContentChangesRequest, ut as resolveDocsAgentFeedbackRequest, xt as resolveDocsSkillFormat } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/telemetry.ts
|
|
4
4
|
const DOCS_PACKAGE_NAME = "@farming-labs/docs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { et as DocsAgentSkillsInput } from "./types-
|
|
2
|
-
import { z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
1
|
+
import { et as DocsAgentSkillsInput } from "./types-o-ULHPK6.mjs";
|
|
2
|
+
import { z as DocsPublishedAgentSkill } from "./standards-discovery-C2cUIQzW.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-skills-server.d.ts
|
|
5
5
|
interface ResolveConfiguredAgentSkillsOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { et as DocsAgentSkillsInput } from "./types-
|
|
2
|
-
import { z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
3
|
-
import { t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-
|
|
1
|
+
import { et as DocsAgentSkillsInput } from "./types-o-ULHPK6.mjs";
|
|
2
|
+
import { z as DocsPublishedAgentSkill } from "./standards-discovery-C2cUIQzW.mjs";
|
|
3
|
+
import { t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-Daq-FOay.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/agent-skills-vite.d.ts
|
|
6
6
|
declare const DOCS_AGENT_SKILLS_BUNDLE_MODULE = "@farming-labs/docs/agent-skills-bundle";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as DEFAULT_AGENT_MD_ROUTE, lt as resolveDocsAgentFeedbackConfig, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, rt as renderDocsAgentsDocument, t as DEFAULT_AGENTS_MD_ROUTE } from "./agent-
|
|
1
|
+
import { a as DEFAULT_AGENT_MD_ROUTE, lt as resolveDocsAgentFeedbackConfig, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, rt as renderDocsAgentsDocument, t as DEFAULT_AGENTS_MD_ROUTE } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
import "./markdown-sections-7OoA7ylx.mjs";
|
|
3
3
|
import "./standards-discovery-BKlEnK_H.mjs";
|
|
4
|
-
import "./agent-provenance-
|
|
5
|
-
import { C as resolveApiReferenceOpenApiDiscovery } from "./sitemap-server-
|
|
6
|
-
import "./agent-evals-
|
|
4
|
+
import "./agent-provenance-DEyAr22i.mjs";
|
|
5
|
+
import { C as resolveApiReferenceOpenApiDiscovery } from "./sitemap-server-p4wkFm9-.mjs";
|
|
6
|
+
import "./agent-evals-DQbsw5fY.mjs";
|
|
7
7
|
import { resolveDocsMcpConfig } from "./mcp.mjs";
|
|
8
8
|
import "./code-blocks-DnNVNK2M.mjs";
|
|
9
9
|
import "./agent-skills-server-B2EXn2QD.mjs";
|
package/dist/cli/index.mjs
CHANGED
|
@@ -141,10 +141,10 @@ async function main() {
|
|
|
141
141
|
printCloudHelp();
|
|
142
142
|
process.exit(1);
|
|
143
143
|
} else if (parsedCommand.command === "mcp") {
|
|
144
|
-
const { runMcp } = await import("../mcp-
|
|
144
|
+
const { runMcp } = await import("../mcp-DOisfwWF.mjs");
|
|
145
145
|
await runMcp(mcpOptions);
|
|
146
146
|
} else if (parsedCommand.command === "agent" && subcommand === "compact") {
|
|
147
|
-
const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-
|
|
147
|
+
const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-DYPnd8-9.mjs").then((n) => n.t);
|
|
148
148
|
const agentCompactOptions = parseAgentCompactArgs(args.slice(2));
|
|
149
149
|
if (agentCompactOptions.help) {
|
|
150
150
|
printAgentCompactHelp();
|
|
@@ -152,7 +152,7 @@ async function main() {
|
|
|
152
152
|
}
|
|
153
153
|
await compactAgentDocs(agentCompactOptions);
|
|
154
154
|
} else if (parsedCommand.command === "agent" && subcommand === "export") {
|
|
155
|
-
const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-
|
|
155
|
+
const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-DyDl_mmh.mjs");
|
|
156
156
|
const agentExportOptions = parseAgentExportArgs(args.slice(2));
|
|
157
157
|
if (agentExportOptions.help) {
|
|
158
158
|
printAgentExportHelp();
|
|
@@ -162,13 +162,13 @@ async function main() {
|
|
|
162
162
|
} else if (parsedCommand.command === "agent") {
|
|
163
163
|
console.error(pc.red(`Unknown agent subcommand: ${subcommand ?? "(missing)"}`));
|
|
164
164
|
console.error();
|
|
165
|
-
const { printAgentCompactHelp } = await import("../agent-
|
|
166
|
-
const { printAgentExportHelp } = await import("../agent-export-
|
|
165
|
+
const { printAgentCompactHelp } = await import("../agent-DYPnd8-9.mjs").then((n) => n.t);
|
|
166
|
+
const { printAgentExportHelp } = await import("../agent-export-DyDl_mmh.mjs");
|
|
167
167
|
printAgentCompactHelp();
|
|
168
168
|
printAgentExportHelp();
|
|
169
169
|
process.exit(1);
|
|
170
170
|
} else if (parsedCommand.command === "agents" && subcommand === "generate") {
|
|
171
|
-
const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-
|
|
171
|
+
const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-ktSbqsOA.mjs");
|
|
172
172
|
const agentsOptions = parseAgentsGenerateArgs(args.slice(2));
|
|
173
173
|
if (agentsOptions.help) {
|
|
174
174
|
printAgentsGenerateHelp();
|
|
@@ -178,11 +178,11 @@ async function main() {
|
|
|
178
178
|
} else if (parsedCommand.command === "agents") {
|
|
179
179
|
console.error(pc.red(`Unknown agents subcommand: ${subcommand ?? "(missing)"}`));
|
|
180
180
|
console.error();
|
|
181
|
-
const { printAgentsGenerateHelp } = await import("../agents-
|
|
181
|
+
const { printAgentsGenerateHelp } = await import("../agents-ktSbqsOA.mjs");
|
|
182
182
|
printAgentsGenerateHelp();
|
|
183
183
|
process.exit(1);
|
|
184
184
|
} else if (parsedCommand.command === "doctor") {
|
|
185
|
-
const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-
|
|
185
|
+
const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-DPj4Af0T.mjs");
|
|
186
186
|
const doctorOptions = parseDoctorArgs(args.slice(1));
|
|
187
187
|
if (doctorOptions.help) {
|
|
188
188
|
printDoctorHelp();
|
|
@@ -190,7 +190,7 @@ async function main() {
|
|
|
190
190
|
}
|
|
191
191
|
await runDoctor(doctorOptions);
|
|
192
192
|
} else if (parsedCommand.command === "review") {
|
|
193
|
-
const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-
|
|
193
|
+
const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-X1qVmw9I.mjs");
|
|
194
194
|
const reviewOptions = parseReviewArgs(args.slice(1));
|
|
195
195
|
if (reviewOptions.help) {
|
|
196
196
|
printReviewHelp();
|
|
@@ -212,7 +212,7 @@ async function main() {
|
|
|
212
212
|
printCodeBlocksValidateHelp();
|
|
213
213
|
process.exit(1);
|
|
214
214
|
} else if (parsedCommand.command === "search" && subcommand === "sync") {
|
|
215
|
-
const { syncSearch } = await import("../search-
|
|
215
|
+
const { syncSearch } = await import("../search-DMOwAmxo.mjs");
|
|
216
216
|
await syncSearch(searchSyncOptions);
|
|
217
217
|
} else if (parsedCommand.command === "search") {
|
|
218
218
|
console.error(pc.red(`Unknown search subcommand: ${subcommand ?? "(missing)"}`));
|
|
@@ -220,7 +220,7 @@ async function main() {
|
|
|
220
220
|
printHelp();
|
|
221
221
|
process.exit(1);
|
|
222
222
|
} else if (parsedCommand.command === "sitemap" && subcommand === "generate") {
|
|
223
|
-
const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-
|
|
223
|
+
const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-5Lajt0xS.mjs");
|
|
224
224
|
const sitemapOptions = parseSitemapGenerateArgs(args.slice(2));
|
|
225
225
|
if (sitemapOptions.help) {
|
|
226
226
|
printSitemapGenerateHelp();
|
|
@@ -230,11 +230,11 @@ async function main() {
|
|
|
230
230
|
} else if (parsedCommand.command === "sitemap") {
|
|
231
231
|
console.error(pc.red(`Unknown sitemap subcommand: ${subcommand ?? "(missing)"}`));
|
|
232
232
|
console.error();
|
|
233
|
-
const { printSitemapGenerateHelp } = await import("../sitemap-
|
|
233
|
+
const { printSitemapGenerateHelp } = await import("../sitemap-5Lajt0xS.mjs");
|
|
234
234
|
printSitemapGenerateHelp();
|
|
235
235
|
process.exit(1);
|
|
236
236
|
} else if (parsedCommand.command === "robots" && subcommand === "generate") {
|
|
237
|
-
const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-
|
|
237
|
+
const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-DTo_uqa9.mjs");
|
|
238
238
|
const robotsOptions = parseRobotsGenerateArgs(args.slice(2));
|
|
239
239
|
if (robotsOptions.help) {
|
|
240
240
|
printRobotsGenerateHelp();
|
|
@@ -244,7 +244,7 @@ async function main() {
|
|
|
244
244
|
} else if (parsedCommand.command === "robots") {
|
|
245
245
|
console.error(pc.red(`Unknown robots subcommand: ${subcommand ?? "(missing)"}`));
|
|
246
246
|
console.error();
|
|
247
|
-
const { printRobotsGenerateHelp } = await import("../robots-
|
|
247
|
+
const { printRobotsGenerateHelp } = await import("../robots-DTo_uqa9.mjs");
|
|
248
248
|
printRobotsGenerateHelp();
|
|
249
249
|
process.exit(1);
|
|
250
250
|
} else if (parsedCommand.command === "downgrade") {
|
package/dist/client/react.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as DocsAnalyticsConfig, t as AIConfig, vt as DocsCloudConfig } from "./types-
|
|
1
|
+
import { it as DocsAnalyticsConfig, t as AIConfig, vt as DocsCloudConfig } from "./types-o-ULHPK6.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/cloud-ask-ai.d.ts
|
|
4
4
|
interface DocsCloudAskAIConfig {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DocsAnalyticsEvent, it as DocsAnalyticsConfig, ot as DocsAnalyticsEventInput } from "./types-
|
|
2
|
-
import { n as DocsCloudAskAIResponseOptions, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-
|
|
1
|
+
import { at as DocsAnalyticsEvent, it as DocsAnalyticsConfig, ot as DocsAnalyticsEventInput } from "./types-o-ULHPK6.mjs";
|
|
2
|
+
import { n as DocsCloudAskAIResponseOptions, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-o41WfOTk.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/docs-cloud-server.d.ts
|
|
5
5
|
type DocsCloudRuntimeValue<T = string> = T | undefined | null | (() => T | undefined | null);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-
|
|
2
|
-
import { d as httpLinkHeaderHasTargetRelation, f as AGENT_SKILL_ARCHIVE_MAX_UNCOMPRESSED_BYTES, p as readAgentSkillDocumentFromTar } from "./prompt-references-
|
|
3
|
-
import { A as buildDocsAgentDiscoverySpec, At as DEFAULT_SITEMAP_XML_ROUTE, F as buildDocsMcpEndpointCandidates,
|
|
1
|
+
import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-DYPnd8-9.mjs";
|
|
2
|
+
import { d as httpLinkHeaderHasTargetRelation, f as AGENT_SKILL_ARCHIVE_MAX_UNCOMPRESSED_BYTES, p as readAgentSkillDocumentFromTar } from "./prompt-references-DbmH5FA9.mjs";
|
|
3
|
+
import { A as buildDocsAgentDiscoverySpec, At as DEFAULT_SITEMAP_XML_ROUTE, Bn as DEFAULT_MCP_PUBLIC_ROUTE, F as buildDocsMcpEndpointCandidates, Hn as DEFAULT_MCP_WELL_KNOWN_ROUTE, It as resolveDocsSitemapConfig, M as buildDocsConfigMap, Ot as DEFAULT_SITEMAP_MD_ROUTE, S as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, T as DOCS_CONFIG_MAP_TOP_LEVEL_KEYS, Wn as getDocsMcpProtectedResourceMetadataRoutes, Zn as normalizeDocsMcpAuthorizationServerUrls, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, i as DEFAULT_AGENT_FEEDBACK_ROUTE, kt as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, pn as resolveAskAISearchRequestConfig, qn as isDocsMcpOAuthScopeToken, t as DEFAULT_AGENTS_MD_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, x as DEFAULT_SKILL_MD_ROUTE } from "./agent-DejGcJfb.mjs";
|
|
4
4
|
import { f as PAGE_AGENT_CONTRACT_FIELDS } from "./markdown-sections-7OoA7ylx.mjs";
|
|
5
5
|
import { isDocsAgentSkillName, validateDocsAgentSkillFrontmatter } from "./agent-skills-spec.mjs";
|
|
6
6
|
import { I as resolveDocsDiscoveryApiRoute, _ as DEFAULT_API_CATALOG_FORMAT, d as DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, f as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, h as DEFAULT_AGENT_SKILL_FORMAT, l as DEFAULT_AGENT_SKILLS_INDEX_FORMAT, n as API_CATALOG_MEDIA_TYPE, r as API_CATALOG_PROFILE_URI, t as AGENT_SKILLS_DISCOVERY_SCHEMA_URI, u as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, v as DEFAULT_API_CATALOG_ROUTE } from "./standards-discovery-BKlEnK_H.mjs";
|
|
7
|
-
import "./agent-provenance-
|
|
8
|
-
import { a as analyzeDocsRobotsTxt, n as DEFAULT_ROBOTS_TXT_ROUTE, u as resolveDocsRobotsConfig } from "./robots-
|
|
7
|
+
import "./agent-provenance-DEyAr22i.mjs";
|
|
8
|
+
import { a as analyzeDocsRobotsTxt, n as DEFAULT_ROBOTS_TXT_ROUTE, u as resolveDocsRobotsConfig } from "./robots-DUdUIBpi.mjs";
|
|
9
9
|
import { a as resolveDocsMetadataBaseUrl } from "./metadata-N252j5_a.mjs";
|
|
10
|
-
import "./sitemap-server-
|
|
11
|
-
import { t as runDocsGoldenTasks } from "./agent-evals-
|
|
10
|
+
import "./sitemap-server-p4wkFm9-.mjs";
|
|
11
|
+
import { t as runDocsGoldenTasks } from "./agent-evals-DQbsw5fY.mjs";
|
|
12
12
|
import { createFilesystemDocsMcpSource, getDocsConfigSchema, resolveDocsMcpConfig } from "./mcp.mjs";
|
|
13
13
|
import "./code-blocks-DnNVNK2M.mjs";
|
|
14
14
|
import { t as resolveConfiguredAgentSkills } from "./agent-skills-server-B2EXn2QD.mjs";
|
|
15
15
|
import "./server.mjs";
|
|
16
16
|
import { _ as resolveDocsContentDir, d as readNavTitle, g as resolveDocsConfigPath, h as readTopLevelStringProperty, l as readBooleanProperty, r as extractTopLevelConfigObject, s as loadDocsConfigModuleResultWithProjectEnv, t as extractNestedObjectLiteral } from "./config-Wcdj-D0a.mjs";
|
|
17
17
|
import { t as detectFramework } from "./utils-DpiIioYb.mjs";
|
|
18
|
-
import { i as createAgentUsefulnessPagesFromMcp, n as analyzeAgentSurfaceDrift, r as analyzeAgentUsefulness, t as resolveGoldenEvaluationInput } from "./golden-evaluations-
|
|
18
|
+
import { i as createAgentUsefulnessPagesFromMcp, n as analyzeAgentSurfaceDrift, r as analyzeAgentUsefulness, t as resolveGoldenEvaluationInput } from "./golden-evaluations-xjthrnDO.mjs";
|
|
19
19
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import { LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/
|
|
21
|
+
import { LATEST_PROTOCOL_VERSION } from "@modelcontextprotocol/server";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
import { gunzipSync } from "node:zlib";
|
|
24
24
|
import pc from "picocolors";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Mn as normalizeAgentVersion, On as agentVersionConstraintsOverlap, Sn as findDocsAudienceMdxTags, Tn as resolveDocsAudienceMdxContent, kn as normalizeAgentFramework } from "./agent-DejGcJfb.mjs";
|
|
2
2
|
import { _ as hasStructuredPageAgentContract, v as normalizePageAgentFrontmatter } from "./markdown-sections-7OoA7ylx.mjs";
|
|
3
3
|
import { t as extractCodeBlocksFromMarkdown } from "./code-blocks-DnNVNK2M.mjs";
|
|
4
4
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|