Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Plugin surfaces are told about window focus, reduced motion and what lies beneath them

Renderer and plugin surfaces gain setWindowFocused, setMotionReduced and setBeneath, plus promptFloat, underlay and underFloat layout options

Group of 3 Nothing to try yet Improvements
JSON All of v2.1.331
Nothing to try yetTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

Unclear Which programs send these messages, and whether plugins can use them yet, is not shown.

What

A plugin surface is an area of the terminal screen that a plugin draws. Plugins are add-ons that extend Claude Code. Surfaces and the renderer that draws the screen now receive more information about their surroundings:

  • setWindowFocused and setMotionReduced are passed to the renderer from the current state when it is created. They tell it whether the terminal window has focus and whether reduced motion is on.
  • The plugin surface host and its message format gain three actions: setWindowFocused, setMotionReduced and setBeneath. setBeneath carries x, y, columns, rows and a kind of 'interface' or 'conversation', describing what lies under the surface.
  • The layout code gains a promptFloat slot, an underlay slot and an underFloat prop with the values 'covered', 'kept' and 'text'.
  • A new fillsWindow option for modal windows is added in the same layout code.
  • A blur style is now checked for valid values.

Why

Plugin-drawn surfaces can now respond to whether the window has focus, whether reduced motion is set, and what is drawn underneath them. This prepares the ground for floating overlays near the prompt.

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 doubtWhich programs send these messages, and whether plugins can use them yet, is not shown.

See this entry in the whole of v2.1.331 →

Feedback