{"version":"2.1.305","anchor":"streaming-mode-accepts-client-bash-commands","canonical_anchor":"streaming-mode-accepts-client-bash-commands","heading":"Streaming sessions can now accept shell commands from the client","tier":"notice","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305\/e\/streaming-mode-accepts-client-bash-commands","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305","markdown":"### Streaming sessions can now accept shell commands from the client\n\nIn streaming input mode, Claude Code now accepts a shell command when the client marks it as a client shell command\n\n**What**\n\nIn streaming input mode, another program sends messages into a running Claude Code session one after another. That mode used to reject anything that was not one of its accepted kinds, with the error \"only prompt commands are supported in streaming mode\". The accepted kinds are prompts, orphaned permission requests, task notifications and poll events.\n\nA shell command is now also accepted when the client marks it as a client shell command. Turn details now also carry whether the turn came from an email sender.\n\n**Why**\n\nRemote or SDK clients, meaning programs that drive Claude Code, can now send shell commands through a streaming session instead of having them refused.\n\n- Area: SDK\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}