Transcript Incremental Projection
Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -83,6 +83,10 @@ final class HostConnection {
|
|||||||
/// Backfilled history for the open session (the full-transcript fetch). Merged into the
|
/// 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.
|
/// transcript by seq, not appended — these events precede the tail already on screen.
|
||||||
var openBackfill: (EventBatch) -> Void = { _ in }
|
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.
|
/// The open session's full diff arrived.
|
||||||
var openDiff: (WireSessionDiff) -> Void = { _ in }
|
var openDiff: (WireSessionDiff) -> Void = { _ in }
|
||||||
/// An approval was requested (with the resolved session title) — post the notification and,
|
/// An approval was requested (with the resolved session title) — post the notification and,
|
||||||
|
|||||||
Reference in New Issue
Block a user