feat(fs): add a minimal read_image tool over the attachment and fs seams
The model reads a PNG/JPEG/WebP/GIF file, the bytes commit through the durable attachment lifecycle, and the tool result carries the real ImageBlock so the image enters context from the next request onward. FileSystem gains a bounded readBytes primitive (local + E2B providers); registration is conditional on the attachment store, and a strict execution gate refuses routes that do not declare image input, so a text route's durable history stays free of image blocks. llm-replay models may declare inputModalities, letting keyless ACP snapshots pin both the sha256-referenced success and the verbatim refusal. Supersedes the withdrawn route-scoped design of PR #598; the decision record is .agents/notes/implemented/feature/2026-08-10-minimal-read-image-tool.md.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/tool-catalog.md
|
||||
tool-catalog.md: 58267e208d919e7fa817991207a44ac0864fa00e
|
||||
tool-catalog.zh.md: 1eda3506644bae6da56895c366a56b566536ed62
|
||||
tool-catalog.md: af8167569e2ac4cc24f0d80c8c0c8a1d09f2237a
|
||||
tool-catalog.zh.md: 053a0e1e4a0db0563f5fb0e1b34b735fdb9832ad
|
||||
|
||||
Reference in New Issue
Block a user