lean-ctx 3.10.1

Local context engine, CLI, MCP server, and proxy for AI agents.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Wasserstein Token Allocator (F4) — Optimal Transport for context budgets.
//!
//! Distributes a global token budget across files using entropy-regularized OT.

mod allocator;
mod transport;

pub use allocator::TokenAllocation;

pub(crate) use allocator::allocate_budget;