@farming-labs/docs 0.2.83 → 0.2.85
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-WS4GXGh6.d.mts → agent-2MWvWpJf.d.mts} +18 -3
- package/dist/{agent-Dze2Cy5B.mjs → agent-CTOUI2BK.mjs} +338 -296
- package/dist/{agent-Biyd8A98.mjs → agent-FyPQ2AZ4.mjs} +2 -2
- package/dist/{agent-evals-Burrzyam.mjs → agent-evals-DCptRrdP.mjs} +2 -2
- package/dist/{agent-export-whKAZQUI.mjs → agent-export-Di1Ofstb.mjs} +41 -25
- package/dist/agent-skills-bundle.d.mts +1 -1
- package/dist/{agent-skills-server-D5qYU19g.mjs → agent-skills-server-CwmzAzf_.mjs} +1 -1
- package/dist/{agent-skills-server-q4B9kRGg.d.mts → agent-skills-server-DNtmvTkv.d.mts} +2 -2
- package/dist/agent-skills-vite.d.mts +3 -3
- package/dist/agent-skills-vite.mjs +2 -2
- package/dist/{agents-B_980VCs.mjs → agents-DjUz5voa.mjs} +6 -6
- package/dist/cli/index.mjs +14 -14
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-ask-ai-BQAeHkpZ.d.mts → cloud-ask-ai-Bx-qtqHL.d.mts} +1 -1
- package/dist/{content-change-hydration-DpQ0KdAD.mjs → content-change-hydration-DLBinuFR.mjs} +2 -1
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/{doctor-WjuyRWYT.mjs → doctor-BPx6iAzQ.mjs} +10 -10
- package/dist/{golden-evaluations-B2GHnoFa.mjs → golden-evaluations-CQuiglEv.mjs} +8 -2
- package/dist/index.d.mts +29 -5
- package/dist/index.mjs +6 -6
- package/dist/{mcp-bhIsgqxy.mjs → mcp-lSrFDtwr.mjs} +6 -6
- package/dist/mcp.d.mts +3 -3
- package/dist/mcp.mjs +96 -6
- package/dist/{prompt-references-embiJdYt.mjs → prompt-references-B6gxePm8.mjs} +3 -3
- package/dist/{retrieval-digest-DRRHA1B3.d.mts → retrieval-digest-CfNbL70a.d.mts} +10 -7
- package/dist/{review-2e4TXoGS.mjs → review-CG2UApoQ.mjs} +6 -6
- package/dist/{robots-BIySk2gE.mjs → robots-BsOTGWiY.mjs} +3 -3
- package/dist/{robots-D96X6eVX.mjs → robots-DaU38DZw.mjs} +2 -2
- package/dist/{search-DfB3LQ4s.mjs → search-DEz_28y1.mjs} +6 -6
- package/dist/server.d.mts +6 -6
- package/dist/server.mjs +6 -6
- package/dist/{sitemap-server-BefXEox6.mjs → sitemap-server-Ds5z4WQB.mjs} +1 -1
- package/dist/{sitemap-AcwP8jIo.mjs → sitemap-vQbO76Vo.mjs} +6 -6
- package/dist/{standards-discovery-BKlEnK_H.mjs → standards-discovery-Ckx0tN7B.mjs} +342 -41
- package/dist/{standards-discovery-DPUEcUmb.d.mts → standards-discovery-CthpcXx2.d.mts} +5 -2
- package/dist/{types-lGEHcx_6.d.mts → types-DQl2dvDl.d.mts} +66 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O as DocsA2AAgentCardOptions, R as DocsDiscoveryApiRouteOptions, z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
1
|
+
import { Dn as DocsSearchDocument, Dr as PageAgentFrontmatter, En as DocsSearchConfig, F as DocsAgentContentChangesConfig, Fn as DocsSearchFilterField, Fr as ResolvedDocsRelatedLink, Gr as TypesenseDocsSearchConfig, In as DocsSearchFilterInput, Jn as DocsSearchSourcePage, K as DocsAgentFeedbackData, Kn as DocsSearchResult, Ln as DocsSearchFilters, Mn as DocsSearchFacetsResponse, Mt as DocsConfig, Rt as DocsContentChangesResponse, Tn as DocsSearchChunkingConfig, Ut as DocsI18nConfig, Wn as DocsSearchRequest, Yt as DocsMcpConfig, Zn as DocsSitemapConfig, bn as DocsSearchAdapterFactory, dr as LlmsTxtMaxCharsConfig, f as CustomDocsSearchConfig, fr as LlmsTxtMaxCharsMode, gn as DocsRobotsConfig, mr as McpDocsSearchConfig, on as DocsPaginatedSearchResponse, or as FeedbackConfig, pr as LlmsTxtSectionConfig, r as AlgoliaDocsSearchConfig, ur as LlmsTxtConfig, vn as DocsSearchAdapter, vt as DocsAskAIMcpConfig, zt as DocsContentSnapshot } from "./types-DQl2dvDl.mjs";
|
|
2
|
+
import { O as DocsA2AAgentCardOptions, R as DocsDiscoveryApiRouteOptions, z as DocsPublishedAgentSkill } from "./standards-discovery-CthpcXx2.mjs";
|
|
3
3
|
import { DocsMcpPage, DocsMcpResolvedConfig } from "./mcp.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/i18n.d.ts
|
|
@@ -197,6 +197,8 @@ interface PerformDocsSearchOptions {
|
|
|
197
197
|
cursor?: string;
|
|
198
198
|
/** Optional framework, version, package, and tag constraints. */
|
|
199
199
|
filters?: DocsSearchFilterInput;
|
|
200
|
+
/** Include bounded explanations for the final ranked results. Defaults to false. */
|
|
201
|
+
explain?: boolean;
|
|
200
202
|
/**
|
|
201
203
|
* Controls provider failures. Runtime search keeps the resilient `fallback` default;
|
|
202
204
|
* diagnostics can request `throw` so a broken configured provider cannot be scored as
|
|
@@ -529,6 +531,7 @@ interface DocsDiagnosticsFeature {
|
|
|
529
531
|
routes?: Record<string, string | null>;
|
|
530
532
|
agentEndpoint?: string | null;
|
|
531
533
|
structuredAgentEndpoint?: string | null;
|
|
534
|
+
explainedAgentEndpoint?: string | null;
|
|
532
535
|
facetsEndpoint?: string | null;
|
|
533
536
|
audienceParam?: string;
|
|
534
537
|
defaultAudience?: "human" | "agent";
|
|
@@ -540,6 +543,10 @@ interface DocsDiagnosticsFeature {
|
|
|
540
543
|
tags: "tags";
|
|
541
544
|
};
|
|
542
545
|
responseFormat?: "docs-search.v1";
|
|
546
|
+
explainParam?: "explain";
|
|
547
|
+
explainValue?: "true";
|
|
548
|
+
explanationField?: "explanation";
|
|
549
|
+
explanationFormat?: "docs-search-explanation.v1";
|
|
543
550
|
facetsResponseFormat?: "docs-search-facets.v1";
|
|
544
551
|
format?: string;
|
|
545
552
|
sinceParam?: string;
|
|
@@ -730,6 +737,8 @@ interface DocsStandardsDiscoveryResponseOptions extends DocsAgentDiscoverySpecOp
|
|
|
730
737
|
request: Request;
|
|
731
738
|
preferredSkillDocument?: string | null;
|
|
732
739
|
fallbackSkillDocument: string;
|
|
740
|
+
/** Stable representation generation or source modification time. */
|
|
741
|
+
lastModified?: string | Date | null;
|
|
733
742
|
}
|
|
734
743
|
interface DocsAgentContractMcpTools {
|
|
735
744
|
list?: "list_tasks";
|
|
@@ -911,7 +920,8 @@ declare function createDocsStandardsDiscoveryResponse({
|
|
|
911
920
|
openapi,
|
|
912
921
|
markdown: _markdown,
|
|
913
922
|
publishedSkills,
|
|
914
|
-
agentCard
|
|
923
|
+
agentCard,
|
|
924
|
+
lastModified
|
|
915
925
|
}: DocsStandardsDiscoveryResponseOptions): Promise<Response | null>;
|
|
916
926
|
declare function isDocsAgentDiscoveryRequest(url: URL, options?: DocsDiscoveryApiRouteOptions): boolean;
|
|
917
927
|
declare function buildDocsMcpEndpointCandidates(baseUrl: string, routes?: readonly string[], options?: DocsMcpEndpointCandidateOptions): DocsMcpEndpointCandidate[];
|
|
@@ -1162,6 +1172,7 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
1162
1172
|
endpoint: string;
|
|
1163
1173
|
agentEndpoint: string;
|
|
1164
1174
|
structuredAgentEndpoint: string;
|
|
1175
|
+
explainedAgentEndpoint: string;
|
|
1165
1176
|
facetsEndpoint: string;
|
|
1166
1177
|
method: string;
|
|
1167
1178
|
queryParam: string;
|
|
@@ -1173,6 +1184,10 @@ declare function buildDocsAgentDiscoverySpec({
|
|
|
1173
1184
|
structuredResponseValue: string;
|
|
1174
1185
|
facetsResponseValue: string;
|
|
1175
1186
|
responseFormat: string;
|
|
1187
|
+
explainParam: string;
|
|
1188
|
+
explainValue: string;
|
|
1189
|
+
explanationField: string;
|
|
1190
|
+
explanationFormat: string;
|
|
1176
1191
|
facetsResponseFormat: string;
|
|
1177
1192
|
filterParams: {
|
|
1178
1193
|
framework: string;
|