fix(frontend): show complete model activity from phase one

This commit is contained in:
User
2026-07-14 23:06:07 +02:00
parent f0f6c3c223
commit f58b1d84ae
5 changed files with 279 additions and 112 deletions
+2
View File
@@ -107,6 +107,7 @@ export function AppShell() {
// working spinner shows straight away; the backend calls run after.
setPanelSession(null);
resetSession();
recordLifecycle("Resuming session");
setAwaitingQuestion(false);
// Optimistic: the resume POST is about to hand the ball to the harness.
setAgentActive(true);
@@ -211,6 +212,7 @@ export function AppShell() {
// leave the spinner on forever.
const pendingWidget = useSessionStore((s) => s.pendingWidget);
const resetSession = useSessionStore((s) => s.resetSession);
const recordLifecycle = useSessionStore((s) => s.recordLifecycle);
const setPhase = useSessionStore((s) => s.setPhase);
const setAgentActive = useSessionStore((s) => s.setAgentActive);
const lastSystemEvent = useSessionStore((s) => s.lastSystemEvent);