Typing in Agent chat is redirected mid-sentence into an editor tab with a stale pending review

Describe the Bug

While I type in the Agent chat input, keyboard focus jumps to an open editor tab partway through the sentence, and the rest of what I type goes into that file. It happens repeatedly in a session, and always into the same file. That file shows the pending-review bar (Keep all changes / Review Next File), even though git status shows no changes to it, so there’s nothing left to review.

Steps to Reproduce

Have the agent edit a file so the review bar appears on it. In my case the file on disk matches git HEAD, so the pending state is stale.
Keep that file open in an editor tab, with the Agent panel open on the right (Editor layout).
Click into the Agent chat input and type a message.

Expected Behavior

Every keystroke goes to the chat input until I move focus myself.

Operating System

Windows 10/11

Version Information

Cursor 3.24.9 (VS Code 1.128.0), commit cd6d2a1f2e56e9841f0ed9c7c24542087b4e69b0, built 2026-10-08

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Joe_M1, thanks for the report!

Since git shows no changes to that file, the review bar on it is leftover state. Clicking Keep on that file’s review bar should clear it safely: Keep just accepts what is already in the file and doesn’t change it. Please avoid Undo there, since it would roll the file back to how it looked before the agent’s edit.

Could you try this once and tell me what you see?

  1. Leave that file open in its tab, with the Agent panel on the right, and make sure no agent is running.
  2. Click into the chat input and type a long message slowly for about 30 seconds, without pressing Enter.
  3. Note whether focus jumps into the file.
  4. Click Keep on that file’s review bar and check that the bar disappears.
  5. Repeat step 2.

Does the jump stop after step 4? Also, does it happen only while an agent is running, or also when everything is idle? A short screen recording of the jump would help a lot if you can grab one.