perspt-tui¶
Ratatui-based terminal user interface with two application modes.
Applications¶
Type |
Description |
|---|---|
|
Interactive chat with markdown rendering and response streaming |
|
Agent dashboard with DAG tree, energy display, and review modal |
Widgets¶
Widget |
Description |
|---|---|
|
Main agent dashboard layout with panels |
|
DAG visualization showing node states and energy |
|
Grouped diff viewer with approve/reject/correct controls |
|
Unified diff display with syntax highlighting |
|
LLM call log browser with filtering |
|
Color scheme and styling |
Entry Points¶
pub fn run_chat_tui(...) -> Result<()>;
pub fn run_agent_tui_with_orchestrator(...) -> Result<()>;
pub fn run_logs_viewer(...) -> Result<()>;
pub fn init_terminal() -> Result<TuiTerminal>;
pub fn restore_terminal(terminal: TuiTerminal) -> Result<()>;
Channels¶
pub fn create_app_event_channel() -> (AppEventSender, AppEventReceiver);
pub fn create_telemetry_channel() -> (TelemetrySender, TelemetryReceiver);