mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 10:55:57 +00:00
Every `doctor`, `mcp doctor` and MCP server that reports or compares its catalog identity rebuilt all advertised JSON Schemas and canonicalized them to compute the default digests, about 200 ms of CPU per process. The default (full input and output schema) catalog is a deterministic function of the compiled contracts and pinned schema converter, so compilation now records it once into dist and the runtime reuses it. Compact and output-schema-off identities, and source runs, still compute their digests on first use. Refs #3813 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
381 B
TypeScript
9 lines
381 B
TypeScript
import type { CatalogDigests } from "./catalogIdentity.js";
|
|
|
|
/**
|
|
* Digests of the default catalog (full input and output schemas), recorded
|
|
* from the compiled contracts by `scripts/record-catalog-digests.mjs` after
|
|
* compilation. Source runs leave this undefined and compute them on first use.
|
|
*/
|
|
export const RECORDED_CATALOG_DIGESTS: CatalogDigests | undefined = undefined;
|