Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

New --attach-serve flag for headless cloud session helpers

A new hidden --attach-serve <session_id> flag attaches a headless, serve-only client to an existing cloud session

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaDesktop Appwhat it touches
KindNew Featuresin v2.1.265,
Group of 2 Use it now Notable

A new hidden --attach-serve <session_id> flag attaches a headless, serve-only client to an existing cloud session

What

A new hidden CLI flag, --attach-serve <session_id>, attaches a serve-only helper to an existing, bound cloud session (identified by an id like cse_...) instead of creating a new one. It's meant for sessions spawned by the desktop app and is not for interactive use.

The flag is rejected if combined with --cloud/--remote, and it requires the non-interactive stream-json serve mode.

Why

This lets the desktop app attach a lightweight headless client to a cloud session it already created, rather than spinning up a new session each time.

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 doubtExactly how the desktop app uses this attached helper session isn't stated.

See this entry in the whole of v2.1.265 →