- A tab on a persistent terminal reattaches when its connection drops
(retrying while the tunnel comes back, "[Session ended]" only when the
workspace says it is gone, or the project stopped); closing a tab ends it.
- usePersistentTerminals: once per AWS connection (project id + endpoint)
the terminals this app opened that still run are reopened as tabs, in
order, without taking focus; a reopened tab attaches only after its
listeners are up, so its replayed history and tmux's first draw land.
- Project Home -> Sessions lists the workspace's terminals (open here,
detached, attached elsewhere, opened elsewhere) with Reattach and End.
- The one-time "no tmux in this image" notice is a toast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>