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
47
48
49
50
51
//! Hexagonal Architecture: Ports and Adapters for Routing Orchestration
//!
//! This module implements the "donut" layer around the harness, providing:
//! - Ports (interfaces/traits) for benchmark data
//! - Adapters for each system (CLIProxyAPI, HeliosHarness, thegent, agentapi)
//! - Provider-Harness-Model trio resolution
//! - Pareto scoring based on unified data
//!
//! Architecture:
//! ```text
//! ┌─────────────────────────────────────────────────────────┐
//! │ ROUTING ORCHESTRATION LAYER │
//! │ │
//! │ ┌─────────────────────────────────────────────┐ │
//! │ │ PORTS (Traits) │ │
//! │ │ • BenchmarkPort │ │
//! │ │ • MetricsPort │ │
//! │ │ • RoutingPort │ │
//! │ │ • ModelMappingPort │ │
//! │ └─────────────────────────────────────────────┘ │
//! │ ▲ │
//! │ │ │
//! │ ┌───────────────┴───────────────┐ │
//! │ │ ADAPTERS │ │
//! │ ├──────────────────────────────┤ │
//! │ │ • CLIProxyAdapter │ │
//! │ │ • HeliosHarnessAdapter │ │
//! │ │ • ThegentAdapter │ │
//! │ │ • AgentAPIAdapter │ │
//! │ │ • OpenRouterAdapter │ │
//! │ │ • ArtificialAnalysisAdapt│ │
//! │ └──────────────────────────────┘ │
//! └─────────────────────────────────────────────────────────┘
//! ```
// Re-exports for convenience
pub use ;
pub use resolve_trio;
pub use ParetoRouter;
pub use ;