#![allow(clippy::unused_async)]
pub mod compaction;
pub mod error;
pub mod helpers;
#[cfg(feature = "self-check")]
#[cfg_attr(docsrs, doc(cfg(feature = "self-check")))]
pub mod retrieved;
pub mod service;
pub mod state;
pub mod summarization;
pub use compaction::{
BlockScore, ContentDensity, SubgoalExtractionResult, SubgoalId, SubgoalRegistry, SubgoalState,
classify_density, extract_scorable_text, partition_by_density, run_focus_auto_consolidation,
score_blocks_mig, score_blocks_subgoal, score_blocks_subgoal_mig, score_blocks_task_aware,
};
pub use error::ContextError;
pub use helpers::BudgetHint;
pub use service::ContextService;
pub use state::{
CompactionOutcome, CompactionPersistence, CompactionProbeCallback, ContextAssemblyView,
ContextDelta, ContextSummarizationView, MessageWindowView, MetricsCallback, MetricsCounters,
ProbeOutcome, ProviderHandles, QdrantPersistFuture, SecurityEventSink, StatusSink,
ToolOutputArchive, TrustGate,
};
#[cfg(feature = "self-check")]
#[cfg_attr(docsrs, doc(cfg(feature = "self-check")))]
pub use retrieved::{RetrievedContext, collect_retrieved_context};