Skip to content

v1.40.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 17:14
· 5 commits to main since this release

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 ps call 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