{"name":"prompt.edit","slug":"prompt-edit","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugins can now hook into 'prompt.attachment' to rewrite or drop attachment text before it reaches the model","description_source":"entry","described_by":{"version":"2.1.277","anchor":"new-plugin-hook-event-promptattachment"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.277","released_at":"2026-09-18 16:22:26","spans":3}},"aliases":[],"entries":[{"version":"2.1.277","anchor":"new-plugin-hook-event-promptattachment","heading":"New plugin hook event: prompt.attachment","line":"Plugins can now hook into 'prompt.attachment' to rewrite or drop attachment text before it reaches the model","released_at":"2026-09-18 16:22:26","reason":"found in this entry's text"},{"version":"2.1.277","anchor":"composer-edits-can-be-relayed-through-a-promptedit-hook-c","heading":"Composer edits can be relayed through a 'prompt.edit' hook chain","line":"Edits typed in the prompt box can now be routed through a 'prompt.edit' hook chain","released_at":"2026-09-18 16:22:26","reason":"named in this entry, found in this entry's text"},{"version":"2.1.277","anchor":"new-promptedit-promptattachment-telemetry-validation-che","heading":"New prompt.edit \/ prompt.attachment telemetry validation checks","line":"New validation checks were added for prompt-edit and prompt-attachment telemetry replay data","released_at":"2026-09-18 16:22:26","reason":"found in this entry's text"}],"entries_total":3,"docs":[{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"prompt","slug":"prompt","description":"Auto-mode is stricter: text you asked Claude to review can't grant permission on your behalf."},{"name":"prompt.attachment","slug":"prompt-attachment","description":"New `prompt.attachment` hook lets plugins rewrite or remove text attached to a message"},{"name":"prompt.autocomplete","slug":"prompt-autocomplete","description":"A new `prompt.autocomplete` plugin hook lets plugins add completion rows under the prompt, including for desktop, mobile and VS Code composers"},{"name":"prompt.change","slug":"prompt-change","description":"The `prompt.change` hook runs when a plugin or the landing screen changes the prompt box, and stops itself if plugins keep refilling it"},{"name":"prompt.compose","slug":"prompt-compose","description":"Claude Code can now compare two versions of a changing schema and label the difference, such as text only or new live additions"},{"name":"prompt.context","slug":"prompt-context","description":"A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters."},{"name":"prompt.fill","slug":"prompt-fill","description":"Plugins can now fill in or suggest text directly in the prompt input box via two new prompt.fill and prompt.suggest actions"},{"name":"prompt.md","slug":"prompt-md","description":"`plugin eval` warns when writing results inside a plugin's own directory could get picked up as plugin components"},{"name":"prompt.paint","slug":"prompt-paint","description":"A new plugin hook, `prompt.paint`, takes text and decorations and returns the text and cursor position to show in the prompt"},{"name":"prompt.read","slug":"prompt-read","description":"New plugin hook API lets plugins read the current text and cursor position in the prompt box"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/prompt-edit","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}