From bf862168f0fd7b10d02ae04a9d82f7c37b9d85e5 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Wed, 10 Jun 2026 16:01:33 +0900 Subject: feat(tools): add run_shell, edit_file, write_file + read_file directory listing Four standard-tier tool extensions (one tool per extension, zero ABI change): - tool-read-file: read_file now lists directory contents (sorted, /-suffixed subdirs) - tool-shell: run_shell (foreground, streamed, cancellable, cwd, timeout + output cap) - tool-edit-file: edit_file (oldString/newString/replaceAll; errors on absent/non-unique) - tool-write-file: write_file (explicit overwrite flag) Registered in host-bin CORE_EXTENSIONS. Live boot clean (shell capability accepted). 686 vitest + 89 bun = 775 tests; tsc -b EXIT 0; biome clean. --- tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index 68d373c..5c8d6b5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,9 @@ { "path": "./packages/session-orchestrator" }, { "path": "./packages/transport-http" }, { "path": "./packages/tool-read-file" }, + { "path": "./packages/tool-shell" }, + { "path": "./packages/tool-edit-file" }, + { "path": "./packages/tool-write-file" }, { "path": "./packages/cli" }, { "path": "./packages/journal-sink" }, { "path": "./packages/trace-store" }, -- cgit v1.2.3