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 Buffer type error in getBlob response for strict TypeScript compilation

The Hono c.body() method doesn't accept Node.js Buffer directly in
strict mode — wrap with ArrayBuffer slice for compatibility.

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

+1 -1
+1 -1
src/sync.ts
··· 261 261 } 262 262 263 263 c.header("Content-Type", row.mime_type ?? "application/octet-stream"); 264 - return c.body(bytes); 264 + return c.body(bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength)); 265 265 }); 266 266 267 267 app.get("/xrpc/com.atproto.sync.listBlobs", (c) => {