Expand description
Predict file reads before the agent asks for them.
The predictor deliberately stays small and deterministic: task triage plus file topology provide useful first-read predictions without a remote model.
Structs§
Functions§
- accuracy
- Returns the proportion of emitted predictions that were later read.
- on_
file_ read - Record an externally observed file read in the shared predictor.
- predict_
next - Predict the next reads for callers that do not need access to the model.
- record_
read_ and_ predict - Record a completed read and produce paths safe to warm in the background.
- warm_
paths - Primes the OS file cache. The bounded read deliberately avoids allocating a second copy of a large source file in the MCP process.