Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 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
Useful4my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaCloud Sessionswhat 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.

See this entry in the whole of v2.1.265 →

Feedback