Documentation on integration development

Dear all,
we are developing a pug-in/add-in/integration (I do not know the correct name) to improve the code quality with AI. We have a working prototype in shiny, that read the console history and analyse it. Unfortunately when the app starts we can not any more use the console. If the app start in background it can not access the history.

Most probably we need to develop something more integrated in the IDE, like the GitHub copilot "integration". Unfortunately we can not found documentation how to contribute to the IDE development or how to develop integrations.

Any advice could be useful.

RStudio has an addins capability: RStudio Addins. I don't know if it's powerful enough for your purposes but it's a starting point.

Also, RStudio itself is open-source: GitHub - rstudio/rstudio: RStudio is an integrated development environment (IDE) for R and we welcome pull requests! See rstudio/CONTRIBUTING.md at main · rstudio/rstudio · GitHub for details on that.