fix(mcp): materialize catalog identity at the JSON boundary
Keep lazy cached catalog calculation internal; publish catalog counts and digests as plain data. This repairs binary_session and doctor output after inert JSON validation. Validation: production stdio MCP doctor and invalid-probe controls pass; build, static and docs checks pass.
This commit is contained in:
1 parent
96e7c22a9c
commit
ee9bf58abc
1 file changed
+4
-1
@@ -74,7 +74,10 @@ export const createServerIdentity = (input: {
|
||||
name: PRODUCT_IDENTITY.skillName,
|
||||
expected_version: PRODUCT_IDENTITY.skillVersion,
|
||||
},
|
||||
catalog: CATALOG_IDENTITY,
|
||||
catalog: {
|
||||
counts: CATALOG_IDENTITY.counts,
|
||||
digests: CATALOG_IDENTITY.digests,
|
||||
},
|
||||
protocol_features: {
|
||||
progress: true,
|
||||
cancellation: true,
|
||||
|
||||
Reference in new issue
Block a user