The /tasks view only shows a static output preview for background agents. While a subagent is running, the user cannot see what it is currently doing; the output only appears once the task completes or errors.
We fixed this in our fork by wiring the subagent's AgentEvent stream into the background task output buffer via formatAgentEvent(), so live turn starts, tool calls, results, and errors are appended as they happen.
Commit with the fix: thecannabisapp@003420b9
If the maintainers want to merge this, the key change is in packages/agent-core/src/agent/background/agent-task.ts.
The
/tasksview only shows a static output preview for background agents. While a subagent is running, the user cannot see what it is currently doing; the output only appears once the task completes or errors.We fixed this in our fork by wiring the subagent's
AgentEventstream into the background task output buffer viaformatAgentEvent(), so live turn starts, tool calls, results, and errors are appended as they happen.Commit with the fix: thecannabisapp@003420b9
If the maintainers want to merge this, the key change is in
packages/agent-core/src/agent/background/agent-task.ts.