Set dialogExpiry to control how long a forwarded permission prompt waits before resolving to its safe default.
What's wrong with this entry?
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.
- The setting is read from trusted configuration sources only.
- Prompts answered locally are unaffected; this only applies to dialogs sent to a remote client.
{ "dialogExpiry": "10m" }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.