diff options
| -rw-r--r-- | packages/opencode/src/tool/grep.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/tool/grep.ts b/packages/opencode/src/tool/grep.ts index 097dedf4a..6cb70d022 100644 --- a/packages/opencode/src/tool/grep.ts +++ b/packages/opencode/src/tool/grep.ts @@ -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() |
