What
Some 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:
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 latercontrol_response, when anAbovePromptarea or aPaneit is showing goes out of date. The value is passed into the list of connected clients astakesLater.- The
ui_*handler gainsnamesUnhookedandanswersLateroptions, and UI updates gain anunhookedlist. - A new notifier keeps track of notices for remote clients, and replies to
ui_prompt_editcan carryunheard: true. ui_press,interruptandrewind_conversationrequests are now stamped by thecontrol_requesthandler. Before, onlyturn_handoffandupdate_queued_messagewere stamped.ui_pressis also tracked from the press until its answer arrives.- The result message gains
begun_message_ids. connector_fileslines gainsaved_from.
Why
This 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.