{"version":"2.1.281","anchor":"poll-event-control-request-handling-moved-into-a-shared-hand","canonical_anchor":"poll-event-control-request-handling-moved-into-a-shared-hand","heading":"poll_event control request handling moved into a shared handler","tier":"internal","area":"SDK","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/poll-event-control-request-handling-moved-into-a-shared-hand","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### poll_event control request handling moved into a shared handler\n\nHandling of `poll_event` control requests in headless mode has moved into a shared handler\n\n**Unclear.** The finding does not show whether the shared handler applies the same checks and error messages as before.\n\n**What**\n\nIn headless mode, Claude Code runs without its interactive screen and is driven by another program through control requests. The large block that checked and queued `poll_event` requests has been replaced by a call to a shared handler, and its error messages, such as the auto-mode requirement, no longer appear at that spot.\n\n**Why**\n\nThis is a reorganisation of where the checks live. Programs sending `poll_event` requests go through the shared handler now.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}