Home

mweinbach / agent-coworker

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

fix: repair packaged desktop turn startup (#66)

7 months ago

c7de796
Authored
Jason Cantor3/30/2026, 9:52:29 PM
* fix: repair packaged desktop turn startup

Replace the packaged sidecar's compile-unsafe lazy module loads with import-safe session loaders, and extend the desktop release smoke to exercise a real packaged first turn.

Verification:
- bun test
- bun run typecheck

Co-authored-by: Codex <noreply@openai.com>

* fix: harden packaged desktop smoke startup

Extract the packaged desktop smoke JSON-RPC helper into a testable service,
add immediate socket failure handling, validate completed turn status,
and restore the intended AgentSession lazy-loading boundary.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>

* fix: relax packaged desktop smoke turn status

Allow the packaged desktop smoke to accept any recognized terminal
turn/completed status so the release smoke validates packaged sidecar
health without depending on provider credentials.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

Parentf9538f1

8 files changed
  • .github/workflows/desktop-release.yml+8−0
  • apps/desktop/README.md+1−1
  • apps/desktop/electron/main.ts+8−0
  • apps/desktop/electron/services/desktopSmoke.ts+269−0
  • apps/desktop/test/desktop-smoke.test.ts+428−0
  • src/server/session/AgentSession.ts+54−25
  • tasks/lessons.md+1−0
  • test/desktop-release.workflow.test.ts+2
−0