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 ·

Messages sent to SDK programs now carry a written_at timestamp

Messages Claude Code writes out to SDK programs now get a written_at time when they have no timestamp of their own

You'll notice No documentation found Improvements
JSON All of v2.1.333
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.

Read from
Names in the bundlewritten_at

See this entry in the whole of v2.1.333 →

Feedback