aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-21 20:19:14 -0400
committerCraig Jennings <c@cjennings.net>2026-05-21 20:38:05 -0400
commit7ca51e588a30b259246ceee7c855c8fe64772a1d (patch)
tree1a1086288b2e729db80260d175f8c9970d38056a /Makefile
parent7a42b8573674ab394ecd8e81b544055c91fc0d45 (diff)
downloaddotemacs-7ca51e588a30b259246ceee7c855c8fe64772a1d.tar.gz
dotemacs-7ca51e588a30b259246ceee7c855c8fe64772a1d.zip
feat(ai-vterm): add graceful agent close on M-f9 / C-S-f9
cj/ai-vterm-close tears an agent down cleanly: it kills the agent's tmux session (stopping the process), removes the vterm window when it isn't the only one in the frame, then kills the buffer. It targets the current agent buffer, the sole live agent, or prompts among several, and confirms before killing since that interrupts work in progress. I also folded the whole F9 family onto ai-vterm. M-f9 used to run cj/toggle-gptel, but gptel is broken right now (the local fork doesn't load, so gptel-make-anthropic is void), and grouping every ai-vterm command under F9 reads better anyway. M-f9 is the primary close binding. C-S-f9 is a second binding that the Wayland/PGTK layer may swallow on some machines. I covered it with 7 tests over the tmux-kill helper, the per-buffer teardown, and target selection, mocking process-file and the prompt at the boundary.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions