zeph-core 0.20.1

Core agent loop, configuration, context builder, metrics, and vault for Zeph
Documentation
// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
// SPDX-License-Identifier: MIT OR Apache-2.0

mod assembly;
mod summarization;

pub(super) use crate::text::truncate_to_chars as truncate_chars;
#[cfg(test)]
pub(super) use zeph_agent_context::state::CompactionOutcome;
#[cfg(test)]
pub(super) use zeph_context::slot::cap_summary;
#[cfg(test)]
pub(super) use zeph_context::slot::chunk_messages;

#[cfg(test)]
impl<C: super::Channel> super::Agent<C> {
    pub(super) fn compaction_tier(&self) -> super::context_manager::CompactionTier {
        self.context_manager
            .compaction_tier(self.runtime.providers.cached_prompt_tokens)
    }
}

#[cfg(test)]
mod tests;