Fix Codex process spawning and health checks on Windows

- Run Codex-related child processes with `shell` on Windows for reliable command execution
- Switch provider auth probe to `codex login status` and update health-check expectations
- Use Node PTY on Windows instead of Bun PTY in server runtime setup
This commit is contained in:
julius authored and Julius Marminge committed 2026-03-03 21:03:16 -08:00
1 parent 9db54c9b19
commit 0a12333448
7 files changed
+20 -37

No files matched your search

@@ -224,6 +224,7 @@ const makeCodexTextGeneration = Effect.gen(function* () {
],
{
cwd,
shell: process.platform === "win32",
stdin: {
stream: Stream.make(new TextEncoder().encode(prompt)),
},