lean-ctx 3.11.3

LeanCTX Engine: the open-source runtime for the Context Gateway for AI Systems. CLI, MCP server, and supported proxy integrations.
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;