EXPECTED_SCHEMA_FINGERPRINT
The schema-bundle staleness anchor.
EXPECTED_SCHEMA_FINGERPRINT pins the stable protocol-schema fingerprint
this SDK was written against. Two consumers:
- Build time: a test asserts this equals
schema/msp/stable/manifest.json, so a schema advance that forgets the SDK reds the SDK lane instead of shipping a silently-stale facade. This is the same manifest-pin pattern the transcripts use. - Runtime: the connection machine compares
InitializeResult.schema .fingerprintagainst this pin. A mismatch is a WARNING, never an error — additive-optional evolution means an older SDK keeps working against a newer host.
Source
clients/sdk-ts/src/fingerprint.ts:16
{ "kind": "Variable", "canonicalPath": "EXPECTED_SCHEMA_FINGERPRINT"}