Show session name and color in tool permission prompts
Summary
When running multiple Claude Code sessions in parallel, the tool permission prompt ("Allow? y/n") does not display the session name or color. This makes it impossible to tell which session is requesting permission when switching between terminal windows.
Current behavior
- Session name and color are visible in the TUI status line
- The tool approval prompt shows the tool name and arguments, but no session identifier
- With multiple sessions open, you must check the status line to figure out which session is asking
Expected behavior
The tool permission prompt should include the session name (and ideally use the session's color) so you can immediately identify which session is requesting approval without checking the status line.
Use case
When running 2+ sessions side-by-side (e.g., one for frontend work, one for backend), permission prompts appear frequently. Quick visual identification of the requesting session would reduce context-switching friction and prevent accidentally approving/denying the wrong session's action.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗