Description
The terminal UI displays background agents/tasks as still running (e.g., "10 background tasks running") even after all agents have completed and their results have been successfully retrieved via read_agent.
Steps to Reproduce
- Launch multiple background agents (e.g., 9 bitsmith agents in parallel)
- Wait for all agents to complete (receive completion notifications)
- Retrieve results from each with
read_agent
- Observe the UI still shows tasks as "running"
Expected Behavior
Once an agent completes and its results are read, it should no longer appear as a running task in the UI.
Actual Behavior
The UI continues to show completed agents as running. list_agents correctly returns no running agents, but the UI indicator doesn't update.
Environment
- Copilot CLI version: 1.0.49
- OS: macOS (Darwin)
- Model: Claude Opus 4.6
Description
The terminal UI displays background agents/tasks as still running (e.g., "10 background tasks running") even after all agents have completed and their results have been successfully retrieved via
read_agent.Steps to Reproduce
read_agentExpected Behavior
Once an agent completes and its results are read, it should no longer appear as a running task in the UI.
Actual Behavior
The UI continues to show completed agents as running.
list_agentscorrectly returns no running agents, but the UI indicator doesn't update.Environment