parse cd foo && ... for exec and apply_patch (#3083)

sometimes the model likes to run "cd foo && ..." instead of using the
workdir parameter of exec. handle them roughly the same.
This commit is contained in:
Jeremy Rose
2025-09-02 22:26:06 -07:00
committed by GitHub
parent b127a3643f
commit 53413c728e
5 changed files with 313 additions and 81 deletions

1
codex-rs/Cargo.lock generated
View File

@@ -636,6 +636,7 @@ version = "0.0.0"
dependencies = [
"anyhow",
"assert_cmd",
"once_cell",
"pretty_assertions",
"similar",
"tempfile",