pub mod budget;
pub mod cache;
pub mod compaction;
pub mod live;
pub mod policy;
pub mod prefix;
pub mod reassembly;
pub(crate) mod recovery;
pub mod source;
pub mod sources;
pub mod system;
pub mod window;
pub use budget::ContextBudget;
pub use cache::{CacheLifetime, PromptCache};
pub use compaction::{
CompactionError, CompactionFork, CompletedCompaction, ContextFile, Handoff, HandoffDocument,
HandoffPrompt, HandoffSchema, InvalidHandoff, LineRange, PendingCompaction, Restoration,
SkillCatalogEntry, build_file_index,
};
pub use live::{LiveContent, LiveUpdate};
pub use policy::ContextPolicy;
pub use prefix::{PrefixBlock, PrefixChain, PrefixRewrites, PromptPrefix};
pub use reassembly::restore_context;
pub use source::{AnyContextSource, Block, ContextSource};
#[cfg(feature = "skills")]
pub use sources::ActiveSkills;
pub use sources::BackgroundJobs;
pub use system::{
BlockKind, External, ExternalContent, ExternalSlot, Instruction, InstructionSlot, Slot,
SystemLayout, SystemRegion,
};
pub use window::{Context, ContextCheckpoint, ContextItem, ReassemblyReport};