nvrsion: Add, Fix, Refactor, Update Sections, macOS 26 references, HTML handling, Chat: Sidebar Shade Adjustment to SettingsView, MCPApprovalServer, MacVM components, Project, SessionController, documentation, Chat: Add Section to HTML with footer margin/padding, Chat: Display Subagent Events.

Nucleic-Promote: 1
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-07 22:54:42 -07:00
co-authored by Nucleic
parent ebed9a8b28
commit dae732b64e
2 changed files with 13 additions and 0 deletions
@@ -174,6 +174,13 @@ final class IncrementalTranscriptProjection {
case .toolCallInputDelta(let d): return [d.toolCallID] case .toolCallInputDelta(let d): return [d.toolCallID]
case .toolResult(let r): return [r.toolCallID] case .toolResult(let r): return [r.toolCallID]
case .fileChange(let f): return f.toolCallID.map { [$0] } ?? [] case .fileChange(let f): return f.toolCallID.map { [$0] } ?? []
case .note(let note):
// A note tagged with the edit it brackets (a subagent's lock-acquire / nvrsion-land)
// is now part of that edit's scope: chain it to the edit's id so a seal seam can't
// separate them. If the edit was already sealed (a rare late note after its scope
// closed), the tail reference to a sealed id trips the self-healing reset — a whole
// re-fold that necessarily matches `build`. Untagged notes chain to nothing, as before.
return note.toolCallID.map { [$0] } ?? []
default: return [] default: return []
} }
} }
@@ -347,6 +347,12 @@ enum TranscriptProjection {
return change.toolCallID.flatMap { parentOf[$0] } return change.toolCallID.flatMap { parentOf[$0] }
case .assistantText(let chunk), .thinking(let chunk): case .assistantText(let chunk), .thinking(let chunk):
return chunk.parentToolCallID 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: default:
return nil return nil
} }