MCPcopy
hub / github.com/anomalyco/opencode / FetchDecompressionError

Interface FetchDecompressionError

packages/opencode/src/session/message-v2.ts:40–44  ·  view source on GitHub ↗

Error shape thrown by Bun's fetch() when gzip/br decompression fails mid-stream

Source from the content-addressed store, hash-verified

38
39/** Error shape thrown by Bun's fetch() when gzip/br decompression fails mid-stream */
40interface FetchDecompressionError extends Error {
41 code: "ZlibError"
42 errno: number
43 path: string
44}
45
46export const SYNTHETIC_ATTACHMENT_PROMPT = "Attached media from tool result:"
47export { isMedia }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected