{"version":"2.1.334","anchor":"cancelled-frames-carry-an-idle-marker","canonical_anchor":"cancelled-frames-carry-an-idle-marker","heading":"SDK cancelled messages can now say that no turn is running","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/cancelled-frames-carry-an-idle-marker","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### SDK cancelled messages can now say that no turn is running\n\nCancelled messages in the SDK can now carry an `idle` field meaning no turn is in progress, announced as `lifecycle_idle_v1`\n\n**What**\n\nThe Agent SDK lets programs drive Claude Code and read the messages it sends back. A message that reports a cancellation can now include an optional `idle` field. It means no turn, one round of Claude working on a request, is in progress.\n\nClaude Code announces this ability as `lifecycle_idle_v1` in the list of capabilities in its startup message (`system\/init`).\n\n**Why**\n\nA program using the SDK can now tell when no final result message is coming after a cancellation.\n\n- Area: SDK\n- Names: `idle`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}