From f8cc917babe2077ff4f616394730e8dbc009c5c6 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 19:44:00 -0700 Subject: [PATCH] Tool Call Card Alignment Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic --- .../NucleicRemote/Views/TranscriptRow.swift | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 {