How to disable open file when agent edits?

When I’m doing a bulk edit of the same type of edits (for example, fixing imports across 20 files) and I want the editor to do one at a time instead of using a script, the editor opens each file, which then slows down my compute. How do I disable the chat from opening up the files its editing? I thought this wasn’t a thing before.

(not really how I’m editing imports, just an example)

If you close all of the editor tabs, it won’t open anymore. When you open one, you’ll still be prompted to shuffle through them to accept. I think if you accept in the chat, then you won’t be prompted.