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

Function flushGroup

src/tools/AgentTool/UI.tsx:115–127  ·  view source on GitHub ↗
(isActive: boolean)

Source from the content-addressed store, hash-verified

113 startUuid: string;
114 } | null = null;
115 function flushGroup(isActive: boolean): void {
116 if (currentGroup && (currentGroup.searchCount > 0 || currentGroup.readCount > 0 || currentGroup.replCount > 0)) {
117 result.push({
118 type: 'summary',
119 searchCount: currentGroup.searchCount,
120 readCount: currentGroup.readCount,
121 replCount: currentGroup.replCount,
122 uuid: `summary-${currentGroup.startUuid}`,
123 isActive
124 });
125 }
126 currentGroup = null;
127 }
128 const agentMessages = messages.filter((m): m is ProgressMessage<AgentToolProgress> => hasProgressMessage(m.data));
129
130 // Build tool_use lookup incrementally as we iterate

Callers 1

processProgressMessagesFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected