Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Plugins gain new UI focus/scroll and clock capabilities

Plugins can now request keyboard focus and scroll position in their UI, plus use new clock.now/sleep/after/every timer functions

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

Unclear The finding does not say what a plugin or telemetry consumer can now build with these event types beyond their existence.

What

  • New ui.focus and ui.scroll hook events let a plugin request or commit keyboard focus onto an element it drew, and move or reveal scroll position within a transcript or pane it owns, with ownership checks so one plugin can't steal focus or scroll from another plugin's UI, and tracking of whether a person or the plugin itself initiated the action.
  • The plugin-facing $.ui object gains ui.scroll (with to/in/block options) and ui.focus (with requestId/key), plus new closeOnEscape, holdToasts, and rows options on ui.open. A third new event, ui.blit, was also registered in the event-type system.
  • A new $.clock plugin API adds now(), sleep(ms), after(ms, fn), and every(ms, fn), each validated to require non-negative millisecond counts and wired through cancellation/abort signals.

Why These additions give plugins finer control over their own UI (focus and scrolling, without interfering with other plugins) and a built-in way to schedule timed or repeating work, instead of needing to work around the host for either.

Read from
Names in the bundleui.scrollui.focusui.blit
What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what a plugin or telemetry consumer can now build with these event types beyond their existence.

See this entry in the whole of v2.1.271 →

Feedback