mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why Computer Use helpers only need the thread and turn IDs to clean up after a turn. The legacy `notify` payload also includes user messages and the assistant's last message. ## What changed Send recognized macOS and Windows Computer Use helpers a `turn-ended` payload containing only the event type, `thread-id`, and `turn-id`. Codex unwraps saved `--previous-notify` chains and launches the user's notifier directly with its original arguments and the full legacy payload, without waiting for cleanup to finish. ## Testing Add tests for helper recognition, payload contents, and malformed notifier chains. A Unix process test checks that the saved notifier receives its payload while cleanup is still running. GitOrigin-RevId: 1d5cea10b1c92e1828a23bb9eaeb8c008baa86c5