Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -8,6 +8,10 @@ struct GitCommitCard: View {
|
|||||||
let commit: GitCommitSummary.Commit
|
let commit: GitCommitSummary.Commit
|
||||||
/// The literal command, revealed under "Show command". Omit to hide the disclosure.
|
/// The literal command, revealed under "Show command". Omit to hide the disclosure.
|
||||||
var rawCommand: String? = nil
|
var rawCommand: String? = nil
|
||||||
|
/// The tool result text (e.g. the hash a trailing `git log --oneline -1` prints), shown
|
||||||
|
/// beneath the card once the command has run. Omit inside an expanded tool card, where the
|
||||||
|
/// result already shows as its own block.
|
||||||
|
var output: String? = nil
|
||||||
|
|
||||||
private var accent: Color { Palette.accent }
|
private var accent: Color { Palette.accent }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user