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:11 -07:00
co-authored by Nucleic
parent 564ec62715
commit 40b9e6dfa4
@@ -321,7 +321,7 @@ enum TranscriptProjection {
/// Maps each tool-call id to its parent subagent's id, built from the call start/complete /// Maps each tool-call id to its parent subagent's id, built from the call start/complete
/// events. A tool *result* or *file change* names only a tool id, so it inherits its subagent /// events. A tool *result* or *file change* names only a tool id, so it inherits its subagent
/// scope from the call it belongs to via this map. /// scope from the call it belongs to via this map.
private static func toolParentMap(_ events: [AgentEvent]) -> [String: String] { private static func toolParentMap(_ events: ArraySlice<AgentEvent>) -> [String: String] {
var map: [String: String] = [:] var map: [String: String] = [:]
for event in events { for event in events {
switch event.kind { switch event.kind {