[READ-ONLY] Mirror of https://github.com/improsocial/impro An extensible Bluesky client for web impro.social

Fix binary response corruption in plugin fetch() master

pluginFetch() always did response.text() before relaying the body to a plugin's worker, which silently corrupts any binary payload (there was no way to fetch one intact). Read raw bytes and base64-encode them for transport instead, regardless of content type - PluginResponse gains an arrayBuffer() accessor alongside the existing text()/json(). Also adds a response size cap (100MB) that didn't exist before. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>


+153 -23
5 changed files