Claude Code v2.1.280 · 22 Sep 2026
New ui.copy plugin API for writing to the clipboard
Plugins can now copy text to the terminal clipboard through a new ui.copy action
Use it now Tier: how much it should matter to you
4 Useful: my rating, 1 to 5
2 Signal: worth watching, 1 to 5
Plugins Area: what it touches
Internal Changes Kind: in v2.1.280, 22 Sep 26
What probably matters to you Section of the release
Unclear The finding infers this backs a copy-to-clipboard UI action but doesn't confirm what specifically triggers it.
What
A new $.ui.copy plugin-facing function copies text to the clipboard using OSC 52 (a terminal escape sequence for clipboard access), restricted to the terminal surface. It declines with a reason (no-surface or no-clipboard) when there's no attached UI or the text is too long for an OSC 52 write.
A matching ui.copy control-protocol action was added to the client, sending the text and an optional surface identifier over the same channel used for actions like ui.focus .
ui.copy was added to the capability list used by the plugin/hooks worker sandbox, alongside existing capabilities like ui.open , ui.close , ui.panes , ui.blit , fs.read , and fs.write .
Why
This gives plugins and hooks a sanctioned way to put text on the user's clipboard, gated by the same capability and sandbox system as other UI actions, instead of needing a workaround.
What the documentation says
How sure we are
Something disagrees Something we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt The finding infers this backs a copy-to-clipboard UI action but doesn't confirm what specifically triggers it.
See this entry in the whole of v2.1.280 →
22 Sep 2026 · 602 entries, this one is #19.
Use it now37 You'll notice196 Nothing to try yet22 Under the hood347
Open the release →
Names in this entry
setting ui.copy New ui.copy capability added to the permission list plugins and hooks can request
setting ui.focus Plugins can now request keyboard focus and control scrolling in UI regions they drew
setting ui.open Plugins can now list, register, and run slash commands, and open or close a UI surface
setting ui.close Plugins can now list, register, and run slash commands, and open or close a UI surface
setting ui.panes New plugin API method ui.panes lets plugins list their own UI panels, with no permission check
setting ui.blit Plugins can now request keyboard focus and control scrolling in UI regions they drew
setting fs.read Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set
setting fs.write Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 18 of 602
New 'promoteMemory' / 'promoteMemoryNonInteractive' commands, currently build-disabled
Nothing to try yet Memory
In v2.1.280 What probably matters to you release-page order
Next → · 20 of 602
New session.send hook event and plugin API for sending messages into a session
Use it now Plugins