When closing the last tab in the agent window (ctrl+i to open it), the window closes.
This forces me to first open a new empty tab, then go to the last old tab, and close it,
The agent window should not close without me asking it to close.
Steps to Reproduce
open agent window (ctrl+i)
close all tabs
window will close
Expected Behavior
window should stay open
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Looks like this is the current expected behavior: the dock closes when there’s no content in it. I’ll share this as feedback with the team, since the logic of “the window should stay open until I close it myself” makes total sense.
For now, the workaround you described is the only option.
Adding my +1 to this issue. Frustratingly, when you click the close (x) icon on the last agent tab, it doesn’t even actually close that agent any more, only hides the whole panel. When you open it up again, the tab you ‘closed’ is still present.
edit: I see this has been raised as a separate issue too.