Skip to main content

Module operators

Module operators 

Source
Expand description

Stable Rust-native boundary over the existing Local operators. Minimal reusable boundary over LeanCTX Local’s existing operators.

This module deliberately delegates to the established implementations. It gives another in-process runtime a small typed surface without copying or moving read, search, shell-compression, cache, or redaction algorithms.

Re-exports§

pub use crate::tools::ctx_read::ReadOutput;
pub use crate::tools::ctx_search::SearchOutcome;

Structs§

OperatorCache
Process-local cache reused by shared read operators without exposing its storage internals.
ReadRequest
Inputs for one existing Local file-read operation.
SearchRequest
Inputs for one existing Local regex-search operation.

Enums§

CrpMode
Context Reduction Protocol mode controlling output verbosity.

Functions§

compress_shell_output
Compress completed shell output through the established Local outcome path.
read
Run the established cached Local read path without changing its output.
redact_output
Apply the established always-on Local secret-redaction rules.
render_shared_signatures
Execute the shared low-level signature operator used by Via Edge.
search
Run the established Local regex-search path without changing its output.