What
A new settings key controls how long a permission or question dialog forwarded to a remote client stays parked, and how long a held cross-session message waits for approval, before resolving to its safe no-action default. Accepts "60s", "5m", "10m" or "never", defaults to 5 minutes, and falls back to the default on an invalid value. Purely local prompts are unaffected.
Details
- Resolution order: the environment variable
CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS, thendialogExpiry, then 300000 ms. - Read from trusted settings sources only, and sits next to the existing
askUserQuestionTimeoutkey with the same enum.
Usage
{ "dialogExpiry": "10m" }Evidence
dialogExpiry: Ir(["60s", "5m", "10m", "never"]), dialogExpiry
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundledialogExpiry
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's release notes agree
Added crossSessionInbound and dialogExpiry settings: cross-session messages sent to a session running with bypassed permissions are held for…
The name it cites is new in this build
New in this build: dialogExpiry