Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.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

Group of 2 Use it now New Features
JSON All of v2.1.271
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Plugin UIArea: what it touches
New FeaturesKind: in v2.1.271,
What probably matters to youSection of the release

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
What the documentation says
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.

Confirmed since Anthropic's documentation has since written up dimColor, on Mods reference. | `Markdown` | `text`, `key`, `dimColor`, `onLinkPress`, `pressableLinks` | ✓ | ✓ | plugins/mods/reference see the edit
Confirmed since Anthropic's documentation has since written up autoFocus, on Draw in the interface with a mod. * **`autoFocus`**: to choose which control has the focus when the pane opens, add `autoFocus: true` to it. The prop accepts only `true`, so omit it on the other controls. plugins/mods/interface see the edit
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 →

Feedback