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

Method output

apps/cli/src/agent/output-manager.ts:146–150  ·  view source on GitHub ↗

* Output a simple text line with a label.

(label: string, text?: string)

Source from the content-addressed store, hash-verified

144 * Output a simple text line with a label.
145 */
146 output(label: string, text?: string): void {
147 if (this.disabled) return
148 const message = text ? `${label} ${text}\n` : `${label}\n`
149 this.stdout.write(message)
150 }
151
152 /**
153 * Output an error message.

Callers 15

outputTextMessageMethod · 0.95
handleUnknownAskMethod · 0.80
handleCommandApprovalMethod · 0.80
handleToolApprovalMethod · 0.80
handleMcpApprovalMethod · 0.80
handleApiFailedRetryMethod · 0.80

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected