From 8aa490c66e64c5bd6a87cfb11daff5f38d5c8f05 Mon Sep 17 00:00:00 2001 From: Johnny Amancio Date: Fri, 17 Apr 2026 18:16:17 +0200 Subject: [PATCH] chore: Add kilocode_change marker --- packages/opencode/src/tool/bash.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opencode/src/tool/bash.ts b/packages/opencode/src/tool/bash.ts index 853b74df362..273e326e1f7 100644 --- a/packages/opencode/src/tool/bash.ts +++ b/packages/opencode/src/tool/bash.ts @@ -280,7 +280,7 @@ async function parse(command: string, ps: boolean) { return tree.rootNode } -async function ask(ctx: Tool.Context, scan: Scan, command: string) { +async function ask(ctx: Tool.Context, scan: Scan, command: string) { // kilocode_change if (scan.dirs.size > 0) { const globs = Array.from(scan.dirs).map((dir) => { if (process.platform === "win32") return Filesystem.normalizePathPattern(path.join(dir, "*")) @@ -479,7 +479,7 @@ export const BashTool = Tool.define("bash", async () => { const root = await parse(params.command, ps) const scan = await collect(root, cwd, ps, shell) if (!Instance.containsPath(cwd)) scan.dirs.add(cwd) - await ask(ctx, scan, params.command) + await ask(ctx, scan, params.command) // kilocode_change return run( {