mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
* fix(remote-files): open HTML, PDFs and images too large for one reply on a paired runtime files.read stops at 512 KiB and files.readPreview at about 3 MB (one 4 MiB reply, after base64), so larger files on a paired runtime failed to open. Read them in chunks with the files.stat and files.readChunk methods hosts already have, and refuse a save the host's 1 MiB frame cap would answer by closing the connection. Fixes #29306 Fixes #26062 Co-authored-by: sotashimozono <shimozono-sota631@g.ecc.u-tokyo.ac.jp> * fix(remote-files): keep a UTF-8 BOM when paging a large remote text file * fix(remote-files): pin a paged read to one pairing and compare ctime * fix(remote-files): pin the pairing before a remote read's first request --------- Co-authored-by: sotashimozono <shimozono-sota631@g.ecc.u-tokyo.ac.jp>