{"version":"2.1.304","anchor":"prompt-fill-gains-answerspress-and-a-new-envonboarding-defa","canonical_anchor":"plugin-hooks-new-press-drawn-press-fill-and-answers-press","heading":"Prompt filling and plugin hooks gain an answersPress value","tier":"use","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/prompt-fill-gains-answerspress-and-a-new-envonboarding-defa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### Prompt filling and plugin hooks gain an answersPress value\n\nprompt.fill and suggest-prompt requests now carry answersPress, plugins get press_drawn and press_fill hook events, plus two new defaults\n\n**Unclear.** It is not clear what the new environment onboarding setting controls.\n\n**What**\n\nClaude 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:\n\n- `prompt.fill` now passes `answersPress` through when it writes the text into the prompt box. Before, only the text, mode and decorations were passed.\n\n- The prompt-fill message sent to remote clients now includes `answersPress`.\n\n- Suggest-prompt requests can carry an optional `answers_press` field.\n\n- 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.\n\n- A new control slot, `resumeUntrackedAgent`, starts empty.\n\n- A defaults object gains `envOnboarding` turned on. Which feature it belongs to was not traced.\n\n**Why**\n\nThese are mostly groundwork for plugins and remote clients. Nothing here is described as changing what you see yet.\n\n- Area: Plugins\n- Names: `prompt.fill`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}