Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Schema-based command-arg coercion adds a 'compound' type for unknown/any zod fields

Command argument parsing gains a 'compound' type for schema fields typed unknown or any, plus a new skip list

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.271,
Under the hood

Command argument parsing gains a 'compound' type for schema fields typed unknown or any, plus a new skip list

What

Claude Code has an internal helper that turns text arguments typed at the command line into properly typed values, such as arrays, objects, booleans, and numbers, based on a schema. That helper now adds a 'compound' type: when a schema field is typed as "unknown" or "any", the value is treated as either an array or an object depending on what was actually passed. The helper also now skips coercion entirely for a new set of excluded keys.

Why

This makes command arguments with loosely-typed schema fields behave more sensibly instead of being coerced incorrectly or left as a plain string, while the exclusion list keeps coercion from being applied where it shouldn't be.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say which keys are in the new exclusion set or what problem prompted it.

See this entry in the whole of v2.1.271 →