Thanks for checking out aider. Let me know if you give it a try and find it useful.
Yes, aider already has features to provide GPT with "code context" to let it edit larger, more complex codebases. I wrote up some notes about these features:
https://aider.chat/docs/ctags.html
You might be especially interested in the "future work" section near the end. I have actually shipped some of these ideas into the tool already. I need to find some time to write up the details.