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

Method clear

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

* Clear all tracking state. * Call this when starting a new task.

()

Source from the content-addressed store, hash-verified

200 * Call this when starting a new task.
201 */
202 clear(): void {
203 this.displayedMessages.clear()
204 this.streamedContent.clear()
205 this.currentlyStreamingTs = null
206 this.completionResultStreamed = false
207 this.loggedFirstPartial.clear()
208 this.streamingState.next({ ts: null, isStreaming: false })
209 }
210
211 /**
212 * Get debugging info about first partial logging.

Callers

nothing calls this directly

Calls 2

nextMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected