Application Layer (Electron) Host OS Layer INPUT RENDER WRITE READ STDIN STDOUT/ERR User UI (Webview) IPC Bridge Persistence (Tmux Socket) OS Shell (Bash/Zsh) Frontend interface. Receives keystrokes, renders xterm.js terminal output. Cross-process boundary. Routes data between the isolated UI and the Node.js backend. Headless multiplexer. Keeps session alive even if the UI crashes or closes. The actual running process. Executes commands and generates output.