- Notifications
You must be signed in to change notification settings - Fork72
Aider module support agentAPI#356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@matifali@DevelopmentCats, most of the module works fine, but now I’m implementing MCP configuration and task prompts with active chatting. ![]() The --message flag disables chat mode, runs only the prompt, and then exits the program. I’m trying to find a way to keep chat mode running inside the module. |
@Harsh9485, I think we should run in chat mode using AgentAPI by default, but provide the option to use message mode and disable AgentAPI (i.e., Coder Tasks) integration if a user wants to run in that mode. |
So should I give the user three options: |
Yes@Harsh9485 |
@matifali, unfortunately we can’t run interactive mode with the --message flag. What should I do now? |
…egistry into aider-tasks-agentapi-support
…egistry into aider-tasks-agentapi-support
@matifali@DevelopmentCats. PR ready to review. |
@matifali@DevelopmentCats, I have added the MCP server configuration. |
@matifali@DevelopmentCats, let me know if you need any changes in the code. |
@matifali, what if we implement my earlier idea? We could create a new 'Aider CLI' module for the Coder Tasks instead of modifying the existing one. I believe this would solve the problem and meet your requirement. |
Hey@matifali, could you let me know what the current plan is? I'd like to start working on it and just want to make sure the plan is still the same.
|
Hi@Harsh9485 leta revert these changes as currently there is no clean way to dual-purpose the module. I will also ask@35C4n0r to guide you as they are refactoring the Claude Code module. |
I'm refactoring the aider module now. |
I'll refactor the MCP part shortly. registry/registry/coder/modules/aider/main.tf Lines 203 to 224 in79ae316
|
hey@matifali@DevelopmentCats, registry/registry/coder/modules/aider/scripts/start.sh Lines 30 to 34 in79ae316
|
Hey@matifali, I commented out the code yousuggested for choosing between the two agents. I think we're dropping that plan now, so I'll remove it soon. registry/registry/coder/modules/aider/scripts/start.sh Lines 25 to 28 in79ae316
|
The Aider agent doesn't have native support for MCP configuration. Is it okay if I usethird-party software? and please let me know what should I do? |
What do you think@DevelopmentCats and@35C4n0r |
I think that since we don't have a realistic eta on when aider might add MCP support, our best option would be to use:https://github.com/lutzleonhardt/mcpm-aider at least until it is updated on aider's end. |
@DevelopmentCats, sorry, I didn’t see your message earlier. I’ve added MCPM-aider, and now I’ve found a way to add the Coder MCP server to it. |
Hey@matifali,@DevelopmentCats, I think we should drop the idea of configuring the Coder MCP server for now. Once Aider supports MCP, I’ll implement it. |
A lot of these CLI modules have a similar issue that we have had to work around. AgentAPI now supports an -I flag so for this you would want to pass the prompt into the session with that so that way we aren't locked into a print style output. As for the MCP Server issue I'm honestly not too sure when we would be seeing this since Development on aider seems to have slowed down exponentially in the last few months. |
If any CLI module already uses the -I flag,@DevelopmentCats could you share its name? It would really help. |
The copilot module that was just released uses this flag. |
Uh oh!
There was an error while loading.Please reload this page.
Closes#239
/claim#239
Description
video :-https://www.loom.com/share/d1d1d54d48bc45c4a48271ca9a387a88?sid=933e250d-78f8-4a7f-9745-0e908c0ee4d9
Type of Change
Module Information
Path:
registry/coder/modules/aider
New version:
v1.0.0
Breaking change: [ ] Yes [x] No
Testing & Validation
bun test
)bun run fmt
)Related Issues