Expand description
TUI display server — terminal multiplexer over RPC.
Provides session persistence, multi-pane layouts, remote access, and MCP-controllable display surfaces.
§Architecture
App (ratatui) ──→ TuiPaneBackend ──→ TuiPane (cell buffer)
│
Frame loop (33ms) ─────────┘
│
┌─────────────┼─────────────┐
▼ ▼ ▼
ANSI viewer capnp viewer structured viewer
(terminal) (WebTransport) (StructuredBackend)Re-exports§
pub use state::CursorShape;pub use state::CursorState;pub use state::IngestionMode;pub use state::LayoutNode;pub use state::PaneBuffer;pub use state::ScrollOp;pub use state::TuiEvent;pub use state::TuiPane;pub use state::TuiSession;pub use state::TuiState;pub use state::TuiWindow;
Modules§
- backend
- TuiPaneBackend — native ratatui Backend writing directly to TuiPane.
- diff
- Diff engine for TUI frame encoding.
- ninep
- Plan 9-style virtual filesystem over TuiState.
- process
- PaneProcess — connects byte-producing processes to multiplexer panes.
- rpc_
transport - RPC-backed StreamSpawner and ToolCaller for ChatApp inference.
- service
- TuiService — ZMQ RPC service for the TUI multiplexer.
- shell_
client - RPC helpers for the ShellClient TUI.
- state
- Core types for the TUI display server state.
- vfs
- VFS namespace construction for TUI-spawned ChatApps.
- vte_
parser - VTE parser for ANSI pane ingestion.
- wt_
viewer - WebTransport utilities for TUI viewers.