Can a theia extension provide comments in the editor?

The theia extension APIs are really powerful and nice to use, while the vscode APIs are a bit janky, so I’d rather avoid writing vscode plugins entirely if possible. However, I want to do things like vscode.comments.createCommentController(...) and get the comment widgets working in the comparison editor, and that seems to only be possible through vscode plugin world.

It’s not clear to me how I can interact with the vscode/theia-plugin api from a theia extension, and having my feature split between a theia extension and a vscode extension is really not that great. I get a webpack error that it can’t find the vscode module if I just went ahead and added the dependency to my extension and browser-app and then build.

What’s the recommended approach and are there any examples I can look at?