tweak: add ctx.abort to grep tool

This commit is contained in:
Aiden Cline
2026-01-28 18:46:53 -06:00
parent 0c8de47f7d
commit 4d2696e027

View File

@@ -54,6 +54,7 @@ export const GrepTool = Tool.define("grep", {
const proc = Bun.spawn([rgPath, ...args], {
stdout: "pipe",
stderr: "pipe",
signal: ctx.abort,
})
const output = await new Response(proc.stdout).text()