@farming-labs/docs 0.2.81 → 0.2.83
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-DEjfHgU-.d.mts → agent-WS4GXGh6.d.mts} +2 -2
- package/dist/{agent-evals-CGOA7jJ0.mjs → agent-evals-Burrzyam.mjs} +18 -3
- package/dist/{agent-export-BYWO6fES.mjs → agent-export-whKAZQUI.mjs} +4 -4
- package/dist/agent-skills-bundle.d.mts +1 -1
- package/dist/{agent-skills-server-B2EXn2QD.mjs → agent-skills-server-D5qYU19g.mjs} +16 -7
- package/dist/{agent-skills-server-CclBBz1M.d.mts → agent-skills-server-q4B9kRGg.d.mts} +2 -2
- package/dist/agent-skills-vite.d.mts +3 -3
- package/dist/agent-skills-vite.mjs +1 -1
- package/dist/{agents-CDs7ZFdb.mjs → agents-B_980VCs.mjs} +3 -3
- package/dist/cli/index.mjs +12 -12
- package/dist/client/react.d.mts +1 -1
- package/dist/{cloud-ask-ai-AUhHTMe6.d.mts → cloud-ask-ai-BQAeHkpZ.d.mts} +1 -1
- package/dist/{codeblocks-CFuurVIH.mjs → codeblocks-CPA6Ae5r.mjs} +1 -1
- package/dist/docs-cloud-server.d.mts +2 -2
- package/dist/docs-cloud-server.mjs +1 -1
- package/dist/{doctor-CALb10jP.mjs → doctor-WjuyRWYT.mjs} +26 -9
- package/dist/{golden-evaluations-I9yRlYJy.mjs → golden-evaluations-B2GHnoFa.mjs} +306 -2
- package/dist/index.d.mts +5 -5
- package/dist/{mcp-DUxk8lGS.mjs → mcp-bhIsgqxy.mjs} +3 -3
- package/dist/mcp.d.mts +3 -3
- package/dist/mcp.mjs +64 -12
- package/dist/{retrieval-digest-D0pnOmQ8.d.mts → retrieval-digest-DRRHA1B3.d.mts} +2 -2
- package/dist/{review-CaDaE4Pq.mjs → review-2e4TXoGS.mjs} +69 -8
- package/dist/{search-D7s_gagx.mjs → search-DfB3LQ4s.mjs} +3 -3
- package/dist/server.d.mts +5 -5
- package/dist/server.mjs +4 -4
- package/dist/{sitemap-BMRfmpEp.mjs → sitemap-AcwP8jIo.mjs} +3 -3
- package/dist/{standards-discovery-BWz35hS6.d.mts → standards-discovery-DPUEcUmb.d.mts} +1 -1
- package/dist/{types-CoohpxFz.d.mts → types-lGEHcx_6.d.mts} +39 -1
- package/package.json +1 -1
- /package/dist/{cloud-ask-ai-sbpjOR2K.mjs → cloud-ask-ai-BRBK4RBG.mjs} +0 -0
- /package/dist/{code-blocks-DnNVNK2M.mjs → code-blocks-0wjOsqdJ.mjs} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { An as normalizeAgentFramework, Cn as findDocsAudienceMdxTags, En as resolveDocsAudienceMdxContent, Nn as normalizeAgentVersion, kn as agentVersionConstraintsOverlap } from "./agent-Dze2Cy5B.mjs";
|
|
2
2
|
import { _ as hasStructuredPageAgentContract, v as normalizePageAgentFrontmatter } from "./markdown-sections-7OoA7ylx.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { validateDocsAgentSkillFrontmatter } from "./agent-skills-spec.mjs";
|
|
4
|
+
import { n as resolveConfiguredAgentSkillPathsSync } from "./agent-skills-server-D5qYU19g.mjs";
|
|
5
|
+
import { t as extractCodeBlocksFromMarkdown } from "./code-blocks-0wjOsqdJ.mjs";
|
|
4
6
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
5
7
|
import path from "node:path";
|
|
6
8
|
|
|
@@ -1760,6 +1762,308 @@ function analyzeAgentSurfaceDrift(options) {
|
|
|
1760
1762
|
return issues.sort((left, right) => left.path.localeCompare(right.path) || left.code.localeCompare(right.code) || left.message.localeCompare(right.message));
|
|
1761
1763
|
}
|
|
1762
1764
|
|
|
1765
|
+
//#endregion
|
|
1766
|
+
//#region src/agent-skills-progressive-disclosure.ts
|
|
1767
|
+
const DEFAULT_AGENT_SKILL_MAX_LINES = 500;
|
|
1768
|
+
const DEFAULT_AGENT_SKILL_INSTRUCTION_TOKEN_BUDGET = 5e3;
|
|
1769
|
+
const DEFAULT_AGENT_SKILL_MAX_REFERENCE_DEPTH = 1;
|
|
1770
|
+
const MARKDOWN_LINK_PATTERN = /!?\[[^\]]*\]\(([^)\n]+)\)/gu;
|
|
1771
|
+
const SKILL_PATH_PATTERN = /(?:^|[\s"'`(])((?:\.\/)?(?:references|scripts|assets)\/[\p{L}\p{N}@._+\-/]+)/gmu;
|
|
1772
|
+
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;
|
|
1773
|
+
const DEPENDENCY_DOCUMENTATION_PATTERN = /\b(?:dependenc(?:y|ies)|requires?|prerequisites?|self-contained|standard library|no external dependencies)\b/iu;
|
|
1774
|
+
const VALIDATION_DOCUMENTATION_PATTERN = /\b(?:validate|validation|verify|verification|tests?|expected (?:result|output)|--check|--dry-run)\b/iu;
|
|
1775
|
+
const PUBLISHED_SKILL_ROOTS = new Set([
|
|
1776
|
+
"references",
|
|
1777
|
+
"scripts",
|
|
1778
|
+
"assets"
|
|
1779
|
+
]);
|
|
1780
|
+
const MARKDOWN_EXTENSIONS = new Set([".md", ".mdx"]);
|
|
1781
|
+
function positiveInteger(value, fallback) {
|
|
1782
|
+
return typeof value === "number" && Number.isFinite(value) && value >= 1 ? Math.floor(value) : fallback;
|
|
1783
|
+
}
|
|
1784
|
+
function nonNegativeInteger(value, fallback) {
|
|
1785
|
+
return typeof value === "number" && Number.isFinite(value) && value >= 0 ? Math.floor(value) : fallback;
|
|
1786
|
+
}
|
|
1787
|
+
function readProgressiveDisclosureConfig(input) {
|
|
1788
|
+
if (!input || typeof input === "string" || Array.isArray(input)) return void 0;
|
|
1789
|
+
return input.progressiveDisclosure;
|
|
1790
|
+
}
|
|
1791
|
+
function resolveDocsAgentSkillsProgressiveDisclosureConfig(input) {
|
|
1792
|
+
const config = readProgressiveDisclosureConfig(input);
|
|
1793
|
+
return {
|
|
1794
|
+
maxSkillLines: positiveInteger(config?.maxSkillLines, DEFAULT_AGENT_SKILL_MAX_LINES),
|
|
1795
|
+
instructionTokenBudget: positiveInteger(config?.instructionTokenBudget, DEFAULT_AGENT_SKILL_INSTRUCTION_TOKEN_BUDGET),
|
|
1796
|
+
maxReferenceDepth: nonNegativeInteger(config?.maxReferenceDepth, DEFAULT_AGENT_SKILL_MAX_REFERENCE_DEPTH),
|
|
1797
|
+
compatibility: config?.compatibility === "always" || config?.compatibility === "off" || config?.compatibility === "when-needed" ? config.compatibility : "when-needed",
|
|
1798
|
+
checkScripts: config?.checkScripts !== false
|
|
1799
|
+
};
|
|
1800
|
+
}
|
|
1801
|
+
function stripFrontmatter(document) {
|
|
1802
|
+
if (!/^---[ \t]*(?:\r?\n)/u.test(document)) return document;
|
|
1803
|
+
const closing = /^---[ \t]*(?:\r?\n|$)/gmu;
|
|
1804
|
+
closing.lastIndex = document.indexOf("\n") + 1;
|
|
1805
|
+
const match = closing.exec(document);
|
|
1806
|
+
return match ? document.slice(match.index + match[0].length) : document;
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Dependency-free estimate for diagnostics, deliberately using three UTF-8 bytes per token
|
|
1810
|
+
* so code-heavy instructions are less likely to be under-counted.
|
|
1811
|
+
*/
|
|
1812
|
+
function estimateAgentSkillInstructionTokens(document) {
|
|
1813
|
+
return Math.ceil(Buffer.byteLength(stripFrontmatter(document), "utf8") / 3);
|
|
1814
|
+
}
|
|
1815
|
+
function lineForIndex(source, index) {
|
|
1816
|
+
return source.slice(0, index).split(/\r?\n/u).length;
|
|
1817
|
+
}
|
|
1818
|
+
function cleanReferenceTarget(rawTarget) {
|
|
1819
|
+
let target = rawTarget.trim();
|
|
1820
|
+
if (target.startsWith("<") && target.includes(">")) target = target.slice(1, target.indexOf(">"));
|
|
1821
|
+
else target = target.split(/\s+(?=["'])/u, 1)[0] ?? "";
|
|
1822
|
+
if (!target || target.startsWith("#") || target.startsWith("/") || /^[a-z][a-z\d+.-]*:/iu.test(target) || target.includes("{") || target.includes("}")) return null;
|
|
1823
|
+
const withoutFragment = target.split("#", 1)[0]?.split("?", 1)[0] ?? "";
|
|
1824
|
+
if (!withoutFragment) return null;
|
|
1825
|
+
try {
|
|
1826
|
+
return decodeURIComponent(withoutFragment).replace(/^\.\//u, "").replace(/[.,;:!?]+$/u, "");
|
|
1827
|
+
} catch {
|
|
1828
|
+
return withoutFragment.replace(/^\.\//u, "").replace(/[.,;:!?]+$/u, "");
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
function extractLocalReferences(source) {
|
|
1832
|
+
const references = [];
|
|
1833
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1834
|
+
let match;
|
|
1835
|
+
MARKDOWN_LINK_PATTERN.lastIndex = 0;
|
|
1836
|
+
while (match = MARKDOWN_LINK_PATTERN.exec(source)) {
|
|
1837
|
+
if (match[0]?.startsWith("!")) continue;
|
|
1838
|
+
const target = cleanReferenceTarget(match[1] ?? "");
|
|
1839
|
+
if (!target) continue;
|
|
1840
|
+
const index = match.index + (match[0]?.indexOf(match[1] ?? "") ?? 0);
|
|
1841
|
+
const key = `${target}:${index}`;
|
|
1842
|
+
if (seen.has(key)) continue;
|
|
1843
|
+
seen.add(key);
|
|
1844
|
+
references.push({
|
|
1845
|
+
target,
|
|
1846
|
+
index,
|
|
1847
|
+
line: lineForIndex(source, index)
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1850
|
+
SKILL_PATH_PATTERN.lastIndex = 0;
|
|
1851
|
+
while (match = SKILL_PATH_PATTERN.exec(source)) {
|
|
1852
|
+
const target = cleanReferenceTarget(match[1] ?? "");
|
|
1853
|
+
if (!target) continue;
|
|
1854
|
+
const index = match.index + (match[0]?.lastIndexOf(match[1] ?? "") ?? 0);
|
|
1855
|
+
const key = `${target}:${index}`;
|
|
1856
|
+
if (seen.has(key)) continue;
|
|
1857
|
+
seen.add(key);
|
|
1858
|
+
references.push({
|
|
1859
|
+
target,
|
|
1860
|
+
index,
|
|
1861
|
+
line: lineForIndex(source, index)
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
return references.sort((left, right) => left.index - right.index);
|
|
1865
|
+
}
|
|
1866
|
+
function isInside(parent, candidate) {
|
|
1867
|
+
const relative = path.relative(parent, candidate);
|
|
1868
|
+
return relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative);
|
|
1869
|
+
}
|
|
1870
|
+
function toSkillRelativePath(skillDir, filePath) {
|
|
1871
|
+
return path.relative(skillDir, filePath).replaceAll("\\", "/");
|
|
1872
|
+
}
|
|
1873
|
+
function isPublishedSkillPath(relativePath) {
|
|
1874
|
+
if (relativePath === "SKILL.md") return true;
|
|
1875
|
+
const [root] = relativePath.split("/");
|
|
1876
|
+
return Boolean(root && PUBLISHED_SKILL_ROOTS.has(root));
|
|
1877
|
+
}
|
|
1878
|
+
function resolveReferencePath(skillDir, currentFilePath, target) {
|
|
1879
|
+
const [root] = target.replaceAll("\\", "/").replace(/^\.\//u, "").split("/");
|
|
1880
|
+
return path.resolve(root && PUBLISHED_SKILL_ROOTS.has(root) ? skillDir : path.dirname(currentFilePath), target);
|
|
1881
|
+
}
|
|
1882
|
+
function listRegularFiles(directory) {
|
|
1883
|
+
if (!existsSync(directory)) return [];
|
|
1884
|
+
const files = [];
|
|
1885
|
+
for (const entry of readdirSync(directory, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
|
|
1886
|
+
const entryPath = path.join(directory, entry.name);
|
|
1887
|
+
if (entry.isSymbolicLink()) continue;
|
|
1888
|
+
if (entry.isDirectory()) files.push(...listRegularFiles(entryPath));
|
|
1889
|
+
else if (entry.isFile()) files.push(entryPath);
|
|
1890
|
+
}
|
|
1891
|
+
return files;
|
|
1892
|
+
}
|
|
1893
|
+
function issue(issues, input) {
|
|
1894
|
+
issues.push(input);
|
|
1895
|
+
}
|
|
1896
|
+
function analyzeOneSkill(skillPath, config) {
|
|
1897
|
+
const skillDir = path.dirname(skillPath);
|
|
1898
|
+
const document = readFileSync(skillPath, "utf8");
|
|
1899
|
+
const frontmatter = validateDocsAgentSkillFrontmatter(document, { directoryName: path.basename(skillDir) });
|
|
1900
|
+
const name = frontmatter.valid ? frontmatter.data.name : path.basename(skillDir);
|
|
1901
|
+
const issues = [];
|
|
1902
|
+
const lineCount = document.split(/\r?\n/u).length;
|
|
1903
|
+
const estimatedInstructionTokens = estimateAgentSkillInstructionTokens(document);
|
|
1904
|
+
if (lineCount > config.maxSkillLines) issue(issues, {
|
|
1905
|
+
code: "skill-lines-exceeded",
|
|
1906
|
+
severity: "warning",
|
|
1907
|
+
skill: name,
|
|
1908
|
+
skillPath,
|
|
1909
|
+
filePath: skillPath,
|
|
1910
|
+
line: 1,
|
|
1911
|
+
message: `SKILL.md has ${lineCount} lines, exceeding the configured ${config.maxSkillLines}-line limit; move detailed material into focused references/.`
|
|
1912
|
+
});
|
|
1913
|
+
if (estimatedInstructionTokens > config.instructionTokenBudget) issue(issues, {
|
|
1914
|
+
code: "skill-token-budget-exceeded",
|
|
1915
|
+
severity: "warning",
|
|
1916
|
+
skill: name,
|
|
1917
|
+
skillPath,
|
|
1918
|
+
filePath: skillPath,
|
|
1919
|
+
line: 1,
|
|
1920
|
+
message: `SKILL.md instructions are approximately ${estimatedInstructionTokens} tokens, exceeding the configured ${config.instructionTokenBudget}-token budget.`
|
|
1921
|
+
});
|
|
1922
|
+
const referenceQueue = [{
|
|
1923
|
+
filePath: skillPath,
|
|
1924
|
+
depth: 0
|
|
1925
|
+
}];
|
|
1926
|
+
const visitedDepth = new Map([[skillPath, 0]]);
|
|
1927
|
+
const markdownDocuments = new Map([[skillPath, document]]);
|
|
1928
|
+
const validReferencePaths = /* @__PURE__ */ new Set();
|
|
1929
|
+
const referencedTargets = /* @__PURE__ */ new Set();
|
|
1930
|
+
for (let cursor = 0; cursor < referenceQueue.length; cursor += 1) {
|
|
1931
|
+
const current = referenceQueue[cursor];
|
|
1932
|
+
const source = markdownDocuments.get(current.filePath) ?? readFileSync(current.filePath, "utf8");
|
|
1933
|
+
markdownDocuments.set(current.filePath, source);
|
|
1934
|
+
for (const reference of extractLocalReferences(source)) {
|
|
1935
|
+
referencedTargets.add(reference.target);
|
|
1936
|
+
const resolved = resolveReferencePath(skillDir, current.filePath, reference.target);
|
|
1937
|
+
if (!isInside(skillDir, resolved)) {
|
|
1938
|
+
issue(issues, {
|
|
1939
|
+
code: "skill-reference-outside-root",
|
|
1940
|
+
severity: "error",
|
|
1941
|
+
skill: name,
|
|
1942
|
+
skillPath,
|
|
1943
|
+
filePath: current.filePath,
|
|
1944
|
+
line: reference.line,
|
|
1945
|
+
message: `Local reference escapes the skill directory: ${reference.target}`
|
|
1946
|
+
});
|
|
1947
|
+
continue;
|
|
1948
|
+
}
|
|
1949
|
+
const relativeTarget = toSkillRelativePath(skillDir, resolved);
|
|
1950
|
+
if (!isPublishedSkillPath(relativeTarget)) {
|
|
1951
|
+
issue(issues, {
|
|
1952
|
+
code: "skill-reference-unpublished",
|
|
1953
|
+
severity: "error",
|
|
1954
|
+
skill: name,
|
|
1955
|
+
skillPath,
|
|
1956
|
+
filePath: current.filePath,
|
|
1957
|
+
line: reference.line,
|
|
1958
|
+
message: `Local reference is outside SKILL.md, references/, scripts/, or assets/ and will not be published: ${reference.target}`
|
|
1959
|
+
});
|
|
1960
|
+
continue;
|
|
1961
|
+
}
|
|
1962
|
+
if (!existsSync(resolved) || !lstatSync(resolved).isFile()) {
|
|
1963
|
+
issue(issues, {
|
|
1964
|
+
code: "skill-reference-broken",
|
|
1965
|
+
severity: "error",
|
|
1966
|
+
skill: name,
|
|
1967
|
+
skillPath,
|
|
1968
|
+
filePath: current.filePath,
|
|
1969
|
+
line: reference.line,
|
|
1970
|
+
message: `Local skill reference does not resolve to a regular file: ${reference.target}`
|
|
1971
|
+
});
|
|
1972
|
+
continue;
|
|
1973
|
+
}
|
|
1974
|
+
validReferencePaths.add(relativeTarget);
|
|
1975
|
+
if (!MARKDOWN_EXTENSIONS.has(path.extname(resolved).toLowerCase())) continue;
|
|
1976
|
+
const nextDepth = current.depth + 1;
|
|
1977
|
+
const previousDepth = visitedDepth.get(resolved);
|
|
1978
|
+
if (resolved !== skillPath && previousDepth === void 0 && nextDepth > config.maxReferenceDepth) issue(issues, {
|
|
1979
|
+
code: "skill-reference-depth-exceeded",
|
|
1980
|
+
severity: "warning",
|
|
1981
|
+
skill: name,
|
|
1982
|
+
skillPath,
|
|
1983
|
+
filePath: current.filePath,
|
|
1984
|
+
line: reference.line,
|
|
1985
|
+
message: `Reference chain reaches depth ${nextDepth}, exceeding the configured maximum of ${config.maxReferenceDepth}: ${reference.target}`
|
|
1986
|
+
});
|
|
1987
|
+
if (previousDepth !== void 0 && previousDepth <= nextDepth) continue;
|
|
1988
|
+
visitedDepth.set(resolved, nextDepth);
|
|
1989
|
+
referenceQueue.push({
|
|
1990
|
+
filePath: resolved,
|
|
1991
|
+
depth: nextDepth
|
|
1992
|
+
});
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
const scriptPaths = listRegularFiles(path.join(skillDir, "scripts"));
|
|
1996
|
+
const documentation = [...markdownDocuments.values()].join("\n\n");
|
|
1997
|
+
if ((config.compatibility === "always" || config.compatibility === "when-needed" && (scriptPaths.length > 0 || REQUIREMENT_PATTERN.test(documentation))) && frontmatter.valid && !frontmatter.data.compatibility?.trim()) issue(issues, {
|
|
1998
|
+
code: "skill-compatibility-missing",
|
|
1999
|
+
severity: "warning",
|
|
2000
|
+
skill: name,
|
|
2001
|
+
skillPath,
|
|
2002
|
+
filePath: skillPath,
|
|
2003
|
+
line: 1,
|
|
2004
|
+
message: "Skill instructions require tools, environment capabilities, or scripts but frontmatter does not declare compatibility requirements."
|
|
2005
|
+
});
|
|
2006
|
+
if (config.checkScripts && scriptPaths.length > 0) {
|
|
2007
|
+
const dependencyDocumented = Boolean(frontmatter.valid && frontmatter.data.compatibility?.trim()) || DEPENDENCY_DOCUMENTATION_PATTERN.test(documentation);
|
|
2008
|
+
const validationDocumented = VALIDATION_DOCUMENTATION_PATTERN.test(documentation);
|
|
2009
|
+
for (const scriptPath of scriptPaths) {
|
|
2010
|
+
const relativeScript = toSkillRelativePath(skillDir, scriptPath);
|
|
2011
|
+
if (!validReferencePaths.has(relativeScript)) issue(issues, {
|
|
2012
|
+
code: "skill-script-undocumented",
|
|
2013
|
+
severity: "warning",
|
|
2014
|
+
skill: name,
|
|
2015
|
+
skillPath,
|
|
2016
|
+
filePath: scriptPath,
|
|
2017
|
+
line: 1,
|
|
2018
|
+
message: `Script is bundled but never referenced by SKILL.md or a reachable reference: ${relativeScript}`
|
|
2019
|
+
});
|
|
2020
|
+
if (!dependencyDocumented) issue(issues, {
|
|
2021
|
+
code: "skill-script-dependencies-undocumented",
|
|
2022
|
+
severity: "warning",
|
|
2023
|
+
skill: name,
|
|
2024
|
+
skillPath,
|
|
2025
|
+
filePath: scriptPath,
|
|
2026
|
+
line: 1,
|
|
2027
|
+
message: `Document required runtimes/packages or explicitly state that ${relativeScript} is self-contained.`
|
|
2028
|
+
});
|
|
2029
|
+
if (!validationDocumented) issue(issues, {
|
|
2030
|
+
code: "skill-script-validation-undocumented",
|
|
2031
|
+
severity: "warning",
|
|
2032
|
+
skill: name,
|
|
2033
|
+
skillPath,
|
|
2034
|
+
filePath: scriptPath,
|
|
2035
|
+
line: 1,
|
|
2036
|
+
message: `Document how to validate ${relativeScript}, including an expected result, test, --check, or --dry-run command.`
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
return {
|
|
2041
|
+
summary: {
|
|
2042
|
+
name,
|
|
2043
|
+
skillPath,
|
|
2044
|
+
lineCount,
|
|
2045
|
+
estimatedInstructionTokens,
|
|
2046
|
+
referenceCount: referencedTargets.size,
|
|
2047
|
+
scriptCount: scriptPaths.length
|
|
2048
|
+
},
|
|
2049
|
+
issues
|
|
2050
|
+
};
|
|
2051
|
+
}
|
|
2052
|
+
function analyzeConfiguredAgentSkillsProgressiveDisclosure(input, options = {}) {
|
|
2053
|
+
const config = resolveDocsAgentSkillsProgressiveDisclosureConfig(input);
|
|
2054
|
+
const analyses = resolveConfiguredAgentSkillPathsSync(input, options).map((skillPath) => analyzeOneSkill(skillPath, config));
|
|
2055
|
+
return {
|
|
2056
|
+
config,
|
|
2057
|
+
skills: analyses.map((analysis) => analysis.summary),
|
|
2058
|
+
issues: analyses.flatMap((analysis) => analysis.issues).sort((left, right) => {
|
|
2059
|
+
const fileOrder = left.filePath.localeCompare(right.filePath);
|
|
2060
|
+
if (fileOrder !== 0) return fileOrder;
|
|
2061
|
+
const lineOrder = (left.line ?? 0) - (right.line ?? 0);
|
|
2062
|
+
return lineOrder !== 0 ? lineOrder : left.code.localeCompare(right.code);
|
|
2063
|
+
})
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
|
|
1763
2067
|
//#endregion
|
|
1764
2068
|
//#region src/cli/golden-evaluations.ts
|
|
1765
2069
|
function isPlainRecord(value) {
|
|
@@ -1812,4 +2116,4 @@ function resolveGoldenEvaluationInput(evaluationInput) {
|
|
|
1812
2116
|
}
|
|
1813
2117
|
|
|
1814
2118
|
//#endregion
|
|
1815
|
-
export {
|
|
2119
|
+
export { createAgentUsefulnessPagesFromMcp as a, analyzeAgentUsefulness as i, analyzeConfiguredAgentSkillsProgressiveDisclosure as n, extractAgentBlocks as o, analyzeAgentSurfaceDrift as r, resolveGoldenEvaluationInput as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DocsAgentSkillsCompatibilityPolicy, $n as LlmsTxtConfig, $t as DocsMcpSecurityConfig, A as DocsAgentA2ASecurityScheme, An as DocsSearchFilterInput, Ar as SidebarPageNode, At as DocsCodeBlocksValidationMode, B as DocsAgentEvaluationAnswerRunner, Bn as DocsSitemapConfig, Bt as DocsContentSnapshotDocument, C as DocsAgentA2AOAuthDeviceCodeFlow, Cn as DocsSearchConfig, Cr as ReadingTimeFormat, Ct as DocsCloudPublishConfig, D as DocsAgentA2AOpenIdConnectSecurityScheme, Dn as DocsSearchFacetValue, Dr as SidebarFolderIndexBehavior, Dt as DocsCodeBlocksRunnerConfig, E as DocsAgentA2AOAuthPasswordFlow, En as DocsSearchFacet, Er as SidebarConfig, Et as DocsCodeBlocksPlannerProvider, F as DocsAgentContentChangesConfig, Fn as DocsSearchResult, Fr as TypographyConfig, Ft as DocsContentChangeSnapshotLoader, G as DocsAgentFeedbackContext, Gn as DocsTelemetryEventType, Gt as DocsMcpAuthPrincipal, H as DocsAgentEvaluationSurface, Hn as DocsTelemetryConfig, Ht as DocsFeedbackValue, I as DocsAgentEvaluationAnswerInput, In as DocsSearchResultType, Ir as UIConfig, It as DocsContentChangeSnapshotSaver, J as DocsAgentGoldenExampleVerification, Jn as DocsTheme, Jt as DocsMcpAuthenticateResult, K as DocsAgentFeedbackData, Kn as DocsTelemetryFeatures, Kt as DocsMcpAuthenticate, L as DocsAgentEvaluationAnswerProvider, Ln as DocsSearchSourcePage, Lt as DocsContentChangedDocument, M as DocsAgentA2ASkill, Mn as DocsSearchQuery, Mr as SimpleDocsSearchConfig, Mt as DocsConfig, N as DocsAgentCompactConfig, Nn as DocsSearchRequest, Nr as ThemeToggleConfig, Nt as DocsContentChangeDocument, O as DocsAgentA2AProtocolBinding, On as DocsSearchFacetsResponse, Or as SidebarFolderNode, Ot as DocsCodeBlocksRunnerProvider, P as DocsAgentConfig, Pn as DocsSearchResponse, Pr as TypesenseDocsSearchConfig, Pt as DocsContentChangeSnapshotContext, Q as DocsAgentGoldenTaskFilters, Qn as LastUpdatedConfig, Qt as DocsMcpProtectedResourceConfig, R as DocsAgentEvaluationAnswerRequest, Rn as DocsSearchWarning, Rt as DocsContentChangesResponse, S as DocsAgentA2AOAuthClientCredentialsFlow, Sn as DocsSearchChunkingConfig, Sr as ReadingTimeConfig, St as DocsCloudPreviewConfig, T as DocsAgentA2AOAuthImplicitFlow, Tn as DocsSearchEmbeddingsConfig, Tr as SidebarComponentProps, Tt as DocsCodeBlocksPlannerConfig, U as DocsAgentEvaluationTaskInput, Un as DocsTelemetryEvent, Ut as DocsI18nConfig, V as DocsAgentEvaluationSourceReference, Vn as DocsTelemetryAgentSurface, Vt as DocsFeedbackData, W as DocsAgentEvaluationsConfig, Wn as DocsTelemetryEventInput, Wt as DocsMcpAllowedOrigins, X as DocsAgentGoldenTask, Xn as FontStyle, Xt as DocsMcpCorsConfig, Y as DocsAgentGoldenExpectedExample, Yn as FeedbackConfig, Yt as DocsMcpConfig, Z as DocsAgentGoldenTaskExpectation, Zn as GithubConfig, Zt as DocsMcpOriginContext, _ as DocsAgentA2AHttpAuthSecurityScheme, _n as DocsRobotsRule, _r as PageAgentVerification, _t as DocsAskAIFeedbackValue, a as ApiReferenceRenderer, an as DocsObservabilityEventInput, ar as OpenDocsConfig, at as DocsAgentTraceStatus, b as DocsAgentA2AOAuth2SecurityScheme, bn as DocsSearchAdapterFactory, br as PageSidebarFrontmatter, bt as DocsCloudConfig, c as ChangelogFrontmatter, cn as DocsRetrievalSourceProvenance, cr as OpenDocsProviderId, ct as DocsAnalyticsEventInput, d as CopyMarkdownFormat, dn as DocsReviewCiMode, dr as OrderingItem, dt as DocsAnalyticsSource, en as DocsMcpToolsConfig, er as LlmsTxtMaxCharsConfig, et as DocsAgentSkillsConfig, f as CustomDocsSearchConfig, fn as DocsReviewConfig, fr as PageActionsConfig, ft as DocsAskAIActionData, g as DocsAgentA2AExtension, gn as DocsRobotsConfig, gr as PageAgentFrontmatter, gt as DocsAskAIFeedbackMessage, h as DocsAgentA2AConfig, hn as DocsReviewSeverity, hr as PageAgentFailureMode, ht as DocsAskAIFeedbackData, i as ApiReferenceConfig, in as DocsObservabilityEvent, ir as OGConfig, it as DocsAgentTraceEventType, j as DocsAgentA2ASecurityScopeList, jn as DocsSearchFilters, jr as SidebarTree, jt as DocsCodeBlocksValidationPolicy, k as DocsAgentA2ASecurityRequirement, kn as DocsSearchFilterField, kr as SidebarNode, kt as DocsCodeBlocksValidateConfig, l as CodeBlockCopyData, ln as DocsRetrievalSourceScope, lr as OpenDocsTarget, lt as DocsAnalyticsEventType, m as DocsAgentA2ACapabilities, mn as DocsReviewScoreConfig, mr as PageAgentCommand, mt as DocsAskAIFeedbackConfig, n as AgentFeedbackConfig, nn as DocsNav, nr as LlmsTxtSectionConfig, nt as DocsAgentSkillsProgressiveDisclosureConfig, o as BreadcrumbConfig, on as DocsPaginatedSearchResponse, or as OpenDocsProvider, ot as DocsAnalyticsConfig, p as DocsAgentA2AApiKeySecurityScheme, pn as DocsReviewRulesConfig, pr as PageAgentAppliesTo, pt as DocsAskAIActionType, q as DocsAgentGoldenAnswerExpectation, qn as DocsTelemetryFramework, qt as DocsMcpAuthenticateContext, r as AlgoliaDocsSearchConfig, rn as DocsObservabilityConfig, rr as McpDocsSearchConfig, rt as DocsAgentTraceEventInput, s as ChangelogConfig, sn as DocsRelatedItem, sr as OpenDocsProviderConfig, st as DocsAnalyticsEvent, t as AIConfig, tn as DocsMetadata, tr as LlmsTxtMaxCharsMode, tt as DocsAgentSkillsInput, u as CopyMarkdownConfig, un as DocsReviewCiConfig, ur as OpenGraphImage, ut as DocsAnalyticsInput, v as DocsAgentA2AInterfaceConfig, vn as DocsSearchAdapter, vr as PageFrontmatter, vt as DocsAskAIMcpConfig, w as DocsAgentA2AOAuthFlows, wn as DocsSearchDocument, wr as ResolvedDocsRelatedLink, wt as DocsCodeBlocksConfig, x as DocsAgentA2AOAuthAuthorizationCodeFlow, xn as DocsSearchAdapterPage, xr as PageTwitter, xt as DocsCloudFeatureConfig, y as DocsAgentA2AMutualTlsSecurityScheme, yn as DocsSearchAdapterContext, yr as PageOpenGraph, yt as DocsCloudApiKeyConfig, z as DocsAgentEvaluationAnswerResult, zn as DocsSearchWarningCode, zt as DocsContentSnapshot } from "./types-lGEHcx_6.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 SerializedOpenDocsProvider, B as DocsAgentTraceContext, D as PromptAction, G as emitDocsAgentTraceEvent, H as ResolvedDocsObservabilityConfig, J as getDocsRequestAnalyticsProperties, K as emitDocsAnalyticsEvent, O as PromptProviderChoice, S as toDocsSitemapMarkdownUrl, U as createDocsAgentTraceContext, V as ResolvedDocsAnalyticsConfig, W as createDocsAgentTraceId, X as resolveDocsObservabilityConfig, Y as resolveDocsAnalyticsConfig, _ as renderDocsSitemapMarkdown, a as DEFAULT_SITEMAP_MD_DOCS_ROUTE, b as resolveDocsSitemapPageLastmod, c as DEFAULT_SITEMAP_XML_ROUTE, d as DocsSitemapManifestPage, f as DocsSitemapPageInput, g as readDocsSitemapManifestFromContentMap, h as createDocsSitemapResponse, i as DEFAULT_SITEMAP_MANIFEST_PATH, k as SerializeOpenDocsProviderOptions, l as DocsSitemapFormat, m as buildDocsSitemapManifest, n as isDocsRetrievalCanonicalUrl, o as DEFAULT_SITEMAP_MD_ROUTE, p as DocsSitemapResolvedConfig, q as emitDocsObservabilityEvent, r as DocsPaginationCursorError, s as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, t as digestDocsRetrievalContent, u as DocsSitemapManifest, v as renderDocsSitemapXml, x as resolveDocsSitemapRequest, y as resolveDocsSitemapConfig, z as DOCS_AGENT_TRACE_EVENT_TYPES } 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-DPUEcUmb.mjs";
|
|
4
|
+
import { A as SerializedOpenDocsProvider, B as DocsAgentTraceContext, D as PromptAction, G as emitDocsAgentTraceEvent, H as ResolvedDocsObservabilityConfig, J as getDocsRequestAnalyticsProperties, K as emitDocsAnalyticsEvent, O as PromptProviderChoice, S as toDocsSitemapMarkdownUrl, U as createDocsAgentTraceContext, V as ResolvedDocsAnalyticsConfig, W as createDocsAgentTraceId, X as resolveDocsObservabilityConfig, Y as resolveDocsAnalyticsConfig, _ as renderDocsSitemapMarkdown, a as DEFAULT_SITEMAP_MD_DOCS_ROUTE, b as resolveDocsSitemapPageLastmod, c as DEFAULT_SITEMAP_XML_ROUTE, d as DocsSitemapManifestPage, f as DocsSitemapPageInput, g as readDocsSitemapManifestFromContentMap, h as createDocsSitemapResponse, i as DEFAULT_SITEMAP_MANIFEST_PATH, k as SerializeOpenDocsProviderOptions, l as DocsSitemapFormat, m as buildDocsSitemapManifest, n as isDocsRetrievalCanonicalUrl, o as DEFAULT_SITEMAP_MD_ROUTE, p as DocsSitemapResolvedConfig, q as emitDocsObservabilityEvent, r as DocsPaginationCursorError, s as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, t as digestDocsRetrievalContent, u as DocsSitemapManifest, v as renderDocsSitemapXml, x as resolveDocsSitemapRequest, y as resolveDocsSitemapConfig, z as DOCS_AGENT_TRACE_EVENT_TYPES } from "./retrieval-digest-DRRHA1B3.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-WS4GXGh6.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/define-docs.d.ts
|
|
8
8
|
/**
|
|
@@ -448,4 +448,4 @@ declare function renderDocsRobotsGeneratedBlock(options?: DocsRobotsRenderOption
|
|
|
448
448
|
declare function upsertDocsRobotsGeneratedBlock(existing: string, block: string): string;
|
|
449
449
|
declare function analyzeDocsRobotsTxt(content: string, options?: DocsRobotsAnalysisOptions): DocsRobotsAnalysis;
|
|
450
450
|
//#endregion
|
|
451
|
-
export { AGENT_SKILLS_DISCOVERY_SCHEMA_URI, AGENT_SKILL_COMPATIBILITY_MAX_LENGTH, AGENT_SKILL_DESCRIPTION_MAX_LENGTH, AGENT_SKILL_FRONTMATTER_FIELDS, AGENT_SKILL_NAME_MAX_LENGTH, type AIConfig, API_CATALOG_MEDIA_TYPE, API_CATALOG_PROFILE_URI, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type ApplyDocsMarkdownHeadingAnchorsOptions, type BreadcrumbConfig, type BuildDocsContentSnapshotOptions, type BuildDocsSearchFacetsOptions, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CreateDocsStandardsResponseOptions, type CustomDocsSearchConfig, DEFAULT_A2A_AGENT_CARD_FORMAT, DEFAULT_A2A_AGENT_CARD_ROUTE, DEFAULT_A2A_PROTOCOL_BINDING, DEFAULT_A2A_PROTOCOL_VERSION, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SKILLS_ARCHIVE_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_INDEX_FORMAT, DEFAULT_AGENT_SKILLS_INDEX_ROUTE, DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, DEFAULT_AGENT_SKILL_ARCHIVE_FORMAT, DEFAULT_AGENT_SKILL_FILE_FORMAT, DEFAULT_AGENT_SKILL_FORMAT, DEFAULT_AGENT_SKILL_RESOURCE_FORMAT, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_API_CATALOG_FORMAT, DEFAULT_API_CATALOG_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LEGACY_SKILLS_INDEX_FORMAT, DEFAULT_LEGACY_SKILLS_INDEX_ROUTE, DEFAULT_LEGACY_SKILLS_ROUTE_PREFIX, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_MANIFEST_FORMAT, DOCS_AGENT_MANIFEST_SCHEMA_MEDIA_TYPE, DOCS_AGENT_MANIFEST_SCHEMA_URI, DOCS_AGENT_MANIFEST_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MARKDOWN_SECTION_INDEX_FORMAT, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsA2AAgentCard, type DocsA2AAgentCardOptions, type DocsA2AAgentInterface, type DocsAgentA2AApiKeySecurityScheme, type DocsAgentA2ACapabilities, type DocsAgentA2AConfig, type DocsAgentA2AExtension, type DocsAgentA2AHttpAuthSecurityScheme, type DocsAgentA2AInterfaceConfig, type DocsAgentA2AMutualTlsSecurityScheme, type DocsAgentA2AOAuth2SecurityScheme, type DocsAgentA2AOAuthAuthorizationCodeFlow, type DocsAgentA2AOAuthClientCredentialsFlow, type DocsAgentA2AOAuthDeviceCodeFlow, type DocsAgentA2AOAuthFlows, type DocsAgentA2AOAuthImplicitFlow, type DocsAgentA2AOAuthPasswordFlow, type DocsAgentA2AOpenIdConnectSecurityScheme, type DocsAgentA2AProtocolBinding, type DocsAgentA2ASecurityRequirement, type DocsAgentA2ASecurityScheme, type DocsAgentA2ASecurityScopeList, type DocsAgentA2ASkill, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContentChangesConfig, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentSkillFrontmatter, DocsAgentSkillFrontmatterError, type DocsAgentSkillFrontmatterField, type DocsAgentSkillFrontmatterIssue, type DocsAgentSkillFrontmatterValidation, type DocsAgentSkillFrontmatterValidationOptions, type DocsAgentSkillIndexEntry, type DocsAgentSkillsConfig, type DocsAgentSkillsIndex, type DocsAgentSkillsInput, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsApiCatalog, type DocsApiCatalogApiTarget, type DocsApiCatalogLinkContext, type DocsApiCatalogLinkTarget, type DocsApiCatalogOpenApiDefinition, type DocsApiCatalogOptions, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsContentChangeDocument, type DocsContentChangeFeed, type DocsContentChangeHydrationBudget, type DocsContentChangeHydrationContent, type DocsContentChangeHydrationResponse, type DocsContentChangeHydrationSection, type DocsContentChangeHydrationTombstone, type DocsContentChangeSnapshotContext, type DocsContentChangeSnapshotLoader, type DocsContentChangeSnapshotSaver, type DocsContentChangedDocument, type DocsContentChangesRequest, DocsContentChangesRequestError, type DocsContentChangesResponse, type DocsContentSnapshot, type DocsContentSnapshotDocument, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsDiscoveryApiRouteOptions, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsLocalMcpSearchRuntimeConfig, type DocsLocalMcpSearchRuntimeInput, type DocsMarkdownAgentDetection, type DocsMarkdownHeadingAnchor, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMarkdownSection, type DocsMarkdownSectionIndex, type DocsMarkdownSectionIndexOptions, type DocsMarkdownSectionMetadata, type DocsMarkdownSectionRequest, type DocsMarkdownSectionResult, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpProtectedResourceConfig, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPaginatedSearchResponse, DocsPaginationCursorError, type DocsPathMatch, type DocsPublishedAgentSkill, type DocsPublishedAgentSkillFile, type DocsPublishedAgentSkillOptions, type DocsRelatedItem, type DocsRenderedHeadingAnchorOptions, type DocsResolvedContentChangesConfig, type DocsRetrievalSourceProvenance, type DocsRetrievalSourceScope, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsAnalysis, type DocsRobotsAnalysisOptions, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchAdapterPage, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchFacet, type DocsSearchFacetValue, type DocsSearchFacetsResponse, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, DocsSearchRequestError, type DocsSearchRequestResolutionOptions, type DocsSearchResponse, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSearchWarning, type DocsSearchWarningCode, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStandardsDiscoveryRequest, type DocsStandardsDiscoveryResponseOptions, type DocsStandardsDiscoveryRouteOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type EnrichDocsSearchDocumentsWithProvenanceOptions, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type HydrateDocsContentChangesOptions, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PerformDocsSearchOptions, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolveDocsContentChangesOptions, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, appendDocsDiscoveryLinkHeader, applyDocsMarkdownHeadingAnchors, applySidebarFolderIndexBehavior, buildDocsA2AAgentCard, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAgentSkillsIndex, buildDocsApiCatalog, buildDocsAskAIContext, buildDocsConfigMap, buildDocsContentSnapshot, buildDocsDiagnostics, buildDocsLegacySkillsIndex, buildDocsMarkdownSectionIndex, buildDocsMcpEndpointCandidates, buildDocsMcpProtectedResourceMetadataRoute, buildDocsPageStructuredData, buildDocsRetrievalDigestProjection, buildDocsSearchDocuments, buildDocsSearchFacets, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, cleanDocsRenderedHeadingLabel, collectDocsMarkdownSections, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMarkdownHeadingAnchorResolver, createDocsMarkdownResponse, createDocsRenderedHeadingAnchorResolver, createDocsRobotsResponse, createDocsSitemapResponse, createDocsStandardsDiscoveryResponse, createDocsStandardsResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, encodeDocsHeadingTocUrls, enrichDocsSearchDocumentsWithProvenance, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsAgentManifestLinkHeader, getDocsDiscoveryLinkHeader, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsMcpProtectedResourceMetadataRoutes, getDocsMcpResourcePaths, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasDocsMcpProtectedResourceConfig, hasStructuredPageAgentContract, hashGeneratedAgentContent, hydrateDocsContentChanges, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentSkillName, isDocsAgentsRequest, isDocsConfigRequest, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMarkdownSectionIndexRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsRetrievalCanonicalUrl, isDocsSkillRequest, isDocsStandardsDiscoveryRequest, isLocalDocsTelemetryOrigin, isolateDocsMarkdownPromptReferences, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsSearchFilters, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseDocsAgentSkillFrontmatter, parseGeneratedAgentDocument, performDocsSearch, performDocsSearchWithMetadata, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsDiscoveryApiRoute, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMarkdownSectionRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsPublishedAgentSkill, resolveDocsRequestApiRoute, resolveDocsRetrievalLastModified, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsStandardsDiscoveryRequest, resolveDocsTelemetryConfig, resolveLocalDocsMcpSearchConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, selectDocsMarkdownSection, serializeGeneratedAgentDocument, sha256DocsDiscoveryContent, slugifyDocsMarkdownHeading, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload, validateDocsAgentSkillFrontmatter, withDocsMarkdownRenderableHeadings };
|
|
451
|
+
export { AGENT_SKILLS_DISCOVERY_SCHEMA_URI, AGENT_SKILL_COMPATIBILITY_MAX_LENGTH, AGENT_SKILL_DESCRIPTION_MAX_LENGTH, AGENT_SKILL_FRONTMATTER_FIELDS, AGENT_SKILL_NAME_MAX_LENGTH, type AIConfig, API_CATALOG_MEDIA_TYPE, API_CATALOG_PROFILE_URI, type AgentFeedbackConfig, type AlgoliaDocsSearchConfig, type ApiReferenceConfig, type ApiReferenceRenderer, type ApplyDocsMarkdownHeadingAnchorsOptions, type BreadcrumbConfig, type BuildDocsContentSnapshotOptions, type BuildDocsSearchFacetsOptions, type ChangelogConfig, type ChangelogEntrySummary, type ChangelogFrontmatter, type CodeBlockCopyData, type CopyMarkdownConfig, type CopyMarkdownFormat, type CreateDocsStandardsResponseOptions, type CustomDocsSearchConfig, DEFAULT_A2A_AGENT_CARD_FORMAT, DEFAULT_A2A_AGENT_CARD_ROUTE, DEFAULT_A2A_PROTOCOL_BINDING, DEFAULT_A2A_PROTOCOL_VERSION, DEFAULT_AGENTS_MD_ROUTE, DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_FEEDBACK_PAYLOAD_SCHEMA, DEFAULT_AGENT_FEEDBACK_ROUTE, DEFAULT_AGENT_MD_ROUTE, DEFAULT_AGENT_MD_WELL_KNOWN_ROUTE, DEFAULT_AGENT_SKILLS_ARCHIVE_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_INDEX_FORMAT, DEFAULT_AGENT_SKILLS_INDEX_ROUTE, DEFAULT_AGENT_SKILLS_ROUTE_PATTERN, DEFAULT_AGENT_SKILLS_ROUTE_PREFIX, DEFAULT_AGENT_SKILL_ARCHIVE_FORMAT, DEFAULT_AGENT_SKILL_FILE_FORMAT, DEFAULT_AGENT_SKILL_FORMAT, DEFAULT_AGENT_SKILL_RESOURCE_FORMAT, DEFAULT_AGENT_SPEC_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, DEFAULT_API_CATALOG_FORMAT, DEFAULT_API_CATALOG_ROUTE, DEFAULT_DOCS_AI_ROBOTS_USER_AGENTS, DEFAULT_DOCS_API_ROUTE, DEFAULT_DOCS_CONFIG_FORMAT, DEFAULT_DOCS_CONFIG_ROUTE, DEFAULT_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, DEFAULT_DOCS_DIAGNOSTICS_FORMAT, DEFAULT_DOCS_DIAGNOSTICS_ROUTE, DEFAULT_LEGACY_SKILLS_INDEX_FORMAT, DEFAULT_LEGACY_SKILLS_INDEX_ROUTE, DEFAULT_LEGACY_SKILLS_ROUTE_PREFIX, DEFAULT_LLMS_FULL_TXT_ROUTE, DEFAULT_LLMS_FULL_TXT_WELL_KNOWN_ROUTE, DEFAULT_LLMS_TXT_MAX_CHARS, DEFAULT_LLMS_TXT_ROUTE, DEFAULT_LLMS_TXT_WELL_KNOWN_ROUTE, DEFAULT_MCP_PROTECTED_RESOURCE_METADATA_ROUTE, DEFAULT_MCP_PUBLIC_ROUTE, DEFAULT_MCP_ROUTE, DEFAULT_MCP_WELL_KNOWN_ROUTE, DEFAULT_OPENAPI_SCHEMA_ROUTE, DEFAULT_ROBOTS_TXT_ROUTE, DEFAULT_SITEMAP_MANIFEST_PATH, DEFAULT_SITEMAP_MD_DOCS_ROUTE, DEFAULT_SITEMAP_MD_ROUTE, DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, DEFAULT_SITEMAP_XML_ROUTE, DEFAULT_SKILL_MD_ROUTE, DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, DOCS_AGENT_CONTRACT_VERSION, DOCS_AGENT_MANIFEST_FORMAT, DOCS_AGENT_MANIFEST_SCHEMA_MEDIA_TYPE, DOCS_AGENT_MANIFEST_SCHEMA_URI, DOCS_AGENT_MANIFEST_VERSION, DOCS_AGENT_TRACE_EVENT_TYPES, DOCS_AI_AGENT_USER_AGENT_HEADER_PATTERN, DOCS_BOT_LIKE_USER_AGENT_HEADER_PATTERN, DOCS_CONTENT_CHANGES_FORMAT, DOCS_CONTENT_CHANGES_RESPONSE_VALUE, DOCS_CONTENT_CHANGE_HYDRATION_FORMAT, DOCS_CONTENT_SNAPSHOT_FORMAT, DOCS_MARKDOWN_SECTION_INDEX_FORMAT, DOCS_MARKDOWN_SIGNATURE_AGENT_HEADER, DOCS_ROBOTS_GENERATED_BLOCK_END, DOCS_ROBOTS_GENERATED_BLOCK_START, DOCS_TRADITIONAL_BOT_USER_AGENT_HEADER_PATTERN, type DocsA2AAgentCard, type DocsA2AAgentCardOptions, type DocsA2AAgentInterface, type DocsAgentA2AApiKeySecurityScheme, type DocsAgentA2ACapabilities, type DocsAgentA2AConfig, type DocsAgentA2AExtension, type DocsAgentA2AHttpAuthSecurityScheme, type DocsAgentA2AInterfaceConfig, type DocsAgentA2AMutualTlsSecurityScheme, type DocsAgentA2AOAuth2SecurityScheme, type DocsAgentA2AOAuthAuthorizationCodeFlow, type DocsAgentA2AOAuthClientCredentialsFlow, type DocsAgentA2AOAuthDeviceCodeFlow, type DocsAgentA2AOAuthFlows, type DocsAgentA2AOAuthImplicitFlow, type DocsAgentA2AOAuthPasswordFlow, type DocsAgentA2AOpenIdConnectSecurityScheme, type DocsAgentA2AProtocolBinding, type DocsAgentA2ASecurityRequirement, type DocsAgentA2ASecurityScheme, type DocsAgentA2ASecurityScopeList, type DocsAgentA2ASkill, type DocsAgentAdapter, type DocsAgentCompactConfig, type DocsAgentConfig, type DocsAgentConformanceCaseResult, type DocsAgentConformanceReport, type DocsAgentContentChangesConfig, type DocsAgentContractCase, type DocsAgentContractExpectation, type DocsAgentContractMcpTools, type DocsAgentContractRequest, type DocsAgentContractSurface, type DocsAgentDiscoverySpecOptions, type DocsAgentEvaluationAnswerInput, type DocsAgentEvaluationAnswerProvider, type DocsAgentEvaluationAnswerRequest, type DocsAgentEvaluationAnswerResult, type DocsAgentEvaluationAnswerRunner, type DocsAgentEvaluationSourceReference, type DocsAgentEvaluationSurface, type DocsAgentEvaluationTaskInput, type DocsAgentEvaluationsConfig, type DocsAgentFeedbackContext, type DocsAgentFeedbackData, type DocsAgentFeedbackDiscoveryConfig, type DocsAgentFeedbackRequest, type DocsAgentFeedbackResolvedConfig, type DocsAgentGoldenAnswerExpectation, type DocsAgentGoldenExampleVerification, type DocsAgentGoldenExpectedExample, type DocsAgentGoldenTask, type DocsAgentGoldenTaskExpectation, type DocsAgentGoldenTaskFilters, type DocsAgentSkillFrontmatter, DocsAgentSkillFrontmatterError, type DocsAgentSkillFrontmatterField, type DocsAgentSkillFrontmatterIssue, type DocsAgentSkillFrontmatterValidation, type DocsAgentSkillFrontmatterValidationOptions, type DocsAgentSkillIndexEntry, type DocsAgentSkillsCompatibilityPolicy, type DocsAgentSkillsConfig, type DocsAgentSkillsIndex, type DocsAgentSkillsInput, type DocsAgentSkillsProgressiveDisclosureConfig, type DocsAgentTraceContext, type DocsAgentTraceEventInput, type DocsAgentTraceEventType, type DocsAgentTraceStatus, type DocsAgentsDocumentOptions, type DocsAnalyticsConfig, type DocsAnalyticsEvent, type DocsAnalyticsEventInput, type DocsAnalyticsEventType, type DocsAnalyticsInput, type DocsAnalyticsSource, type DocsApiCatalog, type DocsApiCatalogApiTarget, type DocsApiCatalogLinkContext, type DocsApiCatalogLinkTarget, type DocsApiCatalogOpenApiDefinition, type DocsApiCatalogOptions, type DocsAskAIActionData, type DocsAskAIActionType, type DocsAskAIFeedbackConfig, type DocsAskAIFeedbackData, type DocsAskAIFeedbackMessage, type DocsAskAIFeedbackValue, type DocsAskAIMcpConfig, type DocsAudienceMdxIssue, type DocsCloudApiKeyConfig, type DocsCloudConfig, type DocsCloudFeatureConfig, type DocsCloudPreviewConfig, type DocsCloudPublishConfig, type DocsCodeBlocksConfig, type DocsCodeBlocksPlannerConfig, type DocsCodeBlocksPlannerProvider, type DocsCodeBlocksRunnerConfig, type DocsCodeBlocksRunnerProvider, type DocsCodeBlocksValidateConfig, type DocsCodeBlocksValidationMode, type DocsCodeBlocksValidationPolicy, type DocsConfig, type DocsConfigMap, type DocsConfigMapJsonValue, type DocsConfigMapPointer, type DocsContentAudience, type DocsContentChangeDocument, type DocsContentChangeFeed, type DocsContentChangeHydrationBudget, type DocsContentChangeHydrationContent, type DocsContentChangeHydrationResponse, type DocsContentChangeHydrationSection, type DocsContentChangeHydrationTombstone, type DocsContentChangeSnapshotContext, type DocsContentChangeSnapshotLoader, type DocsContentChangeSnapshotSaver, type DocsContentChangedDocument, type DocsContentChangesRequest, DocsContentChangesRequestError, type DocsContentChangesResponse, type DocsContentSnapshot, type DocsContentSnapshotDocument, type DocsDiagnostics, type DocsDiagnosticsFeature, type DocsDiagnosticsIssue, type DocsDiagnosticsIssueSeverity, type DocsDiagnosticsOptions, type DocsDiagnosticsStatus, type DocsDiscoveryApiRouteOptions, type DocsFeedbackData, type DocsFeedbackValue, type DocsI18nConfig, type DocsLlmsDiscoveryConfig, type DocsLlmsTxtGeneratedContent, type DocsLlmsTxtGeneratedSection, type DocsLlmsTxtMaxCharsIssue, type DocsLlmsTxtPageInput, type DocsLlmsTxtRequest, type DocsLlmsTxtResolvedMaxChars, type DocsLlmsTxtResolvedSection, type DocsLlmsTxtSelectedContent, type DocsLocalMcpSearchRuntimeConfig, type DocsLocalMcpSearchRuntimeInput, type DocsMarkdownAgentDetection, type DocsMarkdownHeadingAnchor, type DocsMarkdownPage, type DocsMarkdownRecoveryMatch, type DocsMarkdownRecoveryResult, type DocsMarkdownResponseOptions, type DocsMarkdownSection, type DocsMarkdownSectionIndex, type DocsMarkdownSectionIndexOptions, type DocsMarkdownSectionMetadata, type DocsMarkdownSectionRequest, type DocsMarkdownSectionResult, type DocsMcpAllowedOrigins, type DocsMcpAuthPrincipal, type DocsMcpAuthenticate, type DocsMcpAuthenticateContext, type DocsMcpAuthenticateResult, type DocsMcpConfig, type DocsMcpCorsConfig, type DocsMcpEndpointCandidate, type DocsMcpEndpointCandidateOptions, type DocsMcpOriginContext, type DocsMcpProtectedResourceConfig, type DocsMcpSecurityConfig, type DocsMcpToolsConfig, type DocsMetadata, type DocsNav, type DocsObservabilityConfig, type DocsObservabilityEvent, type DocsObservabilityEventInput, type DocsOpenApiDiscoveryConfig, type DocsOpenApiResolvedDiscoveryConfig, type DocsPageStructuredDataInput, type DocsPaginatedSearchResponse, DocsPaginationCursorError, type DocsPathMatch, type DocsPublishedAgentSkill, type DocsPublishedAgentSkillFile, type DocsPublishedAgentSkillOptions, type DocsRelatedItem, type DocsRenderedHeadingAnchorOptions, type DocsResolvedContentChangesConfig, type DocsRetrievalSourceProvenance, type DocsRetrievalSourceScope, type DocsReviewCiConfig, type DocsReviewCiMode, type DocsReviewConfig, type DocsReviewRulesConfig, type DocsReviewScoreConfig, type DocsReviewSeverity, type DocsRobotsAnalysis, type DocsRobotsAnalysisOptions, type DocsRobotsConfig, type DocsRobotsRenderOptions, type DocsRobotsResolvedConfig, type DocsRobotsRule, type DocsSearchAdapter, type DocsSearchAdapterContext, type DocsSearchAdapterFactory, type DocsSearchAdapterPage, type DocsSearchChunkingConfig, type DocsSearchConfig, type DocsSearchDocument, type DocsSearchEmbeddingsConfig, type DocsSearchFacet, type DocsSearchFacetValue, type DocsSearchFacetsResponse, type DocsSearchFilterField, type DocsSearchFilterInput, type DocsSearchFilters, type DocsSearchQuery, type DocsSearchRequest, DocsSearchRequestError, type DocsSearchRequestResolutionOptions, type DocsSearchResponse, type DocsSearchResult, type DocsSearchResultType, type DocsSearchSourcePage, type DocsSearchWarning, type DocsSearchWarningCode, type DocsSitemapConfig, type DocsSitemapFormat, type DocsSitemapManifest, type DocsSitemapManifestPage, type DocsSitemapPageInput, type DocsSitemapResolvedConfig, type DocsSkillDocumentOptions, type DocsStandardsDiscoveryRequest, type DocsStandardsDiscoveryResponseOptions, type DocsStandardsDiscoveryRouteOptions, type DocsStructuredDataBreadcrumb, type DocsTelemetryAgentSurface, type DocsTelemetryAgentSurfaceContext, type DocsTelemetryAgentSurfaceRequestOptions, type DocsTelemetryConfig, type DocsTelemetryContext, type DocsTelemetryEvent, type DocsTelemetryEventInput, type DocsTelemetryEventType, type DocsTelemetryFeatures, type DocsTelemetryFramework, type DocsTheme, type EnrichDocsSearchDocumentsWithProvenanceOptions, type FeedbackConfig, type FontStyle, GENERATED_AGENT_PROVENANCE_MARKER, GENERATED_AGENT_PROVENANCE_VERSION, type GeneratedAgentProvenance, type GeneratedAgentSourceKind, type GithubConfig, type HydrateDocsContentChangesOptions, type LastUpdatedConfig, type LlmsTxtConfig, type LlmsTxtMaxCharsConfig, type LlmsTxtMaxCharsMode, type LlmsTxtSectionConfig, MAX_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, MIN_DOCS_CONTENT_CHANGE_HYDRATION_TOKEN_BUDGET, type McpDocsSearchConfig, type OGConfig, type OpenDocsConfig, type OpenDocsProvider, type OpenDocsProviderConfig, type OpenDocsProviderId, type OpenDocsTarget, type OpenGraphImage, type OrderingItem, PAGE_AGENT_CONTRACT_END_MARKER, PAGE_AGENT_CONTRACT_FIELDS, PAGE_AGENT_CONTRACT_FIELD_SCHEMA, PAGE_AGENT_CONTRACT_START_MARKER, PAGE_AGENT_STRUCTURED_CONTRACT_FIELDS, type PageActionsConfig, type PageAgentAppliesTo, type PageAgentCommand, type PageAgentFailureMode, type PageAgentFrontmatter, type PageAgentFrontmatterIssue, type PageAgentVerification, type PageFrontmatter, type PageOpenGraph, type PageSidebarFrontmatter, type PageTwitter, type PerformDocsSearchOptions, type PromptAction, type PromptProviderChoice, type ReadingTimeConfig, type ReadingTimeFormat, type ResolveDocsContentChangesOptions, type ResolvedChangelogConfig, type ResolvedDocsAnalyticsConfig, type ResolvedDocsI18n, type ResolvedDocsObservabilityConfig, type ResolvedDocsRelatedLink, type ResolvedDocsTelemetryConfig, type RunDocsAgentConformanceOptions, type SerializeOpenDocsProviderOptions, type SerializedOpenDocsProvider, type SidebarComponentProps, type SidebarConfig, type SidebarFolderIndexBehavior, type SidebarFolderNode, type SidebarNode, type SidebarPageNode, type SidebarTree, type SimpleDocsSearchConfig, type ThemeToggleConfig, type TypesenseDocsSearchConfig, type TypographyConfig, type UIConfig, acceptsDocsMarkdown, analyzeDocsRobotsTxt, appendDocsDiscoveryLinkHeader, applyDocsMarkdownHeadingAnchors, applySidebarFolderIndexBehavior, buildDocsA2AAgentCard, buildDocsAgentDiscoverySpec, buildDocsAgentFeedbackSchema, buildDocsAgentSkillsIndex, buildDocsApiCatalog, buildDocsAskAIContext, buildDocsConfigMap, buildDocsContentSnapshot, buildDocsDiagnostics, buildDocsLegacySkillsIndex, buildDocsMarkdownSectionIndex, buildDocsMcpEndpointCandidates, buildDocsMcpProtectedResourceMetadataRoute, buildDocsPageStructuredData, buildDocsRetrievalDigestProjection, buildDocsSearchDocuments, buildDocsSearchFacets, buildDocsSitemapManifest, buildPageOpenGraph, buildPageTwitter, cleanDocsRenderedHeadingLabel, collectDocsMarkdownSections, createAlgoliaSearchAdapter, createCustomSearchAdapter, createDocsAgentContractCases, createDocsAgentTraceContext, createDocsAgentTraceId, createDocsContentChangeFeed, createDocsContentChangesHttpResponse, createDocsMarkdownHeadingAnchorResolver, createDocsMarkdownResponse, createDocsRenderedHeadingAnchorResolver, createDocsRobotsResponse, createDocsSitemapResponse, createDocsStandardsDiscoveryResponse, createDocsStandardsResponse, createMcpSearchAdapter, createSimpleSearchAdapter, createTheme, createTypesenseSearchAdapter, deepMerge, defineDocs, detectDocsMarkdownAgentRequest, digestDocsRetrievalContent, emitDocsAgentTraceEvent, emitDocsAnalyticsEvent, emitDocsObservabilityEvent, emitDocsTelemetryAgentSurfaceEvent, emitDocsTelemetryEvent, emitDocsTelemetryMcpToolEvent, emitDocsTelemetryProjectEvent, encodeDocsHeadingTocUrls, enrichDocsSearchDocumentsWithProvenance, estimateReadingTimeMinutes, extendTheme, findDocsAudienceMdxIssues, findDocsMarkdownPage, formatDocsAskAIPackageHints, getDocsAgentManifestLinkHeader, getDocsDiscoveryLinkHeader, getDocsLlmsTxtMaxCharsIssue, getDocsMarkdownCanonicalLinkHeader, getDocsMarkdownVaryHeader, getDocsMcpProtectedResourceMetadataRoutes, getDocsMcpResourcePaths, getDocsRequestAnalyticsProperties, getDocsRobotsAllowRoutes, getDocsTelemetryFeatures, getPageAgentFrontmatterIssues, hasDocsMarkdownSignatureAgent, hasDocsMcpProtectedResourceConfig, hasStructuredPageAgentContract, hashGeneratedAgentContent, hydrateDocsContentChanges, inferDocsAskAIPackageHints, inferDocsTelemetryAgentSurface, isDocsAgentDiscoveryRequest, isDocsAgentSkillName, isDocsAgentsRequest, isDocsConfigRequest, isDocsContentChangeGeneration, isDocsContentChangesRequest, isDocsDiagnosticsRequest, isDocsLlmsTxtPublicRequest, isDocsMarkdownSectionIndexRequest, isDocsMcpRequest, isDocsPublicGetRequest, isDocsRetrievalCanonicalUrl, isDocsSkillRequest, isDocsStandardsDiscoveryRequest, isLocalDocsTelemetryOrigin, isolateDocsMarkdownPromptReferences, matchesDocsLlmsTxtSection, normalizeDocsPathSegment, normalizeDocsRelated, normalizeDocsSearchFilters, normalizeDocsTelemetryOrigin, normalizeDocsUrlPath, normalizeGeneratedAgentContent, normalizePageAgentFrontmatter, parseDocsAgentFeedbackData, parseDocsAgentSkillFrontmatter, parseGeneratedAgentDocument, performDocsSearch, performDocsSearchWithMetadata, readDocsSitemapManifestFromContentMap, renderDocsAgentsDocument, renderDocsLlmsTxt, renderDocsMarkdownDocument, renderDocsMarkdownNotFound, renderDocsPageStructuredDataJson, renderDocsRelatedMarkdownLines, renderDocsRobotsGeneratedBlock, renderDocsRobotsTxt, renderDocsSitemapMarkdown, renderDocsSitemapXml, renderDocsSkillDocument, renderPageAgentContractMarkdown, renderPageAgentFrontmatterYamlLines, resolveAskAISearchRequestConfig, resolveChangelogConfig, resolveDocsAgentContractMcpTools, resolveDocsAgentFeedbackConfig, resolveDocsAgentFeedbackRequest, resolveDocsAgentMdxContent, resolveDocsAgentsFormat, resolveDocsAnalyticsConfig, resolveDocsAudienceExposure, resolveDocsAudienceMdxContent, resolveDocsContentChangesConfig, resolveDocsContentChangesRequest, resolveDocsDiscoveryApiRoute, resolveDocsI18n, resolveDocsLlmsTxtFormat, resolveDocsLlmsTxtRequest, resolveDocsLlmsTxtSections, resolveDocsLocale, resolveDocsMarkdownCanonicalUrl, resolveDocsMarkdownRecovery, resolveDocsMarkdownRequest, resolveDocsMarkdownSectionRequest, resolveDocsMetadataBaseUrl, resolveDocsObservabilityConfig, resolveDocsOpenApiDiscoveryConfig, resolveDocsPath, resolveDocsPublishedAgentSkill, resolveDocsRequestApiRoute, resolveDocsRetrievalLastModified, resolveDocsRobotsConfig, resolveDocsRobotsRequest, resolveDocsSearchAudience, resolveDocsSearchError, resolveDocsSearchFilters, resolveDocsSearchRequest, resolveDocsSitemapConfig, resolveDocsSitemapPageLastmod, resolveDocsSitemapRequest, resolveDocsSkillFormat, resolveDocsStandardsDiscoveryRequest, resolveDocsTelemetryConfig, resolveLocalDocsMcpSearchConfig, resolveOGImage, resolvePageReadingTime, resolvePageSidebarFolderIndexBehavior, resolveReadingTimeFromContent, resolveReadingTimeFromSource, resolveReadingTimeOptions, resolveSearchRequestConfig, resolveSidebarFolderIndexBehavior, resolveSidebarFolderIndexBehaviorForPath, resolveTitle, runDocsAgentConformance, selectDocsLlmsTxtContent, selectDocsMarkdownSection, serializeGeneratedAgentDocument, sha256DocsDiscoveryContent, slugifyDocsMarkdownHeading, stripGeneratedAgentProvenance, stripGeneratedPageAgentContractMarkdown, toDocsMarkdownUrl, toDocsSitemapMarkdownUrl, upsertDocsRobotsGeneratedBlock, upsertPageAgentContractMarkdown, validateDocsAgentFeedbackPayload, validateDocsAgentSkillFrontmatter, withDocsMarkdownRenderableHeadings };
|
|
@@ -4,10 +4,10 @@ import { L as resolveDocsPublishedAgentSkill } from "./standards-discovery-BKlEn
|
|
|
4
4
|
import "./content-change-hydration-DpQ0KdAD.mjs";
|
|
5
5
|
import { a as resolveDocsMetadataBaseUrl } from "./metadata-N252j5_a.mjs";
|
|
6
6
|
import "./sitemap-server-BefXEox6.mjs";
|
|
7
|
-
import "./agent-
|
|
7
|
+
import { r as resolveConfiguredAgentSkills } from "./agent-skills-server-D5qYU19g.mjs";
|
|
8
|
+
import "./agent-evals-Burrzyam.mjs";
|
|
8
9
|
import { createFilesystemDocsMcpSource, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
9
|
-
import "./code-blocks-
|
|
10
|
-
import { t as resolveConfiguredAgentSkills } from "./agent-skills-server-B2EXn2QD.mjs";
|
|
10
|
+
import "./code-blocks-0wjOsqdJ.mjs";
|
|
11
11
|
import "./server.mjs";
|
|
12
12
|
import { _ as resolveDocsContentDir, d as readNavTitle, g as resolveDocsConfigPath, i as hasTopLevelProperty, l as readBooleanProperty, n as extractObjectLiteral, o as loadDocsConfigModuleResult, p as readStringProperty, t as extractNestedObjectLiteral } from "./config-Wcdj-D0a.mjs";
|
|
13
13
|
import { existsSync, readFileSync } from "node:fs";
|
package/dist/mcp.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { Cn as DocsSearchConfig, F as DocsAgentContentChangesConfig, Gt as DocsMcpAuthPrincipal, Hn as DocsTelemetryConfig, Kt as DocsMcpAuthenticate, Ln as DocsSearchSourcePage, Wt as DocsMcpAllowedOrigins, Yt as DocsMcpConfig, cn as DocsRetrievalSourceProvenance, dr as OrderingItem, gr as PageAgentFrontmatter, ot as DocsAnalyticsConfig, qn as DocsTelemetryFramework, rn as DocsObservabilityConfig } from "./types-lGEHcx_6.mjs";
|
|
2
|
+
import { z as DocsPublishedAgentSkill } from "./standards-discovery-DPUEcUmb.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-WS4GXGh6.mjs";
|
|
4
4
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
5
5
|
|
|
6
6
|
//#region src/mcp.d.ts
|
package/dist/mcp.mjs
CHANGED
|
@@ -269,17 +269,68 @@ const DOCS_CONFIG_SCHEMA_OPTIONS_TEMPLATE = [
|
|
|
269
269
|
name: "skills",
|
|
270
270
|
type: "string | readonly string[] | DocsAgentSkillsConfig",
|
|
271
271
|
description: "Project skill files or collection directories published through discovery, static export, and MCP.",
|
|
272
|
-
children: [
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
272
|
+
children: [
|
|
273
|
+
{
|
|
274
|
+
path: "agent.skills.paths",
|
|
275
|
+
name: "paths",
|
|
276
|
+
type: "string | readonly string[]",
|
|
277
|
+
description: "Workspace-contained SKILL.md file, skill directory, or collection directory paths."
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
path: "agent.skills.paths[]",
|
|
281
|
+
name: "path",
|
|
282
|
+
type: "string",
|
|
283
|
+
description: "One workspace-contained Agent Skill path."
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
path: "agent.skills.progressiveDisclosure",
|
|
287
|
+
name: "progressiveDisclosure",
|
|
288
|
+
type: "DocsAgentSkillsProgressiveDisclosureConfig",
|
|
289
|
+
description: "Thresholds used by doctor and review to keep SKILL.md instructions compact, references shallow, and scripts documented.",
|
|
290
|
+
children: [
|
|
291
|
+
{
|
|
292
|
+
path: "agent.skills.progressiveDisclosure.maxSkillLines",
|
|
293
|
+
name: "maxSkillLines",
|
|
294
|
+
type: "number",
|
|
295
|
+
default: 500,
|
|
296
|
+
description: "Maximum recommended line count for the complete SKILL.md document."
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
path: "agent.skills.progressiveDisclosure.instructionTokenBudget",
|
|
300
|
+
name: "instructionTokenBudget",
|
|
301
|
+
type: "number",
|
|
302
|
+
default: 5e3,
|
|
303
|
+
description: "Approximate token budget for SKILL.md instructions after frontmatter."
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
path: "agent.skills.progressiveDisclosure.maxReferenceDepth",
|
|
307
|
+
name: "maxReferenceDepth",
|
|
308
|
+
type: "number",
|
|
309
|
+
default: 1,
|
|
310
|
+
description: "Maximum local Markdown reference hops from SKILL.md before doctor and review warn."
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
path: "agent.skills.progressiveDisclosure.compatibility",
|
|
314
|
+
name: "compatibility",
|
|
315
|
+
type: "\"when-needed\" | \"always\" | \"off\"",
|
|
316
|
+
default: "when-needed",
|
|
317
|
+
values: [
|
|
318
|
+
"when-needed",
|
|
319
|
+
"always",
|
|
320
|
+
"off"
|
|
321
|
+
],
|
|
322
|
+
description: "Whether compatibility frontmatter is expected only for environment-dependent skills, always, or never."
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
path: "agent.skills.progressiveDisclosure.checkScripts",
|
|
326
|
+
name: "checkScripts",
|
|
327
|
+
type: "boolean",
|
|
328
|
+
default: true,
|
|
329
|
+
description: "Diagnose bundled scripts without dependency and validation guidance."
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
]
|
|
283
334
|
},
|
|
284
335
|
{
|
|
285
336
|
path: "agent.a2a",
|
|
@@ -1193,7 +1244,8 @@ const DOCS_CONFIG_SCHEMA_OPTIONS_TEMPLATE = [
|
|
|
1193
1244
|
["relatedCoverage", "suggestion"],
|
|
1194
1245
|
["configConfidence", "warn"],
|
|
1195
1246
|
["agentSurfaceDrift", "error"],
|
|
1196
|
-
["goldenTasks", "warn"]
|
|
1247
|
+
["goldenTasks", "warn"],
|
|
1248
|
+
["agentSkills", "warn"]
|
|
1197
1249
|
].map(([name, defaultValue]) => ({
|
|
1198
1250
|
path: `review.rules.${name}`,
|
|
1199
1251
|
name,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as DocsDiscoveryApiRouteOptions } from "./standards-discovery-
|
|
1
|
+
import { Bn as DocsSitemapConfig, an as DocsObservabilityEventInput, ct as DocsAnalyticsEventInput, in as DocsObservabilityEvent, lr as OpenDocsTarget, or as OpenDocsProvider, ot as DocsAnalyticsConfig, rn as DocsObservabilityConfig, rt as DocsAgentTraceEventInput, st as DocsAnalyticsEvent, wr as ResolvedDocsRelatedLink } from "./types-lGEHcx_6.mjs";
|
|
2
|
+
import { R as DocsDiscoveryApiRouteOptions } from "./standards-discovery-DPUEcUmb.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"];
|