MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / bufferOutput

Function bufferOutput

projects/runtime-node/src/localPty.ts:43–46  ·  view source on GitHub ↗
(state: ActivePty, data: string)

Source from the content-addressed store, hash-verified

41}
42
43function bufferOutput(state: ActivePty, data: string): void {
44 state.output.push(data)
45 while (state.output.length > MAX_BUFFERED_CHUNKS) state.output.shift()
46}
47
48export function createRuntimeNodeLocalPtyAdapter(): RuntimeNodePtyAdapter {
49 const local: LocalPtyState = {

Callers 1

spawnFunction · 0.70

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected