diff --git a/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift b/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift index d15743d..6e6a2f4 100644 --- a/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift +++ b/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift @@ -15,11 +15,17 @@ struct TranscriptRow: View { case .thinking(let text): ThinkingRow(text: text) case .tool(let group): - // A lone subagent spawn reads as its own gold subagent card (type, task, status, and - // its nested activity on expand); a host_exec call reads as a structured host card - // (purpose + command + breakdown); every other tool is a plain collapsible card. + // A completed AskUserQuestion reads as a pretty "You answered" Q&A card; a git-commit + // pipeline as a structured commit card; a host_exec call as a host card (purpose + + // command + breakdown); a lone subagent spawn as its own gold subagent card; every + // other tool — and an as-yet-unanswered question — is a plain collapsible card. Mirrors + // the Mac's `toolRow` routing so each family reads the same on both platforms. if group.isOrchestration { SubagentCard(group: group) + } else if let card = answeredQuestionCard(group) { + card + } else if let card = gitCommitRowCard(group) { + card } else if group.isHostExec { HostExecToolCard(group: group) } else {