mod agent;
mod app;
mod chart;
mod cli;
mod commands;
mod config;
mod connection;
#[allow(dead_code)] mod contracts;
mod interactive;
mod render;
mod runtime_profile;
mod slash;
mod stream_render;
#[cfg(test)]
mod privacy_tests;
mod profile_identity;
mod prompt_approval;
mod state_path;
use clap::Parser;
pub use app::run;
pub use cli::{
ClaimKindArg, Cli, Command, ConfigCommand, ConnectionCommand, ContractsCommand,
ForgetReasonArg, FormatArg, GlobalOptions, ReviewDecisionArg,
};
pub use commands::{capture_output_start, capture_output_take, run_contracts};
pub use config::runtime::{RuntimeConfig, approval_name, load_with_sources};
pub use interactive::session_paths::{default_session_dir, resolve_session_dir};
pub use interactive::{Session, SessionAction, SessionState};
pub use profile_identity::profile_identity;
pub use render::{
ContractClaimView, ContractConflictView, ContractQueueItemView, ContractView, RenderFormat,
TerminalEvent, render_event,
};
pub use slash::{SlashCommand, parse_slash_command};
pub use state_path::resolve_state_db_path;
pub fn run_from_env() -> i32 {
run(Cli::parse_from(std::env::args_os()))
}