Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
UI AttachArea: what it touches
Internal ChangesKind: in v2.1.336,
Internal ChangesSection of the release
What
Plugins can draw screens inside Claude Code, and an outside interface such as a desktop app can attach with a ui_attach request listing what it can draw. Embedded plugin modules (the Client element) could already ask for autoFocus. The rest of the focus support is new:
ClientFocus is now accepted in the draws list of ui_attach, for desktop clients that read autoFocus on a Client. Before, the known draws were Theme, Input, Progress, Select and Shader.
The plugin focus key can now point to a Client, by its client.plugin and props.key, when the client names ClientFocus in draws. Before, it could point only to a Button, Input or Select by its press.plugin and props.key.
A plugin surface-module region gains an optional autoFocus setting.
Session details passed to a session started from another one gain a clientContentWidth field.
When plugin commands are reloaded, pluginInfo.namedFolderYield is now kept instead of being overwritten.
Why
Keyboard focus can now land on an embedded plugin module or a drawn region, where previously only buttons, text inputs and select lists could be focused.