MCPcopy Create free account
hub / github.com/Noumena-Network/code / VerboseAgentTranscript

Function VerboseAgentTranscript

src/tools/AgentTool/UI.tsx:247–299  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

245 verbose: boolean;
246};
247function VerboseAgentTranscript(t0) {
248 const $ = _c(15);
249 const {
250 progressMessages,
251 tools,
252 verbose
253 } = t0;
254 let t1;
255 if ($[0] !== progressMessages) {
256 t1 = buildSubagentLookups(progressMessages.filter(_temp2).map(_temp3));
257 $[0] = progressMessages;
258 $[1] = t1;
259 } else {
260 t1 = $[1];
261 }
262 const {
263 lookups: agentLookups,
264 inProgressToolUseIDs
265 } = t1;
266 let t2;
267 if ($[2] !== agentLookups || $[3] !== inProgressToolUseIDs || $[4] !== progressMessages || $[5] !== tools || $[6] !== verbose) {
268 const filteredMessages = progressMessages.filter(_temp4);
269 let t3;
270 if ($[8] !== agentLookups || $[9] !== inProgressToolUseIDs || $[10] !== tools || $[11] !== verbose) {
271 t3 = progressMessage => <MessageResponse key={progressMessage.uuid} height={1}><MessageComponent message={progressMessage.data.message} lookups={agentLookups} addMargin={false} tools={tools} commands={[]} verbose={verbose} inProgressToolUseIDs={inProgressToolUseIDs} progressMessagesForMessage={[]} shouldAnimate={false} shouldShowDot={false} isTranscriptMode={false} isStatic={true} /></MessageResponse>;
272 $[8] = agentLookups;
273 $[9] = inProgressToolUseIDs;
274 $[10] = tools;
275 $[11] = verbose;
276 $[12] = t3;
277 } else {
278 t3 = $[12];
279 }
280 t2 = filteredMessages.map(t3);
281 $[2] = agentLookups;
282 $[3] = inProgressToolUseIDs;
283 $[4] = progressMessages;
284 $[5] = tools;
285 $[6] = verbose;
286 $[7] = t2;
287 } else {
288 t2 = $[7];
289 }
290 let t3;
291 if ($[13] !== t2) {
292 t3 = <>{t2}</>;
293 $[13] = t2;
294 $[14] = t3;
295 } else {
296 t3 = $[14];
297 }
298 return t3;
299}
300function _temp4(pm_1) {
301 if (!hasProgressMessage(pm_1.data)) {
302 return false;

Callers

nothing calls this directly

Calls 1

buildSubagentLookupsFunction · 0.85

Tested by

no test coverage detected