swactor/crates/runtime-dashboard/examples/remote_tui.rs
Zachery Aaron Shores-Chmielewski e538f06f70 feat: tui, agent interface, stats hook
Runtime dashboard now features a TUI option and an interface for LLM tool use. Removed some bloat from stats collecting and replaced with a hook funciton to dump runtime stats into.
2026-02-11 22:20:33 +07:00

13 lines
412 B
Rust

use runtime_dashboard::tui::types::RuntimeEndpoint;
use runtime_dashboard::tui::{TuiConfig, start_tui_remote};
fn main() -> std::io::Result<()> {
let url = std::env::args()
.nth(1)
.unwrap_or_else(|| "http://localhost:9090".into());
let endpoint = RuntimeEndpoint::from_url(&url);
eprintln!("Connecting to {} ...", endpoint);
start_tui_remote(endpoint, TuiConfig::default())
}