The navigator.userAgent in Cursor’s Extension Host process doesn’t contain
platform information (e.g., “Windows”), while the renderer process does. This
breaks VS Code extensions that use navigator.userAgent for platform detection.
Root Cause
The extension checks navigator.userAgent.includes("Windows") before process.platform, which works in VS Code but fails in Cursor’s Extension Host.
Developer Tools (Renderer):
Steps to Reproduce
Reproduction
Install Oracle SQL Developer extension (oracle.sql-developer) - Have to use Install extension from VSIX method as the extension is not available from Oracle in Cursor Marketplace.
Extension fails to activate with: “Process terminated with exit code 1”
Expected Behavior
Extension should be installed and activated successfully.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Thanks for the response. Could you please let us know if this can be fixed by Cursor in the next release? We are all having troubles with this extension which is a must for our daily work.
The bug is already being worked on by the team. The Extension Host in Cursor doesn’t pass platform info into navigator.userAgent, which breaks extensions that use this check to detect the platform (including the Oracle SQL Developer extension).
You can track progress in this thread, and I’ll post an update as soon as there’s news from the dev team.
Is this any update on this? I’m the original poster of thread linked to on this thread. It has been months since the issue was reported. My workaround was to continue using an older version of cursor that didn’t have this issue. Now that old cursor version will no longer interact with AI models and forces an update. So, I have no work around.
In short: add a tiny wrapper entrypoint that removes globalThis.navigator before loading the extension, then point package.json#main to that wrapper.
1) Backup first
Close Cursor, then make a copy of the extension folder: C:\Users\<user>\.cursor\extensions\oracle.sql-developer-25.3.2
? e.g. oracle.sql-developer-25.3.2_BACKUP
2) Add wrapper entrypoint
Create this file: C:\Users\<user>\.cursor\extensions\oracle.sql-developer-25.3.2\dist\extension-entry.js
Do you know if this solution is compatible with the new Oracle Extension (v25.4.0)?
I followed the documented steps on a Windows PC. After completing the steps, I noticed that the extension appears to activate successfully but then disappears immediately, making it unavailable for use. It doesn’t show up in the list of active extensions, and I’m unable to interact with it through the UI.
All the logs indicate that the extension is being successfully activated, but for some reason, I am still unable to see or use it.
At this point, I am a bit stuck and unsure why it is not behaving as expected.
Any suggestions or guidance would be greatly appreciated!
I can confirm that the workaround is working as expected for latest versions.
Cursor: 2.4.23
Oracle SQL Developer Extension for VSCode:
25.4.0
It is a bit unusual that the extension does not appear anywhere in the editor like in VS Code. I only see the extension/ saved connections list when I explicitly open the extension from the View menu (View > Open View > SQL Developer), but the good think is that the extension automatically detects .sql files, and the connection bar opens on its own.
However, I noticed Capacity must be a positive integer greater than zero warning message in the status bar every time I launch Cursor. It is not effecting the functionality but I am just curious to know why this warning appears.
My hunch is that the Maximum number of SQL History records property in the extension configuration might be causing the warning. By default, this property is set to 0.
I changed the value to 500, and since then, I haven’t seen the warning message.