Preflight Checklist
What's Wrong?
Summary
Dragging and dropping an image file (e.g., a screenshot from Cmd+Shift+4) into the Claude Code CLI input pastes the raw file path as text instead of attaching the image inline as [Image #N].
This previously worked on a different machine (same terminal — Warp, same OS — macOS, likely older Claude Code version). Clipboard paste via Ctrl+V still works correctly.
Steps to Reproduce
- Take a screenshot with
Cmd+Shift+4 (saves file to desktop/temp)
- Open Claude Code CLI in Warp Terminal
- Drag and drop the screenshot file into the Claude Code input
Expected: Image is attached inline, displayed as [Image #1] chip.
Actual: The escaped file path is pasted as plain text:
/var/folders/.../Screenshot\ 2026-04-14\ at\ 4.35.10\ PM.png
Claude Code does not recognize it as an image.
Additional Testing
- Clipboard paste works:
Cmd+Ctrl+Shift+4 (screenshot to clipboard) → Ctrl+V in Claude Code → correctly shows [Image #1]. So the sharp image processing pipeline is fine.
- Manually typing the image file path in the input also does not trigger
[Image] detection — same behavior as drag-and-drop.
- Both drag-and-drop and manual path entry worked on a previous machine (same Warp Terminal, macOS, likely older Claude Code version).
Environment
- Claude Code: 2.1.108
- macOS: 26.4 (Build 25E246)
- Architecture: arm64 (Apple Silicon)
- Terminal: Warp Terminal
- Shell: zsh
- Node.js: managed via mise
Possibly Related Issues
🤖 Generated with Claude Code
Preflight Checklist
What's Wrong?
Summary
Dragging and dropping an image file (e.g., a screenshot from
Cmd+Shift+4) into the Claude Code CLI input pastes the raw file path as text instead of attaching the image inline as[Image #N].This previously worked on a different machine (same terminal — Warp, same OS — macOS, likely older Claude Code version). Clipboard paste via
Ctrl+Vstill works correctly.Steps to Reproduce
Cmd+Shift+4(saves file to desktop/temp)Expected: Image is attached inline, displayed as
[Image #1]chip.Actual: The escaped file path is pasted as plain text:
Claude Code does not recognize it as an image.
Additional Testing
Cmd+Ctrl+Shift+4(screenshot to clipboard) →Ctrl+Vin Claude Code → correctly shows[Image #1]. So thesharpimage processing pipeline is fine.[Image]detection — same behavior as drag-and-drop.Environment
Possibly Related Issues
🤖 Generated with Claude Code