Skip to content

Commit 78d3d6d

Browse files
IgorTavcarclaude
andcommitted
fix(tui): restore agent name in task progress display (anomalyco#15946)
Cherry-picked from upstream PR anomalyco#15946. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 271382b commit 78d3d6d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/opencode/src/cli/cmd/tui/routes/session

packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,10 @@ function Task(props: ToolProps<typeof TaskTool>) {
19741974

19751975
const content = createMemo(() => {
19761976
if (!props.input.description) return ""
1977-
let content = [`Task ${props.input.description}`]
1977+
const agentPrefix = props.input.subagent_type
1978+
? `${Locale.titlecase(props.input.subagent_type)}: `
1979+
: ""
1980+
let content = [`${agentPrefix}Task ${props.input.description}`]
19781981

19791982
if (isRunning() && tools().length > 0) {
19801983
// content[0] += ` · ${tools().length} toolcalls`

0 commit comments

Comments
 (0)