mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## What changed - Bind `F8` to start or stop a voice conversation through the existing voice toggle handler, preserving its start guards and the composer draft. - Expose `tui.keymap.chat.toggle_voice` in the configuration schema and keymap picker, with support for remapping, unbinding, and key chords. - Let the default yield to existing `F8` bindings and overlapping chord prefixes, and validate explicit bindings against shortcut conflicts and reserved text input. - Handle the shortcut only on key presses when no modal or popup is active. ## Testing Add tests for default and custom bindings, conflicts, chord dispatch, live remapping and unbinding, draft preservation, start guards, and popup and key-event handling. Add a snapshot for the voice shortcut editor. GitOrigin-RevId: e5e373e8eefa89bec4d5cbdca801616e312134b5