Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 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 Bug Fixes
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
Bug FixesKind: in v2.1.288,
ImprovementsSection of the release

Unclear Which flags other than --environment can appear in these errors 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.

What the documentation says
--environment reference modified, low confidence | `--environment-id` | The environment to poll for work. Also reads from `ANTHROPIC_ENVIRONMENT_ID`. | 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 doubtWhich flags other than `--environment` can appear in these errors is not known.

See this entry in the whole of v2.1.288 →

Feedback