chore: Add kilocode_change marker

This commit is contained in:
Johnny Amancio
2026-04-17 20:17:57 +02:00
committed by Johnny Eric Amancio
parent 2172616229
commit 8aa490c66e
+2 -2
View File
@@ -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(
{