-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[FEATURE] Configurable timeout for permission request prompts (or disable timeout entirely) #607
Copy link
Copy link
Open
Description
Problem
When CloudCLI prompts for a permission request (e.g. granting Bash access), the prompt times out after a period of inactivity with the error:
Permission request timed out
With buttons: "Grant permission for Bash" | "Open settings" and text "Adds Bash(uv:*) to Allowed Tools."
This is problematic for users who:
- Step away from the terminal while Claude is working and come back to find it stalled
- Run long tasks and don't want to monitor the screen constantly
- Use CloudCLI remotely (mobile/tablet) where they may not see prompts immediately
The standard Claude Code CLI does not have this timeout — it waits indefinitely for user input.
Expected behaviour
Either:
- No timeout by default — match Claude Code CLI behaviour and wait indefinitely for user input
- Configurable timeout — an environment variable (e.g.
PERMISSION_PROMPT_TIMEOUT_MS) in.envthat controls how long the UI waits before timing out. Setting to0or-1would disable the timeout entirely.
Current workarounds
- Adding tools to the allow-list in
~/.claude/settings.jsonto reduce permission prompts - Using
acceptEditsorautopermission mode - Clicking "Grant permission for Bash" after the timeout to permanently allow the tool
These reduce the frequency but don't solve the core issue — any remaining prompts still time out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels