Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.304 ·

Prompt filling and plugin hooks gain an answersPress value

prompt.fill and suggest-prompt requests now carry answersPress, plugins get press_drawn and press_fill hook events, plus two new defaults

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

Unclear What a "press" is, and so what a plugin can do with these events, is not stated.

What

Claude Code can fill text into your prompt box on request, for example from a plugin or a remote client. This release adds a new value, called answersPress, to that path:

  • prompt.fill now passes answersPress through when it writes the text into the prompt box. Before, only the text, mode and decorations were passed.
  • The prompt-fill message sent to remote clients now includes answersPress.
  • Suggest-prompt requests can carry an optional answers_press field.
  • Plugins, which are add-on packages for Claude Code, get two new function-hook events: plugin_function_hooks_press_drawn and plugin_function_hooks_press_fill. A hook is code that runs at a set point.
  • A new control slot, resumeUntrackedAgent, starts empty.
  • A defaults object gains envOnboarding turned on. Which feature it belongs to was not traced.

Why

These are mostly groundwork for plugins and remote clients. Nothing here is described as changing what you see yet.

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 doubtWhat a "press" is, and so what a plugin can do with these events, is not stated.

See this entry in the whole of v2.1.304 →

Feedback