Files
kandev/apps
jcfs 36e169d52f feat(shell): auto-respawn shell session on unexpected exit
When the shell process exits unexpectedly (e.g., user types 'exit' or shell
crashes), automatically respawn it after a 100ms delay. This ensures the
shell is always available for agents.

Only Stop() (called during agentctl shutdown) will permanently terminate
the shell - normal exits trigger respawn.

Changes:
- Add 'stopping' flag to distinguish Stop() from unexpected exit
- Store config for respawn with same settings
- Add respawn() method to restart shell with PTY
- waitForExit() now respawns unless stopping=true
2026-01-16 12:13:53 +00:00
..
2026-01-14 03:09:59 +00:00
2026-01-16 01:59:00 +00:00