{"version":"2.1.286","anchor":"promptcompose-event-and-focus-mode-constant","canonical_anchor":"promptcompose-event-and-focus-mode-constant","heading":"A new prompt.compose event joins the other prompt events","tier":"internal","area":"Plugins","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286\/e\/promptcompose-event-and-focus-mode-constant","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286","markdown":"### A new prompt.compose event joins the other prompt events\n\nClaude Code now registers a `prompt.compose` event alongside `prompt.submit`, `prompt.fill` and `prompt.suggest`\n\n**Unclear.** It is not clear what uses `prompt.compose` or whether plugins or users can reach it.\n\n**What**\n\nClaude Code has named events for things that happen in the box where you type your message, such as `prompt.submit`, `prompt.fill` and `prompt.suggest`. A new one, `prompt.compose`, now sits alongside them. It is set up to keep track of the model in use and has a step that waits for things to settle.\n\n**Why**\n\nThis adds a new point where something could act while a prompt is being written.\n\n- Area: Plugins\n- Names: `prompt.compose`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5"}