#![recursion_limit = "256"]
#![warn(clippy::undocumented_unsafe_blocks)]
pub mod agent_tools_cmd;
pub mod engine;
#[doc(hidden)]
pub mod input_check_hook;
pub mod server;
pub mod tools;
#[cfg(test)]
mod production_endpoint_tests {
#[test]
fn unit_tests_of_this_crate_are_refused_a_remote_endpoint() {
assert!(lean_ctx::core::data_dir::sandboxed());
let _url =
lean_ctx::test_env::EnvVarGuard::set("LEAN_CTX_API_URL", "https://api.leanctx.com");
assert_eq!(
lean_ctx::telemetry_transport::api_url(),
"http://127.0.0.1:9"
);
}
}
#[cfg(all(test, unix))]
mod shell {
mod containment {
mod tests {
#[test]
#[ignore = "subprocess helper for the containment tests"]
fn containment_helper() {
lean_ctx::shell::containment::tests::containment_helper_main();
}
}
}
}