diff options
| author | DeWitt Clinton <[email protected]> | 2025-05-21 12:22:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-21 12:22:18 -0700 |
| commit | 01c28df8b2bcdb34d5a4ee5f330bbb8d1df0b334 (patch) | |
| tree | 299bee70aa5f1575dbb408a6be08595b65c68baf /packages/cli/src/ui/hooks/shellCommandProcessor.ts | |
| parent | e1a64b41e854182991cac265ba3c0335e500918c (diff) | |
Add globbing support to @-command file suggestions and resolution. (#462)
Implements recursive glob-based file search for both suggestions and execution of the `@` command.
- When typing `@filename`, suggestions will now include files matching `filename` in nested directories.
- Suggestions are sorted by path depth (shallowest first), then directories before files, then alphabetically.
- The maximum recursion depth for suggestions is set to 10.
- When executing an `@filename` command, if the file is not found directly, a recursive search (using the glob tool) is performed to locate the file.
This addresses the first request in issue #461 by allowing users to quickly reference deeply nested files without typing the full path. Also addresses b/416292478.
Diffstat (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.ts')
0 files changed, 0 insertions, 0 deletions
