MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / outputLine

Method outputLine

apps/cli/src/agent/json-event-emitter.ts:834–836  ·  view source on GitHub ↗

* Output a single JSON line (NDJSON format).

(data: unknown)

Source from the content-addressed store, hash-verified

832 * Output a single JSON line (NDJSON format).
833 */
834 private outputLine(data: unknown): void {
835 this.writeToStdout(JSON.stringify(data) + "\n")
836 }
837
838 /**
839 * Output the final accumulated result (for "json" mode).

Callers 1

emitEventMethod · 0.95

Calls 1

writeToStdoutMethod · 0.95

Tested by

no test coverage detected