Skip to content

feat(core): add fff-backed search service#22458

Open
nexxeln wants to merge 2 commits intodevfrom
nxl/fff-search-service
Open

feat(core): add fff-backed search service#22458
nexxeln wants to merge 2 commits intodevfrom
nxl/fff-search-service

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented Apr 14, 2026

summary

  • add a runtime-aware Search service that uses fff-bun under Bun and falls back to the existing ripgrep path under Node and desktop
  • route file search, grep, glob, debug commands, routes, and tool wiring through the new service while keeping exhaustive file listing and tree operations on ripgrep
  • wire frecency tracking from first use by recording successful search selections through file reads and update the affected tests

testing

  • bun typecheck
  • bun test test/tool/glob.test.ts test/tool/grep.test.ts test/tool/read.test.ts test/file/index.test.ts test/file/ripgrep.test.ts test/session/prompt-effect.test.ts test/session/snapshot-tool-race.test.ts

@nexxeln nexxeln changed the title feat(search): add fff-backed search service feat(core): add fff-backed search service Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant