Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.71 ·

Embedded Search Tools (bfs/ugrep)

Entry
JSON All of v2.1.71
EntryKind: in v2.1.71,
ChangesSection of the release
What

When enabled, Claude Code shadows the system find and grep commands with faster embedded alternatives — bfs (breadth-first search) and ugrep — providing significantly improved search performance in the shell.

Details
  • find is shadowed with bfs (breadth-first file search), configured with -regextype findutils-default for compatibility
  • grep is shadowed with ugrep, configured with --ignore-files, --hidden, -I (skip binary), and automatic exclusion of .git, .svn, .hg, .bzr directories
  • Controlled by the EMBEDDED_SEARCH_TOOLS environment variable
  • Only active when not running via SDK entrypoints (sdk-ts, sdk-py, sdk-cli)
  • Shell aliases for find and grep are unaliased first to avoid conflicts
  • A tip in the system prompt mentions: "When using find -regex with alternation, put the longest alternative first"
Evidence

Shell shadowing setup (search for "unalias find 2>/dev/null") — e6Y at line ~245057. Feature gate (search for "EMBEDDED_SEARCH_TOOLS")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.71 →

Feedback