Closed JacksonKearl closed 2 years ago
There is plans to make any code an extension that isn't exclusive to the web but also able to run in nodejs. When that is done it should automatically (or by coincidence) be in the same extension host as others and therefore see remote hub's API
On desktop, AnyCode runs in webworker ext host and RemoteHub runs in Node ext host. This means AnyCode cannot acquire RemoteHub's API and this will always use the 500 file mode. RemoteHub runs in Node so that it can be used by GHPRI. These extensions should all run in the same ext host. (cc @alexr00 , @joyceerhl )