Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: defer web desktop workspace launcher startup

4 months ago

4092dc6
Authored
mweinbach5/28/2026, 10:28:38 PM
Avoid constructing the source-only workspace launcher during packaged sidecar boot. Packaged desktop smoke enables the web desktop service for state and transcript routes, but the nested source launcher is only needed if a web desktop client explicitly starts another workspace server.

This prevents downloaded packaged Windows ARM64 artifacts from failing startup while resolving a repository root from resources/binaries/server.

Verification: bun test test/webDesktopRoutes.test.ts test/server.test.ts test/build-desktop-resources.test.ts test/releaseBuildUtils.test.ts; bun run typecheck; bun run docs:check; COWORK_BUILD_PLATFORM=win32 COWORK_BUILD_ARCH=arm64 bun run build:desktop-resources; packaged-style sidecar smoke with COWORK_WEB_DESKTOP_SERVICE=1; bun test.

Parentf156e77

2 files changed
  • src/server/webDesktopService.ts+14−5
  • test/webDesktopRoutes.test.ts+16−0