Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Model calls now resolve prompt.attachment hooks, with a new settingsHooksOff option to disable hooks

Before each model call, Claude Code now resolves any prompt.attachment hook automatically, unless the new settingsHooksOff option turns hooks off

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaHookswhat it touches
KindInternal Changesin v2.1.277,
Group of 3 Under the hood No documentation found

Before each model call, Claude Code now resolves any prompt.attachment hook automatically, unless the new settingsHooksOff option turns hooks off

What

  • Every model call now passes through a new wrapper that checks whether a prompt.attachment hook (code a plugin can use to modify text attached to a message) is active, and if so runs resolveAttachments on the outgoing messages first.
  • A new settingsHooksOff option can be set on a session or subagent to fully disable hooks, similar to how isolated agent contexts already skip them. It's checked throughout isolation and hook-invocation logic, including permission checks, and it also disables the new attachment-hook resolution step.

Why This makes sure a prompt.attachment hook reliably runs before every model call, while giving Claude Code a clean way to run a session or subagent with hooks turned off entirely when that's needed.

Read from
Names in the bundlesettingsHooksOff

See this entry in the whole of v2.1.277 →

Feedback