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
//! Agentic Commerce Protocol (ACP) implementation
//!
//! ACP provides Stripe-compatible payment processing with autonomous agent verification.
//! This module maintains backward compatibility with AP2 (Agent Payments Protocol) while
//! enabling modern checkout flows.
//!
//! # Architecture
//!
//! ```text
//! ┌─────────────────────────────────────────────────────────────┐
//! │ Protocol Router │
//! │ (Automatic AP2/ACP detection based on request patterns) │
//! └────────────────┬───────────────────────────┬────────────────┘
//! │ │
//! ┌───────▼────────┐ ┌────────▼──────────┐
//! │ AP2 Flow │ │ ACP Flow │
//! │ (DID/VC auth) │ │ (Stripe checkout) │
//! └────────────────┘ └───────────────────┘
//! ```
//!
//! # Modules
//!
//! - **router**: Protocol detection and routing layer (zero breaking changes to AP2)
//! - **bridge**: AP2 ↔ ACP data model bridge adapters
//! - **models**: Core ACP data types (CheckoutSession, CheckoutItem)
//!
//! # Feature Flags
//!
//! - `acp`: Enable ACP functionality (default: off to avoid breaking changes)
pub use ;
pub use ;
pub use ;