What
A settings key accepting 60s, 5m, 10m or never sets how long a permission or user dialog forwarded to a remote client stays parked awaiting an answer, and how long a held cross-session message waits for approval, before it resolves to its safe default. Without the setting the timeout is 300000 ms (5 minutes). CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS overrides both.
Details
- The setting is read from trusted configuration sources only.
- Prompts answered locally are unaffected; this only applies to dialogs sent to a remote client.
Usage
{ "dialogExpiry": "10m" }Evidence
Max time a permission/user dialog forwarded to a remote client stays parked awaiting an answer
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundledialogExpiryCLAUDE_CODE_USER_DIALOG_TIMEOUT_MS
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