{"version":"2.1.278","anchor":"non-interactivestream-json-sessions-get-a-stderrwarning-ev","canonical_anchor":"non-interactivestream-json-sessions-get-a-stderrwarning-ev","heading":"Non-interactive\/stream-json sessions get a stderr\/warning-event billing notice instead of a dialog","tier":"soon","area":"Auto Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.278\/e\/non-interactivestream-json-sessions-get-a-stderrwarning-ev","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.278","markdown":"### Non-interactive\/stream-json sessions get a stderr\/warning-event billing notice instead of a dialog\n\nNon-interactive sessions now get the billing notice as stderr text or a stream-json warning event instead of a popup\n\n**Unclear.** Which gate(s) control this and what the billing notice specifically concerns are not established by the evidence.\n\n**What**\n\nWhen Claude Code runs in a mode without an interactive display, such as with `--output-format stream-json --verbose` (a mode that streams structured JSON events instead of a normal terminal view, with `--verbose` showing full turn-by-turn output), a billing notice that would normally appear as a dialog is now delivered differently. It's emitted as a `warning` event in the stream-json output, or written directly to standard error (`stderr`) otherwise, before normal output begins.\n\n**Why**\n\nThis lets automated or scripted sessions that can't show a dialog still receive the same billing notice, in a form that fits the output format they're already consuming.\n\n- Flag `tengu_velvet_heron`: Not enough to say (read for one account on one subscription tier against v2.1.278; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Auto Mode\n- Names: `--verbose`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Present in the build but not switched on"}