lean-ctx 3.9.15

Context Runtime for AI Agents with CCP. 71 MCP tools, 10 read modes, 95+ compression patterns, cross-session memory (CCP), persistent AI knowledge with temporal facts + contradiction detection, multi-agent context sharing, LITM-aware positioning, AAAK compact format, adaptive compression with Thompson Sampling bandits. Supports 24+ AI tools. Reduces LLM token consumption by up to 99%.
Documentation
mod env_guard;
mod first_run;
mod index_build;
mod interactive;
mod onboard;
mod options;
mod paths;
mod with_options;

// Shared imports for sibling submodules that use `use super::*` (mcp, helpers).
use crate::core::editor_registry::{ConfigType, EditorTarget, WriteAction, WriteOptions};
use crate::core::portable_binary::resolve_portable_binary;
use std::path::PathBuf;

mod mcp;
pub use mcp::*;
mod helpers;
pub use helpers::*;

#[cfg(test)]
pub(crate) use env_guard::EnvVarGuard;
pub use interactive::*;
pub use onboard::*;
pub use options::*;
pub use paths::*;
pub use with_options::*;