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

Plugin hook dispatch deep-copies input for a fixed set of UI/registration events

Plugin hooks now receive a deep copy of the event payload for UI and registration events, not the original

Under the hood Internal Changes
JSON All of v2.1.277
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
Internal ChangesKind: in v2.1.277,
Internal ChangesSection of the release
What

For a fixed list of plugin events, ui.open, ui.toast, ui.status, ui.log, ui.notice, ui.ask, tool.register, command.register, agent.register, prompt.fill, and prompt.suggest, Claude Code now passes hooks a deep copy of the event's data instead of the original object, before any hook has a chance to see or change it.

Why

This stops a plugin hook from being able to mutate the original event data that Claude Code itself still relies on, isolating hook side effects to their own copy for these UI and registration events.

See this entry in the whole of v2.1.277 →

Feedback