Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.288 ·

Cloud session error messages now name the flag you actually used

Errors for headless cloud sessions now name the flag you used, --cloud or --environment, instead of always saying --environment

Group of 2 You'll notice Improvements
JSON All of v2.1.288
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
ImprovementsKind: in v2.1.288,
ImprovementsSection of the release

Unclear The exact wording the errors now use in each case is not known.

What

Claude Code can start a cloud session from the command line with --cloud or --environment. It can also run headless, meaning non-interactively, with no chat screen, as in claude -p. When you misuse these options, the error messages used to name --environment no matter which flag you had typed. Before, a headless run without a prompt said: Error: non-interactive --environment requires a prompt (positional or stdin).

  • The flag name in these errors is now filled in from the flag you actually used, rather than hardcoded as --environment.
  • The text in front of the message is also filled in and is no longer always Error: .
  • The message saying an option cannot be combined with --continue is built from that same prefix.

Why

If you started a session with --cloud, the error now points at --cloud instead of a flag you never typed, so it is easier to see what to fix. Scripts that match on the exact wording of these errors may need updating.

Read from
Names in the bundle--continue
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 since A small documentation edit on Run Claude Code programmatically touched a line naming --continue after this was published. Use `--continue` to continue the most recent conversation, or `--resume` with a session ID to continue a specific conversation. On Claude Code v2.1.257 or later, when you pass `--continue`, Claude Code opens a [background session](/docs/en… headless see the edit
Confirmed since Anthropic's documentation has since written up --continue, on Claude Code changelog. * Fixed plan mode not being restored when resuming a session with `--continue` or `--resume <session-id>` in the terminal changelog see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe exact wording the errors now use in each case is not known.
Anthropic's documentation agreesAnthropic's documentation has since written up --continue, on Claude Code changelog.

See this entry in the whole of v2.1.288 →

Feedback