Claude Code v2.1.337 ·
Bash command reasons can no longer be marked as a caution
The Bash tool's command_reason field now accepts only "note", and "caution" is no longer allowed
Under the hood
No documentation found Internal Changes
JSON
All of v2.1.337
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
Internal ChangesKind: in v2.1.337,
Internal ChangesSection of the release
What
The Bash tool is how Claude runs shell commands. Its command_reason field now accepts only the value "note". Before, it accepted "caution" or "note".
The field's description was also reworded to say that it warns of what a git command can run.
Why
Programs that read this field through the SDK, Claude Code's kit for building your own tools, will no longer see "caution" and should not expect it.
Read from
Names in the bundlecommand_reason
See this entry in the whole of v2.1.337 →