{"version":"2.1.330","anchor":"ui-attach-accepts-later-answers-ui-draw-loop-gains-answersl","canonical_anchor":"ui-attach-accepts-later-answers-ui-draw-loop-gains-answersl","heading":"Remote UI protocol gains later answers, request stamping and new message fields","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/ui-attach-accepts-later-answers-ui-draw-loop-gains-answersl","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Remote UI protocol gains later answers, request stamping and new message fields\n\nRemote UI clients can ask to receive re-drawn answers later via `later_answers`, and several control messages gain new fields and stamping\n\n**What**\n\nSome programs, such as desktop, mobile or editor apps, can show and control a Claude Code session from outside the terminal. They talk to Claude Code through a set of structured messages, called a protocol. This release adds several pieces to that protocol:\n\n- `ui_attach`, the message a client sends to connect, accepts a new optional true\/false field, `later_answers`. A client that sets it can receive a re-drawn answer, sent as a later `control_response`, when an `AbovePrompt` area or a `Pane` it is showing goes out of date. The value is passed into the list of connected clients as `takesLater`.\n\n- The `ui_*` handler gains `namesUnhooked` and `answersLater` options, and UI updates gain an `unhooked` list.\n\n- A new notifier keeps track of notices for remote clients, and replies to `ui_prompt_edit` can carry `unheard: true`.\n\n- `ui_press`, `interrupt` and `rewind_conversation` requests are now stamped by the `control_request` handler. Before, only `turn_handoff` and `update_queued_message` were stamped. `ui_press` is also tracked from the press until its answer arrives.\n\n- The result message gains `begun_message_ids`.\n\n- `connector_files` lines gain `saved_from`.\n\n**Why**\n\nThis matters mainly to anyone building or using an app that connects to Claude Code remotely. A client that opts in with `later_answers` no longer has to rely on a single reply when what it shows above the prompt changes afterwards, and the extra fields give clients more detail about which requests and messages are in progress.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}