@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.
Files changed (37) hide show
  1. package/dist/{agent-WS4GXGh6.d.mts → agent-2MWvWpJf.d.mts} +18 -3
  2. package/dist/{agent-Dze2Cy5B.mjs → agent-CTOUI2BK.mjs} +338 -296
  3. package/dist/{agent-Biyd8A98.mjs → agent-FyPQ2AZ4.mjs} +2 -2
  4. package/dist/{agent-evals-Burrzyam.mjs → agent-evals-DCptRrdP.mjs} +2 -2
  5. package/dist/{agent-export-whKAZQUI.mjs → agent-export-Di1Ofstb.mjs} +41 -25
  6. package/dist/agent-skills-bundle.d.mts +1 -1
  7. package/dist/{agent-skills-server-D5qYU19g.mjs → agent-skills-server-CwmzAzf_.mjs} +1 -1
  8. package/dist/{agent-skills-server-q4B9kRGg.d.mts → agent-skills-server-DNtmvTkv.d.mts} +2 -2
  9. package/dist/agent-skills-vite.d.mts +3 -3
  10. package/dist/agent-skills-vite.mjs +2 -2
  11. package/dist/{agents-B_980VCs.mjs → agents-DjUz5voa.mjs} +6 -6
  12. package/dist/cli/index.mjs +14 -14
  13. package/dist/client/react.d.mts +1 -1
  14. package/dist/{cloud-ask-ai-BQAeHkpZ.d.mts → cloud-ask-ai-Bx-qtqHL.d.mts} +1 -1
  15. package/dist/{content-change-hydration-DpQ0KdAD.mjs → content-change-hydration-DLBinuFR.mjs} +2 -1
  16. package/dist/docs-cloud-server.d.mts +2 -2
  17. package/dist/{doctor-WjuyRWYT.mjs → doctor-BPx6iAzQ.mjs} +10 -10
  18. package/dist/{golden-evaluations-B2GHnoFa.mjs → golden-evaluations-CQuiglEv.mjs} +8 -2
  19. package/dist/index.d.mts +29 -5
  20. package/dist/index.mjs +6 -6
  21. package/dist/{mcp-bhIsgqxy.mjs → mcp-lSrFDtwr.mjs} +6 -6
  22. package/dist/mcp.d.mts +3 -3
  23. package/dist/mcp.mjs +96 -6
  24. package/dist/{prompt-references-embiJdYt.mjs → prompt-references-B6gxePm8.mjs} +3 -3
  25. package/dist/{retrieval-digest-DRRHA1B3.d.mts → retrieval-digest-CfNbL70a.d.mts} +10 -7
  26. package/dist/{review-2e4TXoGS.mjs → review-CG2UApoQ.mjs} +6 -6
  27. package/dist/{robots-BIySk2gE.mjs → robots-BsOTGWiY.mjs} +3 -3
  28. package/dist/{robots-D96X6eVX.mjs → robots-DaU38DZw.mjs} +2 -2
  29. package/dist/{search-DfB3LQ4s.mjs → search-DEz_28y1.mjs} +6 -6
  30. package/dist/server.d.mts +6 -6
  31. package/dist/server.mjs +6 -6
  32. package/dist/{sitemap-server-BefXEox6.mjs → sitemap-server-Ds5z4WQB.mjs} +1 -1
  33. package/dist/{sitemap-AcwP8jIo.mjs → sitemap-vQbO76Vo.mjs} +6 -6
  34. package/dist/{standards-discovery-BKlEnK_H.mjs → standards-discovery-Ckx0tN7B.mjs} +342 -41
  35. package/dist/{standards-discovery-DPUEcUmb.d.mts → standards-discovery-CthpcXx2.d.mts} +5 -2
  36. package/dist/{types-lGEHcx_6.d.mts → types-DQl2dvDl.d.mts} +66 -1
  37. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { $n as LlmsTxtConfig, An as DocsSearchFilterInput, Bn as DocsSitemapConfig, Cn as DocsSearchConfig, F as DocsAgentContentChangesConfig, Fn as DocsSearchResult, K as DocsAgentFeedbackData, Ln as DocsSearchSourcePage, Mt as DocsConfig, Nn as DocsSearchRequest, On as DocsSearchFacetsResponse, Pr as TypesenseDocsSearchConfig, Rt as DocsContentChangesResponse, Sn as DocsSearchChunkingConfig, Ut as DocsI18nConfig, Yn as FeedbackConfig, Yt as DocsMcpConfig, bn as DocsSearchAdapterFactory, er as LlmsTxtMaxCharsConfig, f as CustomDocsSearchConfig, gn as DocsRobotsConfig, gr as PageAgentFrontmatter, jn as DocsSearchFilters, kn as DocsSearchFilterField, nr as LlmsTxtSectionConfig, on as DocsPaginatedSearchResponse, r as AlgoliaDocsSearchConfig, rr as McpDocsSearchConfig, tr as LlmsTxtMaxCharsMode, vn as DocsSearchAdapter, vt as DocsAskAIMcpConfig, wn as DocsSearchDocument, wr as ResolvedDocsRelatedLink, zt as DocsContentSnapshot } from "./types-lGEHcx_6.mjs";
2
- import { O as DocsA2AAgentCardOptions, R as DocsDiscoveryApiRouteOptions, z as DocsPublishedAgentSkill } from "./standards-discovery-DPUEcUmb.mjs";
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;