v1.40.1
fix(ws): list agents that worktree layouts start, even while their shell wrapper shows
Some running agents were missing from the AGENTS section of dg ws, even though
their Claude Code process was alive and the pane was marked as an agent.
- A coder started as
<coder>; exec <shell>(how worktree layouts launch them)
shows the wrapper shell as its current command for its whole life. The agent
check read that as "the coder exited, only a prompt is left" and hid the pane.
tmux's own fields cannot tell that wrapper from a real leftover prompt, so the
scan now asks whether the pane's process still has a child. A child means the
coder is running and the pane is listed; none means it stays hidden. - The extra check is one
pscall per scan, and only when a pane in that state
exists. ADR-0055 records the change and why it bends ADR-0024.
Full Changelog: v1.40.0...v1.40.1