mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
chore: Add kilocode_change marker
This commit is contained in:
committed by
Johnny Eric Amancio
parent
2172616229
commit
8aa490c66e
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user