fix(tui): detect backgrounded subagents

This commit is contained in:
Dax Raad 2026-07-06 17:15:03 -04:00
parent 9c2842b9b0
commit f044def957

View file

@ -2282,7 +2282,7 @@ function Subagent(props: ToolProps) {
{formatSubagentTitle(
Locale.titlecase(stringValue(props.input.agent) ?? stringValue(props.input.subagent_type) ?? "General"),
description() ?? "Subagent",
props.metadata.background === true,
props.input.background === true || props.metadata.status === "running",
)}
</InlineTool>
)