daat-locus 0.4.0

A long-running local agent runtime with memory, workflows, apps, and sleep-time self-improvement.
rust_i18n::i18n!("locales", fallback = "en-US");

mod activity_event;
mod app;
mod browser_app;
mod browser_install;
mod cli;
mod coding_app;
mod commands;
mod config;
mod config_setup;
mod config_wizard;
mod context;
mod context_budget;
mod core;
mod daat_locus_paths;
mod daemon;
mod daemon_tray;
mod dashboard;
mod dsml_repair;
mod events;
mod i18n;
mod live_progress;
mod logging;
mod memory;
mod model_catalog;
mod model_discovery;
mod open_url;
mod openskills;
mod pending_work;
mod persistence;
mod plan;
mod preturn_state;
mod process_spawn;
mod providers;
mod reasoning;
mod runtime;
mod runtime_context;
mod runtime_tools;
mod sandbox;
mod schema_utils;
mod skill_run_records;
mod sleep_status;
mod system_info;
mod telegram_acl;
mod telegram_transport;
mod terminal_app;
mod terminal_logo;
mod workflow;
mod workspace_app;

fn main() {
    let cli = cli::parse_args();

    crate::daemon::daemonize_current_process_if_requested();

    let runtime = tokio::runtime::Builder::new_multi_thread()
        .enable_all()
        .build()
        .expect("failed to build tokio runtime");

    if let Err(err) = runtime.block_on(cli::async_main(cli)) {
        eprintln!("{err:?}");
        std::process::exit(1);
    }
}