feat: multi-agent progress tracking with per-subagent display

Track each subagent separately via agentId from SDK task events.
Single subagent shows detailed view with activity sub-lines,
multiple subagents show compact one-line-each format.
This commit is contained in:
Eyejoker
2026-03-23 19:46:08 +09:00
parent 8c98ad9faf
commit 21a6be84b4
3 changed files with 147 additions and 31 deletions

View File

@@ -42,6 +42,9 @@ export interface AgentOutput {
status: 'success' | 'error';
result: string | null;
phase?: 'progress' | 'final' | 'tool-activity' | 'intermediate';
agentId?: string;
agentLabel?: string;
agentDone?: boolean;
newSessionId?: string;
error?: string;
}