Commit Graph

2 Commits

Author SHA1 Message Date
lorenzejay
ec2b6a0287 feat: enhance GrepTool with regex length limit, path restrictions, and brace expansion support
- Added MAX_REGEX_LENGTH to limit regex pattern length and prevent ReDoS.
- Introduced allow_unrestricted_paths option to enable searching outside the current working directory.
- Implemented brace expansion for glob patterns to support multiple file types.
- Enhanced error handling for path traversal and regex compilation.
- Updated tests to cover new features and ensure robustness.
2026-02-11 20:44:46 -08:00
lorenzejay
f04bedc9ab moved to tools 2026-02-04 11:50:43 -08:00