You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
Print mode (claude -p) runs one request and prints the answer. When it runs in a terminal and has to retry a request to the API, it now writes a dim line to stderr, the error channel that shows in your terminal even when the normal output goes to a file. The line reads like "No response from the API after … · retrying, waiting up to …" or "… · retrying in … · attempt N of M".
Errors are now also written to stderr when stderr is a terminal and the normal output is not. None of this applies to stream-json output.
Why
A long retry no longer looks like Claude Code has frozen.
Read from
Names in the bundleclaude -p
Since it was published
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.
Added sinceA small documentation edit on Create custom subagents touched a line naming claude -p after this was published.* **`claude -p` and the Agent SDK**: the spawning subagent waits only for a foreground nested subagent. A [background](#run-subagents-in-foreground-or-background) nested subagent reports to your main conversation if it outlasts the spawnin…sub-agentssee the edit
Confirmed sinceAnthropic's documentation has since written up claude -p, on Claude Code changelog.* Changed the first subagent on a model to wait up to 1.5 seconds (10 in `claude -p`) for that model's settings from Anthropic, instead of starting without themchangelogsee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up claude -p, on Claude Code changelog.
Anthropic's release notes agreeFixed claude -p showing nothing in the terminal while it retried an overloaded or failing API request, or when it failed with its text…