## Why
Composer thumbnails and transcript tool previews read and decoded files
during rendering. A JPEG whose decoded pixels exceeded the 32 MiB
allocation budget could lose its preview even when the encoded file fit
within the file size limit.
## What changed
- Load visible composer thumbnails and transcript previews on background
workers and request a redraw when the result is ready. Reuse prepared
tool previews when the viewport changes size.
- Share the sidebar's scaled JPEG fallback with composer and transcript
previews. Preserve the oriented source aspect ratio and enforce the
encoded file size limit separately from the decode budget.
- Check that the owning thread has a local workspace before reading an
inspected image. Generated artifacts can still load from the daemon host.
## Testing
Cover large JPEG previews in the composer and transcript, thumbnail
refresh after an attachment is replaced, text fallback for oversized
PNGs, and an inspected path shared by local and remote workspaces.
GitOrigin-RevId: f2c8948a9abaa2527932423224b6ebeda3e122ae