From 00fe85cf64efa23d1b101dc7f873cf65475f8b41 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 19:43:06 -0700 Subject: [PATCH] Tool Call Card Alignment Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic --- .../Views/Transcript/TranscriptProjection.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift index 8682bdf..38e04fc 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift @@ -79,6 +79,13 @@ struct ToolGroup: Equatable { /// Subagent orchestration (`Task`/`Agent`) gets the gold card treatment, like the Mac. var isOrchestration: Bool { name == "Task" || name == "Agent" } var isAskUserQuestion: Bool { name == "AskUserQuestion" } + + /// The literal shell command a `Bash` call ran, if any (nil for every other tool). Used to + /// detect a git-commit pipeline that should read as a structured commit card at the row level, + /// exactly as the Mac promotes it out of the generic tool row. + var bashCommand: String? { + (name == "Bash" || name == "Shell") ? input["command"]?.stringValue : nil + } } enum TranscriptProjection {