How to Hide Agent Opening Active File?

When the agent is editing or adding a file, it opens that file in the editor, is there a way to disable? It’s a bit annoying when multiple files are opening automatically…