Build a terminal UI for navigating and interacting with the agent graph.
Features
- Visual tree/DAG display of conversation branches
- Vim-style navigation (j/k/h/l for siblings/parent/child)
- Compose new messages at current position
- See node status (idle/running/done/error)
- Toggle ops detail view (tool calls, timing)
- Fork/join operations via keyboard shortcuts
Implementation
- Use brick or similar TUI library
- State: current position, view mode, input buffer
- Render: breadcrumb path, current node, children/siblings
- Handle: navigation keys, compose mode, commands
See
- Omni/Agent/Graph/DESIGN.md (TUI section)
- Existing REPL in Omni/Agent/Graph.hs (starting point)