diff options
| author | Aiden Cline <[email protected]> | 2026-01-28 18:46:53 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2026-01-28 20:06:36 -0600 |
| commit | 4d2696e027eff93ae15e8780fea8e3727e2f9e5c (patch) | |
| tree | 852522a417b6504d39ea0374be8bd332888bac10 | |
| parent | 0c8de47f7d8ec04400c45d491c45807b6ddacb4a (diff) | |
| download | opencode-4d2696e027eff93ae15e8780fea8e3727e2f9e5c.tar.gz opencode-4d2696e027eff93ae15e8780fea8e3727e2f9e5c.zip | |
tweak: add ctx.abort to grep tool
| -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() |
