Transcript Incremental Projection

Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 18:27:09 -07:00
co-authored by Nucleic
parent 2f084a7d18
commit 564ec62715
@@ -302,7 +302,7 @@ enum TranscriptProjection {
/// Split a scope's events into the main agent's own (`topLevel`) and each subagent's, keyed by /// Split a scope's events into the main agent's own (`topLevel`) and each subagent's, keyed by
/// the spawning `Task`'s id. /// the spawning `Task`'s id.
private static func partition(_ events: [AgentEvent]) private static func partition(_ events: ArraySlice<AgentEvent>)
-> (topLevel: [AgentEvent], byParent: [String: [AgentEvent]]) -> (topLevel: [AgentEvent], byParent: [String: [AgentEvent]])
{ {
let parentOf = toolParentMap(events) let parentOf = toolParentMap(events)