opencrabs 0.5.1

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/adolfousier/opencrabs/releases
//! WhatsApp Integration
//!
//! Runs a WhatsApp Web client alongside the TUI, forwarding messages from
//! allowlisted phone numbers to the AgentService and replying with responses.
//!
//! Layout: [`state`] holds the shared `WhatsAppState` struct and its
//! constructor; each concern has its own impl module beside it
//! (`approval`, `cancel`, `connection`, `followups`, `onboarding_events`,
//! `pairing`, `photos`, `sessions`); `agent` runs the client event loop,
//! `handler` routes inbound messages, `resume` re-delivers background
//! results and `store` persists the session. This file is declarations
//! only — no function definitions live here (CONTRIBUTING.md).

mod agent;
mod approval;
mod cancel;
mod connection;
mod followups;
pub(crate) mod handler;
mod onboarding_events;
mod pairing;
mod photos;
pub(crate) mod rate_limit;
pub(crate) mod resume;
mod sessions;
mod state;
pub(crate) mod store;

pub use agent::WhatsAppAgent;
pub use approval::WaApproval;
pub use state::WhatsAppState;