- Limit background session inclusion to active statuses (generating and awaiting_input) - Remove sessions from local state when SSE updates deliver complete or error terminal statuses - Update useBackgroundSessions tests to assert terminal sessions are filtered out and removed on SSE updates - Adjust session count expectations to reflect active-only tracking
9.5 KiB
9.5 KiB