aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/browser-gates.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-28 15:29:37 -0400
committerCraig Jennings <c@cjennings.net>2026-06-28 15:29:37 -0400
commitb74b47a71d71cf7cebc038ba0b68defde09359e3 (patch)
treec2f34d857477aa7c7f0b5fe9fd16535feccbd054 /scripts/theme-studio/browser-gates.js
parent6387ed8579dbf1167c3ec20b1175ed931e4281d4 (diff)
downloaddotemacs-b74b47a71d71cf7cebc038ba0b68defde09359e3.tar.gz
dotemacs-b74b47a71d71cf7cebc038ba0b68defde09359e3.zip
fix(ai-term): keep agent buffers alive through the kill-all sweep
F1 (cj/dashboard-only) kills every other buffer, burying only those on the undead list. Agent buffers were never registered, so the sweep killed live agents and detached their sessions. Agent buffers are a dynamic family ("agent [<project>]") that an exact-name list can't pre-enumerate, so undead-buffers gains a regexp list (cj/undead-buffer-regexps) and a centralized cj/--buffer-undead-p predicate. Both kill paths route through it. ai-term registers the "agent [" pattern, so every agent -- current or future, however created -- is buried rather than killed.
Diffstat (limited to 'scripts/theme-studio/browser-gates.js')
0 files changed, 0 insertions, 0 deletions