Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Sorting the findings · 1/4 steps 470 findings $18.91 so far

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.179 Home All releases olderv2.1.178 v2.1.181newer
Claude Code v2.1.179

Better Error Messages for --json-schema

Two new validation messages are now shown when --json-schema is passed invalid input:

  • If the value is not parseable JSON: Error: --json-schema is not valid JSON: <parse error detail>
  • If the JSON is valid but not an object (e.g., an array or string): Error: --json-schema must be a JSON object

Previously these failures silently continued with an undefined schema object.

Evidence

Validation error strings (search for "Error: --json-schema is not valid JSON:" and "Error: --json-schema must be a JSON object")

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.179 →