Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.223 Home All releases olderv2.1.222 v2.1.224newer

Ajv is loaded lazily for JSON-schema validation

You'll notice
Useful2 Signal0
Elsewhere

Startup is slightly faster because the schema validation library loads only when first used.

What

The JSON-schema validator no longer pulls in Ajv when it is constructed, moving that load cost off the startup path.

Details
  • The validator destructures { Ajv: t } from a lazy require inside the function body.
  • Ajv is now loaded on first schema validation instead of at module construction.
Evidence

let { Ajv: t } = dQn(),

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.223 →