MCPcopy Create free account
hub / github.com/google/agents-cli / step

Function step

docs/src/javascripts/lifecycle.js:188–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 status.textContent = "auto · playing";
187 let i = 0;
188 function step() {
189 if (i >= TRANSCRIPT_TURNS.length) {
190 status.textContent = "auto · done";
191 replayBtn.style.display = "";
192 return;
193 }
194 const node = turnNode(TRANSCRIPT_TURNS[i]);
195 node.classList.add("lc-fade-in");
196 body.appendChild(node);
197 body.scrollTop = body.scrollHeight;
198 i += 1;
199 setTimeout(step, i === 1 ? 600 : 1100);
200 }
201 setTimeout(step, 400);
202 }
203

Callers

nothing calls this directly

Calls 1

turnNodeFunction · 0.85

Tested by

no test coverage detected