agent-tui 1.1.0

CLI tool for AI agents to interact with TUI applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! CLI entrypoint for agent-tui.
#![cfg_attr(test, allow(clippy::expect_used))]

use agent_tui::Application;
use anyhow::Result;

#[cfg(not(unix))]
compile_error!(
    "agent-tui is Unix-only. Supported environments are Linux, macOS, and other Unix-like systems with PTYs, Unix domain sockets, and POSIX signals."
);

fn main() -> Result<()> {
    let app = Application::new();
    let exit_code = app.run()?;
    std::process::exit(exit_code);
}