mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
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.
support/ — development and test infrastructure
English | 中文
These packages support repository development, tests, and examples rather than product APIs. Their compatibility follows the development need they serve.
| Package | Role |
|---|---|
acp-snapshot/ |
Provides the ACP snapshot-test toolkit |
agent-loop-testkit/ |
Mounts shared prerequisites for AgentLoop tests |
invariants/ |
Runs development-time runtime-contract assertions |
loader-smoke/ |
Launches Loader-composed applications for smoke tests |
llm-mock-server/ |
Provides a deterministic OpenAI-compatible fault server |
llm-replay/ |
Replays recorded model responses for keyless tests and demos |
A package moves out of support/ when it gains a product contract and product consumers.
The invariants contract is documented in docs/subsystems/invariants.md.