From e0543bcbbd0990d2b0986773e20ca353337db6f7 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 19:37:15 -0700 Subject: [PATCH] Tool Call Card Alignment Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic --- .../Views/Transcript/TranscriptProjection.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift index bef2636..f3c5c46 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift @@ -34,7 +34,10 @@ struct TranscriptItem: Identifiable, Equatable { case approval(toolName: String) case runFinished(outcome: RunFinished.Outcome) 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) }