{"version":"2.1.326","anchor":"new-internal-control-requests-set-message-waiting-and-promp","canonical_anchor":"new-internal-control-requests-set-message-waiting-and-promp","heading":"New set_message_waiting and prompt_draft_activity control requests","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/new-internal-control-requests-set-message-waiting-and-promp","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### New set_message_waiting and prompt_draft_activity control requests\n\nHost programs can send set_message_waiting and prompt_draft_activity requests, a useAnthropicGh option is passed through, and turns that do not go idle are closed\n\n**What**\n\nControl requests are messages that a host program, such as a desktop app, sends to Claude Code while a session is running. Two new ones are accepted, both marked internal:\n\n- `set_message_waiting` lets the end of a turn skip waiting for the model call that writes the after-turn summary. Its value must be true or false; otherwise the error is \"Invalid set_message_waiting: waiting must be true or false\".\n\n- `prompt_draft_activity` signals that a person is typing.\n\nA `useAnthropicGh` option is now passed through. The session also calls `closeTurn()` when a turn ends without the session going idle.\n\n**Why**\n\nThese give host apps such as Desktop ways to keep a session responsive. A turn can finish without waiting on the summary, and Claude Code can be told that someone is still writing.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}