{"version":"2.1.285","anchor":"sdk-initialize-accepts-attachserverequest-for-attach-serve","canonical_anchor":"sdk-initialize-accepts-attachserverequest-for-attach-serve","heading":"Claude Desktop's helper can pass work details when it starts a session","tier":"internal","area":"Desktop App","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/sdk-initialize-accepts-attachserverequest-for-attach-serve","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Claude Desktop's helper can pass work details when it starts a session\n\nThe first request an SDK client sends to Claude Code now accepts a work and environment ID, used only by Claude Desktop's helper\n\n**What**\n\nThe first request a program sends when it connects to Claude Code through the SDK (the initialize request) can now carry `attachServeRequest`, holding a work ID and an environment ID. It is only for Claude Desktop's serve-only helper, which it launches with `--attach-serve`.\n\n**Why**\n\nThis is a detail of how Claude Desktop talks to Claude Code and has no direct effect if you use Claude Code in a terminal.\n\n- Area: Desktop App\n- Names: `attachServeRequest`\n- Tier: Under the hood\n- Useful: 4\/5\n- Signal: 4\/5"}