Claude Code v2.1.247 ·
Plugins can receive key presses through the UI hook interface
Plugins can now be handed key presses through the UI hook interface.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.247,
New FeaturesSection of the release
What
The plugin worker interface adds a way to deliver a key press to a plugin and to release presses it is holding, both scoped to a plugin environment.
Details
- Each call is bounded by the shared handler time budget.
- A press whose payload cannot be structured-cloned is rejected with a message saying the press is not plain data.
- Tearing down or retiring a plugin now forgets any presses it was still holding.
Evidence
ui.press: the press is not plain data:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.247 →