Reported by @dusty comet
Bug Report: VS Code extension doesn't load on macOS if remote is non-macOS
`Steps to Reproduce`
- Install the ChatGPT VS Code extension on macOS.
- On macOS, open a remote development workspace to a non-macOS host, e.g. by running the following command on macOS
code --folder-uri vscode-remote://ssh-remote+some_linux_host/home/ubuntu/src/foo.
`Expected Result`
The VS Code extension should work on macOS, even though the remote OS isn't macOS.
`Actual Result`
The extension fails to load: "⚠️ The ChatGPT extension is only supported on macOS."
It appears that the extension checks the OS, but instead of checking the OS of the local editor client, it checks the OS of the remote server.
`Environment`
macOS 15.1.1, VS Code 1.95.3, ChatGPT VS Code extension November 26 2024 update