From 111a5c624a5a19ae4732b7e599e646718dfe7449 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sat, 13 Jun 2026 22:51:04 -0700 Subject: [PATCH] Log header git actions into the session chat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a `.note` AgentEvent kind — a system-generated log line — and emit one into the open session's transcript whenever a control in the header Git menu is used (merge/squash/rebase outcome, open in Terminal, reveal in Finder, copy branch/worktree path). Renders as a muted note on both macOS and iOS. Co-Authored-By: Claude Opus 4.8 --- NucleicRemote/NucleicRemote/Views/TranscriptRow.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift b/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift index 2d4b5b5..aaac024 100644 --- a/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift +++ b/NucleicRemote/NucleicRemote/Views/TranscriptRow.swift @@ -35,6 +35,9 @@ struct TranscriptRow: View { case .error(let err): Label(err.message, systemImage: "xmark.octagon.fill") .font(.caption).foregroundStyle(.red) + case .note(let note): + Label(note.text, systemImage: note.icon ?? "arrow.triangle.branch") + .font(.caption).foregroundStyle(.secondary) default: EmptyView() }