Files
t3code/packages/ssh
Josh Gratton 206feb75de Merge upstream/main (+212): codex Effect-service normalization wave
Catch up to pingdotgg/main (82a9bcc7), resolving 16 conflicts while
preserving the WSL parallel-backend feature set.

Upstream's codex wave normalized Effect services repo-wide: inlined
*Shape interfaces into Context.Service classes, converted errors to
Schema.TaggedErrorClass, switched to namespace imports, and split
make + layer. Our branch keeps DesktopBackendPool + a per-instance
factory (upstream's singleton DesktopBackendManager service does not
exist in this tree).

Resolutions:
- DesktopBackendManager.ts: kept ours (factory model; upstream's
  singleton rewrite does not apply). Re-deleted the superseded
  single-instance DesktopBackendOutputLog.ts and its test.
- DesktopObservability / DesktopBackendConfiguration /
  DesktopLocalEnvironmentAuth / DesktopApp / DesktopWindow /
  DesktopAppSettings: adopted upstream's normalized structure (inline
  service shapes, TaggedErrorClass, make + layer, namespace imports,
  DesktopShutdown module, OTLP tracing) while preserving our WSL
  additions (per-instance log factory, pool-based bearer auth, splash
  and handleBackendReady(httpBaseUrl), WSL settings methods).
- client-runtime EnvironmentRegistry: namespace imports + kept our
  reconcilePlatform / registerPlatform / networkStatus.
- web primary environment: adopted upstream's Schema error classes;
  kept PRIMARY_LOCAL_ENVIRONMENT_ID and the plural
  getLocalEnvironmentBootstraps path.
- Tests: applied the repo-wide *Shape to X["Service"] removal across
  desktop tests; converted singular getLocalEnvironmentBootstrap stubs
  to our plural form; refreshed DesktopAppSettings stubs with the WSL
  methods; restored our factory-based DesktopBackendManager test.

Verified: desktop + web + client-runtime typecheck clean; affected
desktop + web tests pass. The 15 remaining desktop test failures are
pre-existing Windows-only path-separator assertions (forward vs back
slash) and pass on the Linux CI.
2026-06-21 11:52:55 -04:00
..