What
Two new surfaces arrive together.
- File download and save handlers: one takes
file_uuid,nameandkeep_existingand places the file in a session folder. It reports placed, kept, too_large or failed, and refuses providers that are not Anthropic's own withnot_first_party("not downloaded: not permitted on this API provider"). The other saves a file byfile_idwithsave_as,bytesandsession_folder, and returns codes such asno_roomandname_taken. Both are guarded byCLAUDE_CODE_REMOTEor first-party provider checks, and a helper returns false unlessCLAUDE_CODE_REMOTEis set. No caller was found for them in this change. - Prompt paint: the list of plugin interface abilities (
ui_attach) now includesui_prompt_paint, next toui_prompt_read,ui_prompt_fillandui_prompt_suggest. The prompt interface gainspaintandforgetoperations that draw layered text and decorations into the composer, the box where you type your message.
Why
Remote sessions look set to receive files directly into a session folder, though nothing calls these handlers yet. Plugins and remote surfaces can now draw over the prompt box, so text you see there may come from a plugin and not from you.
Names in the bundleui_prompt_paint