{"version":"2.1.327","anchor":"new-sdk-control-request-names-and-hook-matcher-fields","canonical_anchor":"new-sdk-control-request-names-and-hook-matcher-fields","heading":"New SDK messages for cloud sessions and setup, and new hook matcher fields","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/new-sdk-control-request-names-and-hook-matcher-fields","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### New SDK messages for cloud sessions and setup, and new hook matcher fields\n\nThe SDK protocol gains `sdk_update_cloud_session` and `sdk_initialize_fields` requests, and hook matchers gain two fields\n\n**Unclear.** What these new requests and fields do, and whether a program can use them yet, is not clear.\n\n**What**\n\nThe Agent SDK lets another program start and control Claude Code by sending it requests. Two new request types are now listed: `sdk_update_cloud_session` and `sdk_initialize_fields`. Hook matchers, the rules that decide which hooks run for which events, can now carry two new fields, `contextOnly` and `replacedByFrame`.\n\n**Why**\n\nThe way SDK hosts and cloud sessions talk to Claude Code is growing.\n\n- Area: SDK\n- Names: `sdk_update_cloud_session`, `sdk_initialize_fields`, `contextOnly`, `replacedByFrame`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}