fix(frontend): expose completed result state

This commit is contained in:
2026-07-19 19:27:38 -03:00
parent f804605b38
commit 5527ed66fa

View File

@@ -116,7 +116,12 @@ export function App() {
{needsSignIn ? <p className="hint">The page is public, but platform auth is required for account trial calls and durable history.</p> : null}
</form>
<section className="result-card" data-testid="agent-result" aria-live="polite">
<section
className="result-card"
data-testid="agent-result"
data-state={running ? "loading" : error ? "error" : result ? "success" : "idle"}
aria-live="polite"
>
{!result ? (
<div className="empty-state">
<p className="eyebrow">Awaiting run</p>