Permission requests to a host program must include an action description
A control request is now only accepted if it carries an action_description text, and a new reason marks permission requests held back for a queued message
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
Unclear It is not stated whether the host program or Claude Code is the side that has to supply action_description.
What
When Claude Code runs inside another program (a host, such as an app built with the SDK), the two exchange control requests: messages about things like asking for permission to use a tool. One check on these requests now also requires an action_description field holding text. A request without one does not pass the check.
There is also a new reason given when a tool permission request is held back because a message is waiting in the queue.
Why
If you build a program that hosts Claude Code, permission messages that leave out action_description may now be rejected.
Read from
Names in the bundleaction_description
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 doubtIt is not stated whether the host program or Claude Code is the side that has to supply `action_description`.