{"version":"2.1.329","anchor":"sdk-stall-event-adds-phase-and-wait-ms-get-usage-detached","canonical_anchor":"sdk-stall-event-adds-phase-and-wait-ms-get-usage-detached","heading":"SDK sessions get more stall detail and a new startup field","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/sdk-stall-event-adds-phase-and-wait-ms-get-usage-detached","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### SDK sessions get more stall detail and a new startup field\n\nClaude Code's stall record for SDK sessions now notes phase and wait time, and the startup reply adds a `served_by_anthropic` field\n\n**What**\n\nThe SDK is Anthropic's kit for building programs that run Claude Code. Those programs are called hosts here. For them:\n\n- When an SDK session stalls, Claude Code's record of it now notes the phase it stalled in and how long it waited, in milliseconds.\n\n- The reply to the startup (init) request now includes a `served_by_anthropic` field.\n\n- The `get_usage` request gains an internal option called `detached`.\n\n**Why**\n\nHosts that decide how to handle a session based on these fields now have them to work with.\n\n- Area: SDK\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}