| 298 | } |
| 299 | |
| 300 | interface CappedRead { text: string; truncated: boolean; } |
| 301 | |
| 302 | async function readCapped(stream: ReadableStream<Uint8Array> | undefined, capBytes: number): Promise<CappedRead> { |
| 303 | if (!stream) return { text: '', truncated: false }; |
nothing calls this directly
no outgoing calls
no test coverage detected