{"version":"2.1.311","anchor":"headless-plain-text-deltas-emitted-directly-and-a-refused","canonical_anchor":"headless-plain-text-deltas-emitted-directly-and-a-refused","heading":"Headless mode can send plain text pieces directly while streaming","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/headless-plain-text-deltas-emitted-directly-and-a-refused","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Headless mode can send plain text pieces directly while streaming\n\nHeadless runs gain a faster path that sends plain pieces of text output straight away, and a way to mark a turn as refused\n\n**What**\n\nIn headless mode, where Claude Code runs without the interactive screen, a turn can now send plain pieces of streamed text straight out instead of through the usual path. The end-of-run report counts how many pieces went each way.\n\nA turn can also now be marked as refused when it takes the place of the first request.\n\n**Why**\n\nThis is a quicker way to stream output for programs that use Claude Code through the SDK or remotely.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}