pub mod accountant;
pub mod budget;
pub mod compose;
pub mod context;
pub mod dialect;
pub mod digest;
pub mod manifest;
pub mod plan;
pub mod route;
pub mod section;
pub mod stage;
pub mod vars;
pub use accountant::{AccountingMode, TokenAccountantRef};
pub use budget::{fit_budget, BudgetFit};
pub use compose::StageComposition;
pub use context::{
assemble_resident, mandatory_closure, resident_page_digest, select_working_set, ContextBudget,
ContextPage, DependencyEnv, ResidentContext, ResidentOutcome, StateDependency,
};
pub use dialect::{
DialectRef, ModelDialect, ReasoningTracePolicy, SystemSlotPolicy, ToolCallConvention,
};
pub use digest::{
tool_surface_hash, CompiledPromptInvocation, CompiledPromptMessage, CompiledPromptProgram,
};
pub use manifest::{
ActivationBounds, ActivationState, ManifestEntry, PromptChangeRecord, PromptManifest,
ACTIVATION_BOOTSTRAP_RESAMPLES,
};
pub use plan::{ContextRequest, CounterexampleRef, IssuePromptPlan};
pub use route::{PromptRoute, SectionOverride, SectionVariants};
pub use section::{
OverrideOrigin, PromptMessageRole, PromptSection, PromptSectionId, PromptSectionVersion,
RenderedSection, SectionProvenance, SectionSchema, SectionTemplate, VarSpec, PROMPT_DIGEST_TAG,
};
pub use stage::PromptStage;
pub use vars::{BoundedList, BoundedText, ListStyle, ObservationText, VarValue};