[BUG] ide references are not working in agents mode

Resolved 💬 5 comments Opened May 19, 2026 by TheRusskiy Closed Jun 18, 2026

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 /ide is connected with Claude Code and you are sending references to it they do not land in the input.
The only way to start a new session from the agent view is to start typing something.
For example I want to type

Please refactor [I send a file reference from IDE]

but it does not get appended:

<img width="442" height="756" alt="Image" src="https://github.com/user-attachments/assets/1cd5427e-371c-4c01-973c-49afef1ea5dc" />

What Should Happen?

When typing in the agent view files sent from /ide need to land in the input, same for files highlighted via ide.

Steps to Reproduce

Start claude agents
Connect to an IDE.
In the IDE send some file to Claude.
See that the file is missing in hte input

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.144

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Ghostty

Additional Information

Intellij Idea.

I think the problem is that the whole /ide command is not working while in the agents mode.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗