{"version":"2.1.332","anchor":"peer-message-control-requests-added-to-sdk-control-channel","canonical_anchor":"peer-message-control-requests-added-to-sdk-control-channel","heading":"Apps that host Claude Code can approve or drop held messages from other sessions","tier":"use","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/peer-message-control-requests-added-to-sdk-control-channel","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Apps that host Claude Code can approve or drop held messages from other sessions\n\nA host app can now answer held messages from other Claude Code sessions with decide_held_peer_message and control delivery with set_peer_delivery\n\n**What**\n\nOne Claude Code session can send a message to another. Some of these messages are held back instead of delivered straight away. Before, the notice about a held message was for information only, and the app hosting the session could not approve it. A host is the program that started Claude Code and talks to it, such as an app built with the SDK, Anthropic's toolkit for building on Claude Code.\n\n- The held-message notice now carries `hold_id`, `can_deliver`, `always_scope`, `session_class`, `verified_pid` and a preview of the message.\n\n- A local host answers it with a `decide_held_peer_message` request.\n\n- A new `set_peer_delivery` request controls whether the host is shown held messages.\n\n- Both requests are accepted only on stdin, from the app that started the session. Other connections get an error saying so.\n\n- A `decide_held_peer_message` request that combines `always` with a decision to drop the message is rejected.\n\n**Why**\n\nAn app hosting Claude Code can now let its user approve or drop messages from other sessions, instead of only seeing that they are waiting. Limiting these requests to the app that started the session means another connection cannot approve messages on its behalf.\n\n- Area: Agents\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}