{"version":"2.1.334","anchor":"new-event-and-result-fields","canonical_anchor":"new-event-and-result-fields","heading":"SDK events and results carry more fields","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/new-event-and-result-fields","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### SDK events and results carry more fields\n\nPrograms running Claude Code through the SDK now get extra fields in events and results, such as stoppedBy, neverRan and queuedForAgent\n\n**Unclear.** What each of these fields reports is not described.\n\n**What**\n\nThe SDK lets other programs run Claude Code and read what it does as structured data. Several fields have been added or kept:\n\n- `resultEndsInWaitingNote`, a new field in the event format\n\n- `shell_line_end`, now kept in command outcomes\n\n- `stoppedBy` and `neverRan`, now kept in results\n\n- `queuedForAgent`, added to the result of sending a message\n\n**Why**\n\nPrograms built on Claude Code can see more about what happened to a command or message.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}