diff options
| author | Adam Malczewski <[email protected]> | 2026-06-05 01:14:29 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-05 01:14:29 +0900 |
| commit | 64e9688cc27ceea6eba442d156868d82d7aafb75 (patch) | |
| tree | 412b00ae47a98d3f1e46a953798122c750e8abde /bun.lock | |
| parent | 7fca88f2ef9cf6eb9c8679844419241a12dd670f (diff) | |
| download | dispatch-64e9688cc27ceea6eba442d156868d82d7aafb75.tar.gz dispatch-64e9688cc27ceea6eba442d156868d82d7aafb75.zip | |
feat(tool-read-file): add read_file tool extension + wire into host-bin
First TOOL extension (standard tier, fs capability). Pure-core/shell split with
workdir containment (realpath symlink guard). host-bin registers it in
CORE_EXTENSIONS; flows into runTurn via session-orchestrator's resolveTools.
Verified: typecheck clean, 214 tests pass (was 185), biome clean. Live curl
against flash produced a real tool-call + tool-result round-trip with correct
final answer. Proves the kernel tool-dispatch loop end-to-end (plan ยง3.3).
Diffstat (limited to 'bun.lock')
| -rw-r--r-- | bun.lock | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -35,6 +35,7 @@ "@dispatch/provider-openai-compat": "workspace:*", "@dispatch/session-orchestrator": "workspace:*", "@dispatch/storage-sqlite": "workspace:*", + "@dispatch/tool-read-file": "workspace:*", "@dispatch/transport-http": "workspace:*", }, }, @@ -64,6 +65,13 @@ "@dispatch/kernel": "workspace:*", }, }, + "packages/tool-read-file": { + "name": "@dispatch/tool-read-file", + "version": "0.0.0", + "dependencies": { + "@dispatch/kernel": "workspace:*", + }, + }, "packages/transport-http": { "name": "@dispatch/transport-http", "version": "0.0.0", @@ -107,6 +115,8 @@ "@dispatch/storage-sqlite": ["@dispatch/storage-sqlite@workspace:packages/storage-sqlite"], + "@dispatch/tool-read-file": ["@dispatch/tool-read-file@workspace:packages/tool-read-file"], + "@dispatch/transport-http": ["@dispatch/transport-http@workspace:packages/transport-http"], "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg=="], |
