{"version":"2.1.305","anchor":"bash-input-mode-flushes-pending-messages-at-turn-start","canonical_anchor":"bash-input-mode-flushes-pending-messages-at-turn-start","heading":"Headless runs send out pending messages early for ! shell commands","tier":"internal","area":"Headless Mode","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305\/e\/bash-input-mode-flushes-pending-messages-at-turn-start","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305","markdown":"### Headless runs send out pending messages early for `!` shell commands\n\nIn headless runs, Claude Code now sends out waiting messages before a turn starts when the input is a `!` shell command\n\n**Unclear.** It is not clear whether this changes the order of messages a reader would see.\n\n**What**\n\nIn headless mode, where Claude Code runs without its interactive screen, input that starts with `!` runs a shell command directly. For that kind of input, Claude Code now sends out any messages that are waiting before it starts the turn.\n\n**Why**\n\nThis may change the order in which `!` commands and their output appear in a headless session's record.\n\n- Area: Headless Mode\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}