/* Section: Agentic AI highlight + looping agent log terminal */ const { useState: uS3, useEffect: uE3, useRef: uR3 } = React; function AgentTerminal({ log }) { const [n, setN] = uS3(0); // how many lines shown uE3(() => { let i = 0; let timer = 0; const step = () => { i += 1; if (i > log.length) { // pause on full log, then reset for the loop timer = setTimeout(() => { i = 0; setN(0); timer = setTimeout(step, 700); }, 2600); return; } setN(i); timer = setTimeout(step, 900); }; timer = setTimeout(step, 600); return () => clearTimeout(timer); }, [log]); return (
agent-session.log
{log.slice(0, n).map((l, i) => (
{l.who} {l.text} {l.ok && }
))}
{n >= log.length ? "session complete" : "›"}
); } function Agentic() { const A = window.SITE.agentic; return (
{A.eyebrow}
{A.badge}

{A.lead}

{A.capabilities.map((c, i) => (
{String(i + 1).padStart(2, "0")}
{c.title}
{c.text}
))}
{A.tools.map((t, i) => (
{t.name} {t.note}
))}

); } Object.assign(window, { Agentic });