Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Session start message can now include a code_mode field

The message sent when a session starts can now include code_mode: true under certain conditions

Under the hood No documentation found Internal Changes
JSON All of v2.1.333
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.

See this entry in the whole of v2.1.333 →

Feedback