-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I'm trying to get a smooth workflow with copilot in intellij (agent mode and claude model), but i'm not succeeding. Copilot continues to ask approval for any terminal output command. So each invocation of our build tool (tox) causes the agent to pauze.
Now, there are quite some settings in copilot to configure auto-approval, so it seems it should be possible to get it working, but for some reason i can't. I've enabled 'auto-approve' (AFAIK, that works for direct tool invocations, not for commands invoked through terminal) as well as 'terminal auto-approve'. I even tried to add a /.*/ regexp to catch all commands, but i still get approval popups.
I see various open and closed related issues:
#947
--> Seems to indicate that auto-approve for terminal commands got fixed, but it does not for me in latests nightly.
#965
--> More specifically about MCP calls
#492
--> Similar request. The comment seems to indicate that it is possible now... However, it is still open...
I think good documentation of what's possible and what's not possible would be helpful. Even if it does not work, make it clear that it does not work..
Also, should i consider creating a dedicated (MCP) tool instead of relying on run_in_terminal ? I hope not...
I'm using latest nightly build: 1.5.61.14594-243-nightly