lean-ctx 3.5.13

Context Runtime for AI Agents with CCP. 57 MCP tools, 10 read modes, 95+ compression patterns, cross-session memory (CCP), persistent AI knowledge with temporal facts + contradiction detection, multi-agent context sharing + diaries, 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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub fn handle(symbol: &str, file: Option<&str>, project_root: &str) -> String {
    let result = crate::tools::ctx_callgraph::handle(symbol, file, project_root, "callees");
    format!("[DEPRECATED] Use ctx_callgraph with direction='callees'.\n{result}")
}

#[cfg(test)]
mod tests {
    use super::handle;

    #[test]
    fn shows_deprecation_note() {
        let output = handle("non_existent_symbol", None, "/tmp");
        assert!(output.contains("[DEPRECATED]"));
        assert!(output.contains("ctx_callgraph"));
    }
}