What probably matters to youSection of the release
Unclear It is not clear whether anything in Claude Code triggers this event yet, so plugins may not receive it.
What
Plugins add features to Claude Code and can react to events. A new event, prompt.autocomplete, now sits alongside prompt.suggest. It gives a plugin the text you have typed, where your cursor is, the word being completed and where that word starts. The plugin must reply with a list of suggestions. Each suggestion has a non-empty text and can have a label and a description.
Claude Code can also now shorten over-long event arguments and results. config.describe and command.describe gain the same result shortening.
Why
This is groundwork for letting plugins suggest completions as you type.
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 sinceAnthropic's documentation has since written up prompt.suggest, on Draw in the interface with a mod.* **Prompt suggestions**: `$.prompt.suggest` resolves with `isShown: false` and shows nothing, because the panel keeps the prompt box's dim suggestion text for Claude's own suggestions.plugins/mods/interfacesee the edit
Added sinceA small documentation edit on Mods reference touched a line naming prompt.autocomplete after this was published.| `prompt.autocomplete` | The user types in the prompt box and a word ends at the cursor. `e.token` is that word. Claude Code doesn't wait for the hook: its own autocomplete rows show first. | `{ suggestions }`, a list of `{ text, label, d…plugins/mods/referencesee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether anything in Claude Code triggers this event yet, so plugins may not receive it.
Anthropic's documentation agreesA small documentation edit on Mods reference touched a line naming prompt.autocomplete after this was published.
Anthropic's release notes agreeAdded prompt.autocomplete, an event a mod hooks to add its own rows to the prompt box's autocomplete list