fix(fs-search): make glob sampling an explicit choice

This commit is contained in:
Tianyi Cui
2026-07-30 21:14:03 +08:00
parent 21e8af2b3a
commit 6777e4fab9
17 changed files with 140 additions and 67 deletions
@@ -64,7 +64,7 @@ describe.skipIf(!hasRg)('search tools over the real bash executor + real rg', ()
await ctx.plugin(ToolRegistry)
await ctx.plugin(LocalSubprocessService)
await ctx.plugin(LocalBashExecutor, { cwd: dir, timeoutMs: 20_000 })
await ctx.plugin(ToolFsSearch)
await ctx.plugin(ToolFsSearch, { sampleOverCapGlobResults: true })
})
afterEach(async () => {