Claude Code v2.1.224 ·
Clearer error when --bg and --environment are combined
Combining --bg and --environment now explains they are different backends and shows the right command.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.224,
ImprovementsSection of the release
What
Passing both now says the two are different backends and shows the direct command to run instead, rather than reusing the older --cloud wording.
Evidence
--bg and --environment are different backends. Use claude -p '<task>' --environment <id> directly to start a session on the environment.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.224 →