VS Code extension not working on Cursor AI, though cursor is build on top of VS Code.

I have created an extension for vs code and want to use it in Cursor AI as well but in cursor it’s unable to fetch resources as it is using vscode apis…is their any way to modify my code so that my extension as work on Cursor AI..