Toolsvia Dev.to API
Claude Code CLI can silently pause waiting for permission answers

A developer found that claude -p with stream-JSON and --permission-prompt-tool stdio will halt mid-run when it needs a tool-permission decision, producing no output, error, or exit code until the host replies allow or deny. In testing on version 2.1.332, the CLI waited 123 seconds silently. The fix is to answer every control_request promptly and run a local timeout.
Was this summary accurate?