Ctrl+V image paste does not attach the image in Agent View when interacting with a background agent session (attach/peek) — terminal CLI
Description
In the terminal CLI Agent View (claude agents), pasting an image with Ctrl+V does not attach the image when I am interacting with a background agent session — i.e. after attaching to a session (Enter) or replying from the peek panel (Space).
In a normal/main Claude Code prompt, Ctrl+V works as expected: the image is captured and an attachment chip (e.g. [Image #1]) appears. In the agent reply input it does nothing — no attachment chip, the image is simply not picked up.
The docs explicitly mention image paste only for the dispatch input at the bottom of Agent View ("Paste an image into the prompt to include a screenshot or diagram with the task"), but say nothing about the reply input of an attached/peeked session, so it's unclear whether this is an intentional limitation or a bug. Either way it's surprising, since the rest of the input behaves like a normal prompt.
Steps to reproduce
- Open Agent View in the terminal:
claude agents - Attach to a running background session (Enter) — or open the peek panel (Space) and start a reply
- Copy an image to the clipboard (e.g. a screenshot)
- Press Ctrl+V in the agent reply input
Expected behavior
The image is attached to the message (an [Image #N] attachment chip appears), the same way Ctrl+V works in the main Claude Code prompt and in the Agent View dispatch input.
Actual behavior
Nothing happens — no attachment chip, the image is not attached. (Same Ctrl+V works fine in the main prompt of a normal session.)
Notes
- Ctrl+V (not Cmd+V) is the correct binding for image paste on macOS in Claude Code, and it works in the main prompt — so this isolates the problem to the Agent View reply/peek input, not the terminal's clipboard handling.
- If this is an intentional limitation rather than a bug, it would help to document it on the Agent View page (the "every feature works" note for attached sessions currently implies parity with the main prompt).
Environment
- Claude Code:
2.1.160 - OS: macOS
26.5.1(Darwin 25.5.0), Apple Silicon (M1) - Terminal: Ghostty