Bug Report
cc @pelikhan @ashleywolf
Description
The agent passes --type tsx to ripgrep, but tsx is not a recognized ripgrep file type. Ripgrep's built-in ts type already covers both .ts and .tsx files.
Error
rg: unrecognized file type: tsx
Expected Behavior
When searching TypeScript/TSX files, the agent should use --type ts (which matches .ts and .tsx) or use --glob '*.tsx' instead of --type tsx.
Suggested Fix
Map tsx to either:
--type ts (ripgrep built-in, covers .ts and .tsx)
--glob '*.tsx' if only .tsx files are desired
You can verify with:
rg --type-list | grep ts
# Output: ts: *.ts, *.tsx
Environment
- OS: macOS (Darwin/ARM64)
- Copilot CLI version: 0.0.414
Bug Report
cc @pelikhan @ashleywolf
Description
The agent passes
--type tsxto ripgrep, buttsxis not a recognized ripgrep file type. Ripgrep's built-intstype already covers both.tsand.tsxfiles.Error
Expected Behavior
When searching TypeScript/TSX files, the agent should use
--type ts(which matches.tsand.tsx) or use--glob '*.tsx'instead of--type tsx.Suggested Fix
Map
tsxto either:--type ts(ripgrep built-in, covers.tsand.tsx)--glob '*.tsx'if only.tsxfiles are desiredYou can verify with:
Environment