From b21d11790393e821b5ae267d6c5cfcdfd6418759 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 19:38:15 -0700 Subject: [PATCH] Tool Call Card Alignment Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic --- .../NucleicRemote/Views/Transcript/ToolGroupRow.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift b/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift index ae953e6..753b654 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift @@ -17,6 +17,15 @@ struct ToolCallCard: View { Button { expanded.toggle() } label: { header } .buttonStyle(.plain) .hoverEffect(.highlight) + // Folded lock-lifecycle lines read as part of the edit card (always visible, not gated + // by expand), so the lock brackets its edit rather than sorting after it — as on the Mac. + if !group.lockLines.isEmpty { + VStack(alignment: .leading, spacing: 2) { + ForEach(Array(group.lockLines.enumerated()), id: \.offset) { _, lock in + LockLineRow(lock: lock) + } + } + } if expanded { details } } if inGroup {