tirea-contract 0.5.0

Agent runtime contracts: 8-phase plugin lifecycle, typed tool traits, and state scope system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod config;
pub mod context;
pub mod delta;
pub mod flow;
pub mod lifecycle;
pub mod options;
pub mod state;

pub use config::AgentRunConfig;
pub use context::RunContext;
pub use delta::RunDelta;
pub use flow::{FlowControl, RunAction};
pub use lifecycle::{
    run_lifecycle_from_state, RunLifecycleAction, RunLifecycleState, RunStatus, StoppedReason,
    TerminationReason,
};
pub use options::{RunIdentity, RunPolicy};
pub use state::InferenceError;