diff options
| author | Adam Malczewski <[email protected]> | 2026-06-10 16:01:33 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-10 16:01:33 +0900 |
| commit | bf862168f0fd7b10d02ae04a9d82f7c37b9d85e5 (patch) | |
| tree | 073048a5775c605d8c28862d0f8c83e63327a17e /bun.lock | |
| parent | 9e7554cde98f45df30dad1f9d356b6954138685b (diff) | |
| download | dispatch-bf862168f0fd7b10d02ae04a9d82f7c37b9d85e5.tar.gz dispatch-bf862168f0fd7b10d02ae04a9d82f7c37b9d85e5.zip | |
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.
Diffstat (limited to 'bun.lock')
| -rw-r--r-- | bun.lock | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -55,7 +55,10 @@ "@dispatch/surface-loaded-extensions": "workspace:*", "@dispatch/surface-registry": "workspace:*", "@dispatch/throughput-store": "workspace:*", + "@dispatch/tool-edit-file": "workspace:*", "@dispatch/tool-read-file": "workspace:*", + "@dispatch/tool-shell": "workspace:*", + "@dispatch/tool-write-file": "workspace:*", "@dispatch/transport-http": "workspace:*", "@dispatch/transport-ws": "workspace:*", }, @@ -130,6 +133,13 @@ "@dispatch/kernel": "workspace:*", }, }, + "packages/tool-edit-file": { + "name": "@dispatch/tool-edit-file", + "version": "0.0.0", + "dependencies": { + "@dispatch/kernel": "workspace:*", + }, + }, "packages/tool-read-file": { "name": "@dispatch/tool-read-file", "version": "0.0.0", @@ -137,6 +147,20 @@ "@dispatch/kernel": "workspace:*", }, }, + "packages/tool-shell": { + "name": "@dispatch/tool-shell", + "version": "0.0.0", + "dependencies": { + "@dispatch/kernel": "workspace:*", + }, + }, + "packages/tool-write-file": { + "name": "@dispatch/tool-write-file", + "version": "0.0.0", + "dependencies": { + "@dispatch/kernel": "workspace:*", + }, + }, "packages/trace-replay": { "name": "@dispatch/trace-replay", "version": "0.0.0", @@ -236,8 +260,14 @@ "@dispatch/throughput-store": ["@dispatch/throughput-store@workspace:packages/throughput-store"], + "@dispatch/tool-edit-file": ["@dispatch/tool-edit-file@workspace:packages/tool-edit-file"], + "@dispatch/tool-read-file": ["@dispatch/tool-read-file@workspace:packages/tool-read-file"], + "@dispatch/tool-shell": ["@dispatch/tool-shell@workspace:packages/tool-shell"], + + "@dispatch/tool-write-file": ["@dispatch/tool-write-file@workspace:packages/tool-write-file"], + "@dispatch/trace-replay": ["@dispatch/trace-replay@workspace:packages/trace-replay"], "@dispatch/trace-store": ["@dispatch/trace-store@workspace:packages/trace-store"], |
