core-agent-ide/codex-rs/exec/src
Dylan 4764fc1ee7
feat: Freeform apply_patch with simple shell output (#4718)
## Summary
This PR is an alternative approach to #4711, but instead of changing our
storage, parses out shell calls in the client and reserializes them on
the fly before we send them out as part of the request.

What this changes:
1. Adds additional serialization logic when the
ApplyPatchToolType::Freeform is in use.
2. Adds a --custom-apply-patch flag to enable this setting on a
session-by-session basis.

This change is delicate, but is not meant to be permanent. It is meant
to be the first step in a migration:
1. (This PR) Add in-flight serialization with config
2. Update model_family default
3. Update serialization logic to store turn outputs in a structured
format, with logic to serialize based on model_family setting.
4. Remove this rewrite in-flight logic.

## Test Plan
- [x] Additional unit tests added
- [x] Integration tests added
- [x] Tested locally
2025-10-04 19:16:36 -07:00
..
cli.rs feat: codex exec writes only the final message to stdout (#4644) 2025-10-03 16:22:12 +00:00
event_processor.rs Minor cleanup of codex exec output (#4585) 2025-10-02 14:17:42 -07:00
event_processor_with_human_output.rs feat: codex exec writes only the final message to stdout (#4644) 2025-10-03 16:22:12 +00:00
event_processor_with_jsonl_output.rs feat: codex exec writes only the final message to stdout (#4644) 2025-10-03 16:22:12 +00:00
exec_events.rs Rename assistant message to agent message and fix item type field naming (#4610) 2025-10-02 15:07:14 -07:00
lib.rs feat: Freeform apply_patch with simple shell output (#4718) 2025-10-04 19:16:36 -07:00
main.rs fix: move arg0 handling out of codex-linux-sandbox and into its own crate (#1697) 2025-07-28 08:31:24 -07:00