(a: FooterSubagentTab | undefined, b: FooterSubagentTab | undefined)
| 72 | } |
| 73 | |
| 74 | export function sameSubagentTab(a: FooterSubagentTab | undefined, b: FooterSubagentTab | undefined) { |
| 75 | if (!a || !b) { |
| 76 | return false |
| 77 | } |
| 78 | |
| 79 | return ( |
| 80 | a.sessionID === b.sessionID && |
| 81 | a.partID === b.partID && |
| 82 | a.callID === b.callID && |
| 83 | a.label === b.label && |
| 84 | a.description === b.description && |
| 85 | a.status === b.status && |
| 86 | a.background === b.background && |
| 87 | a.title === b.title && |
| 88 | a.toolCalls === b.toolCalls && |
| 89 | a.lastUpdatedAt === b.lastUpdatedAt |
| 90 | ) |
| 91 | } |
| 92 | |
| 93 | function sameQueue<T extends { id: string }>(left: T[], right: T[]) { |
| 94 | return ( |
no outgoing calls
no test coverage detected