Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -34,7 +34,10 @@ struct TranscriptItem: Identifiable, Equatable {
|
|||||||
case approval(toolName: String)
|
case approval(toolName: String)
|
||||||
case runFinished(outcome: RunFinished.Outcome)
|
case runFinished(outcome: RunFinished.Outcome)
|
||||||
case error(message: String)
|
case error(message: String)
|
||||||
case note(text: String, icon: String?, lockEvent: Bool)
|
/// A passthrough note. `lock` carries the structured lock detail when this is a file-lock
|
||||||
|
/// lifecycle moment, so the projection can fold it onto the edit card it brackets; `nil`
|
||||||
|
/// for every non-lock note (and lock notes with no paths).
|
||||||
|
case note(text: String, icon: String?, lockEvent: Bool, lock: NoteLock? = nil)
|
||||||
case raw(type: String, body: String)
|
case raw(type: String, body: String)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user