// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
// SPDX-License-Identifier: MIT OR Apache-2.0
//! `AgentRuntime` aggregator struct — runtime configuration, lifecycle, providers,
//! metrics, debug instrumentation, and instruction hot-reload.
use ;
/// Aggregator for runtime configuration, lifecycle, providers, metrics, debug instrumentation,
/// and instruction hot-reload.
///
/// Borrowable independently of [`Services`](super::services::Services) and conversation core.
/// All fields are `pub(crate)`.
///
/// The inner `config` field holds the existing [`RuntimeConfig`] (formerly named `runtime` on
/// `Agent<C>`). Renaming it to `config` avoids the awkward `self.runtime.runtime` path.
pub