summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/shellCommandProcessor.ts
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-05-18 00:04:32 -0700
committerN. Taylor Mullen <[email protected]>2025-05-18 00:10:56 -0700
commita0eb8e67c7786f5dbd49ce79e43ae4f039d080b5 (patch)
treefa2e1ba8280db330b2b980edb73ea77fcaa309dd /packages/cli/src/ui/hooks/shellCommandProcessor.ts
parentf0b9199a772d23f8c9375c8cd627da345bc205ae (diff)
fix(glob): Improve glob tool accuracy and output
This commit enhances the glob tool by: - Ensuring that glob patterns are used effectively. Previously, simple file names without glob syntax (e.g., "file.ts") would only search the root directory. This change encourages more precise glob patterns (e.g., "**\/file.ts") for broader searches. - Returning absolute file paths instead of relative paths. This provides clearer, less ambiguous output and avoids encouraging the use of relative paths in subsequent operations. - Adding comprehensive tests for various globbing scenarios, including case sensitivity and path specifications. These changes address an issue where the glob tool could not find an expected item when a specific path was provided without appropriate glob syntax, and improve the overall reliability and usability of the tool. Fixes https://b.corp.google.com/issues/418486553
Diffstat (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.ts')
0 files changed, 0 insertions, 0 deletions