Skip to content

[FEATURE] Configurable timeout for permission request prompts (or disable timeout entirely) #607

@chrisbeardy

Description

@chrisbeardy

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:

  1. No timeout by default — match Claude Code CLI behaviour and wait indefinitely for user input
  2. Configurable timeout — an environment variable (e.g. PERMISSION_PROMPT_TIMEOUT_MS) in .env that controls how long the UI waits before timing out. Setting to 0 or -1 would disable the timeout entirely.

Current workarounds

  • Adding tools to the allow-list in ~/.claude/settings.json to reduce permission prompts
  • Using acceptEdits or auto permission 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions