opencode icon indicating copy to clipboard operation
opencode copied to clipboard

glob: stop ripgrep when results sufficient and ignore heavy dirs

Open ry2009 opened this issue 1 month ago • 0 comments

  • Ripgrep file listing now stops the underlying rg --files process when consumers exit early (e.g., after hitting the 100-result cap), preventing full-tree scans from pegging CPU.
  • Glob tool now ignores common heavy directories by default (node_modules, .venv, .direnv, .cache, dist, build, out, .next, target, coverage, tmp, temp, pycache), reducing work for typical searches.

ry2009 avatar Dec 09 '25 01:12 ry2009