Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CLIArea: what it touches
Internal ChangesKind: in v2.1.239,
Internal ChangesSection of the release
What
A single helper now decides that a run is non-interactive, covering -p, --print, --init-only, any argument starting with --sdk-url, and stdout not being a terminal.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up --print, on Claude Code changelog.* Fixed PermissionRequest hooks not firing in `--print` modechangelogsee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --print, on Claude Code changelog.