{"version":"2.1.277","anchor":"composer-edits-can-be-relayed-through-a-promptedit-hook-c","canonical_anchor":"composer-edits-can-be-relayed-through-a-promptedit-hook-c","heading":"Composer edits can be relayed through a 'prompt.edit' hook chain","tier":"use","area":"Prompt Input","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/composer-edits-can-be-relayed-through-a-promptedit-hook-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Composer edits can be relayed through a 'prompt.edit' hook chain\n\nEdits typed in the prompt box can now be routed through a 'prompt.edit' hook chain\n\n**What**\n\nA 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.\n\n**Why**\n\nThis 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.\n\n- Area: Prompt Input\n- Names: `prompt.edit`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}