{"version":"2.1.228","anchor":"sdk-system-messages-report-background-tasks-and-turn-context","canonical_anchor":"sdk-system-messages-report-background-tasks-and-turn-context","heading":"SDK system messages report background tasks and turn context","tier":"internal","area":"SDK","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/sdk-system-messages-report-background-tasks-and-turn-context","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### SDK system messages report background tasks and turn context\n\nPrograms driving Claude Code through the SDK now see more detail about background work and turn context.\n\n**What**\n\nPrograms driving Claude Code through the SDK get more detail about work running in the background.\n\n**Details**\n\n- A new `background_tasks_changed` system message carries the list of active task ids.\n- Task status updates include `is_backgrounded`; `task_notification` gains a `status`.\n- `turn_starting` now carries a `mode`, plus the `task_id` when that mode is `task-notification`.\n\n**Evidence**\n\n`background_tasks_changed`\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}