Quick Fix: reopen after a restart only when its own rebuild caused it
The chat reopened on every shell start while a stale "unseen" result was left over. Now the helper checks the job's unit for a running rebuild (zcli, nixos-rebuild, nh, home-manager) and only then reopens; other restarts keep following a running job quietly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f35dbee430
commit
94530d3bd3
4 files changed
+84
-11
No files matched your search
@@ -15,9 +15,11 @@ session and weekly windows counts), then a local model if one is running.
|
||||
|
||||
- Each request runs in its own systemd user unit
|
||||
(`glassmxrph-quickfix-<id>`), so a rebuild that restarts the shell does not
|
||||
stop it. When the shell starts and a job is running, or its result has not
|
||||
been seen, the chat opens again by itself (without taking the keyboard
|
||||
until you point at it) and shows how it went.
|
||||
stop it. When the job's own rebuild (`zcli`, `nixos-rebuild`, `nh`,
|
||||
`home-manager`) restarts the shell, the chat opens again by itself (without
|
||||
taking the keyboard until you point at it) and shows how it went. Other
|
||||
restarts leave it closed; a job still running is followed and announced
|
||||
when it finishes.
|
||||
- Closing the chat and opening it again starts fresh. Earlier conversations
|
||||
are under History; opening one continues it. A follow-up resumes the same
|
||||
agent session.
|
||||
|
||||
Reference in new issue
Block a user