Files
oh-my-pi/packages
Diogo Soares Rodrigues 01be80b9ea fix(cursor): honor download_path on MCP resource reads
`ReadMcpResourceExecArgs.download_path` means "write the resource to
this workspace-relative path and return no model content". The handler
I added forwarded only server and uri, so a download reported success
while creating no file and leaving `ReadMcpResourceSuccess.download_path`
unset - the model was pointed at a path that did not exist.

The path now reaches the handler, the bridge writes the bytes (decoding
a base64 blob, or the joined text) under the session cwd, and the
answer carries the path with the content oneof deliberately unset: a
host that also has the payload on hand must not have it forwarded, or
the download mode puts it right back in context.

(cherry picked from commit f0a6784533201f412529fb0ae5a6542531012197)
2026-07-30 01:42:29 +02:00
..
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-27 16:43:53 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-28 14:10:19 +02:00