You can now use --print with --cloud to message an existing cloud session.
What's wrong with this entry?
--print --cloud was previously refused as interactive-only. It now sends the prompt to an existing cloud session when you identify one, and the error tells you the accepted forms if you pass anything else.
- Accepted identifiers: a session ID starting
session_orcse_, or a claude.ai/code URL. - Passing a bare description (to start a new session) still fails, and the message now says to drop
--printfor that. - A parallel message covers running without a terminal attached.
claude --print --cloud session_abc123 "summarise the failing test"is not a cloud session ID or URL.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.229
A whitespace-only prompt gets its own error
Both mention print
-
v2.1.239
One shared test for whether a run is headless
Both mention print
-
v2.1.238
Print mode can reuse one engine across prompts
Both mention print