Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Plugin UI components gain an autoFocus prop

Plugin Button, Input, and Select components can now be given autoFocus, and Button also gains action and dimColor props

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaPlugin UIwhat it touches
KindNew Featuresin v2.1.271,
Group of 2 Use it now

Plugin Button, Input, and Select components can now be given autoFocus, and Button also gains action and dimColor props

What

Plugin UI components used when rendering plugin panes gained new props:

  • Button now accepts action (must be one of the engine's existing keybinding actions, such as app:cycleDiffBase or app:diffFileListDown; engine-only keys like ctrl+c/ctrl+d still can't be rebound), plus a dimColor boolean.
  • Button, Input, and Select all gain an autoFocus prop.

Why

Plugin authors building custom UI panes can now make a button trigger an existing app action, dim button text, and have a component automatically receive focus when it appears, without writing custom focus-handling logic.

Read from
Names in the bundleactiondimColorautoFocus
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Use Claude Code GitHub Actions with cloud providers touched a line naming action after this was published. * **Custom GitHub App**: create your own app when you want only the three permissions the Claude Code GitHub Action uses rather than the [official app's full set](/docs/en/github-actions#github-app-permissions) github-actions-cloud-providers see the edit
Confirmed since Anthropic's documentation has since written up action, on Agent SDK reference - Python. | `can_use_tool` | [`CanUseTool`](#canusetool) ` \| None` | `None` | Tool permission callback, invoked only when the [permission flow](/docs/en/agent-sdk/permissions#how-permissions-are-evaluated) falls through to a prompt. Not invoked for… agent-sdk/python see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up action, on Agent SDK reference - Python.

See this entry in the whole of v2.1.271 →