@farming-labs/docs 0.2.85 → 0.2.87
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-2MWvWpJf.d.mts → agent-C598zLsD.d.mts} +2 -2
- package/dist/agent-skills-bundle.d.mts +1 -1
- package/dist/agent-skills-progressive-disclosure-BVvj7nM8.mjs +308 -0
- package/dist/{agent-skills-server-DNtmvTkv.d.mts → agent-skills-server-DEqyYAhL.d.mts} +2 -2
- package/dist/agent-skills-vite.d.mts +3 -3
- package/dist/cli/index.mjs +38 -11
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-ask-ai-Bx-qtqHL.d.mts → cloud-ask-ai-uzDpy0um.d.mts} +1 -1
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/{doctor-BPx6iAzQ.mjs → doctor-DUnOjP9T.mjs} +2 -1
- package/dist/{downgrade-w7e6Se0L.mjs → downgrade-Wcgqbfv_.mjs} +1 -1
- package/dist/{golden-evaluations-CQuiglEv.mjs → golden-evaluations-CNDwoUOe.mjs} +1 -305
- package/dist/index.d.mts +4 -4
- package/dist/mcp.d.mts +3 -3
- package/dist/{retrieval-digest-CfNbL70a.d.mts → retrieval-digest-sY-uhDFJ.d.mts} +2 -2
- package/dist/{review-CG2UApoQ.mjs → review-DEnzotkg.mjs} +2 -1
- package/dist/server.d.mts +5 -5
- package/dist/skills-CPDwsMq4.mjs +467 -0
- package/dist/{standards-discovery-CthpcXx2.d.mts → standards-discovery-CG_cZRSx.d.mts} +1 -1
- package/dist/{upgrade-oz-GChgt.mjs → upgrade-BSCjUH0V.mjs} +1 -1
- package/package.json +1 -1
- /package/dist/{init-DAkI0Lkf.mjs → init-D0GcUKJ0.mjs} +0 -0
- /package/dist/{mcp-lSrFDtwr.mjs → mcp-7bvRe9Da.mjs} +0 -0
- /package/dist/{package-version-n5AFur8a.mjs → package-version-B3PJ6IDr.mjs} +0 -0
- /package/dist/{robots-BsOTGWiY.mjs → robots-DXy1xW3D.mjs} +0 -0
- /package/dist/{search-DEz_28y1.mjs → search-DznddPqw.mjs} +0 -0
- /package/dist/{sitemap-vQbO76Vo.mjs → sitemap-DCsrVSPf.mjs} +0 -0
- /package/dist/{types-DQl2dvDl.d.mts → types-CigzkdLB.d.mts} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { An as normalizeAgentFramework, Cn as findDocsAudienceMdxTags, En as resolveDocsAudienceMdxContent, Nn as normalizeAgentVersion, kn as agentVersionConstraintsOverlap } from "./agent-CTOUI2BK.mjs";
|
|
2
2
|
import { _ as hasStructuredPageAgentContract, v as normalizePageAgentFrontmatter } from "./markdown-sections-7OoA7ylx.mjs";
|
|
3
|
-
import { validateDocsAgentSkillFrontmatter } from "./agent-skills-spec.mjs";
|
|
4
|
-
import { n as resolveConfiguredAgentSkillPathsSync } from "./agent-skills-server-CwmzAzf_.mjs";
|
|
5
3
|
import { t as extractCodeBlocksFromMarkdown } from "./code-blocks-0wjOsqdJ.mjs";
|
|
6
4
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
7
5
|
import path from "node:path";
|
|
@@ -1768,308 +1766,6 @@ function analyzeAgentSurfaceDrift(options) {
|
|
|
1768
1766
|
return issues.sort((left, right) => left.path.localeCompare(right.path) || left.code.localeCompare(right.code) || left.message.localeCompare(right.message));
|
|
1769
1767
|
}
|
|
1770
1768
|
|
|
1771
|
-
//#endregion
|
|
1772
|
-
//#region src/agent-skills-progressive-disclosure.ts
|
|
1773
|
-
const DEFAULT_AGENT_SKILL_MAX_LINES = 500;
|
|
1774
|
-
const DEFAULT_AGENT_SKILL_INSTRUCTION_TOKEN_BUDGET = 5e3;
|
|
1775
|
-
const DEFAULT_AGENT_SKILL_MAX_REFERENCE_DEPTH = 1;
|
|
1776
|
-
const MARKDOWN_LINK_PATTERN = /!?\[[^\]]*\]\(([^)\n]+)\)/gu;
|
|
1777
|
-
const SKILL_PATH_PATTERN = /(?:^|[\s"'`(])((?:\.\/)?(?:references|scripts|assets)\/[\p{L}\p{N}@._+\-/]+)/gmu;
|
|
1778
|
-
const REQUIREMENT_PATTERN = /\b(?:requires?|prerequisites?|node(?:\.js)?|python|npm|pnpm|yarn|bun|deno|docker|git|network access|internet access|api key|environment variables?|macos|linux|windows)\b/iu;
|
|
1779
|
-
const DEPENDENCY_DOCUMENTATION_PATTERN = /\b(?:dependenc(?:y|ies)|requires?|prerequisites?|self-contained|standard library|no external dependencies)\b/iu;
|
|
1780
|
-
const VALIDATION_DOCUMENTATION_PATTERN = /\b(?:validate|validation|verify|verification|tests?|expected (?:result|output)|--check|--dry-run)\b/iu;
|
|
1781
|
-
const PUBLISHED_SKILL_ROOTS = new Set([
|
|
1782
|
-
"references",
|
|
1783
|
-
"scripts",
|
|
1784
|
-
"assets"
|
|
1785
|
-
]);
|
|
1786
|
-
const MARKDOWN_EXTENSIONS = new Set([".md", ".mdx"]);
|
|
1787
|
-
function positiveInteger(value, fallback) {
|
|
1788
|
-
return typeof value === "number" && Number.isFinite(value) && value >= 1 ? Math.floor(value) : fallback;
|
|
1789
|
-
}
|
|
1790
|
-
function nonNegativeInteger(value, fallback) {
|
|
1791
|
-
return typeof value === "number" && Number.isFinite(value) && value >= 0 ? Math.floor(value) : fallback;
|
|
1792
|
-
}
|
|
1793
|
-
function readProgressiveDisclosureConfig(input) {
|
|
1794
|
-
if (!input || typeof input === "string" || Array.isArray(input)) return void 0;
|
|
1795
|
-
return input.progressiveDisclosure;
|
|
1796
|
-
}
|
|
1797
|
-
function resolveDocsAgentSkillsProgressiveDisclosureConfig(input) {
|
|
1798
|
-
const config = readProgressiveDisclosureConfig(input);
|
|
1799
|
-
return {
|
|
1800
|
-
maxSkillLines: positiveInteger(config?.maxSkillLines, DEFAULT_AGENT_SKILL_MAX_LINES),
|
|
1801
|
-
instructionTokenBudget: positiveInteger(config?.instructionTokenBudget, DEFAULT_AGENT_SKILL_INSTRUCTION_TOKEN_BUDGET),
|
|
1802
|
-
maxReferenceDepth: nonNegativeInteger(config?.maxReferenceDepth, DEFAULT_AGENT_SKILL_MAX_REFERENCE_DEPTH),
|
|
1803
|
-
compatibility: config?.compatibility === "always" || config?.compatibility === "off" || config?.compatibility === "when-needed" ? config.compatibility : "when-needed",
|
|
1804
|
-
checkScripts: config?.checkScripts !== false
|
|
1805
|
-
};
|
|
1806
|
-
}
|
|
1807
|
-
function stripFrontmatter(document) {
|
|
1808
|
-
if (!/^---[ \t]*(?:\r?\n)/u.test(document)) return document;
|
|
1809
|
-
const closing = /^---[ \t]*(?:\r?\n|$)/gmu;
|
|
1810
|
-
closing.lastIndex = document.indexOf("\n") + 1;
|
|
1811
|
-
const match = closing.exec(document);
|
|
1812
|
-
return match ? document.slice(match.index + match[0].length) : document;
|
|
1813
|
-
}
|
|
1814
|
-
/**
|
|
1815
|
-
* Dependency-free estimate for diagnostics, deliberately using three UTF-8 bytes per token
|
|
1816
|
-
* so code-heavy instructions are less likely to be under-counted.
|
|
1817
|
-
*/
|
|
1818
|
-
function estimateAgentSkillInstructionTokens(document) {
|
|
1819
|
-
return Math.ceil(Buffer.byteLength(stripFrontmatter(document), "utf8") / 3);
|
|
1820
|
-
}
|
|
1821
|
-
function lineForIndex(source, index) {
|
|
1822
|
-
return source.slice(0, index).split(/\r?\n/u).length;
|
|
1823
|
-
}
|
|
1824
|
-
function cleanReferenceTarget(rawTarget) {
|
|
1825
|
-
let target = rawTarget.trim();
|
|
1826
|
-
if (target.startsWith("<") && target.includes(">")) target = target.slice(1, target.indexOf(">"));
|
|
1827
|
-
else target = target.split(/\s+(?=["'])/u, 1)[0] ?? "";
|
|
1828
|
-
if (!target || target.startsWith("#") || target.startsWith("/") || /^[a-z][a-z\d+.-]*:/iu.test(target) || target.includes("{") || target.includes("}")) return null;
|
|
1829
|
-
const withoutFragment = target.split("#", 1)[0]?.split("?", 1)[0] ?? "";
|
|
1830
|
-
if (!withoutFragment) return null;
|
|
1831
|
-
try {
|
|
1832
|
-
return decodeURIComponent(withoutFragment).replace(/^\.\//u, "").replace(/[.,;:!?]+$/u, "");
|
|
1833
|
-
} catch {
|
|
1834
|
-
return withoutFragment.replace(/^\.\//u, "").replace(/[.,;:!?]+$/u, "");
|
|
1835
|
-
}
|
|
1836
|
-
}
|
|
1837
|
-
function extractLocalReferences(source) {
|
|
1838
|
-
const references = [];
|
|
1839
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1840
|
-
let match;
|
|
1841
|
-
MARKDOWN_LINK_PATTERN.lastIndex = 0;
|
|
1842
|
-
while (match = MARKDOWN_LINK_PATTERN.exec(source)) {
|
|
1843
|
-
if (match[0]?.startsWith("!")) continue;
|
|
1844
|
-
const target = cleanReferenceTarget(match[1] ?? "");
|
|
1845
|
-
if (!target) continue;
|
|
1846
|
-
const index = match.index + (match[0]?.indexOf(match[1] ?? "") ?? 0);
|
|
1847
|
-
const key = `${target}:${index}`;
|
|
1848
|
-
if (seen.has(key)) continue;
|
|
1849
|
-
seen.add(key);
|
|
1850
|
-
references.push({
|
|
1851
|
-
target,
|
|
1852
|
-
index,
|
|
1853
|
-
line: lineForIndex(source, index)
|
|
1854
|
-
});
|
|
1855
|
-
}
|
|
1856
|
-
SKILL_PATH_PATTERN.lastIndex = 0;
|
|
1857
|
-
while (match = SKILL_PATH_PATTERN.exec(source)) {
|
|
1858
|
-
const target = cleanReferenceTarget(match[1] ?? "");
|
|
1859
|
-
if (!target) continue;
|
|
1860
|
-
const index = match.index + (match[0]?.lastIndexOf(match[1] ?? "") ?? 0);
|
|
1861
|
-
const key = `${target}:${index}`;
|
|
1862
|
-
if (seen.has(key)) continue;
|
|
1863
|
-
seen.add(key);
|
|
1864
|
-
references.push({
|
|
1865
|
-
target,
|
|
1866
|
-
index,
|
|
1867
|
-
line: lineForIndex(source, index)
|
|
1868
|
-
});
|
|
1869
|
-
}
|
|
1870
|
-
return references.sort((left, right) => left.index - right.index);
|
|
1871
|
-
}
|
|
1872
|
-
function isInside(parent, candidate) {
|
|
1873
|
-
const relative = path.relative(parent, candidate);
|
|
1874
|
-
return relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative);
|
|
1875
|
-
}
|
|
1876
|
-
function toSkillRelativePath(skillDir, filePath) {
|
|
1877
|
-
return path.relative(skillDir, filePath).replaceAll("\\", "/");
|
|
1878
|
-
}
|
|
1879
|
-
function isPublishedSkillPath(relativePath) {
|
|
1880
|
-
if (relativePath === "SKILL.md") return true;
|
|
1881
|
-
const [root] = relativePath.split("/");
|
|
1882
|
-
return Boolean(root && PUBLISHED_SKILL_ROOTS.has(root));
|
|
1883
|
-
}
|
|
1884
|
-
function resolveReferencePath(skillDir, currentFilePath, target) {
|
|
1885
|
-
const [root] = target.replaceAll("\\", "/").replace(/^\.\//u, "").split("/");
|
|
1886
|
-
return path.resolve(root && PUBLISHED_SKILL_ROOTS.has(root) ? skillDir : path.dirname(currentFilePath), target);
|
|
1887
|
-
}
|
|
1888
|
-
function listRegularFiles(directory) {
|
|
1889
|
-
if (!existsSync(directory)) return [];
|
|
1890
|
-
const files = [];
|
|
1891
|
-
for (const entry of readdirSync(directory, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
|
|
1892
|
-
const entryPath = path.join(directory, entry.name);
|
|
1893
|
-
if (entry.isSymbolicLink()) continue;
|
|
1894
|
-
if (entry.isDirectory()) files.push(...listRegularFiles(entryPath));
|
|
1895
|
-
else if (entry.isFile()) files.push(entryPath);
|
|
1896
|
-
}
|
|
1897
|
-
return files;
|
|
1898
|
-
}
|
|
1899
|
-
function issue(issues, input) {
|
|
1900
|
-
issues.push(input);
|
|
1901
|
-
}
|
|
1902
|
-
function analyzeOneSkill(skillPath, config) {
|
|
1903
|
-
const skillDir = path.dirname(skillPath);
|
|
1904
|
-
const document = readFileSync(skillPath, "utf8");
|
|
1905
|
-
const frontmatter = validateDocsAgentSkillFrontmatter(document, { directoryName: path.basename(skillDir) });
|
|
1906
|
-
const name = frontmatter.valid ? frontmatter.data.name : path.basename(skillDir);
|
|
1907
|
-
const issues = [];
|
|
1908
|
-
const lineCount = document.split(/\r?\n/u).length;
|
|
1909
|
-
const estimatedInstructionTokens = estimateAgentSkillInstructionTokens(document);
|
|
1910
|
-
if (lineCount > config.maxSkillLines) issue(issues, {
|
|
1911
|
-
code: "skill-lines-exceeded",
|
|
1912
|
-
severity: "warning",
|
|
1913
|
-
skill: name,
|
|
1914
|
-
skillPath,
|
|
1915
|
-
filePath: skillPath,
|
|
1916
|
-
line: 1,
|
|
1917
|
-
message: `SKILL.md has ${lineCount} lines, exceeding the configured ${config.maxSkillLines}-line limit; move detailed material into focused references/.`
|
|
1918
|
-
});
|
|
1919
|
-
if (estimatedInstructionTokens > config.instructionTokenBudget) issue(issues, {
|
|
1920
|
-
code: "skill-token-budget-exceeded",
|
|
1921
|
-
severity: "warning",
|
|
1922
|
-
skill: name,
|
|
1923
|
-
skillPath,
|
|
1924
|
-
filePath: skillPath,
|
|
1925
|
-
line: 1,
|
|
1926
|
-
message: `SKILL.md instructions are approximately ${estimatedInstructionTokens} tokens, exceeding the configured ${config.instructionTokenBudget}-token budget.`
|
|
1927
|
-
});
|
|
1928
|
-
const referenceQueue = [{
|
|
1929
|
-
filePath: skillPath,
|
|
1930
|
-
depth: 0
|
|
1931
|
-
}];
|
|
1932
|
-
const visitedDepth = new Map([[skillPath, 0]]);
|
|
1933
|
-
const markdownDocuments = new Map([[skillPath, document]]);
|
|
1934
|
-
const validReferencePaths = /* @__PURE__ */ new Set();
|
|
1935
|
-
const referencedTargets = /* @__PURE__ */ new Set();
|
|
1936
|
-
for (let cursor = 0; cursor < referenceQueue.length; cursor += 1) {
|
|
1937
|
-
const current = referenceQueue[cursor];
|
|
1938
|
-
const source = markdownDocuments.get(current.filePath) ?? readFileSync(current.filePath, "utf8");
|
|
1939
|
-
markdownDocuments.set(current.filePath, source);
|
|
1940
|
-
for (const reference of extractLocalReferences(source)) {
|
|
1941
|
-
referencedTargets.add(reference.target);
|
|
1942
|
-
const resolved = resolveReferencePath(skillDir, current.filePath, reference.target);
|
|
1943
|
-
if (!isInside(skillDir, resolved)) {
|
|
1944
|
-
issue(issues, {
|
|
1945
|
-
code: "skill-reference-outside-root",
|
|
1946
|
-
severity: "error",
|
|
1947
|
-
skill: name,
|
|
1948
|
-
skillPath,
|
|
1949
|
-
filePath: current.filePath,
|
|
1950
|
-
line: reference.line,
|
|
1951
|
-
message: `Local reference escapes the skill directory: ${reference.target}`
|
|
1952
|
-
});
|
|
1953
|
-
continue;
|
|
1954
|
-
}
|
|
1955
|
-
const relativeTarget = toSkillRelativePath(skillDir, resolved);
|
|
1956
|
-
if (!isPublishedSkillPath(relativeTarget)) {
|
|
1957
|
-
issue(issues, {
|
|
1958
|
-
code: "skill-reference-unpublished",
|
|
1959
|
-
severity: "error",
|
|
1960
|
-
skill: name,
|
|
1961
|
-
skillPath,
|
|
1962
|
-
filePath: current.filePath,
|
|
1963
|
-
line: reference.line,
|
|
1964
|
-
message: `Local reference is outside SKILL.md, references/, scripts/, or assets/ and will not be published: ${reference.target}`
|
|
1965
|
-
});
|
|
1966
|
-
continue;
|
|
1967
|
-
}
|
|
1968
|
-
if (!existsSync(resolved) || !lstatSync(resolved).isFile()) {
|
|
1969
|
-
issue(issues, {
|
|
1970
|
-
code: "skill-reference-broken",
|
|
1971
|
-
severity: "error",
|
|
1972
|
-
skill: name,
|
|
1973
|
-
skillPath,
|
|
1974
|
-
filePath: current.filePath,
|
|
1975
|
-
line: reference.line,
|
|
1976
|
-
message: `Local skill reference does not resolve to a regular file: ${reference.target}`
|
|
1977
|
-
});
|
|
1978
|
-
continue;
|
|
1979
|
-
}
|
|
1980
|
-
validReferencePaths.add(relativeTarget);
|
|
1981
|
-
if (!MARKDOWN_EXTENSIONS.has(path.extname(resolved).toLowerCase())) continue;
|
|
1982
|
-
const nextDepth = current.depth + 1;
|
|
1983
|
-
const previousDepth = visitedDepth.get(resolved);
|
|
1984
|
-
if (resolved !== skillPath && previousDepth === void 0 && nextDepth > config.maxReferenceDepth) issue(issues, {
|
|
1985
|
-
code: "skill-reference-depth-exceeded",
|
|
1986
|
-
severity: "warning",
|
|
1987
|
-
skill: name,
|
|
1988
|
-
skillPath,
|
|
1989
|
-
filePath: current.filePath,
|
|
1990
|
-
line: reference.line,
|
|
1991
|
-
message: `Reference chain reaches depth ${nextDepth}, exceeding the configured maximum of ${config.maxReferenceDepth}: ${reference.target}`
|
|
1992
|
-
});
|
|
1993
|
-
if (previousDepth !== void 0 && previousDepth <= nextDepth) continue;
|
|
1994
|
-
visitedDepth.set(resolved, nextDepth);
|
|
1995
|
-
referenceQueue.push({
|
|
1996
|
-
filePath: resolved,
|
|
1997
|
-
depth: nextDepth
|
|
1998
|
-
});
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
const scriptPaths = listRegularFiles(path.join(skillDir, "scripts"));
|
|
2002
|
-
const documentation = [...markdownDocuments.values()].join("\n\n");
|
|
2003
|
-
if ((config.compatibility === "always" || config.compatibility === "when-needed" && (scriptPaths.length > 0 || REQUIREMENT_PATTERN.test(documentation))) && frontmatter.valid && !frontmatter.data.compatibility?.trim()) issue(issues, {
|
|
2004
|
-
code: "skill-compatibility-missing",
|
|
2005
|
-
severity: "warning",
|
|
2006
|
-
skill: name,
|
|
2007
|
-
skillPath,
|
|
2008
|
-
filePath: skillPath,
|
|
2009
|
-
line: 1,
|
|
2010
|
-
message: "Skill instructions require tools, environment capabilities, or scripts but frontmatter does not declare compatibility requirements."
|
|
2011
|
-
});
|
|
2012
|
-
if (config.checkScripts && scriptPaths.length > 0) {
|
|
2013
|
-
const dependencyDocumented = Boolean(frontmatter.valid && frontmatter.data.compatibility?.trim()) || DEPENDENCY_DOCUMENTATION_PATTERN.test(documentation);
|
|
2014
|
-
const validationDocumented = VALIDATION_DOCUMENTATION_PATTERN.test(documentation);
|
|
2015
|
-
for (const scriptPath of scriptPaths) {
|
|
2016
|
-
const relativeScript = toSkillRelativePath(skillDir, scriptPath);
|
|
2017
|
-
if (!validReferencePaths.has(relativeScript)) issue(issues, {
|
|
2018
|
-
code: "skill-script-undocumented",
|
|
2019
|
-
severity: "warning",
|
|
2020
|
-
skill: name,
|
|
2021
|
-
skillPath,
|
|
2022
|
-
filePath: scriptPath,
|
|
2023
|
-
line: 1,
|
|
2024
|
-
message: `Script is bundled but never referenced by SKILL.md or a reachable reference: ${relativeScript}`
|
|
2025
|
-
});
|
|
2026
|
-
if (!dependencyDocumented) issue(issues, {
|
|
2027
|
-
code: "skill-script-dependencies-undocumented",
|
|
2028
|
-
severity: "warning",
|
|
2029
|
-
skill: name,
|
|
2030
|
-
skillPath,
|
|
2031
|
-
filePath: scriptPath,
|
|
2032
|
-
line: 1,
|
|
2033
|
-
message: `Document required runtimes/packages or explicitly state that ${relativeScript} is self-contained.`
|
|
2034
|
-
});
|
|
2035
|
-
if (!validationDocumented) issue(issues, {
|
|
2036
|
-
code: "skill-script-validation-undocumented",
|
|
2037
|
-
severity: "warning",
|
|
2038
|
-
skill: name,
|
|
2039
|
-
skillPath,
|
|
2040
|
-
filePath: scriptPath,
|
|
2041
|
-
line: 1,
|
|
2042
|
-
message: `Document how to validate ${relativeScript}, including an expected result, test, --check, or --dry-run command.`
|
|
2043
|
-
});
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
return {
|
|
2047
|
-
summary: {
|
|
2048
|
-
name,
|
|
2049
|
-
skillPath,
|
|
2050
|
-
lineCount,
|
|
2051
|
-
estimatedInstructionTokens,
|
|
2052
|
-
referenceCount: referencedTargets.size,
|
|
2053
|
-
scriptCount: scriptPaths.length
|
|
2054
|
-
},
|
|
2055
|
-
issues
|
|
2056
|
-
};
|
|
2057
|
-
}
|
|
2058
|
-
function analyzeConfiguredAgentSkillsProgressiveDisclosure(input, options = {}) {
|
|
2059
|
-
const config = resolveDocsAgentSkillsProgressiveDisclosureConfig(input);
|
|
2060
|
-
const analyses = resolveConfiguredAgentSkillPathsSync(input, options).map((skillPath) => analyzeOneSkill(skillPath, config));
|
|
2061
|
-
return {
|
|
2062
|
-
config,
|
|
2063
|
-
skills: analyses.map((analysis) => analysis.summary),
|
|
2064
|
-
issues: analyses.flatMap((analysis) => analysis.issues).sort((left, right) => {
|
|
2065
|
-
const fileOrder = left.filePath.localeCompare(right.filePath);
|
|
2066
|
-
if (fileOrder !== 0) return fileOrder;
|
|
2067
|
-
const lineOrder = (left.line ?? 0) - (right.line ?? 0);
|
|
2068
|
-
return lineOrder !== 0 ? lineOrder : left.code.localeCompare(right.code);
|
|
2069
|
-
})
|
|
2070
|
-
};
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
1769
|
//#endregion
|
|
2074
1770
|
//#region src/cli/golden-evaluations.ts
|
|
2075
1771
|
function isPlainRecord(value) {
|
|
@@ -2122,4 +1818,4 @@ function resolveGoldenEvaluationInput(evaluationInput) {
|
|
|
2122
1818
|
}
|
|
2123
1819
|
|
|
2124
1820
|
//#endregion
|
|
2125
|
-
export {
|
|
1821
|
+
export { extractAgentBlocks as a, createAgentUsefulnessPagesFromMcp as i, analyzeAgentSurfaceDrift as n, analyzeAgentUsefulness as r, resolveGoldenEvaluationInput as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as DocsAgentSkillsCompatibilityPolicy, $n as DocsTelemetryConfig, $t as DocsMcpSecurityConfig, A as DocsAgentA2ASecurityScheme, An as DocsSearchFacet, Ar as PageOpenGraph, At as DocsCodeBlocksValidationMode, B as DocsAgentEvaluationAnswerRunner, Bn as DocsSearchQuery, Br as SidebarNode, Bt as DocsContentSnapshotDocument, C as DocsAgentA2AOAuthDeviceCodeFlow, Cn as DocsSearchAmbiguityDecisionStatus, Cr as PageActionsConfig, Ct as DocsCloudPublishConfig, D as DocsAgentA2AOpenIdConnectSecurityScheme, Dn as DocsSearchDocument, Dr as PageAgentFrontmatter, Dt as DocsCodeBlocksRunnerConfig, E as DocsAgentA2AOAuthPasswordFlow, En as DocsSearchConfig, Er as PageAgentFailureMode, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchFilterField, Fr as ResolvedDocsRelatedLink, Ft as DocsContentChangeSnapshotLoader, G as DocsAgentFeedbackContext, Gn as DocsSearchResponse, Gr as TypesenseDocsSearchConfig, Gt as DocsMcpAuthPrincipal, H as DocsAgentEvaluationSurface, Hn as DocsSearchRankingReasonCode, Hr as SidebarTree, Ht as DocsFeedbackValue, I as DocsAgentEvaluationAnswerInput, In as DocsSearchFilterInput, Ir as SidebarComponentProps, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, Jn as DocsSearchSourcePage, Jt as DocsMcpAuthenticateResult, K as DocsAgentFeedbackData, Kn as DocsSearchResult, Kr as TypographyConfig, Kt as DocsMcpAuthenticate, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchFilters, Lr as SidebarConfig, Lt as DocsContentChangedDocument, M as DocsAgentA2ASkill, Mn as DocsSearchFacetsResponse, Mr as PageTwitter, Mt as DocsConfig, N as DocsAgentCompactConfig, Nn as DocsSearchFilterDecision, Nr as ReadingTimeConfig, Nt as DocsContentChangeDocument, O as DocsAgentA2AProtocolBinding, On as DocsSearchEmbeddingsConfig, Or as PageAgentVerification, Ot as DocsCodeBlocksRunnerProvider, P as DocsAgentConfig, Pn as DocsSearchFilterDecisionOutcome, Pr as ReadingTimeFormat, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, Qn as DocsTelemetryAgentSurface, Qt as DocsMcpProtectedResourceConfig, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchMatchField, Rr as SidebarFolderIndexBehavior, Rt as DocsContentChangesResponse, S as DocsAgentA2AOAuthClientCredentialsFlow, Sn as DocsSearchAmbiguityDecision, Sr as OrderingItem, St as DocsCloudPreviewConfig, T as DocsAgentA2AOAuthImplicitFlow, Tn as DocsSearchChunkingConfig, Tr as PageAgentCommand, Tt as DocsCodeBlocksPlannerConfig, U as DocsAgentEvaluationTaskInput, Un as DocsSearchRankingStrategy, Ur as SimpleDocsSearchConfig, Ut as DocsI18nConfig, V as DocsAgentEvaluationSourceReference, Vn as DocsSearchRankingReason, Vr as SidebarPageNode, Vt as DocsFeedbackData, W as DocsAgentEvaluationsConfig, Wn as DocsSearchRequest, Wr as ThemeToggleConfig, Wt as DocsMcpAllowedOrigins, X as DocsAgentGoldenTask, Xn as DocsSearchWarningCode, Xt as DocsMcpCorsConfig, Y as DocsAgentGoldenExpectedExample, Yn as DocsSearchWarning, Yt as DocsMcpConfig, Z as DocsAgentGoldenTaskExpectation, Zn as DocsSitemapConfig, Zt as DocsMcpOriginContext, _ as DocsAgentA2AHttpAuthSecurityScheme, _n as DocsRobotsRule, _r as OpenDocsProvider, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, ar as DocsTheme, at as DocsAgentTraceStatus, b as DocsAgentA2AOAuth2SecurityScheme, bn as DocsSearchAdapterFactory, br as OpenDocsTarget, bt as DocsCloudConfig, c as ChangelogFrontmatter, cn as DocsRetrievalSourceProvenance, cr as GithubConfig, ct as DocsAnalyticsEventInput, d as CopyMarkdownFormat, dn as DocsReviewCiMode, dr as LlmsTxtMaxCharsConfig, dt as DocsAnalyticsSource, en as DocsMcpToolsConfig, er as DocsTelemetryEvent, et as DocsAgentSkillsConfig, f as CustomDocsSearchConfig, fn as DocsReviewConfig, fr as LlmsTxtMaxCharsMode, ft as DocsAskAIActionData, g as DocsAgentA2AExtension, gn as DocsRobotsConfig, gr as OpenDocsConfig, gt as DocsAskAIFeedbackMessage, h as DocsAgentA2AConfig, hn as DocsReviewSeverity, hr as OGConfig, ht as DocsAskAIFeedbackData, i as ApiReferenceConfig, in as DocsObservabilityEvent, ir as DocsTelemetryFramework, it as DocsAgentTraceEventType, j as DocsAgentA2ASecurityScopeList, jn as DocsSearchFacetValue, jr as PageSidebarFrontmatter, jt as DocsCodeBlocksValidationPolicy, k as DocsAgentA2ASecurityRequirement, kn as DocsSearchExplanation, kr as PageFrontmatter, kt as DocsCodeBlocksValidateConfig, l as CodeBlockCopyData, ln as DocsRetrievalSourceScope, lr as LastUpdatedConfig, lt as DocsAnalyticsEventType, m as DocsAgentA2ACapabilities, mn as DocsReviewScoreConfig, mr as McpDocsSearchConfig, mt as DocsAskAIFeedbackConfig, n as AgentFeedbackConfig, nn as DocsNav, nr as DocsTelemetryEventType, nt as DocsAgentSkillsProgressiveDisclosureConfig, o as BreadcrumbConfig, on as DocsPaginatedSearchResponse, or as FeedbackConfig, ot as DocsAnalyticsConfig, p as DocsAgentA2AApiKeySecurityScheme, pn as DocsReviewRulesConfig, pr as LlmsTxtSectionConfig, pt as DocsAskAIActionType, q as DocsAgentGoldenAnswerExpectation, qn as DocsSearchResultType, qr as UIConfig, qt as DocsMcpAuthenticateContext, r as AlgoliaDocsSearchConfig, rn as DocsObservabilityConfig, rr as DocsTelemetryFeatures, rt as DocsAgentTraceEventInput, s as ChangelogConfig, sn as DocsRelatedItem, sr as FontStyle, st as DocsAnalyticsEvent, t as AIConfig, tn as DocsMetadata, tr as DocsTelemetryEventInput, tt as DocsAgentSkillsInput, u as CopyMarkdownConfig, un as DocsReviewCiConfig, ur as LlmsTxtConfig, ut as DocsAnalyticsInput, v as DocsAgentA2AInterfaceConfig, vn as DocsSearchAdapter, vr as OpenDocsProviderConfig, vt as DocsAskAIMcpConfig, w as DocsAgentA2AOAuthFlows, wn as DocsSearchAmbiguityResolution, wr as PageAgentAppliesTo, wt as DocsCodeBlocksConfig, x as DocsAgentA2AOAuthAuthorizationCodeFlow, xn as DocsSearchAdapterPage, xr as OpenGraphImage, xt as DocsCloudFeatureConfig, y as DocsAgentA2AMutualTlsSecurityScheme, yn as DocsSearchAdapterContext, yr as OpenDocsProviderId, yt as DocsCloudApiKeyConfig, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchMatchedTerm, zr as SidebarFolderNode, zt as DocsContentSnapshot } from "./types-
|
|
1
|
+
import { $ as DocsAgentSkillsCompatibilityPolicy, $n as DocsTelemetryConfig, $t as DocsMcpSecurityConfig, A as DocsAgentA2ASecurityScheme, An as DocsSearchFacet, Ar as PageOpenGraph, At as DocsCodeBlocksValidationMode, B as DocsAgentEvaluationAnswerRunner, Bn as DocsSearchQuery, Br as SidebarNode, Bt as DocsContentSnapshotDocument, C as DocsAgentA2AOAuthDeviceCodeFlow, Cn as DocsSearchAmbiguityDecisionStatus, Cr as PageActionsConfig, Ct as DocsCloudPublishConfig, D as DocsAgentA2AOpenIdConnectSecurityScheme, Dn as DocsSearchDocument, Dr as PageAgentFrontmatter, Dt as DocsCodeBlocksRunnerConfig, E as DocsAgentA2AOAuthPasswordFlow, En as DocsSearchConfig, Er as PageAgentFailureMode, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchFilterField, Fr as ResolvedDocsRelatedLink, Ft as DocsContentChangeSnapshotLoader, G as DocsAgentFeedbackContext, Gn as DocsSearchResponse, Gr as TypesenseDocsSearchConfig, Gt as DocsMcpAuthPrincipal, H as DocsAgentEvaluationSurface, Hn as DocsSearchRankingReasonCode, Hr as SidebarTree, Ht as DocsFeedbackValue, I as DocsAgentEvaluationAnswerInput, In as DocsSearchFilterInput, Ir as SidebarComponentProps, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, Jn as DocsSearchSourcePage, Jt as DocsMcpAuthenticateResult, K as DocsAgentFeedbackData, Kn as DocsSearchResult, Kr as TypographyConfig, Kt as DocsMcpAuthenticate, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchFilters, Lr as SidebarConfig, Lt as DocsContentChangedDocument, M as DocsAgentA2ASkill, Mn as DocsSearchFacetsResponse, Mr as PageTwitter, Mt as DocsConfig, N as DocsAgentCompactConfig, Nn as DocsSearchFilterDecision, Nr as ReadingTimeConfig, Nt as DocsContentChangeDocument, O as DocsAgentA2AProtocolBinding, On as DocsSearchEmbeddingsConfig, Or as PageAgentVerification, Ot as DocsCodeBlocksRunnerProvider, P as DocsAgentConfig, Pn as DocsSearchFilterDecisionOutcome, Pr as ReadingTimeFormat, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, Qn as DocsTelemetryAgentSurface, Qt as DocsMcpProtectedResourceConfig, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchMatchField, Rr as SidebarFolderIndexBehavior, Rt as DocsContentChangesResponse, S as DocsAgentA2AOAuthClientCredentialsFlow, Sn as DocsSearchAmbiguityDecision, Sr as OrderingItem, St as DocsCloudPreviewConfig, T as DocsAgentA2AOAuthImplicitFlow, Tn as DocsSearchChunkingConfig, Tr as PageAgentCommand, Tt as DocsCodeBlocksPlannerConfig, U as DocsAgentEvaluationTaskInput, Un as DocsSearchRankingStrategy, Ur as SimpleDocsSearchConfig, Ut as DocsI18nConfig, V as DocsAgentEvaluationSourceReference, Vn as DocsSearchRankingReason, Vr as SidebarPageNode, Vt as DocsFeedbackData, W as DocsAgentEvaluationsConfig, Wn as DocsSearchRequest, Wr as ThemeToggleConfig, Wt as DocsMcpAllowedOrigins, X as DocsAgentGoldenTask, Xn as DocsSearchWarningCode, Xt as DocsMcpCorsConfig, Y as DocsAgentGoldenExpectedExample, Yn as DocsSearchWarning, Yt as DocsMcpConfig, Z as DocsAgentGoldenTaskExpectation, Zn as DocsSitemapConfig, Zt as DocsMcpOriginContext, _ as DocsAgentA2AHttpAuthSecurityScheme, _n as DocsRobotsRule, _r as OpenDocsProvider, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, ar as DocsTheme, at as DocsAgentTraceStatus, b as DocsAgentA2AOAuth2SecurityScheme, bn as DocsSearchAdapterFactory, br as OpenDocsTarget, bt as DocsCloudConfig, c as ChangelogFrontmatter, cn as DocsRetrievalSourceProvenance, cr as GithubConfig, ct as DocsAnalyticsEventInput, d as CopyMarkdownFormat, dn as DocsReviewCiMode, dr as LlmsTxtMaxCharsConfig, dt as DocsAnalyticsSource, en as DocsMcpToolsConfig, er as DocsTelemetryEvent, et as DocsAgentSkillsConfig, f as CustomDocsSearchConfig, fn as DocsReviewConfig, fr as LlmsTxtMaxCharsMode, ft as DocsAskAIActionData, g as DocsAgentA2AExtension, gn as DocsRobotsConfig, gr as OpenDocsConfig, gt as DocsAskAIFeedbackMessage, h as DocsAgentA2AConfig, hn as DocsReviewSeverity, hr as OGConfig, ht as DocsAskAIFeedbackData, i as ApiReferenceConfig, in as DocsObservabilityEvent, ir as DocsTelemetryFramework, it as DocsAgentTraceEventType, j as DocsAgentA2ASecurityScopeList, jn as DocsSearchFacetValue, jr as PageSidebarFrontmatter, jt as DocsCodeBlocksValidationPolicy, k as DocsAgentA2ASecurityRequirement, kn as DocsSearchExplanation, kr as PageFrontmatter, kt as DocsCodeBlocksValidateConfig, l as CodeBlockCopyData, ln as DocsRetrievalSourceScope, lr as LastUpdatedConfig, lt as DocsAnalyticsEventType, m as DocsAgentA2ACapabilities, mn as DocsReviewScoreConfig, mr as McpDocsSearchConfig, mt as DocsAskAIFeedbackConfig, n as AgentFeedbackConfig, nn as DocsNav, nr as DocsTelemetryEventType, nt as DocsAgentSkillsProgressiveDisclosureConfig, o as BreadcrumbConfig, on as DocsPaginatedSearchResponse, or as FeedbackConfig, ot as DocsAnalyticsConfig, p as DocsAgentA2AApiKeySecurityScheme, pn as DocsReviewRulesConfig, pr as LlmsTxtSectionConfig, pt as DocsAskAIActionType, q as DocsAgentGoldenAnswerExpectation, qn as DocsSearchResultType, qr as UIConfig, qt as DocsMcpAuthenticateContext, r as AlgoliaDocsSearchConfig, rn as DocsObservabilityConfig, rr as DocsTelemetryFeatures, rt as DocsAgentTraceEventInput, s as ChangelogConfig, sn as DocsRelatedItem, sr as FontStyle, st as DocsAnalyticsEvent, t as AIConfig, tn as DocsMetadata, tr as DocsTelemetryEventInput, tt as DocsAgentSkillsInput, u as CopyMarkdownConfig, un as DocsReviewCiConfig, ur as LlmsTxtConfig, ut as DocsAnalyticsInput, v as DocsAgentA2AInterfaceConfig, vn as DocsSearchAdapter, vr as OpenDocsProviderConfig, vt as DocsAskAIMcpConfig, w as DocsAgentA2AOAuthFlows, wn as DocsSearchAmbiguityResolution, wr as PageAgentAppliesTo, wt as DocsCodeBlocksConfig, x as DocsAgentA2AOAuthAuthorizationCodeFlow, xn as DocsSearchAdapterPage, xr as OpenGraphImage, xt as DocsCloudFeatureConfig, y as DocsAgentA2AMutualTlsSecurityScheme, yn as DocsSearchAdapterContext, yr as OpenDocsProviderId, yt as DocsCloudApiKeyConfig, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchMatchedTerm, zr as SidebarFolderNode, zt as DocsContentSnapshot } from "./types-CigzkdLB.mjs";
|
|
2
2
|
import { AGENT_SKILL_COMPATIBILITY_MAX_LENGTH, AGENT_SKILL_DESCRIPTION_MAX_LENGTH, AGENT_SKILL_FRONTMATTER_FIELDS, AGENT_SKILL_NAME_MAX_LENGTH, DocsAgentSkillFrontmatter, DocsAgentSkillFrontmatterError, DocsAgentSkillFrontmatterField, DocsAgentSkillFrontmatterIssue, DocsAgentSkillFrontmatterValidation, DocsAgentSkillFrontmatterValidationOptions, isDocsAgentSkillName, parseDocsAgentSkillFrontmatter, validateDocsAgentSkillFrontmatter } from "./agent-skills-spec.mjs";
|
|
3
|
-
import { $ as resolveDocsDiscoveryApiRoute, A as DocsAgentSkillIndexEntry, B as DocsPublishedAgentSkillFile, C as DOCS_AGENT_MANIFEST_FORMAT, D as DocsA2AAgentCard, E as DOCS_AGENT_MANIFEST_VERSION, F as DocsApiCatalogLinkTarget, G as buildDocsA2AAgentCard, H as DocsStandardsDiscoveryRequest, I as DocsApiCatalogOpenApiDefinition, J as buildDocsLegacySkillsIndex, K as buildDocsAgentSkillsIndex, L as DocsApiCatalogOptions, M as DocsApiCatalog, N as DocsApiCatalogApiTarget, O as DocsA2AAgentCardOptions, P as DocsApiCatalogLinkContext, Q as isDocsStandardsDiscoveryRequest, R as DocsDiscoveryApiRouteOptions, S as DEFAULT_LEGACY_SKILLS_ROUTE_PREFIX, T as DOCS_AGENT_MANIFEST_SCHEMA_URI, U as DocsStandardsDiscoveryRouteOptions, V as DocsPublishedAgentSkillOptions, W as appendDocsDiscoveryLinkHeader, X as getDocsAgentManifestLinkHeader, Y as createDocsStandardsResponse, Z as getDocsDiscoveryLinkHeader, _ as DEFAULT_AGENT_SKILL_RESOURCE_FORMAT, a as DEFAULT_A2A_AGENT_CARD_FORMAT, b as DEFAULT_LEGACY_SKILLS_INDEX_FORMAT, c as DEFAULT_A2A_PROTOCOL_VERSION, d as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, et as resolveDocsPublishedAgentSkill, f as DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, g as DEFAULT_AGENT_SKILL_FORMAT, h as DEFAULT_AGENT_SKILL_FILE_FORMAT, i as CreateDocsStandardsResponseOptions, j as DocsAgentSkillsIndex, k as DocsA2AAgentInterface, l as DEFAULT_AGENT_SKILLS_ARCHIVE_ROUTE_PATTERN, m as DEFAULT_AGENT_SKILL_ARCHIVE_FORMAT, n as API_CATALOG_MEDIA_TYPE, nt as sha256DocsDiscoveryContent, o as DEFAULT_A2A_AGENT_CARD_ROUTE, p as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, q as buildDocsApiCatalog, r as API_CATALOG_PROFILE_URI, s as DEFAULT_A2A_PROTOCOL_BINDING, t as AGENT_SKILLS_DISCOVERY_SCHEMA_URI, tt as resolveDocsStandardsDiscoveryRequest, u as DEFAULT_AGENT_SKILLS_INDEX_FORMAT, v as DEFAULT_API_CATALOG_FORMAT, w as DOCS_AGENT_MANIFEST_SCHEMA_MEDIA_TYPE, x as DEFAULT_LEGACY_SKILLS_INDEX_ROUTE, y as DEFAULT_API_CATALOG_ROUTE, z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
4
|
-
import { A as PromptProviderChoice, C as resolveDocsSitemapRequest, G as createDocsAgentTraceContext, H as DocsAgentTraceContext, J as emitDocsAnalyticsEvent, K as createDocsAgentTraceId, M as SerializedOpenDocsProvider, Q as resolveDocsObservabilityConfig, S as resolveDocsSitemapPageLastmod, U as ResolvedDocsAnalyticsConfig, V as DOCS_AGENT_TRACE_EVENT_TYPES, W as ResolvedDocsObservabilityConfig, X as getDocsRequestAnalyticsProperties, Y as emitDocsObservabilityEvent, Z as resolveDocsAnalyticsConfig, _ as createDocsSitemapResponse, a as DocsPaginationCursorError, b as renderDocsSitemapXml, c as DEFAULT_SITEMAP_MD_ROUTE, d as DocsSitemapFormat, f as DocsSitemapManifest, g as buildDocsSitemapManifest, h as DocsSitemapResolvedConfig, i as sha256DocsContent, j as SerializeOpenDocsProviderOptions, k as PromptAction, l as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, m as DocsSitemapPageInput, n as digestDocsRetrievalContent, o as DEFAULT_SITEMAP_MANIFEST_PATH, p as DocsSitemapManifestPage, q as emitDocsAgentTraceEvent, r as isDocsRetrievalCanonicalUrl, s as DEFAULT_SITEMAP_MD_DOCS_ROUTE, t as digestDocsContent, u as DEFAULT_SITEMAP_XML_ROUTE, v as readDocsSitemapManifestFromContentMap, w as toDocsSitemapMarkdownUrl, x as resolveDocsSitemapConfig, y as renderDocsSitemapMarkdown } from "./retrieval-digest-
|
|
5
|
-
import { $ as DocsMarkdownPage, $n as PerformDocsSearchOptions, $t as resolveDocsLlmsTxtRequest, A as DocsAgentFeedbackDiscoveryConfig, An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Ar as resolveDocsAgentMdxContent, At as hasDocsMarkdownSignatureAgent, B as DocsDiagnosticsIssueSeverity, Bn as createDocsContentChangeFeed, Bt as normalizeDocsPathSegment, C as DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, Cn as DocsContentChangeHydrationBudget, Cr as resolveSearchRequestConfig, Ct as createDocsMarkdownResponse, D as DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, Dn as DocsContentChangeHydrationTombstone, Dt as getDocsLlmsTxtMaxCharsIssue, E as DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, En as DocsContentChangeHydrationSection, Et as findDocsMarkdownPage, F as DocsConfigMapJsonValue, Fn as DocsContentChangeFeed, Fr as resolveDocsI18n, Ft as isDocsLlmsTxtPublicRequest, G as DocsLlmsTxtGeneratedSection, Gn as resolveDocsContentChangesRequest, Gt as renderDocsMarkdownDocument, H as DocsDiagnosticsStatus, Hn as isDocsContentChangeGeneration, Ht as parseDocsAgentFeedbackData, I as DocsConfigMapPointer, In as DocsContentChangesRequest, Ir as resolveDocsLocale, It as isDocsMarkdownSectionIndexRequest, J as DocsLlmsTxtRequest, Jn as DocsLocalMcpSearchRuntimeConfig, Jt as resolveDocsAgentContractMcpTools, K as DocsLlmsTxtMaxCharsIssue, Kn as BuildDocsContentSnapshotOptions, Kt as renderDocsMarkdownNotFound, L as DocsDiagnostics, Ln as DocsContentChangesRequestError, Lr as resolveDocsPath, Lt as isDocsPublicGetRequest, M as DocsAgentFeedbackResolvedConfig, Mn as DOCS_CONTENT_CHANGES_FORMAT, Mr as resolveDocsAudienceMdxContent, Mt as isDocsAgentsRequest, N as DocsAgentsDocumentOptions, Nn as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, Nr as DocsPathMatch, Nt as isDocsConfigRequest, O as DocsAgentContractMcpTools, On as HydrateDocsContentChangesOptions, Ot as getDocsMarkdownCanonicalLinkHeader, P as DocsConfigMap, Pn as DOCS_CONTENT_SNAPSHOT_FORMAT, Pr as ResolvedDocsI18n, Pt as isDocsDiagnosticsRequest, Q as DocsMarkdownAgentDetection, Qn as EnrichDocsSearchDocumentsWithProvenanceOptions, Qt as resolveDocsLlmsTxtFormat, R as DocsDiagnosticsFeature, Rn as DocsResolvedContentChangesConfig, Rt as isDocsSkillRequest, S as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Sr as resolveLocalDocsMcpSearchConfig, St as collectDocsMarkdownSections, T as DOCS_MARKDOWN_SECTION_INDEX_FORMAT, Tn as DocsContentChangeHydrationResponse, Tr as DocsContentAudience, Tt as detectDocsMarkdownAgentRequest, U as DocsLlmsDiscoveryConfig, Un as isDocsContentChangesRequest, Ut as renderDocsAgentsDocument, V as DocsDiagnosticsOptions, Vn as createDocsContentChangesHttpResponse, Vt as normalizeDocsUrlPath, W as DocsLlmsTxtGeneratedContent, Wn as resolveDocsContentChangesConfig, Wt as renderDocsLlmsTxt, X as DocsLlmsTxtResolvedSection, Xn as DocsSearchRequestError, Xt as resolveDocsAgentFeedbackRequest, Y as DocsLlmsTxtResolvedMaxChars, Yn as DocsLocalMcpSearchRuntimeInput, Yt as resolveDocsAgentFeedbackConfig, Z as DocsLlmsTxtSelectedContent, Zn as DocsSearchRequestResolutionOptions, Zt as resolveDocsAgentsFormat, _ as DEFAULT_LLMS_TXT_MAX_CHARS, _n as getDocsMcpProtectedResourceMetadataRoutes, _r as resolveDocsRetrievalLastModified, _t as buildDocsAgentFeedbackSchema, a as DEFAULT_AGENT_MD_ROUTE, an as resolveDocsOpenApiDiscoveryConfig, ar as createAlgoliaSearchAdapter, at as DocsMarkdownSectionIndexOptions, b as DEFAULT_OPENAPI_SCHEMA_ROUTE, bn as isDocsMcpRequest, br as resolveDocsSearchFilters, bt as buildDocsMarkdownSectionIndex, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, cn as selectDocsLlmsTxtContent, cr as createSimpleSearchAdapter, ct as DocsMarkdownSectionResult, d as DEFAULT_DOCS_CONFIG_FORMAT, dn as validateDocsAgentFeedbackPayload, dr as formatDocsAskAIPackageHints, dt as DocsOpenApiDiscoveryConfig, en as resolveDocsLlmsTxtSections, er as buildDocsAskAIContext, et as DocsMarkdownRecoveryMatch, f as DEFAULT_DOCS_CONFIG_ROUTE, fn as DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE, fr as inferDocsAskAIPackageHints, ft as DocsOpenApiResolvedDiscoveryConfig, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, gn as buildDocsMcpProtectedResourceMetadataRoute, gr as resolveAskAISearchRequestConfig, gt as buildDocsAgentDiscoverySpec, h as DEFAULT_LLMS_FULL_TXT_ROUTE, hn as DEFAULT_MCP_WELL_KNOWN_ROUTE, hr as performDocsSearchWithMetadata, ht as acceptsDocsMarkdown, i as DEFAULT_AGENT_FEEDBACK_ROUTE, in as resolveDocsMarkdownSectionRequest, ir as buildDocsSearchFacets, it as DocsMarkdownSectionIndex, j as DocsAgentFeedbackRequest, jn as hydrateDocsContentChanges, jr as resolveDocsAudienceExposure, jt as isDocsAgentDiscoveryRequest, k as DocsAgentDiscoverySpecOptions, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, kr as findDocsAudienceMdxIssues, kt as getDocsMarkdownVaryHeader, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, ln as selectDocsMarkdownSection, lr as createTypesenseSearchAdapter, lt as DocsMcpEndpointCandidate, m as DEFAULT_DOCS_DIAGNOSTICS_ROUTE, mn as DEFAULT_MCP_ROUTE, mr as performDocsSearch, mt as DocsStandardsDiscoveryResponseOptions, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, nn as resolveDocsMarkdownRecovery, nr as buildDocsRetrievalDigestProjection, nt as DocsMarkdownResponseOptions, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, on as resolveDocsRequestApiRoute, or as createCustomSearchAdapter, ot as DocsMarkdownSectionMetadata, p as DEFAULT_DOCS_DIAGNOSTICS_FORMAT, pn as DEFAULT_MCP_PUBLIC_ROUTE, pr as normalizeDocsSearchFilters, pt as DocsSkillDocumentOptions, q as DocsLlmsTxtPageInput, qn as BuildDocsSearchFacetsOptions, qt as renderDocsSkillDocument, r as DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, rn as resolveDocsMarkdownRequest, rr as buildDocsSearchDocuments, rt as DocsMarkdownSection, s as DEFAULT_AGENT_SPEC_ROUTE, sn as resolveDocsSkillFormat, sr as createMcpSearchAdapter, st as DocsMarkdownSectionRequest, t as DEFAULT_AGENTS_MD_ROUTE, tn as resolveDocsMarkdownCanonicalUrl, tr as buildDocsContentSnapshot, tt as DocsMarkdownRecoveryResult, u as DEFAULT_DOCS_API_ROUTE, un as toDocsMarkdownUrl, ur as enrichDocsSearchDocumentsWithProvenance, ut as DocsMcpEndpointCandidateOptions, v as DEFAULT_LLMS_TXT_ROUTE, vn as getDocsMcpResourcePaths, vr as resolveDocsSearchAudience, vt as buildDocsConfigMap, w as DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, wn as DocsContentChangeHydrationContent, wr as DocsAudienceMdxIssue, wt as createDocsStandardsDiscoveryResponse, x as DEFAULT_SKILL_MD_ROUTE, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, xr as resolveDocsSearchRequest, xt as buildDocsMcpEndpointCandidates, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, yn as hasDocsMcpProtectedResourceConfig, yr as resolveDocsSearchError, yt as buildDocsDiagnostics, z as DocsDiagnosticsIssue, zn as ResolveDocsContentChangesOptions, zt as matchesDocsLlmsTxtSection } from "./agent-
|
|
3
|
+
import { $ as resolveDocsDiscoveryApiRoute, A as DocsAgentSkillIndexEntry, B as DocsPublishedAgentSkillFile, C as DOCS_AGENT_MANIFEST_FORMAT, D as DocsA2AAgentCard, E as DOCS_AGENT_MANIFEST_VERSION, F as DocsApiCatalogLinkTarget, G as buildDocsA2AAgentCard, H as DocsStandardsDiscoveryRequest, I as DocsApiCatalogOpenApiDefinition, J as buildDocsLegacySkillsIndex, K as buildDocsAgentSkillsIndex, L as DocsApiCatalogOptions, M as DocsApiCatalog, N as DocsApiCatalogApiTarget, O as DocsA2AAgentCardOptions, P as DocsApiCatalogLinkContext, Q as isDocsStandardsDiscoveryRequest, R as DocsDiscoveryApiRouteOptions, S as DEFAULT_LEGACY_SKILLS_ROUTE_PREFIX, T as DOCS_AGENT_MANIFEST_SCHEMA_URI, U as DocsStandardsDiscoveryRouteOptions, V as DocsPublishedAgentSkillOptions, W as appendDocsDiscoveryLinkHeader, X as getDocsAgentManifestLinkHeader, Y as createDocsStandardsResponse, Z as getDocsDiscoveryLinkHeader, _ as DEFAULT_AGENT_SKILL_RESOURCE_FORMAT, a as DEFAULT_A2A_AGENT_CARD_FORMAT, b as DEFAULT_LEGACY_SKILLS_INDEX_FORMAT, c as DEFAULT_A2A_PROTOCOL_VERSION, d as DEFAULT_AGENT_SKILLS_INDEX_ROUTE, et as resolveDocsPublishedAgentSkill, f as DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, g as DEFAULT_AGENT_SKILL_FORMAT, h as DEFAULT_AGENT_SKILL_FILE_FORMAT, i as CreateDocsStandardsResponseOptions, j as DocsAgentSkillsIndex, k as DocsA2AAgentInterface, l as DEFAULT_AGENT_SKILLS_ARCHIVE_ROUTE_PATTERN, m as DEFAULT_AGENT_SKILL_ARCHIVE_FORMAT, n as API_CATALOG_MEDIA_TYPE, nt as sha256DocsDiscoveryContent, o as DEFAULT_A2A_AGENT_CARD_ROUTE, p as DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, q as buildDocsApiCatalog, r as API_CATALOG_PROFILE_URI, s as DEFAULT_A2A_PROTOCOL_BINDING, t as AGENT_SKILLS_DISCOVERY_SCHEMA_URI, tt as resolveDocsStandardsDiscoveryRequest, u as DEFAULT_AGENT_SKILLS_INDEX_FORMAT, v as DEFAULT_API_CATALOG_FORMAT, w as DOCS_AGENT_MANIFEST_SCHEMA_MEDIA_TYPE, x as DEFAULT_LEGACY_SKILLS_INDEX_ROUTE, y as DEFAULT_API_CATALOG_ROUTE, z as DocsPublishedAgentSkill } from "./standards-discovery-CG_cZRSx.mjs";
|
|
4
|
+
import { A as PromptProviderChoice, C as resolveDocsSitemapRequest, G as createDocsAgentTraceContext, H as DocsAgentTraceContext, J as emitDocsAnalyticsEvent, K as createDocsAgentTraceId, M as SerializedOpenDocsProvider, Q as resolveDocsObservabilityConfig, S as resolveDocsSitemapPageLastmod, U as ResolvedDocsAnalyticsConfig, V as DOCS_AGENT_TRACE_EVENT_TYPES, W as ResolvedDocsObservabilityConfig, X as getDocsRequestAnalyticsProperties, Y as emitDocsObservabilityEvent, Z as resolveDocsAnalyticsConfig, _ as createDocsSitemapResponse, a as DocsPaginationCursorError, b as renderDocsSitemapXml, c as DEFAULT_SITEMAP_MD_ROUTE, d as DocsSitemapFormat, f as DocsSitemapManifest, g as buildDocsSitemapManifest, h as DocsSitemapResolvedConfig, i as sha256DocsContent, j as SerializeOpenDocsProviderOptions, k as PromptAction, l as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, m as DocsSitemapPageInput, n as digestDocsRetrievalContent, o as DEFAULT_SITEMAP_MANIFEST_PATH, p as DocsSitemapManifestPage, q as emitDocsAgentTraceEvent, r as isDocsRetrievalCanonicalUrl, s as DEFAULT_SITEMAP_MD_DOCS_ROUTE, t as digestDocsContent, u as DEFAULT_SITEMAP_XML_ROUTE, v as readDocsSitemapManifestFromContentMap, w as toDocsSitemapMarkdownUrl, x as resolveDocsSitemapConfig, y as renderDocsSitemapMarkdown } from "./retrieval-digest-sY-uhDFJ.mjs";
|
|
5
|
+
import { $ as DocsMarkdownPage, $n as PerformDocsSearchOptions, $t as resolveDocsLlmsTxtRequest, A as DocsAgentFeedbackDiscoveryConfig, An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Ar as resolveDocsAgentMdxContent, At as hasDocsMarkdownSignatureAgent, B as DocsDiagnosticsIssueSeverity, Bn as createDocsContentChangeFeed, Bt as normalizeDocsPathSegment, C as DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, Cn as DocsContentChangeHydrationBudget, Cr as resolveSearchRequestConfig, Ct as createDocsMarkdownResponse, D as DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, Dn as DocsContentChangeHydrationTombstone, Dt as getDocsLlmsTxtMaxCharsIssue, E as DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, En as DocsContentChangeHydrationSection, Et as findDocsMarkdownPage, F as DocsConfigMapJsonValue, Fn as DocsContentChangeFeed, Fr as resolveDocsI18n, Ft as isDocsLlmsTxtPublicRequest, G as DocsLlmsTxtGeneratedSection, Gn as resolveDocsContentChangesRequest, Gt as renderDocsMarkdownDocument, H as DocsDiagnosticsStatus, Hn as isDocsContentChangeGeneration, Ht as parseDocsAgentFeedbackData, I as DocsConfigMapPointer, In as DocsContentChangesRequest, Ir as resolveDocsLocale, It as isDocsMarkdownSectionIndexRequest, J as DocsLlmsTxtRequest, Jn as DocsLocalMcpSearchRuntimeConfig, Jt as resolveDocsAgentContractMcpTools, K as DocsLlmsTxtMaxCharsIssue, Kn as BuildDocsContentSnapshotOptions, Kt as renderDocsMarkdownNotFound, L as DocsDiagnostics, Ln as DocsContentChangesRequestError, Lr as resolveDocsPath, Lt as isDocsPublicGetRequest, M as DocsAgentFeedbackResolvedConfig, Mn as DOCS_CONTENT_CHANGES_FORMAT, Mr as resolveDocsAudienceMdxContent, Mt as isDocsAgentsRequest, N as DocsAgentsDocumentOptions, Nn as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, Nr as DocsPathMatch, Nt as isDocsConfigRequest, O as DocsAgentContractMcpTools, On as HydrateDocsContentChangesOptions, Ot as getDocsMarkdownCanonicalLinkHeader, P as DocsConfigMap, Pn as DOCS_CONTENT_SNAPSHOT_FORMAT, Pr as ResolvedDocsI18n, Pt as isDocsDiagnosticsRequest, Q as DocsMarkdownAgentDetection, Qn as EnrichDocsSearchDocumentsWithProvenanceOptions, Qt as resolveDocsLlmsTxtFormat, R as DocsDiagnosticsFeature, Rn as DocsResolvedContentChangesConfig, Rt as isDocsSkillRequest, S as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Sr as resolveLocalDocsMcpSearchConfig, St as collectDocsMarkdownSections, T as DOCS_MARKDOWN_SECTION_INDEX_FORMAT, Tn as DocsContentChangeHydrationResponse, Tr as DocsContentAudience, Tt as detectDocsMarkdownAgentRequest, U as DocsLlmsDiscoveryConfig, Un as isDocsContentChangesRequest, Ut as renderDocsAgentsDocument, V as DocsDiagnosticsOptions, Vn as createDocsContentChangesHttpResponse, Vt as normalizeDocsUrlPath, W as DocsLlmsTxtGeneratedContent, Wn as resolveDocsContentChangesConfig, Wt as renderDocsLlmsTxt, X as DocsLlmsTxtResolvedSection, Xn as DocsSearchRequestError, Xt as resolveDocsAgentFeedbackRequest, Y as DocsLlmsTxtResolvedMaxChars, Yn as DocsLocalMcpSearchRuntimeInput, Yt as resolveDocsAgentFeedbackConfig, Z as DocsLlmsTxtSelectedContent, Zn as DocsSearchRequestResolutionOptions, Zt as resolveDocsAgentsFormat, _ as DEFAULT_LLMS_TXT_MAX_CHARS, _n as getDocsMcpProtectedResourceMetadataRoutes, _r as resolveDocsRetrievalLastModified, _t as buildDocsAgentFeedbackSchema, a as DEFAULT_AGENT_MD_ROUTE, an as resolveDocsOpenApiDiscoveryConfig, ar as createAlgoliaSearchAdapter, at as DocsMarkdownSectionIndexOptions, b as DEFAULT_OPENAPI_SCHEMA_ROUTE, bn as isDocsMcpRequest, br as resolveDocsSearchFilters, bt as buildDocsMarkdownSectionIndex, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, cn as selectDocsLlmsTxtContent, cr as createSimpleSearchAdapter, ct as DocsMarkdownSectionResult, d as DEFAULT_DOCS_CONFIG_FORMAT, dn as validateDocsAgentFeedbackPayload, dr as formatDocsAskAIPackageHints, dt as DocsOpenApiDiscoveryConfig, en as resolveDocsLlmsTxtSections, er as buildDocsAskAIContext, et as DocsMarkdownRecoveryMatch, f as DEFAULT_DOCS_CONFIG_ROUTE, fn as DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE, fr as inferDocsAskAIPackageHints, ft as DocsOpenApiResolvedDiscoveryConfig, g as DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, gn as buildDocsMcpProtectedResourceMetadataRoute, gr as resolveAskAISearchRequestConfig, gt as buildDocsAgentDiscoverySpec, h as DEFAULT_LLMS_FULL_TXT_ROUTE, hn as DEFAULT_MCP_WELL_KNOWN_ROUTE, hr as performDocsSearchWithMetadata, ht as acceptsDocsMarkdown, i as DEFAULT_AGENT_FEEDBACK_ROUTE, in as resolveDocsMarkdownSectionRequest, ir as buildDocsSearchFacets, it as DocsMarkdownSectionIndex, j as DocsAgentFeedbackRequest, jn as hydrateDocsContentChanges, jr as resolveDocsAudienceExposure, jt as isDocsAgentDiscoveryRequest, k as DocsAgentDiscoverySpecOptions, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, kr as findDocsAudienceMdxIssues, kt as getDocsMarkdownVaryHeader, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, ln as selectDocsMarkdownSection, lr as createTypesenseSearchAdapter, lt as DocsMcpEndpointCandidate, m as DEFAULT_DOCS_DIAGNOSTICS_ROUTE, mn as DEFAULT_MCP_ROUTE, mr as performDocsSearch, mt as DocsStandardsDiscoveryResponseOptions, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, nn as resolveDocsMarkdownRecovery, nr as buildDocsRetrievalDigestProjection, nt as DocsMarkdownResponseOptions, o as DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, on as resolveDocsRequestApiRoute, or as createCustomSearchAdapter, ot as DocsMarkdownSectionMetadata, p as DEFAULT_DOCS_DIAGNOSTICS_FORMAT, pn as DEFAULT_MCP_PUBLIC_ROUTE, pr as normalizeDocsSearchFilters, pt as DocsSkillDocumentOptions, q as DocsLlmsTxtPageInput, qn as BuildDocsSearchFacetsOptions, qt as renderDocsSkillDocument, r as DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, rn as resolveDocsMarkdownRequest, rr as buildDocsSearchDocuments, rt as DocsMarkdownSection, s as DEFAULT_AGENT_SPEC_ROUTE, sn as resolveDocsSkillFormat, sr as createMcpSearchAdapter, st as DocsMarkdownSectionRequest, t as DEFAULT_AGENTS_MD_ROUTE, tn as resolveDocsMarkdownCanonicalUrl, tr as buildDocsContentSnapshot, tt as DocsMarkdownRecoveryResult, u as DEFAULT_DOCS_API_ROUTE, un as toDocsMarkdownUrl, ur as enrichDocsSearchDocumentsWithProvenance, ut as DocsMcpEndpointCandidateOptions, v as DEFAULT_LLMS_TXT_ROUTE, vn as getDocsMcpResourcePaths, vr as resolveDocsSearchAudience, vt as buildDocsConfigMap, w as DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, wn as DocsContentChangeHydrationContent, wr as DocsAudienceMdxIssue, wt as createDocsStandardsDiscoveryResponse, x as DEFAULT_SKILL_MD_ROUTE, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, xr as resolveDocsSearchRequest, xt as buildDocsMcpEndpointCandidates, y as DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, yn as hasDocsMcpProtectedResourceConfig, yr as resolveDocsSearchError, yt as buildDocsDiagnostics, z as DocsDiagnosticsIssue, zn as ResolveDocsContentChangesOptions, zt as matchesDocsLlmsTxtSection } from "./agent-C598zLsD.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/define-docs.d.ts
|
|
8
8
|
/**
|
package/dist/mcp.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as DocsTelemetryConfig, Dr as PageAgentFrontmatter, En as DocsSearchConfig, F as DocsAgentContentChangesConfig, Gt as DocsMcpAuthPrincipal, Jn as DocsSearchSourcePage, Kt as DocsMcpAuthenticate, Sr as OrderingItem, Wt as DocsMcpAllowedOrigins, Yt as DocsMcpConfig, cn as DocsRetrievalSourceProvenance, ir as DocsTelemetryFramework, ot as DocsAnalyticsConfig, rn as DocsObservabilityConfig } from "./types-
|
|
2
|
-
import { z as DocsPublishedAgentSkill } from "./standards-discovery-
|
|
3
|
-
import { An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Cn as DocsContentChangeHydrationBudget, Dn as DocsContentChangeHydrationTombstone, En as DocsContentChangeHydrationSection, Fn as DocsContentChangeFeed, On as HydrateDocsContentChangesOptions, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Tn as DocsContentChangeHydrationResponse, it as DocsMarkdownSectionIndex, jn as hydrateDocsContentChanges, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, wn as DocsContentChangeHydrationContent, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET } from "./agent-
|
|
1
|
+
import { $n as DocsTelemetryConfig, Dr as PageAgentFrontmatter, En as DocsSearchConfig, F as DocsAgentContentChangesConfig, Gt as DocsMcpAuthPrincipal, Jn as DocsSearchSourcePage, Kt as DocsMcpAuthenticate, Sr as OrderingItem, Wt as DocsMcpAllowedOrigins, Yt as DocsMcpConfig, cn as DocsRetrievalSourceProvenance, ir as DocsTelemetryFramework, ot as DocsAnalyticsConfig, rn as DocsObservabilityConfig } from "./types-CigzkdLB.mjs";
|
|
2
|
+
import { z as DocsPublishedAgentSkill } from "./standards-discovery-CG_cZRSx.mjs";
|
|
3
|
+
import { An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Cn as DocsContentChangeHydrationBudget, Dn as DocsContentChangeHydrationTombstone, En as DocsContentChangeHydrationSection, Fn as DocsContentChangeFeed, On as HydrateDocsContentChangesOptions, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Tn as DocsContentChangeHydrationResponse, it as DocsMarkdownSectionIndex, jn as hydrateDocsContentChanges, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, wn as DocsContentChangeHydrationContent, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET } from "./agent-C598zLsD.mjs";
|
|
4
4
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
5
5
|
|
|
6
6
|
//#region src/mcp.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fr as ResolvedDocsRelatedLink, Zn as DocsSitemapConfig, _r as OpenDocsProvider, an as DocsObservabilityEventInput, br as OpenDocsTarget, ct as DocsAnalyticsEventInput, in as DocsObservabilityEvent, ot as DocsAnalyticsConfig, rn as DocsObservabilityConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent } from "./types-
|
|
2
|
-
import { R as DocsDiscoveryApiRouteOptions } from "./standards-discovery-
|
|
1
|
+
import { Fr as ResolvedDocsRelatedLink, Zn as DocsSitemapConfig, _r as OpenDocsProvider, an as DocsObservabilityEventInput, br as OpenDocsTarget, ct as DocsAnalyticsEventInput, in as DocsObservabilityEvent, ot as DocsAnalyticsConfig, rn as DocsObservabilityConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent } from "./types-CigzkdLB.mjs";
|
|
2
|
+
import { R as DocsDiscoveryApiRouteOptions } from "./standards-discovery-CG_cZRSx.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/analytics.d.ts
|
|
5
5
|
declare const DOCS_AGENT_TRACE_EVENT_TYPES: readonly ["run.start", "run.end", "run.error", "user.input", "prompt.build", "retrieval.query", "retrieval.result", "retrieval.error", "model.call", "model.response", "model.stream", "model.error", "tool.call", "tool.result", "tool.error", "retry", "timeout", "error", "agent.final"];
|
|
@@ -9,7 +9,8 @@ import { createFilesystemDocsMcpSource, getDocsConfigSchema, resolveDocsMcpConfi
|
|
|
9
9
|
import "./code-blocks-0wjOsqdJ.mjs";
|
|
10
10
|
import { _ as resolveDocsContentDir, g as resolveDocsConfigPath, h as readTopLevelStringProperty, s as loadDocsConfigModuleResultWithProjectEnv } from "./config-Wcdj-D0a.mjs";
|
|
11
11
|
import { t as detectFramework } from "./utils-DpiIioYb.mjs";
|
|
12
|
-
import { a as
|
|
12
|
+
import { a as extractAgentBlocks, i as createAgentUsefulnessPagesFromMcp, n as analyzeAgentSurfaceDrift, r as analyzeAgentUsefulness, t as resolveGoldenEvaluationInput } from "./golden-evaluations-CNDwoUOe.mjs";
|
|
13
|
+
import { t as analyzeConfiguredAgentSkillsProgressiveDisclosure } from "./agent-skills-progressive-disclosure-BVvj7nM8.mjs";
|
|
13
14
|
import matter from "gray-matter";
|
|
14
15
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
15
16
|
import path from "node:path";
|
package/dist/server.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as DocsAgentEvaluationAnswerRunner, Bn as DocsSearchQuery, Bt as DocsContentSnapshotDocument, Cn as DocsSearchAmbiguityDecisionStatus, Dn as DocsSearchDocument, En as DocsSearchConfig, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchFilterField, Ft as DocsContentChangeSnapshotLoader, Gn as DocsSearchResponse, H as DocsAgentEvaluationSurface, Hn as DocsSearchRankingReasonCode, I as DocsAgentEvaluationAnswerInput, In as DocsSearchFilterInput, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, Jn as DocsSearchSourcePage, Kn as DocsSearchResult, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchFilters, Lt as DocsContentChangedDocument, Mt as DocsConfig, Nn as DocsSearchFilterDecision, Nt as DocsContentChangeDocument, Pn as DocsSearchFilterDecisionOutcome, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchMatchField, Rt as DocsContentChangesResponse, Sn as DocsSearchAmbiguityDecision, U as DocsAgentEvaluationTaskInput, Un as DocsSearchRankingStrategy, V as DocsAgentEvaluationSourceReference, Vn as DocsSearchRankingReason, Wn as DocsSearchRequest, X as DocsAgentGoldenTask, Xn as DocsSearchWarningCode, Y as DocsAgentGoldenExpectedExample, Yn as DocsSearchWarning, Z as DocsAgentGoldenTaskExpectation, Zn as DocsSitemapConfig, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, at as DocsAgentTraceStatus, bn as DocsSearchAdapterFactory, cn as DocsRetrievalSourceProvenance, ct as DocsAnalyticsEventInput, dn as DocsReviewCiMode, fn as DocsReviewConfig, gt as DocsAskAIFeedbackMessage, ht as DocsAskAIFeedbackData, in as DocsObservabilityEvent, it as DocsAgentTraceEventType, kn as DocsSearchExplanation, kt as DocsCodeBlocksValidateConfig, ln as DocsRetrievalSourceScope, mr as McpDocsSearchConfig, mt as DocsAskAIFeedbackConfig, on as DocsPaginatedSearchResponse, ot as DocsAnalyticsConfig, pn as DocsReviewRulesConfig, q as DocsAgentGoldenAnswerExpectation, rn as DocsObservabilityConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent, vn as DocsSearchAdapter, vt as DocsAskAIMcpConfig, wn as DocsSearchAmbiguityResolution, xn as DocsSearchAdapterPage, yn as DocsSearchAdapterContext, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchMatchedTerm, zt as DocsContentSnapshot } from "./types-
|
|
2
|
-
import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-
|
|
1
|
+
import { B as DocsAgentEvaluationAnswerRunner, Bn as DocsSearchQuery, Bt as DocsContentSnapshotDocument, Cn as DocsSearchAmbiguityDecisionStatus, Dn as DocsSearchDocument, En as DocsSearchConfig, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchFilterField, Ft as DocsContentChangeSnapshotLoader, Gn as DocsSearchResponse, H as DocsAgentEvaluationSurface, Hn as DocsSearchRankingReasonCode, I as DocsAgentEvaluationAnswerInput, In as DocsSearchFilterInput, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, Jn as DocsSearchSourcePage, Kn as DocsSearchResult, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchFilters, Lt as DocsContentChangedDocument, Mt as DocsConfig, Nn as DocsSearchFilterDecision, Nt as DocsContentChangeDocument, Pn as DocsSearchFilterDecisionOutcome, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchMatchField, Rt as DocsContentChangesResponse, Sn as DocsSearchAmbiguityDecision, U as DocsAgentEvaluationTaskInput, Un as DocsSearchRankingStrategy, V as DocsAgentEvaluationSourceReference, Vn as DocsSearchRankingReason, Wn as DocsSearchRequest, X as DocsAgentGoldenTask, Xn as DocsSearchWarningCode, Y as DocsAgentGoldenExpectedExample, Yn as DocsSearchWarning, Z as DocsAgentGoldenTaskExpectation, Zn as DocsSitemapConfig, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, at as DocsAgentTraceStatus, bn as DocsSearchAdapterFactory, cn as DocsRetrievalSourceProvenance, ct as DocsAnalyticsEventInput, dn as DocsReviewCiMode, fn as DocsReviewConfig, gt as DocsAskAIFeedbackMessage, ht as DocsAskAIFeedbackData, in as DocsObservabilityEvent, it as DocsAgentTraceEventType, kn as DocsSearchExplanation, kt as DocsCodeBlocksValidateConfig, ln as DocsRetrievalSourceScope, mr as McpDocsSearchConfig, mt as DocsAskAIFeedbackConfig, on as DocsPaginatedSearchResponse, ot as DocsAnalyticsConfig, pn as DocsReviewRulesConfig, q as DocsAgentGoldenAnswerExpectation, rn as DocsObservabilityConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent, vn as DocsSearchAdapter, vt as DocsAskAIMcpConfig, wn as DocsSearchAmbiguityResolution, xn as DocsSearchAdapterPage, yn as DocsSearchAdapterContext, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchMatchedTerm, zt as DocsContentSnapshot } from "./types-CigzkdLB.mjs";
|
|
2
|
+
import { n as resolveConfiguredAgentSkills, r as resolveConfiguredAgentSkillsSync, t as ResolveConfiguredAgentSkillsOptions } from "./agent-skills-server-DEqyYAhL.mjs";
|
|
3
3
|
import { renderDocsAgentSkillsBundle } from "./agent-skills-vite.mjs";
|
|
4
|
-
import { i as isDocsCloudAskAIProvider, n as DocsCloudAskAIResponseOptions, r as createDocsCloudAskAIResponse, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-
|
|
4
|
+
import { i as isDocsCloudAskAIProvider, n as DocsCloudAskAIResponseOptions, r as createDocsCloudAskAIResponse, t as DocsCloudAskAIConfig } from "./cloud-ask-ai-uzDpy0um.mjs";
|
|
5
5
|
import { DocsCloudAskAIOptions, DocsCloudPublicConfig, DocsCloudRouteHandlerOptions, DocsCloudRouteHandlers, DocsCloudRuntimeEnv, DocsCloudRuntimeValue, DocsCloudServer, DocsCloudServerOptions, DocsCloudTrackEventOptions, createDocsCloudRouteHandler, createDocsCloudServer } from "./docs-cloud-server.mjs";
|
|
6
|
-
import { A as PromptProviderChoice, B as serializeOpenDocsProviders, C as resolveDocsSitemapRequest, D as DEFAULT_OPEN_DOCS_TARGET, E as DEFAULT_OPEN_DOCS_PROVIDER_IDS, F as resolvePromptProviderChoices, G as createDocsAgentTraceContext, H as DocsAgentTraceContext, I as sanitizePromptText, J as emitDocsAnalyticsEvent, K as createDocsAgentTraceId, L as serializeDocsIcon, M as SerializedOpenDocsProvider, N as normalizePromptProviderName, O as DEFAULT_PROMPT_PROVIDER_TEMPLATES, P as parsePromptStringArray, Q as resolveDocsObservabilityConfig, R as serializeDocsIconRegistry, S as resolveDocsSitemapPageLastmod, T as DEFAULT_OPEN_DOCS_PROMPT, U as ResolvedDocsAnalyticsConfig, V as DOCS_AGENT_TRACE_EVENT_TYPES, W as ResolvedDocsObservabilityConfig, X as getDocsRequestAnalyticsProperties, Y as emitDocsObservabilityEvent, Z as resolveDocsAnalyticsConfig, _ as createDocsSitemapResponse, a as DocsPaginationCursorError, b as renderDocsSitemapXml, c as DEFAULT_SITEMAP_MD_ROUTE, d as DocsSitemapFormat, f as DocsSitemapManifest, g as buildDocsSitemapManifest, h as DocsSitemapResolvedConfig, j as SerializeOpenDocsProviderOptions, k as PromptAction, l as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, m as DocsSitemapPageInput, n as digestDocsRetrievalContent, o as DEFAULT_SITEMAP_MANIFEST_PATH, p as DocsSitemapManifestPage, q as emitDocsAgentTraceEvent, r as isDocsRetrievalCanonicalUrl, s as DEFAULT_SITEMAP_MD_DOCS_ROUTE, u as DEFAULT_SITEMAP_XML_ROUTE, v as readDocsSitemapManifestFromContentMap, w as toDocsSitemapMarkdownUrl, x as resolveDocsSitemapConfig, y as renderDocsSitemapMarkdown, z as serializeOpenDocsProvider } from "./retrieval-digest-
|
|
7
|
-
import { $n as PerformDocsSearchOptions, An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Bn as createDocsContentChangeFeed, Cn as DocsContentChangeHydrationBudget, Cr as resolveSearchRequestConfig, Dn as DocsContentChangeHydrationTombstone, Dr as ExtractedDocsMarkdownPromptBlocks, En as DocsContentChangeHydrationSection, Er as DocsMarkdownPromptBlock, Fn as DocsContentChangeFeed, Gn as resolveDocsContentChangesRequest, Hn as isDocsContentChangeGeneration, In as DocsContentChangesRequest, Jn as DocsLocalMcpSearchRuntimeConfig, Kn as BuildDocsContentSnapshotOptions, Ln as DocsContentChangesRequestError, Mn as DOCS_CONTENT_CHANGES_FORMAT, Nn as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, On as HydrateDocsContentChangesOptions, Or as extractDocsMarkdownPromptBlocks, Pn as DOCS_CONTENT_SNAPSHOT_FORMAT, Qn as EnrichDocsSearchDocumentsWithProvenanceOptions, Rn as DocsResolvedContentChangesConfig, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Sr as resolveLocalDocsMcpSearchConfig, Tn as DocsContentChangeHydrationResponse, Un as isDocsContentChangesRequest, Vn as createDocsContentChangesHttpResponse, Wn as resolveDocsContentChangesConfig, Xn as DocsSearchRequestError, Yn as DocsLocalMcpSearchRuntimeInput, Zn as DocsSearchRequestResolutionOptions, _r as resolveDocsRetrievalLastModified, ar as createAlgoliaSearchAdapter, br as resolveDocsSearchFilters, cr as createSimpleSearchAdapter, dr as formatDocsAskAIPackageHints, er as buildDocsAskAIContext, fr as inferDocsAskAIPackageHints, gr as resolveAskAISearchRequestConfig, hr as performDocsSearchWithMetadata, jn as hydrateDocsContentChanges, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, lr as createTypesenseSearchAdapter, mr as performDocsSearch, nr as buildDocsRetrievalDigestProjection, or as createCustomSearchAdapter, pr as normalizeDocsSearchFilters, rr as buildDocsSearchDocuments, sr as createMcpSearchAdapter, tr as buildDocsContentSnapshot, ur as enrichDocsSearchDocumentsWithProvenance, vr as resolveDocsSearchAudience, wn as DocsContentChangeHydrationContent, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, xr as resolveDocsSearchRequest, yr as resolveDocsSearchError, zn as ResolveDocsContentChangesOptions } from "./agent-
|
|
6
|
+
import { A as PromptProviderChoice, B as serializeOpenDocsProviders, C as resolveDocsSitemapRequest, D as DEFAULT_OPEN_DOCS_TARGET, E as DEFAULT_OPEN_DOCS_PROVIDER_IDS, F as resolvePromptProviderChoices, G as createDocsAgentTraceContext, H as DocsAgentTraceContext, I as sanitizePromptText, J as emitDocsAnalyticsEvent, K as createDocsAgentTraceId, L as serializeDocsIcon, M as SerializedOpenDocsProvider, N as normalizePromptProviderName, O as DEFAULT_PROMPT_PROVIDER_TEMPLATES, P as parsePromptStringArray, Q as resolveDocsObservabilityConfig, R as serializeDocsIconRegistry, S as resolveDocsSitemapPageLastmod, T as DEFAULT_OPEN_DOCS_PROMPT, U as ResolvedDocsAnalyticsConfig, V as DOCS_AGENT_TRACE_EVENT_TYPES, W as ResolvedDocsObservabilityConfig, X as getDocsRequestAnalyticsProperties, Y as emitDocsObservabilityEvent, Z as resolveDocsAnalyticsConfig, _ as createDocsSitemapResponse, a as DocsPaginationCursorError, b as renderDocsSitemapXml, c as DEFAULT_SITEMAP_MD_ROUTE, d as DocsSitemapFormat, f as DocsSitemapManifest, g as buildDocsSitemapManifest, h as DocsSitemapResolvedConfig, j as SerializeOpenDocsProviderOptions, k as PromptAction, l as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, m as DocsSitemapPageInput, n as digestDocsRetrievalContent, o as DEFAULT_SITEMAP_MANIFEST_PATH, p as DocsSitemapManifestPage, q as emitDocsAgentTraceEvent, r as isDocsRetrievalCanonicalUrl, s as DEFAULT_SITEMAP_MD_DOCS_ROUTE, u as DEFAULT_SITEMAP_XML_ROUTE, v as readDocsSitemapManifestFromContentMap, w as toDocsSitemapMarkdownUrl, x as resolveDocsSitemapConfig, y as renderDocsSitemapMarkdown, z as serializeOpenDocsProvider } from "./retrieval-digest-sY-uhDFJ.mjs";
|
|
7
|
+
import { $n as PerformDocsSearchOptions, An as MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, Bn as createDocsContentChangeFeed, Cn as DocsContentChangeHydrationBudget, Cr as resolveSearchRequestConfig, Dn as DocsContentChangeHydrationTombstone, Dr as ExtractedDocsMarkdownPromptBlocks, En as DocsContentChangeHydrationSection, Er as DocsMarkdownPromptBlock, Fn as DocsContentChangeFeed, Gn as resolveDocsContentChangesRequest, Hn as isDocsContentChangeGeneration, In as DocsContentChangesRequest, Jn as DocsLocalMcpSearchRuntimeConfig, Kn as BuildDocsContentSnapshotOptions, Ln as DocsContentChangesRequestError, Mn as DOCS_CONTENT_CHANGES_FORMAT, Nn as DOCS_CONTENT_CHANGES_RESPONSE_VALUE, On as HydrateDocsContentChangesOptions, Or as extractDocsMarkdownPromptBlocks, Pn as DOCS_CONTENT_SNAPSHOT_FORMAT, Qn as EnrichDocsSearchDocumentsWithProvenanceOptions, Rn as DocsResolvedContentChangesConfig, Sn as DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, Sr as resolveLocalDocsMcpSearchConfig, Tn as DocsContentChangeHydrationResponse, Un as isDocsContentChangesRequest, Vn as createDocsContentChangesHttpResponse, Wn as resolveDocsContentChangesConfig, Xn as DocsSearchRequestError, Yn as DocsLocalMcpSearchRuntimeInput, Zn as DocsSearchRequestResolutionOptions, _r as resolveDocsRetrievalLastModified, ar as createAlgoliaSearchAdapter, br as resolveDocsSearchFilters, cr as createSimpleSearchAdapter, dr as formatDocsAskAIPackageHints, er as buildDocsAskAIContext, fr as inferDocsAskAIPackageHints, gr as resolveAskAISearchRequestConfig, hr as performDocsSearchWithMetadata, jn as hydrateDocsContentChanges, kn as MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, lr as createTypesenseSearchAdapter, mr as performDocsSearch, nr as buildDocsRetrievalDigestProjection, or as createCustomSearchAdapter, pr as normalizeDocsSearchFilters, rr as buildDocsSearchDocuments, sr as createMcpSearchAdapter, tr as buildDocsContentSnapshot, ur as enrichDocsSearchDocumentsWithProvenance, vr as resolveDocsSearchAudience, wn as DocsContentChangeHydrationContent, xn as DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, xr as resolveDocsSearchRequest, yr as resolveDocsSearchError, zn as ResolveDocsContentChangesOptions } from "./agent-C598zLsD.mjs";
|
|
8
8
|
import { CreateDocsMcpServerOptions, DEFAULT_DOCS_MCP_CONTENT_CHANGE_POLL_INTERVAL_MS, DEFAULT_DOCS_MCP_CORS_ALLOWED_HEADERS, DEFAULT_DOCS_MCP_CORS_EXPOSED_HEADERS, DEFAULT_DOCS_MCP_CORS_MAX_AGE_SECONDS, DEFAULT_DOCS_MCP_MAX_BODY_BYTES, DOCS_CONFIG_SCHEMA_OPTIONS, DOCS_MCP_CONTENT_CHANGES_CURRENT_URI, DOCS_MCP_CONTENT_CHANGES_URI_TEMPLATE, DocsMcpAgentContractSummary, DocsMcpCodeExample, DocsMcpConfigSchema, DocsMcpConfigSchemaOption, DocsMcpContextResult, DocsMcpContextSource, DocsMcpDocsList, DocsMcpDocsPageSummary, DocsMcpDocsSection, DocsMcpHttpHandlers, DocsMcpNavigationNode, DocsMcpNavigationTree, DocsMcpPage, DocsMcpPageSectionIndex, DocsMcpPageSectionList, DocsMcpPaginatedDocsList, DocsMcpPagination, DocsMcpRequestContext, DocsMcpResolvedConfig, DocsMcpResolvedCorsConfig, DocsMcpResolvedProtectedResourceConfig, DocsMcpResolvedSecurityConfig, DocsMcpSource, DocsMcpTaskSummary, createDocsMcpHttpHandler, createDocsMcpServer, createFilesystemDocsMcpSource, getDocsConfigSchema, normalizeDocsMcpRoute, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/code-group-mdx.d.ts
|