Skip to main content

Module core

Module core 

Source
Expand description

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).

Modules§

config
envelope
Envelope module — core data types for event wrapping, agent identification, and verdict responses.
error
logging
privacy
update