(t0)
| 359 | type: 'task_status'; |
| 360 | }>; |
| 361 | function TaskStatusMessage(t0) { |
| 362 | const $ = _c(4); |
| 363 | const { |
| 364 | attachment |
| 365 | } = t0; |
| 366 | if (false && attachment.status === "killed") { |
| 367 | return null; |
| 368 | } |
| 369 | if (isAgentSwarmsEnabled() && attachment.taskType === "in_process_teammate") { |
| 370 | let t1; |
| 371 | if ($[0] !== attachment) { |
| 372 | t1 = <TeammateTaskStatus attachment={attachment} />; |
| 373 | $[0] = attachment; |
| 374 | $[1] = t1; |
| 375 | } else { |
| 376 | t1 = $[1]; |
| 377 | } |
| 378 | return t1; |
| 379 | } |
| 380 | let t1; |
| 381 | if ($[2] !== attachment) { |
| 382 | t1 = <GenericTaskStatus attachment={attachment} />; |
| 383 | $[2] = attachment; |
| 384 | $[3] = t1; |
| 385 | } else { |
| 386 | t1 = $[3]; |
| 387 | } |
| 388 | return t1; |
| 389 | } |
| 390 | function GenericTaskStatus(t0) { |
| 391 | const $ = _c(9); |
| 392 | const { |
nothing calls this directly
no test coverage detected