/** * Codex lifecycle-end sentinel — the `notify` program registered in the * per-spawn synth `config.toml` (`notify = [, ]`). * * Codex spawns this program after EVERY completed turn with a single JSON * argv payload (`hooks/src/legacy_notify.rs`): * * {"type":"agent-turn-complete","thread-id":"…","turn-id":"…","cwd":"…", * "input-messages":["…"],"last-assistant-message":"…"} * * It does NOT fire on Esc-interrupt (the rollout gets `turn_aborted` * instead), so completion vs. interrupt needs no re-arm machinery beyond * appending per turn — `CodexHarness.isComplete()` reads the last line. * * Contract (see the `codex-harness` capability): * - Env-gated on `PI_TMUX_END_FILE`: without it, exit without writing — * inert outside tmux-pilot launches. * - Fail-silent: codex nulls the notify program's stdout/stderr and never * waits for it; nothing here may throw or block. * - Appends one hermes-style `{completed: true, …}` JSON line per turn. */ export {}; //# sourceMappingURL=codex-end-signal.d.ts.map