v1.39.0
feat(ws): close agents with dd, scroll with the wheel, and fix ctrl+h/j/k/l in the dashboard
In dg ws, ctrl+h/j/k/l never reached the dashboard: tmux moved panes
instead, so you couldn't jump between the spaces and agents sections (only
ctrl+shift worked, by accident). This release fixes that, fills in the parts of
the agents-section design that were missing, and stops dg configure from
deploying an older build's configs.
- Fix the tmux pass-through for the dashboard. The check for
devgeta wssat in
a secondif-shellnested inside the Vim check, and tmux strips escapes once
more in a nested command, so its pattern reachedgrepbroken and never
matched. Both checks now share oneif-shell "$is_vim || $is_dgws". d don an agent row closes that agent's pane only, with the same two-press
confirm as every otherd. Other panes in the window (an editor next to the
coder) stay open; it never deletes a worktree or kills a session itself.- The mouse wheel scrolls whatever is under the pointer: over a section it moves
that section's cursor and stops at its ends, over the diff it scrolls three
lines a notch. - While filtering, the text each row matched on is highlighted in both sections.
dg configureno longer deploys stale configs from a local build. The
unpacked config folder was named by version and commit only, which every
build of one commit with uncommitted changes shares, so a later build reused
an earlier build's hooks and templates. The name now includes a fingerprint
of the embedded configs, so any change unpacks fresh.
Behavior changes: plain ctrl+h/j/k/l now move within the dashboard and hand
off to the next tmux pane at its edges. d in the agents section now arms a
close instead of doing nothing.
Migration: after upgrading, run dg configure tmux --force to load the fixed
bindings (it reloads tmux when run inside it).
Full Changelog: v1.38.1...v1.39.0