Claude Code v2.1.334 ·
SDK events and results carry more fields
Programs running Claude Code through the SDK now get extra fields in events and results, such as stoppedBy, neverRan and queuedForAgent
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.334,
Internal ChangesSection of the release
Unclear What each of these fields reports is not described.
What
The SDK lets other programs run Claude Code and read what it does as structured data. Several fields have been added or kept:
resultEndsInWaitingNote, a new field in the event format
shell_line_end, now kept in command outcomes
stoppedBy and neverRan, now kept in results
queuedForAgent, added to the result of sending a message
Why
Programs built on Claude Code can see more about what happened to a command or message.
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 each of these fields reports is not described.
See this entry in the whole of v2.1.334 →