You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude Code - show agent running instead of idle if shells are still running #276
Thanks for the screenshot. It made the gap obvious. Shipped in v2.20.0.
A pane whose Claude Code has background shells running now reads Background · 2 shells instead of Idle. It keeps a running dot, and each shell gets a line under the pane with its description. The per-session lines in a multi-pane workspace (your pandora rows) show the same thing.
How it works: Claude Code has no hook for a background shell finishing. It reports one by handing a <task-notification> to its next turn, and that fires UserPromptSubmit, even mid-turn. wmux reads the task id from the PostToolUse that started the shell (run_in_background or Ctrl+B) and from that notification when it ends. TaskStop and the session ending also clear it. Everything comes through hooks with no process polling, so it should also work for your setup if Claude runs under WSL or in a container (your cwd looked like one).
Anything that says Claude itself is working still wins: a tool in progress, Running…, Needs you. The "Background" status only replaces Idle.
Activity
feat(sidebar): background shells keep a pane from reading Idle (#276)
amirlehmam commentedon Oct 12, 2026
Thanks for the screenshot. It made the gap obvious. Shipped in v2.20.0.
A pane whose Claude Code has background shells running now reads Background · 2 shells instead of Idle. It keeps a running dot, and each shell gets a line under the pane with its description. The per-session lines in a multi-pane workspace (your
pandorarows) show the same thing.How it works: Claude Code has no hook for a background shell finishing. It reports one by handing a
<task-notification>to its next turn, and that firesUserPromptSubmit, even mid-turn. wmux reads the task id from thePostToolUsethat started the shell (run_in_backgroundor Ctrl+B) and from that notification when it ends.TaskStopand the session ending also clear it. Everything comes through hooks with no process polling, so it should also work for your setup if Claude runs under WSL or in a container (your cwd looked like one).Anything that says Claude itself is working still wins: a tool in progress, Running…, Needs you. The "Background" status only replaces Idle.
brauchle commentedon Oct 14, 2026
works super nicely, thanks @amirlehmam !!