You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The SDK (software development kit) lets other programs run Claude Code and read the messages it produces, for example as stream-json output, which is one JSON message per line. When Claude Code writes out a message that has no timestamp text of its own, it now adds a written_at field holding the current time in ISO format (for example 2026-11-30T12:00:00.000Z).
Some message types are left without it, including the system messages that report thinking tokens.
The described shape of several messages now lists written_at as an optional field. These include the message about falling back to another model, the warning about instruction files, the message reporting a failure to save to the session store, and some result messages.
Why
Programs that read Claude Code's SDK or stream-json output will start to see this new field on many messages. Code that checks for unexpected fields may need updating, and code that wants to know when a message was written can now use it.