An agent finishing shouldn't silently change active window

This has happened multiple times now.

  • I set an agent to do something (usually building a plan)
  • I start typing in the dialogue box of another agent
  • The first agent finishes
  • And that forcefully transforms the window into that finished agent, while I’m mid-typing
    Most of the time this is annoying, but worst case scenario that could mean me sending a partial command to a wrong agent

Hey, thanks for the report. This is a known bug, it’s focus stealing when one of the parallel agents finishes. We’ve already fixed some cases bit by bit (plans, terminal, worktrees), but the specific case where one agent finishes and steals focus from another agent’s input is still happening. I can’t share an ETA for the fix.

If you run into other focus-related cases (for example, focus jumps during streaming), please post them in this thread or file a separate report. It helps us separate the different cases.