Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.333,
Internal ChangesSection of the release
Unclear What conditions set code_mode to true is not clear.
What
When a session starts, Claude Code sends a start-up message to programs built on it with the Agent SDK. That message listed the available tools. It can now also include code_mode: true when certain conditions about those tools are met.
Why
Programs that read this message may now see a field they have not seen before, and can use it to tell that a different mode is in use.
Read from
Names in the bundlecode_mode
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 doubtWhat conditions set `code_mode` to true is not clear.