Files
codex/codex-rs/shell-command
Eric Traut ad0ab3d832 Fix fd search summaries in the terminal UI (#64235)
## Why

Depth values in commands like `fd -Hd 1 . repro/scripts` can be
mistaken for search queries, obscuring the actual pattern and directory
in the exploration summary.

## What changed

Skip values for supported `fd` options, including depth options and
grouped short options that take a separate value. Preserve positional
arguments after `--` so patterns that start with a dash are recognized.

## Testing

Add parser cases for depth options, grouped flags, and dash-prefixed
patterns. Extend the exec history test to check that an `fd` command
with depth, type, and extension filters displays `Search . in scripts`.

GitOrigin-RevId: d6e2ab4f0cdb35b0715ef3484ff97856268c9437
2026-11-27 01:03:55 +00:00
..