Focus mode for Cursor?

Is there a focus mode in Cursor that automatically opens and focuses on files the agent is editing live? Zed editor does this—it switches to files being worked on by the agent. Sometimes, Cursor makes errors in files it edits or creates, but if the new file isn’t open (I have to do this manually now), these errors go undetected and the agent moves on. This feature would help a lot if it doesn’t exist yet.