lean-ctx 3.6.1

Context Runtime for AI Agents with CCP. 51 MCP tools, 10 read modes, 60+ 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 cheatsheet_cmd;
pub mod cloud;
mod common;
mod compress_cmd;
mod config_cmd;
mod context_cmd;
mod discover_cmd;
pub mod dispatch;
mod index_cmd;
mod init_cmd;
mod instructions_cmd;
mod knowledge_cmd;
mod learn_cmd;
mod overview_cmd;
mod pack_cmd;
mod profile_cmd;
mod proof_cmd;
mod read_cmd;
mod session_cmd;
mod shell_init;
mod tee_cmd;
mod theme_cmd;
mod verify_cmd;

pub use cheatsheet_cmd::*;
pub use common::load_shell_history_pub;
pub(crate) use compress_cmd::cmd_compress;
pub use config_cmd::*;
pub(crate) use context_cmd::{cmd_compile, cmd_control, cmd_plan};
pub use discover_cmd::*;
pub use dispatch::run;
pub(crate) use index_cmd::cmd_index;
pub(crate) use init_cmd::quiet_enabled;
pub use init_cmd::{cmd_init, cmd_init_quiet};
pub(crate) use instructions_cmd::cmd_instructions;
pub(crate) use knowledge_cmd::cmd_knowledge;
pub(crate) use learn_cmd::cmd_learn;
pub(crate) use overview_cmd::cmd_overview;
pub(crate) use pack_cmd::cmd_pack;
pub use profile_cmd::*;
pub(crate) use proof_cmd::cmd_proof;
pub use read_cmd::*;
pub use session_cmd::*;
pub use shell_init::*;
pub use tee_cmd::*;
pub use theme_cmd::*;
pub(crate) use verify_cmd::cmd_verify;