(theme: RunFooterTheme, status: FooterSubagentTab["status"])
| 11 | export const SUBAGENT_INSPECTOR_ROWS = 14 |
| 12 | |
| 13 | function statusColor(theme: RunFooterTheme, status: FooterSubagentTab["status"]) { |
| 14 | if (status === "completed") { |
| 15 | return theme.highlight |
| 16 | } |
| 17 | |
| 18 | if (status === "cancelled") { |
| 19 | return theme.muted |
| 20 | } |
| 21 | |
| 22 | if (status === "error") { |
| 23 | return theme.error |
| 24 | } |
| 25 | |
| 26 | return theme.highlight |
| 27 | } |
| 28 | |
| 29 | function statusIcon(status: FooterSubagentTab["status"]) { |
| 30 | if (status === "completed") { |
no outgoing calls
no test coverage detected