gh 2.101.0 (the image's) prints "! One-time code (XXXX-XXXX) copied to clipboard" and "Press Enter to open https://github.com/login/device in your browser...". parse_device_prompt only knew "one-time code:", so no code event went out and Enter was never pressed: gh sat at its prompt until the 10-minute timeout. Match the label case-insensitively, accept ":" or "(" before the code, and require something after it so a code cut by a frame boundary is not taken early. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>