lean-ctx-engine 3.12.1

LeanCTX | OSS library: the open-source runtime for the Context Gateway for AI agents behind the lean-ctx CLI, MCP server and proxy integrations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Predictive context pre-loading (OSS stub).
//!
//! Enterprise pre-caches files based on task triage predictions.
//! OSS: no-op (no prefetching).

/// Plans prefetch after triage (OSS: no-op).
pub fn plan_after_triage(_task_class: &str) {}

/// Records a file read for trajectory learning (OSS: no-op).
pub fn record_file_read(_path: &str) {}

/// Checks if a path was predicted by the prefetch engine (OSS: always false).
pub fn is_prefetch_prediction(_path: &str) -> bool {
    false
}