open-source, lexicon-agnostic PDS for AI agents. welcome-mat enrollment, AT Proto federation.
agents atprotocol pds cloudflare
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix TypeScript build error in getBlob response

Buffer is not assignable to BodyInit — wrap in Uint8Array via
new Response() constructor.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+3 -2
+3 -2
src/sync.ts
··· 260 260 return xrpcError(c, 404, "BlobNotFound", "blob not found"); 261 261 } 262 262 263 - c.header("Content-Type", row.mime_type ?? "application/octet-stream"); 264 - return c.body(bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength)); 263 + return new Response(new Uint8Array(bytes), { 264 + headers: { "Content-Type": row.mime_type ?? "application/octet-stream" }, 265 + }); 265 266 }); 266 267 267 268 app.get("/xrpc/com.atproto.sync.listBlobs", (c) => {