[BUG] Expanded view silently suppresses permission request dialog
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When toggled into expanded view if the agent request permission for an action it will "fall through" and the agent runtime will hang until you kill the request and manually request the agent to retry.
What Should Happen?
When an agent requests permission it should stack on top of the text input view so toggling out of the expanded view surfaces the permission request. Or at the very least pending permission view needs to be accessible by the user.
Error Messages/Logs
Steps to Reproduce
- Ask Claude a question that for a command that doesn't require permission followed by a command that does. Such as
Check the current directory for hello.txt and if it does not exist create the file with the content "hello world". - When it executes the action it has permission for, use
ctrl+oto enter the expanded view, until you see the permission prompt summary in the log. - The write permission dialog will not be present once you toggle off the expanded view.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.153 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
I'm using ghostty as my terminal emulator and tmux for terminal management on macOS, but using terminal.App also surfaced this issue.
Screenshot of infinite hang:
<img width="872" height="526" alt="Image" src="https://github.com/user-attachments/assets/8956bfd8-4839-4b49-aff1-198c5331acae" />
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗