1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! 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).
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub use WhatsAppAgent;
pub use WaApproval;
pub use WhatsAppState;