chore: standardize on ParsedCommand from codex_protocol (#5218)

Note these two types were identical, so it seems clear to standardize on the one in `codex_protocol` and eliminate the `Into` stuff.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/5218).
* #5222
* __->__ #5218
This commit is contained in:
Michael Bolin
2025-10-15 13:00:22 -07:00
committed by GitHub
parent 774892c6d7
commit f38ad65254
3 changed files with 8 additions and 54 deletions

View File

@@ -882,10 +882,7 @@ impl Session {
call_id,
command: command_for_display.clone(),
cwd,
parsed_cmd: parse_command(&command_for_display)
.into_iter()
.map(Into::into)
.collect(),
parsed_cmd: parse_command(&command_for_display),
}),
};
let event = Event {