lean-ctx 3.9.20

Local Context SDK for AI agents. Select, shape, reuse, recover, and measure context before inference.
Documentation
1
2
3
4
5
6
7
8
9
//! Cognitive Budget Allocator (F3) — Miller's Law for LLM context.
//!
//! Limits context to 7±2 semantic chunks, prioritized by task relevance.
//! Uses tree-sitter signature boundaries for chunk detection.

pub mod chunker;

pub use chunker::{ChunkKind, SemanticChunk};
pub use chunker::{budget_select, detect_chunks, render_budget_output};