Official TUI
The official FlowLayer terminal client is flowlayer-client-tui.
It connects to a running FlowLayer server session to observe runtime state and send runtime commands.
The server remains the source of truth for orchestration state, logs, and lifecycle.
Connection
flowlayer-client-tui supports two connection modes:
- Explicit flags:
flowlayer-client-tui -addr 127.0.0.1:6999 -token dev-token
- Config-driven mode with
-config <path>:- reads
session.addr - reads
session.token
- reads
Server and client config fields are different:
- server listens on
session.bind - TUI connects using
session.addr
See Server and TUI Modes.
Session lifecycle over /ws
For each connection:
- TUI opens WebSocket on
/wswithAuthorization: Bearer <token>. - Server sends
hello. - Server sends
snapshot. - TUI keeps consuming live events (
service_status,log). - TUI can send runtime commands on the same socket.
Lifecycle details are specified in WebSocket Lifecycle and Events.
Confirmed capabilities
- Navigate services from the services panel.
- View logs in the logs panel.
- Start, stop, or restart a selected service (
start_service,stop_service,restart_service). - Start all or stop all services from the all-logs context (
start_all,stop_all).
Related command contracts are documented in Actions and Logs.
Limits and boundaries
- Not a source of truth for service state.
- Not an orchestrator.
- Not durable log storage.
- Depends on a running FlowLayer server session.
The TUI keeps local UI state only; runtime truth comes from server protocol messages.