{"name":"prompt.paint","slug":"prompt-paint","family":"setting","title":"Settings keys","noun":"settings key","description":"A new plugin hook, `prompt.paint`, takes text and decorations and returns the text and cursor position to show in the prompt","description_source":"entry","described_by":{"version":"2.1.311","anchor":"mods-new-promptpaint-hook-method"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.312","builds":0,"mined_builds":153,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.311","anchor":"mods-new-promptpaint-hook-method","heading":"Plugins get a new hook for drawing on the prompt input","line":"A new plugin hook, `prompt.paint`, takes text and decorations and returns the text and cursor position to show in the prompt","released_at":"2026-10-26 19:47:57","reason":"named in this entry, found in this entry's text"},{"version":"2.1.311","anchor":"new-telemetry-and-debug-names","heading":"New internal names for streaming, MCP search and startup timing","line":"Several new internal event and debug names appear, and one telemetry batching setting was renamed; none changes what you see on its own","released_at":"2026-10-26 19:47:57","reason":"found in this entry's text"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"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.edit","slug":"prompt-edit","description":"Plugins can now hook into 'prompt.attachment' to rewrite or drop attachment text before it reaches the model"},{"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.read","slug":"prompt-read","description":"New plugin hook API lets plugins read the current text and cursor position in the prompt box"},{"name":"prompt.submit","slug":"prompt-submit","description":"Hooks can now rewrite or drop your prompt before it is sent."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/prompt-paint","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}