Unclear What specifically triggers suppressAlwaysAllowRule to be set is not stated.
Permission requests (the prompts Claude Code shows before running a risky action) can now include two new pieces of information sent from the server: defaultToNo, and suppressAlwaysAllowRule. The second one is passed on internally as askSuppressesAlwaysAllowRule so that other parts of the code can check whether a given permission ask should skip offering an "always allow" rule.
This lets the server mark certain permission prompts as ones where you shouldn't be offered a blanket "always allow" option, presumably for actions considered too sensitive to auto-approve going forward.
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.
In TypeScript, skip the always-allow choice for a request whose options carry [`suppressAlwaysAllowRule: true`](/docs/en/agent-sdk/typescript#canusetool). The hint requires Agent SDK v0.3.268 or later, and the Python `context` doesn't carr…agent-sdk/user-input see the edit
suppressAlwaysAllowRule?: boolean;agent-sdk/typescript see the edit
defaultToNo?: boolean;agent-sdk/typescript see the edit
What specifically triggers suppressAlwaysAllowRule to be set is not stated.
Anthropic's documentation has since written up defaultToNo, on Agent SDK reference - TypeScript.