Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Headless mode recognises when a workspace blocks cloud sessions by default

Headless Claude Code now reports a new reason a session cannot default to the cloud: the workspace is restricted

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

Headless mode runs Claude Code without its interactive screen, for example from a script. Some sessions run in the cloud by default rather than on your own computer. Claude Code already reported when that cloud default was not allowed. It now also recognises a second case, where the workspace is restricted. It reports this as cloud_session_default with the reason workspace_restricted.

The existing refusal of --restricted for cloud, remote environment and SSH sessions is unchanged.

Why

A workspace's policy can now stop sessions from running in the cloud by default, and headless runs say when that is the reason.

Read from
Names in the bundlecloud_session_defaultworkspace_restricted
What the documentation says

See this entry in the whole of v2.1.337 →

Feedback