{"version":"2.1.333","anchor":"host-can-report-an-open-host-drawn-prompt-to-remote-control","canonical_anchor":"host-can-report-an-open-host-drawn-prompt-to-remote-control","heading":"Host programs can tell Claude Code they are showing their own prompt","tier":"use","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/host-can-report-an-open-host-drawn-prompt-to-remote-control","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Host programs can tell Claude Code they are showing their own prompt\n\nA new `set_host_prompt_open` request lets a host program report its own open prompt, so Remote Control shows the session as waiting\n\n**What**\n\nSome programs run Claude Code inside themselves through the SDK, the developer kit for building on Claude Code, and draw their own screens for questions such as approval prompts. These programs are called hosts. A host can now send a new control request, `set_host_prompt_open`, to tell the session that it is showing one of its own prompts.\n\n- While the prompt is reported open and Remote Control is on, the session is reported as waiting. Remote Control lets you follow and drive a session from another device.\n\n- The open state lasts 90 seconds. The host has to send the request again while its prompt stays open.\n\n- The reader that takes structured input from the host gained `setHostPromptOpen`, which handles this timed wait.\n\n- The same reader gained `ownTurnsHold`, which keeps the session's own command lines queued behind a user message that is being held.\n\n- It now records where an answer to a confirmation came from: `host_card` or `host_stdin`.\n\n**Why**\n\nIf you build a host that draws its own approval prompts, Remote Control can now show that the session is waiting on you. Keep sending the signal while your prompt is open, or the waiting state ends after 90 seconds. The order in which queued input is handled has also changed for sessions driven by a host.\n\n- Area: Remote Control\n- Names: `set_host_prompt_open`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}