aider icon indicating copy to clipboard operation
aider copied to clipboard

Extend aiders --yes option

Open p-wegner opened this issue 1 year ago • 3 comments

Issue

I'm currently writing a Jetbrains IDE Integration Plugin that runs aider in scripting mode and having more control over the different confirm use cases for the --yes option would be great.

--no-suggest-shell-commands helps with this, but if i only want to allow file creation and no changes to the context, i can't prevent this, can i? For my use case something like --no-context-changes and/or --prevent-file-creation would be helpful. I would usually allow file creation, but no context changes/web scraping in my use case.

Version and model info

Aider v0.54.7

p-wegner avatar Sep 05 '24 11:09 p-wegner

Additionally, using --yes will also automatically update aider or install needed packages like aider[help] if needed, which can take quite some time (torch + indexing). Especially when used for scripting and relying on the API of a fixed aider version, this is rather inconvenient.

p-wegner avatar Sep 09 '24 23:09 p-wegner

You should consider scripting aider from python to get more control.

paul-gauthier avatar Sep 10 '24 00:09 paul-gauthier

Yeah, that would solve those constraints. As of now, keeping requirements on the env minimal (e.g. python version) is the goal. Devs working with any Jetbrains IDE should be able to simply install https://plugins.jetbrains.com/plugin/25249-coding-aider without having to care about which python version is available on the system. Currently a compatible Aider has to be present of course, but i'll likely add an option to run it with docker https://github.com/p-wegner/coding-aider/discussions/7

p-wegner avatar Sep 10 '24 00:09 p-wegner

I've created a fork of v0.85.5 that does YOLO here: https://github.com/sutt/agent-aider

sutt avatar Aug 10 '25 14:08 sutt