I work for an organization that has many shared libraries that are used by a whole host of services. These shared libraries are private github repos.
Is there any way to either index an local folder (without copying it into the same repo) or index a remote github repository so that that context is also queried when using Ctrl+L or Ctrl+K? I’m open to relatively “hacky” solutions to get this working short term.
I also need to add external sources to the context in order to ask Cursor to implement something similar to what is already implemented in another project, without manual digging and copying of source snippets (I could do that already without AI). This is essential given the “long context” isn’t long at all…
At a minimum the agent should be able to find the right file in an external folder and add that one to the context, based on some search criteria like the endpoint. And from there it should be able to find all related files and ingest them.