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.277 ·

Plugin UI test API $.ui.press now supports non-terminal surfaces

Plugin test helper $.ui.press can now press buttons on non-terminal surfaces

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaPlugin UIwhat it touches
KindInternal Changesin v2.1.277,
Under the hood

Plugin test helper $.ui.press can now press buttons on non-terminal surfaces

What

The plugin test API's $.ui.press (used by plugin tests to simulate pressing a button) used to only find and press buttons rendered on the "terminal" surface. It now accepts an optional surface parameter, so it can filter by and press buttons drawn on other surfaces too. When a press is ambiguous, the error message now names both the request ID and the surface involved to help pinpoint the issue.

Why

This lets plugin authors write tests that exercise UI drawn outside the terminal, and makes failures easier to diagnose when multiple matching buttons exist.

See this entry in the whole of v2.1.277 →