[Feature Request] Make AskUserQuestion timeout configurable
Bug Description
Title: Make the AskUserQuestion timeout configurable (or document it)
Body:
The AskUserQuestion tool appears to auto-dismiss/time out if I don't answer within a fixed window. This
is a problem when I step away mid-task — the question resolves without my input and the agent proceeds on
a default/no answer.
Requests:
1. Document the current behavior — is there a timeout on AskUserQuestion, and how long is it? It's not
mentioned in the tools reference, settings, or env-vars docs.
2. Make it configurable — ideally a settings.json key and/or env var (e.g. ASK_USER_QUESTION_TIMEOUT_MS,
consistent with the existing BASH_DEFAULT_TIMEOUT_MS / API_TIMEOUT_MS naming), with an option to disable
the timeout entirely (block indefinitely until answered).
3. Optional: expose it to hooks, so a PreToolUse hook could adjust the timeout per-question. Today no
hook event can influence it.
Use case: I run long agent sessions and often walk away; a hard timeout that silently picks a default
undermines the whole point of asking me.
Environment Info
- Platform: linux
- Terminal: pycharm
- Version: 2.1.198
- Feedback ID: 8cd89333-2c2f-48ad-b1d0-12db8b619028
Errors
[]