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 system;
pub mod window;
pub use crate::event::SourceId;
pub use budget::ContextBudget;
pub use cache::{CacheLifetime, PromptCache};
pub use compaction::{
AnyFileReferences, AttachmentCatalogEntry, AttachmentRef, CompactionError, CompactionFork,
CompletedCompaction, ContextFile, FileReferences, Handoff, HandoffDocument, HandoffPrompt,
HandoffSchema, InvalidHandoff, KeptAttachment, 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, AnyLiveSource, Block, ContextBlock, ContextSource, LiveChange, LiveSource,
Moment, Placement,
};
pub use system::{
BlockKind, External, ExternalContent, ExternalSlot, Instruction, InstructionSlot, Slot,
Sourced, SourcedSlot, SystemLayout, SystemRegion,
};
pub use window::{Context, ContextCheckpoint, ContextItem, ReassemblyReport};