{"version":"2.1.265","anchor":"new-attach-serve-cli-flag-to-attach-a-headless-client-to-a","canonical_anchor":"new-attach-serve-cli-flag-to-attach-a-headless-client-to-a","heading":"New --attach-serve flag for headless cloud session helpers","tier":"use","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/new-attach-serve-cli-flag-to-attach-a-headless-client-to-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### New --attach-serve flag for headless cloud session helpers\n\nA new hidden --attach-serve flag attaches a headless, serve-only client to an existing cloud session\n\n**What**\n\nA 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.\n\nThe flag is rejected if combined with `--cloud`\/`--remote`, and it requires the non-interactive stream-json serve mode.\n\n**Why**\n\nThis 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.\n\n- Area: Cloud Sessions\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5"}