mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Teach the TUI to advertise and resolve `request_permission_preset` server requests. The picker now opens with the requested mode preselected and keeps the original thread and call context through inactive-thread replay, confirmation popups, and app-server responses. This keeps the new preset flow opt-in and backwards compatible while keeping the review surface local to the TUI. Existing approval UI stays in place, and the added tests plus snapshot cover the new picker behavior.