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.