Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user