- Remove unnecessary exports from processRunner.ts: toRuntimeCommandOptions,
ManagedChildProcess, RuntimeCommandOptions, spawnPipedProcess,
ProcessSpawnOptions, ProcessSpawnSyncOptions, killProcessTree
- Destructure runtimeEnvironment out of options in toRuntimeCommandOptions
to prevent leaking it into ChildProcess.make
- Handle null exit code in detailFromResult to produce a clear message
instead of 'Command exited with code null'
Co-authored-by: Julius Marminge <[email protected]>
- squash Effect causes to surface real Codex process error messages
- normalize Git process results to error on signal/null exit and keep details
- treat timed-out Codex health probes/auth checks as unavailable or warning with clear messages
- add tests for cause extraction, Git signal termination, and provider timeout paths
- Replace Node child process/readline handling with Effect streams and scoped handles
- Wire CodexAppServerManager to adapter services for runtime-managed execution
- Harden write/exit/stderr handling and close process scope on shutdown
Co-authored-by: codex <[email protected]>
- Centralize process spawning/termination in `processRunner` for consistent Windows behavior
- Add runtime environment detection to handle WSL-hosted command resolution
- Update open/editor/browser launch logic to prefer Linux shims and fall back to Windows executables
- Expand server tests for WSL launch paths and shared process helpers
Add tree-kill via taskkill /T /F in processRunner and codexAppServerManager so timeout enforcement and session stop properly terminate the entire process tree instead of just the cmd.exe wrapper. Detect Windows command not found (exit 9009) in normalizeExitError. Pre-validate editor commands with isCommandAvailable in open.ts before spawning. Fix ProviderHealth test import and dev-runner test path assertion for Windows.
Made-with: Cursor
- 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
- include open PR metadata in git status with graceful `gh` failure handling
- centralize git command execution in `GitCoreService` via `runProcess` with truncation support
- add PTY spawn-helper permission fixes, shell fallback retries, and tests for new behavior