(event)
| 141 | } |
| 142 | |
| 143 | function isToolEvent(event) { |
| 144 | const type = typeof event?.type === "string" ? event.type : ""; |
| 145 | return Boolean( |
| 146 | extractToolName(event) || |
| 147 | type.includes("tool"), |
| 148 | ); |
| 149 | } |
| 150 | |
| 151 | function isFailureEvent(event) { |
| 152 | const type = typeof event?.type === "string" ? event.type : ""; |
no test coverage detected