Returns `true` if this event represents a sub-agent (Task) tool use. Sub-agent tool uses are special because they may warrant their own sub-turn recording.
(&self)
| 414 | /// Sub-agent tool uses are special because they may warrant their own |
| 415 | /// sub-turn recording. |
| 416 | pub fn is_sub_agent(&self) -> bool { |
| 417 | self.tool_name.as_deref() == Some("Task") |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | impl fmt::Display for TurnEvent { |
nothing calls this directly
no outgoing calls
no test coverage detected