Preflight Checklist
What's Wrong?
When network connectivity is briefly interrupted during a Claude Code session, the CLI becomes completely unresponsive. No keyboard input (Ctrl+C, Escape, /clear, etc.) restores functionality. The only recovery method is to close the terminal entirely and restart with claude.
Impact:
High - Loses all conversation context and requires full restart. Particularly frustrating during long sessions or complex tasks.
What Should Happen?
Expected Behavior:
- The CLI should detect connection timeout/failure and surface an error message
- Keyboard interrupts (Ctrl+C) should remain functional to cancel the hung request
- User should be able to retry or continue the session without full restart
Actual Behavior:
- CLI becomes completely frozen
- No user input is processed
- No timeout occurs (waited 5+ minutes)
- Process must be killed externally (pkill -f claude) or terminal closed
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce:
- Start a Claude Code session with claude
- Begin a request (or have one in progress)
- Experience a brief network interruption (WiFi dropout, VPN reconnect, ISP hiccup)
- Observe that the CLI hangs indefinitely
- Attempt Ctrl+C, Escape, or typing /clear - none work
- Must close terminal and restart
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Environment:
- OS: macOS (Darwin 24.6.0)
- Claude Code version: [run claude --version to fill in]
- Shell: [zsh/bash]
- Network: [WiFi/Ethernet]
Preflight Checklist
What's Wrong?
When network connectivity is briefly interrupted during a Claude Code session, the CLI becomes completely unresponsive. No keyboard input (Ctrl+C, Escape, /clear, etc.) restores functionality. The only recovery method is to close the terminal entirely and restart with claude.
Impact:
High - Loses all conversation context and requires full restart. Particularly frustrating during long sessions or complex tasks.
What Should Happen?
Expected Behavior:
Actual Behavior:
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce:
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Environment: