MCPcopy Index your code
hub / github.com/codeaashu/claude-code / flush

Function flush

src/utils/toolResultStorage.ts:606–609  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

604 let current: ToolResultCandidate[] = []
605
606 const flush = () => {
607 if (current.length > 0) groups.push(current)
608 current = []
609 }
610
611 // Track all assistant message.ids seen so far — same-ID fragments are
612 // merged by normalizeMessagesForAPI (messages.ts ~2126 walks back PAST

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected