sometimes the model likes to run "cd foo && ..." instead of using the workdir parameter of exec. handle them roughly the same.
29 lines
436 B
TOML
29 lines
436 B
TOML
[package]
|
|
edition = "2024"
|
|
name = "codex-apply-patch"
|
|
version = { workspace = true }
|
|
|
|
[lib]
|
|
name = "codex_apply_patch"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "apply_patch"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
similar = "2.7.0"
|
|
thiserror = "2.0.12"
|
|
tree-sitter = "0.25.8"
|
|
tree-sitter-bash = "0.25.0"
|
|
once_cell = "1"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
pretty_assertions = "1.4.1"
|
|
tempfile = "3.13.0"
|