openlatch-client 0.0.0

The open-source security layer for AI agents — client forwarder
Documentation
#[cfg(feature = "full-cli")]
pub mod cli;
/// OpenLatch client library crate.
///
/// Re-exports all modules so integration tests and external callers can access
/// internal types without going through the binary entry point.
///
/// Physical layout groups code by component:
/// - `core/` — shared leaf modules (envelope, privacy, logging, config, error, update)
/// - `cli/` — CLI-specific code (commands, output formatting)
/// - `daemon/` — HTTP server that composes leaf modules
/// - `hooks/` — agent hook generators
///
/// Re-exports from `core/` preserve flat `crate::config`, `crate::error`, etc. paths.
///
/// The `full-cli` feature gates all heavy modules. Without it, only the minimal
/// hook-compatible surface is compiled (used by the `openlatch-hook` binary).
#[cfg(feature = "full-cli")]
pub mod core;
#[cfg(feature = "full-cli")]
pub mod daemon;
#[cfg(feature = "full-cli")]
pub mod hooks;

// Re-exports: preserve crate::config, crate::error, etc. paths
#[cfg(feature = "full-cli")]
pub use core::config;
#[cfg(feature = "full-cli")]
pub use core::envelope;
#[cfg(feature = "full-cli")]
pub use core::error;
#[cfg(feature = "full-cli")]
pub use core::logging;
#[cfg(feature = "full-cli")]
pub use core::privacy;
#[cfg(feature = "full-cli")]
pub use core::update;