diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 0753185..8365fbd 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -83,6 +83,10 @@ final class HostConnection { /// Backfilled history for the open session (the full-transcript fetch). Merged into the /// transcript by seq, not appended — these events precede the tail already on screen. var openBackfill: (EventBatch) -> Void = { _ in } + /// A background transcript prefetch finished — everything it fetched (empty when the + /// host had nothing / the fetch died with the connection). RemoteStore merges it into + /// the offline cache and starts the next queued prefetch either way. + var transcriptPrefetched: (SessionID, [AgentEvent]) -> Void = { _, _ in } /// The open session's full diff arrived. var openDiff: (WireSessionDiff) -> Void = { _ in } /// An approval was requested (with the resolved session title) — post the notification and,