[BUG] Status bar: background agents indicator moved before permission mode text

Resolved 💬 2 comments Opened Mar 21, 2026 by ai-is-here Closed Apr 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Since a recent update (noticed around v2.1.80-2.1.81), the "currently running background agents" indicator in the status bar now appears before the "bypass permissions on" text.
Previously the order was:
[bypass permissions on] [running background agents|bash|shell etc...]

Now it's:
[running background agents...] [bypass permissions on]

<img width="798" height="392" alt="Image" src="https://github.com/user-attachments/assets/31892f02-7777-4de1-b4d3-9d694a256f5a" />

What Should Happen?

[bypass permissions on] [running background agents|bash|shell etc...]

Error Messages/Logs

Steps to Reproduce

Open claude code in bypass permissions or switch to any other non empty mode and ask it "start a subagent in bg that will wait 10s" or ask it for a command to trigger background thing.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

recent change, probably connected to change from bash to shell and agents to "local agents"

Claude Code Version

2.1.81

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗