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.299 ·

Hooks can return display details for a permission prompt

Hooks can now return permissionDisplay in their output, next to additionalContext, to supply details for a permission prompt

Use it now Improvements
JSON All of v2.1.299
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.299,
What probably matters to youSection of the release

Unclear Which hook event accepts permissionDisplay and how the prompt uses it is not shown.

What

Hooks are your own scripts that Claude Code runs at set points. A hook can now include permissionDisplay in hookSpecificOutput, next to additionalContext, and Claude Code passes it along. It carries display details for a permission prompt, the question Claude Code asks before taking an action. Before, only additionalContext was taken from that part of a hook's output.

Why

Hooks get a way to shape what a permission prompt shows, not only what text the model sees.

Read from
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 hookSpecificOutput, on Intercept and control agent behavior with hooks. "hookSpecificOutput": { agent-sdk/hooks see the edit
Confirmed since Anthropic's documentation has since written up additionalContext, on Explore the context window. const takeaway = isCompacted ? 'Compaction replaces the conversation with a structured summary. System prompt, CLAUDE.md, memory, skill descriptions, and MCP tools reload automatically. Claude Code also re-reads up to five of the files mod… context-window see 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 doubtWhich hook event accepts `permissionDisplay` and how the prompt uses it is not shown.
Anthropic's documentation agreesAnthropic's documentation has since written up additionalContext, on Explore the context window.

See this entry in the whole of v2.1.299 →

Feedback