- {/* Keep terminal tabs mounted so output streams across worktree switches. */}
{renderTerminalLayer({
state: terms,
onFocusPrompt: focusCtl.focus,
onFocusChange: focusCtl.report,
})}
- {/* Session-less context (e.g. a worktree mid-provisioning): the
- empty state lives in the main pane so the side terminal
- panel can render next to it. */}
{
- {/* One inspector host for all right-side modes. It stays
- mounted while a side terminal is alive — hidden via
- .am-side-host-hidden (absolute + opacity), never
- unmounted, so xterm render loops keep streaming. */}
-