//! Agent analytics queries over `agent_tasks` and joined `ai_requests`.
//!
//! [`AgentAnalyticsRepository`] aggregates per-agent task counts, success
//! rates, execution time, and cost, exposing list, detail, and summary-stat
//! reads split across the sibling query submodules.
use crateResult;
use PgPool;
use Arc;
use DbPool;