I believe it would be much more efficient to implement the control mechanism through an IDE extension. This structure would allow for leaving comments directly on the additions, deletions, or modifications made by the AI, enabling the code to be re-coded or revised based on those comments in the future.
This way, developers can iterate quickly within the editor without needing a browser. Constant context switching between the browser and the IDE would significantly hinder the development process compared to the speed and fluidity of working directly within the IDE.