MCPcopy Create free account
hub / github.com/backnotprop/plannotator / push

Function push

apps/opencode-plugin/cli-bridge.ts:217–222  ·  view source on GitHub ↗
(chunk: string)

Source from the content-addressed store, hash-verified

215
216 return {
217 push(chunk: string) {
218 pending += chunk;
219 const lines = pending.split(/\r?\n/);
220 pending = lines.pop() ?? "";
221 for (const line of lines) forwardLine(line);
222 },
223 flush() {
224 if (!pending) return;
225 forwardLine(pending);

Callers 3

queryMethod · 0.85
runTurnMethod · 0.85
queryMethod · 0.85

Calls 1

forwardLineFunction · 0.85

Tested by

no test coverage detected