mermaid-cli 0.3.10

Open-source AI pair programmer with agentic capabilities. Local-first with Ollama, native tool calling, and beautiful TUI.
Documentation
// Gateway module for utils - follows the Train Station Pattern
// All external access must go through this gateway

// Private submodules - not directly accessible from outside
mod checks;
mod file_watcher;
mod logger;
mod mutex_ext;
mod retry;
mod timestamp;
mod tokenizer;

// Public re-exports - the ONLY way to access utils functionality
pub use checks::{check_git_repo, check_ollama_available, check_ollama_model, CheckResult};
pub use file_watcher::{FileEvent, FileSystemWatcher};
pub use logger::{init_logger, log_debug, log_error, log_info, log_progress, log_warn};
pub use mutex_ext::{lock_arc_mutex_safe, MutexExt};
pub use retry::{retry_async, RetryConfig};
pub use timestamp::format_relative_timestamp;
pub use tokenizer::{count_file_tokens, Tokenizer};