agtrace_providers/
lib.rs

1// Trait-based architecture (public API)
2pub mod traits;
3
4// Provider implementations
5pub mod claude;
6pub mod codex;
7pub mod gemini;
8
9// Event builder
10pub mod builder;
11
12// Tool call normalization
13pub mod normalization;
14
15// Provider registry
16pub mod registry;
17
18// Token limits resolution
19pub mod token_limits;
20
21// Tool analysis
22pub mod tool_analyzer;
23
24// Tool specification
25pub(crate) mod tool_spec;
26
27// Traits
28pub use traits::{
29    LogDiscovery, ProbeResult, ProviderAdapter, SessionIndex, SessionParser, ToolMapper,
30    get_latest_mod_time_rfc3339,
31};
32
33// Provider normalize functions
34pub use claude::normalize_claude_file;
35pub use codex::normalize_codex_file;
36pub use gemini::normalize_gemini_file;
37
38// Registry
39pub use registry::{
40    create_adapter, create_all_adapters, detect_adapter_from_path, get_all_providers,
41    get_default_log_paths, get_provider_metadata, get_provider_names,
42};
43
44// Tool analyzer
45pub use tool_analyzer::{classify_common, extract_common_summary, truncate};
46
47// Normalization
48pub use normalization::normalize_tool_call;