Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.275 ·

Slash commands and plugins can now append or insert into the input box, not just replace it

Plugins and hooks can fill the prompt input box in replace, append, or insert mode, with new APIs to read and stamp these actions

Group of 4 Use it now Internal Changes
JSON All of v2.1.275
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.275,
What probably matters to youSection of the release

What

The internal system plugins and hooks use to put text into your input box (the "draft") has been extended.

  • The fillDraft API, used by plugins and hooks to populate the input box, now takes a mode: replace (the old default, replaces everything), append (adds text to the end of what's already there), or insert (inserts text at your cursor position).
  • A companion readDraft API (also exposed as the hook method $.prompt.read) lets a plugin read the current input box text and cursor position before deciding what to do.
  • Slash-command-triggered plugin actions of type prompt.fill (defaulting to replace mode) and prompt.suggest now get the same default plugin-origin metadata that command.run actions already had.
  • A new settings layer called memory was added alongside the existing managed/user/project/local layers, and the replace/append/insert modes are validated against an explicit list, with an error shown for invalid modes.

Why

This gives plugins finer control over how they interact with whatever you're already typing, instead of always overwriting it. A plugin can now add a suggestion after your text or insert something right where your cursor is, and it can check what's already in the box first.

Read from
Names in the bundleprompt.fillprompt.suggest
What the documentation says
Since it was published

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 since Anthropic'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/interface see the edit
Confirmed since Anthropic's documentation has since written up prompt.fill, on Test a mod. A stub for a mods API call returns an object with a `value` field, which holds what the call resolves to in your mod: `{ value: 7 }` makes `$.store.get` resolve to `7`. A stub for one of Claude Code's events, such as [`turn.step`](/docs/en… plugins/mods/test see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up prompt.fill, on Test a mod.

See this entry in the whole of v2.1.275 →

Feedback