codex: convert remote exec cwd at wire boundary

Keep unified_exec request state as AbsolutePathBuf, but serialize the cwd to PathBuf when constructing exec-server ExecParams.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-08 14:28:44 -07:00
co-authored by Codex
parent 7cbc9c6a79
commit 209f50a22d
@@ -253,7 +253,7 @@ impl<'a> ToolRuntime<UnifiedExecRequest, UnifiedExecProcess> for UnifiedExecRunt
let exec_params = codex_exec_server::ExecParams {
process_id: req.process_id.to_string().into(),
argv: command,
cwd: req.cwd.clone(),
cwd: req.cwd.to_path_buf(),
env,
tty: req.tty,
arg0: None,