Tool Call Card Alignment

Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 19:37:45 -07:00
co-authored by Nucleic
parent 2cdb1f48de
commit d17cbffe5e
@@ -180,14 +180,6 @@ enum TranscriptProjection {
}
}
/// The `NoteEvent`-carrying source event for a `.note` item, recovered so its structured `lock`
/// detail is reachable (the projected `.note` kind keeps only text/icon/lockEvent).
private static func noteEvent(_ item: TranscriptItem) -> AgentEvent? {
// `.note` items retain the note's fields directly; rebuild a matching NoteEvent isn't
// possible from the projected kind, so the fold reads the lock off the note kind below.
return nil
}
/// The paths an edit-class tool writes (mirrors `RiskClassifier.editedPaths`). Only Edit /
/// Write / MultiEdit / NotebookEdit carry a lockable path; everything else has none.
private static func editedPaths(toolName: String, input: JSONValue) -> [String] {