{"version":"2.1.331","anchor":"stdin-reader-holds-prepended-lines-while-a-started-ahead-req","canonical_anchor":"stdin-reader-holds-prepended-lines-while-a-started-ahead-req","heading":"Stream-json input can now hold some lines back until an early request is ready","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/stdin-reader-holds-prepended-lines-while-a-started-ahead-req","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Stream-json input can now hold some lines back until an early request is ready\n\nIn stream-json input mode, lines queued to the front are held while a request started early waits, then sent once it is ready\n\n**What**\n\nIn stream-json input mode, another program sends Claude Code its input as lines of JSON. Some of those lines can be put at the front of the queue. Before, Claude Code processed those front-of-queue lines right away at the start of each pass.\n\nNow it holds them while a request that was started ahead of time is still waiting, and releases them as soon as that wait ends.\n\n**Why**\n\nThis changes the order in which input from an SDK or another program is handled. If your integration depends on exact ordering of the lines it sends, it is worth knowing.\n\n- Area: SDK\n- Names: `stream-json`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}