Home

mweinbach / agent-coworker

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

fix: split lazy mobile h3 sidecar chunks

4 months ago

3d862e2
Authored
mweinbach5/28/2026, 9:36:00 PM
Keep the default packaged server entrypoint from eagerly parsing the mobile H3 and X.509 dependency path by loading mobile H3 only when it is explicitly enabled and preserving dynamic imports as adjacent Bun chunks.

Update the Windows ARM64 bundled-runtime server binary path to use the shared Bun bundle helper so release and standalone packaging copy those chunks consistently.

Verification: bun test; bun test test/releaseBuildUtils.test.ts; bun run typecheck; bun run docs:check; COWORK_BUILD_PLATFORM=win32 COWORK_BUILD_ARCH=arm64 bun run build:desktop-resources; bundled entrypoint smoke with --json.

Parent2d59fcb

4 files changed
  • scripts/build_cowork_server_binary.ts+6−17
  • scripts/releaseBuildUtils.ts+13−0
  • src/server/startServer.ts+22−15
  • test/releaseBuildUtils.test.ts+31−0