agent-orchestrator/packages
Priyanshu Choudhary b0318edb6a fix(codex): make agent-codex work on Windows
Three Windows-specific gaps that combined to make every Codex spawn fail
on PowerShell with "Unexpected token '-c' in expression or statement":

- formatLaunchCommand(): prepend `& ` to the joined launch string when
  running on Windows. shellEscape quotes the resolved binary path
  ('C:\Users\...\codex.cmd'), and PowerShell parses a leading quoted
  string as an expression — without the call operator the next flag
  triggers a parser error before codex is ever invoked. bash treats
  the same string as a normal command, so the prefix is Windows-only.
  Applied at both getLaunchCommand and getRestoreCommand exits.

- resolveCodexBinary(): add a Windows branch using `where.exe` instead
  of `which`. Prefers codex.cmd (npm shim) over codex.exe (Cargo build),
  then falls back to %APPDATA%\npm\codex.{cmd,exe} and ~\.cargo\bin
  for users whose PATH doesn't yet include the install dir. Lookup runs
  with windowsHide:true so the search itself doesn't flash a console.

- sessionFileMatchesCwd(): compare paths via a canonical form
  (forward slashes, lowercased drive letter) so Codex JSONL rollout
  files can still be located when payload.cwd uses a different slash
  direction or drive-letter case than the workspace path AO computes
  via path.join. Without this, dashboard activity/cost stay empty
  for Codex sessions on Windows.
2026-04-25 20:15:50 +05:30
..
ao chore: bump all package versions to 0.2.5 (#1190) 2026-04-13 05:47:08 +05:30
cli fix(windows): add windowsHide to remaining subprocess spawns 2026-04-25 19:09:02 +05:30
core fix(windows): add windowsHide to remaining subprocess spawns 2026-04-25 19:09:02 +05:30
integration-tests Merge origin/main into feat/windows-platform-adapter 2026-04-25 16:55:30 +05:30
plugins fix(codex): make agent-codex work on Windows 2026-04-25 20:15:50 +05:30
web fix(windows): suppress console flashes, register process runtime, auto-detect Git Bash, chunk PTY input 2026-04-25 18:54:24 +05:30