Reading images, spreadsheets and binaries from a project now downloads the actual file instead of returning nothing.
What's wrong with this entry?
project_read now retrieves images, spreadsheets and binary uploads instead of returning empty content, writing the original bytes to a local file and returning that path.
- previously non-document attachment types came back with no content
- downloads are capped at 20 MiB per session
- one retry when the downloaded byte length disagrees with the reported size
- verifies the server returned the file that was requested, and that the id is UUID-shaped
- filename is sanitized and the file is written with mode 0600
- gated on
allow_projects_tooland requires a project bound to the session
project_read: server returned a different file.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.242
Read tool returns PDF pages as structured entries with per-page errors
Both mention read tool