feat(mcp): support compact output schema advertisements (#7218)

Add opt-in bounded output-schema advertisements while preserving the full default, canonical server validation and complete structured content. Verify real stdio discovery under a 1 MiB receive cap, all 5,367 libcrypto export coordinates, complete Evidence parity, whole-task serialization estimates and resource bounds.

Fixes #2512. Integrates #7054 by Akshad Jogi with original authorship retained.

Co-authored-by: Akshad Jogi <akshadjogi@gmail.com>
This commit is contained in:
gensokyo-devandAkshad Jogi authored and GitHub committed 2026-10-26 17:59:51 +08:00
1 parent e596a48251
commit 9085222ca1
22 files changed
+1831 -771

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ const { createCatalogDigestProfiles } = await import(
pathToFileURL(join(compiledRoot, "catalogIdentity.js")).href
);
// Retain only hashes, with every shared record frozen. Schemas remain owned by
// the compiled contracts and are converted once for all four identities.
// the compiled contracts and are converted once for all six identities.
const profiles = Object.entries(createCatalogDigestProfiles())
.map(
([input, outputs]) =>