Currently it seems that the CLI say running headless , does not sync at all with the editor the sessions or chats (if you resume). This leads to situation where you can’t continue chats you did in cli or you are missing chat history. I’m running into this when I try to run cursor remotely locally.
Right now cursor agent ls (run from a directory like ~/repos) shows many resumable agent sessions, but the same sessions don’t appear in the IDE’s agent/chat history for that workspace. It feels like two separate systems.
Request: A single unified list of agent sessions that appears consistently in the terminal (cursor agent ls / resume) and the editor (sidebar or history), and respects the same workspace scope (or makes the scope obvious and filterable),
That would reduce confusion about “where did that session go?” and make it easier to resume work from either surface.
The CLI and IDE should be using the same same store for chats for the same workspace. I use both, cli and the IDE, and it’s so annoying when I’m not able to continue the session when switching between the two.
From the cli you can actually see the ide sessions, but if you continue them in cli, they don’t sync with the IDE. I built a open souce tool you can find here kinda like claude local remote for cursor you can basically control your cursor ide from the phone over local network, this is where this problem arose for me.
I have a workspace folder. I am working on multiple agent chats in IDE and using CLI on terminal.
But, I can’t see CLI agents in IDE. This should be doable. Codex and other harness has this feature. It doesnt’ differentiate CLI and agents running in IDE.
Steps to Reproduce
start CLI agent in terminal for a particular workspace.
try to find this in IDE where the open folder to the same workspace.
these could be in linux machine or in Mac or windows
Expected Behavior
CLI agents should be visible in IDE for same workspace.