Tool Call Card Alignment
Nucleic-Session: FFDE42E0-22AB-4478-B2E2-FF69B2753CEE Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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 /
|
/// The paths an edit-class tool writes (mirrors `RiskClassifier.editedPaths`). Only Edit /
|
||||||
/// Write / MultiEdit / NotebookEdit carry a lockable path; everything else has none.
|
/// Write / MultiEdit / NotebookEdit carry a lockable path; everything else has none.
|
||||||
private static func editedPaths(toolName: String, input: JSONValue) -> [String] {
|
private static func editedPaths(toolName: String, input: JSONValue) -> [String] {
|
||||||
|
|||||||
Reference in New Issue
Block a user