fix(tui): detect backgrounded subagents
This commit is contained in:
@@ -2282,7 +2282,7 @@ function Subagent(props: ToolProps) {
|
|||||||
{formatSubagentTitle(
|
{formatSubagentTitle(
|
||||||
Locale.titlecase(stringValue(props.input.agent) ?? stringValue(props.input.subagent_type) ?? "General"),
|
Locale.titlecase(stringValue(props.input.agent) ?? stringValue(props.input.subagent_type) ?? "General"),
|
||||||
description() ?? "Subagent",
|
description() ?? "Subagent",
|
||||||
props.metadata.background === true,
|
props.input.background === true || props.metadata.status === "running",
|
||||||
)}
|
)}
|
||||||
</InlineTool>
|
</InlineTool>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user