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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Malformed modelPicker and modelPricing settings now warn instead of being silently ignored

Use it now
Useful3 Signal3
Settings

Bad modelPicker or modelPricing settings are now dropped with a warning naming the file and path.

modelPickermodelPricingreplaceBuiltInOptions
What

Two new validators drop bad values and say so, naming the settings file and the path within it. A modelPicker that is not an object with an options array is dropped whole, a non-boolean replaceBuiltInOptions is dropped, and individual malformed option rows are dropped while the remaining rows still apply.

Details
  • modelPricing is dropped if it is not an object, if multiplier is not a number in the range (0, 1], or per-model overrides rows are malformed.
  • Keys named constructor or __proto__ in overrides are refused.
  • Validation results are memoised per settings file, so the warnings do not repeat on every read.
  • Runs on settings load; nothing gates it.
Evidence

"multiplier" must be a number in (0, 1]. It was ignored.

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