highlight active subagents

This commit is contained in:
Ian Gulliver
2026-10-17 08:21:11 -07:00
parent 53699cc579
commit b43cffab6d
13 changed files with 374 additions and 235 deletions
+2 -1
View File
@@ -57,7 +57,7 @@ export function currentSession(taskId) {
return state.sessions.get(taskId)?.findLast((s) => s.state !== "completed") ?? state.sessions.get(taskId)?.at(-1);
}
const workingTitles = {
running: "The agent is mid-turn",
running: "The agent is mid-turn or its subagents are running",
review_pending: "A review of the turn's work is about to start",
reviewing: "A review is running",
discarding: "Discarding",
@@ -438,6 +438,7 @@ export function handleEvent(ev) {
break;
case "session.created":
case "session.state":
case "session.subagents":
case "session.model":
if (ev.owner) {
void loadLeadSessions();