Tool Call Card Alignment

Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 19:43:06 -07:00
co-authored by Nucleic
parent b4481e10be
commit 00fe85cf64
@@ -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 {