Home

mweinbach / agent-coworker

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

fix: install codex-code-mode-host alongside managed app-server

2 months ago

58e996d
Authored
Max Weinbach7/12/2026, 4:39:21 PM
Codex 0.144.0 spawns a codex-code-mode-host companion from the app-server's
own directory for code-mode tool routing, but the managed installer only
downloaded the app-server binary, so every turn logged
'failed to spawn code-mode host ... (os error 2)' and code-mode tools broke.

- Pin SHA-256 digests for all six codex-code-mode-host 0.144.0 release assets
- Install the host (checksum-verified, atomic rename) before the app-server
  on fresh installs so a failed install never leaves a host-less app-server
- Repair existing installs missing the host, best-effort so an offline
  repair never blocks startup of the already-verified app-server
- Promote the host to current/ with the app-server; skip versions with no
  pinned host checksum (older releases neither ship nor need it)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parentea6ee75

2 files changed
  • src/providers/codexAppServerResolver.ts+194−25
  • test/providers/codex-app-server-resolver.test.ts+175−1