Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -79,6 +79,13 @@ struct ToolGroup: Equatable {
|
|||||||
/// Subagent orchestration (`Task`/`Agent`) gets the gold card treatment, like the Mac.
|
/// Subagent orchestration (`Task`/`Agent`) gets the gold card treatment, like the Mac.
|
||||||
var isOrchestration: Bool { name == "Task" || name == "Agent" }
|
var isOrchestration: Bool { name == "Task" || name == "Agent" }
|
||||||
var isAskUserQuestion: Bool { name == "AskUserQuestion" }
|
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 {
|
enum TranscriptProjection {
|
||||||
|
|||||||
Reference in New Issue
Block a user