Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Attached interfaces can declare ClientFocus so focus can move to embedded plugin modules

The ui_attach request accepts ClientFocus, so focus can target a plugin's embedded Client element, and surface regions gain autoFocus

Group of 4 Under the hood No documentation found Internal Changes
JSON All of v2.1.336
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.

Read from
Names in the bundleui_attachClientFocus

See this entry in the whole of v2.1.336 →

Feedback