Threadbox for Codex v0.1.1
This patch fixes Codex CLI discovery on Windows, especially for npm installations that provide codex.cmd alongside other launchers.
Fixed
- Resolve native
.exebinaries and npm.cmdshims explicitly instead of relying on the ambiguous barecodexcommand. - Check the standard Windows npm global directory when it is missing from the desktop app's inherited PATH.
- Continue to later PATH candidates when an earlier launcher is stale or invalid.
- Wait for version-probe output streams to close before parsing
codex --version. - Add packaged-app coverage that discovers and starts a real Codex CLI without
CODEX_BINARY.
Codex CLI 0.149.0 or newer is required. Builds remain unsigned; verify downloads with SHA256SUMS.txt.