(&self)
| 281 | |
| 282 | impl Hooks { |
| 283 | fn should_handoff_codex_stop(&self) -> bool { |
| 284 | // Codex stop handoff drops stdout, so `--json` must stay in-process. |
| 285 | !self.foreground && !self.json && self.agent_name == "codex" && self.verb == "stop" |
| 286 | } |
| 287 | |
| 288 | fn handoff_codex_stop(&self, input: &[u8]) -> CliResult<()> { |
| 289 | let exe = std::env::current_exe().map_err(|e| { |