MCPcopy Create free account
hub / github.com/garrytan/gstack / CappedRead

Interface CappedRead

browse/src/browser-skill-commands.ts:300–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected