diff --git a/tools/list_files.js b/tools/list_files.js index 5d4f77a..cdb1d4a 100644 --- a/tools/list_files.js +++ b/tools/list_files.js @@ -120,7 +120,7 @@ export async function run(args) { const inputPath = args?.path || ""; const depth = Number.isInteger(args?.depth) ? args.depth : 1; const includeHidden = args?.includeHidden ?? false; - const chrootPath = '/home/seb/src/aiTools/tmp'; + const chrootPath = '/workspaces/aiTools'; if (!chrootPath) { return { err: "Chroot path is required" }; diff --git a/tools/patch_files.js b/tools/patch_files.js index 8497938..8b8b588 100644 --- a/tools/patch_files.js +++ b/tools/patch_files.js @@ -808,7 +808,7 @@ export async function run(args) { open_file, write_file, remove_file, - '/home/seb/src/aiTools/tmp' + '/workspaces/aiTools' ); return result; } catch (error) { diff --git a/tools/read_file.js b/tools/read_file.js index 5fbb7f1..0269633 100644 --- a/tools/read_file.js +++ b/tools/read_file.js @@ -3,7 +3,7 @@ import { createInterface } from "node:readline"; import path from "node:path"; -const virtual_chroot = '/home/seb/src/aiTools/tmp'; +const virtual_chroot = '/workspaces/aiTools'; // Ensures reads are confined to `virtual_chroot`. diff --git a/tools/ripgrep.js b/tools/ripgrep.js index 9fdfd5d..277a618 100644 --- a/tools/ripgrep.js +++ b/tools/ripgrep.js @@ -1,6 +1,6 @@ import { spawnSync } from "node:child_process"; -const virtual_chroot = '/home/seb/src/aiTools/tmp'; +const virtual_chroot = '/workspaces/aiTools'; export default { type: "function", name: "ripgrep", strict: true,