(value: AgentTaskCompletionCandidate)
| 16 | * but only terminal task states should count as completed so resumed descendants stay visible. |
| 17 | */ |
| 18 | export function hasCompletedAgentReport(value: AgentTaskCompletionCandidate): boolean { |
| 19 | return ( |
| 20 | value.taskStatus === "reported" || |
| 21 | (value.taskStatus === "interrupted" && Boolean(value.reportedAt)) |
| 22 | ); |
| 23 | } |
no outgoing calls
no test coverage detected