saya-cli 0.3.2

Database-aware AI agent for the terminal: full-screen TUI, schema discovery, and bounded read-only SQL over PostgreSQL, MySQL, SQLite, DuckDB, and Snowflake.
1
2
3
4
5
6
7
8
use super::{Rendered, sanitize_terminal};

pub(super) fn text(text: &str) -> Rendered {
    Rendered {
        stdout: sanitize_terminal(text),
        stderr: String::new(),
    }
}