Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.277 ·

Composer edits can be relayed through a 'prompt.edit' hook chain

Edits typed in the prompt box can now be routed through a 'prompt.edit' hook chain

Use it now New Features
JSON All of v2.1.277
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Prompt InputArea: what it touches
New FeaturesKind: in v2.1.277,
What probably matters to youSection of the release
What

A new recording/replay pipeline captures edits made to the text in the prompt input box (the composer). If a prompt.edit hook is registered, these edits are now routed through that hook chain before being applied to the input box. If no such hook is registered, the edits are applied directly and Claude Code logs that they went through unhooked.

Why

This lets a hook intercept and potentially modify what you type into the prompt box before it takes effect, opening the door to custom processing of composer edits.

Read from
Names in the bundleprompt.edit
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up prompt.edit, on Mods reference. | A hook's own execution time for one event, not counting time inside `next` or a mods API call other than `$.clock.sleep` | 10 seconds, or 50 milliseconds for a `prompt.edit` hook | plugins/mods/reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up prompt.edit, on Mods reference.

See this entry in the whole of v2.1.277 →

Feedback