Brings in upstream's desktop-auth to Clerk-bridge migration (#3092) plus 9 other
commits. Resolution preserves the WSL parallel-backends work while adopting the
new primary-auth flow.
Contracts / IPC: keep our plural getLocalEnvironmentBootstraps; add upstream's
new getLocalEnvironmentBearerToken (primary bearer token) across the bridge,
preload, and the IPC channel / method / handlers.
Desktop:
- DesktopLocalEnvironmentAuth (upstream's new primary-auth service) now reads the
primary instance from our DesktopBackendPool instead of the removed legacy
DesktopBackendManager.
- main.ts composes both our WSL backend layer and the new local-environment-auth
and Clerk layers.
- DesktopWindow adopts upstream's local-client window loading (getDesktopUrl /
t3:// scheme) rather than loading the backend URL, dropping the now-obsolete
backend-URL plumbing. The "Connecting to WSL" splash is kept, re-pointed onto
the existing backend-ready latch (upstream's DesktopState.backendReady addition
did not land in this merge; the backend pool drives readiness through
handleBackendReady / handleBackendNotReady).
Web: keep our Layer.effect platform source (primary plus WSL secondaries); the
primary now authenticates via upstream's primaryEnvironmentHttpLayer and the
secondaries via FetchHttpClient.
Verified: typecheck (web, desktop), web tests (connection / provider /
authBootstrap / desktopAuth), desktop tests (DesktopWindow splash,
DesktopLocalEnvironmentAuth), and lint all pass.