mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
- Introduced `globWithRipgrep` function to perform file globbing using the `rg` (ripgrep) command. - Updated `globFiles` to prioritize ripgrep-based globbing and fall back to doublestar-based globbing if ripgrep fails. - Added logic to handle ripgrep command execution, output parsing, and filtering of hidden files. - Ensured results are sorted by path length and limited to the specified maximum number of matches. - Modified imports to include `os/exec` and `bytes` for ripgrep integration. |
||
|---|---|---|
| .. | ||
| agent | ||
| models | ||
| prompt | ||
| provider | ||
| tools | ||