Display Subagent Events
Nucleic-Session: C0D404BC-7C32-4ECC-9F1E-3426BFE53298 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -347,6 +347,12 @@ enum TranscriptProjection {
|
||||
return change.toolCallID.flatMap { parentOf[$0] }
|
||||
case .assistantText(let chunk), .thinking(let chunk):
|
||||
return chunk.parentToolCallID
|
||||
case .note(let note):
|
||||
// A lock/nvrsion note tagged with the edit it brackets inherits that edit's subagent
|
||||
// scope — like a `.toolResult`/`.fileChange` — so a subagent's lock-acquire or
|
||||
// nvrsion-land note nests in its card instead of leaking to the main transcript. An
|
||||
// untagged note (a turn-end release, a user git note) has no owner.
|
||||
return note.toolCallID.flatMap { parentOf[$0] }
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user