tirea-contract 0.5.0

Agent runtime contracts: 8-phase plugin lifecycle, typed tool traits, and state scope system
Documentation
mod action_set;
mod contexts;
pub mod step;
pub mod types;

#[cfg(test)]
mod tests;

pub use action_set::{
    ActionSet, AfterInferenceAction, AfterToolExecuteAction, BeforeInferenceAction,
    BeforeToolExecuteAction, LifecycleAction,
};
// Re-export InferenceModelOverride for convenience (canonical home is runtime::inference).
pub use crate::runtime::inference::InferenceModelOverride;
pub use contexts::{
    AfterInferenceContext, AfterToolExecuteContext, BeforeInferenceContext,
    BeforeToolExecuteContext, PhaseContext, RunEndContext, RunStartContext, StepEndContext,
    StepStartContext,
};
pub use step::StepContext;
pub use types::{Phase, PhasePolicy, RunAction, StepOutcome, SuspendTicket, ToolCallAction};