claude-code - 💡(How to fix) Fix [BUG] Drag-and-drop / Cmd+V image attach works at `claude agents` list view but is silently dropped inside an agent session

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

In claude agents v2.1.143 on macOS, attaching an image works at the top-level session list but silently fails once I enter an individual agent session. No [Pasted image #N] placeholder appears, no error is shown — the drop / paste is just ignored.

This affects both drag-and-drop from Finder and Cmd+V from clipboard, which makes me think the session view is mounting an input handler that's missing the image attach pipeline that the list view has.

Error Message

In claude agents v2.1.143 on macOS, attaching an image works at the top-level session list but silently fails once I enter an individual agent session. No [Pasted image #N] placeholder appears, no error is shown — the drop / paste is just ignored.

  • ❌ Nothing happens. No placeholder, no error, no visual feedback.

Root Cause

In claude agents v2.1.143 on macOS, attaching an image works at the top-level session list but silently fails once I enter an individual agent session. No [Pasted image #N] placeholder appears, no error is shown — the drop / paste is just ignored.

This affects both drag-and-drop from Finder and Cmd+V from clipboard, which makes me think the session view is mounting an input handler that's missing the image attach pipeline that the list view has.

Fix Action

Workaround

Capture the screenshot to disk (e.g. pngpaste ~/Desktop/clip.png) and reference the file path as text in the prompt. The agent reads the file fine; it's only the in-input attach that's broken.

RAW_BUFFERClick to expand / collapse

Summary

In claude agents v2.1.143 on macOS, attaching an image works at the top-level session list but silently fails once I enter an individual agent session. No [Pasted image #N] placeholder appears, no error is shown — the drop / paste is just ignored.

This affects both drag-and-drop from Finder and Cmd+V from clipboard, which makes me think the session view is mounting an input handler that's missing the image attach pipeline that the list view has.

Environment

  • Claude Code version: 2.1.143
  • OS: macOS (Darwin 25.2.0)
  • Terminal: Ghostty (TERM=xterm-ghostty)
  • Shell: zsh
  • No image-related hooks in ~/.claude/settings.json

Reproduction

  1. Run claude agents.
  2. At the session list view, drag a PNG from Finder onto the window (or Cmd+V an image from clipboard).
    • ✅ Image attaches; [Pasted image #1] placeholder appears.
  3. Enter any agent session (existing or new).
  4. Drag the same PNG onto the window, or Cmd+V the same clipboard image.
    • ❌ Nothing happens. No placeholder, no error, no visual feedback.

Expected

Image attach should behave the same inside a session as it does at the list view — show [Pasted image #N] and include the image in the next message.

Workaround

Capture the screenshot to disk (e.g. pngpaste ~/Desktop/clip.png) and reference the file path as text in the prompt. The agent reads the file fine; it's only the in-input attach that's broken.

Notes

  • Worked correctly a few days ago — this is a recent regression.
  • v2.1.143 changelog mentions paste-related fixes for Windows Terminal / WSL; this looks like a macOS-side equivalent that slipped through, scoped specifically to the session view.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Drag-and-drop / Cmd+V image attach works at `claude agents` list view but is silently dropped inside an agent session