mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
## Why Slash-command completion only suggested positional arguments, leaving users to recall named flags and their accepted values. ## What changed Suggest flags for `/model`, `/permissions`, `/title`, `/statusline`, and `/mcp login` using the same flag definitions as command parsing. Tab completes known values in both `--name=value` and `--name value` forms. For example, `/model --speed=f` completes to `/model --speed=flex`. Named completion also works in multiline drafts and filters out flags already present in the command. ## Testing Add composer tests for both value forms, multiline completion, duplicate flags, and quoted arguments, plus a snapshot of the `/model` flag popup. GitOrigin-RevId: f874f67c4601012252775e811ddf496dbc6c4817