Agents Window opens focused on another workspace/thread

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I click the top-right Agents Window button from a Cursor Editor window opened on my cartograph WSL workspace, the standalone Agents Window opens but focuses an existing agent thread from a different repo/workspace, statusreport.

The Agents Window appears to be global across repos, but launching it from a specific Editor workspace should either select that caller workspace or make the cross-workspace behavior explicit. Focusing an unrelated repo/thread is confusing and risky because it looks like the action stayed scoped to the current repo when it did not.

Related forum thread: Cursor Agents workspace selector is unhelpful

Steps to Reproduce

  1. Open Cursor Editor on a WSL workspace, e.g. cartograph [WSL: Ubuntu].
  2. Have another repo/workspace with agent history, e.g. statusreport.
  3. In the cartograph Editor window, click the top-right “Agents Window” button.
  4. Observe that the standalone Agents Window opens focused on a statusreport agent thread instead of selecting cartograph.

Expected Behavior

Clicking “Agents Window” from an Editor workspace should open/focus the Agents Window with the caller workspace selected, or clearly indicate that the Agents Window is global and may preserve a different selected workspace/thread.

In this repro, I expected cartograph to be selected because the click originated from the cartograph Editor window.

Operating System

Windows 10/11

Version Information

Version: 3.7.27 (user setup)
VS Code Extension API: 1.105.1
Commit: e48ee6102a199492b0c9964699bf011886708ba0
Date: 2026-06-10T01:46:16.942Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Additional Information

running in WSL under windows.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Scott_Adams Thanks for reporting, I tried but couldn’t reproduce it. Do you want to do a quick screenshare video showing us this bug?

Thank you! I think I understand now. It seems like this:

If the agents view is closed and you press the button in the Editor → It goes to Agents view on the same workspace, as you expected.

If the agents view is already open and you press the button in the Editor → It opens Agents view, but it does not switch to the same workspace, it just leaves up whichever workspace you already have open in Agents view. Is that right?

Yes that is a good summary of what is happening.

Ack
Regarding prioritization, we will likely focus on more pressing matters first, but we still appreciate you bringing it to our attention.